Rethrow abi::__forced_unwind in wxThread code under Unix.
[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.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21   emulate sh
22   NULLCMD=:
23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24   # is contrary to our usage.  Disable this feature.
25   alias -g '${1+"$@"}'='"$@"'
26   setopt NO_GLOB_SUBST
27 else
28   case `(set -o) 2>/dev/null` in #(
29   *posix*) :
30     set -o posix ;; #(
31   *) :
32      ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='print -r --'
49   as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51   as_echo='printf %s\n'
52   as_echo_n='printf %s'
53 else
54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56     as_echo_n='/usr/ucb/echo -n'
57   else
58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59     as_echo_n_body='eval
60       arg=$1;
61       case $arg in #(
62       *"$as_nl"*)
63         expr "X$arg" : "X\\(.*\\)$as_nl";
64         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65       esac;
66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67     '
68     export as_echo_n_body
69     as_echo_n='sh -c $as_echo_n_body as_echo'
70   fi
71   export as_echo_body
72   as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77   PATH_SEPARATOR=:
78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80       PATH_SEPARATOR=';'
81   }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""        $as_nl"
91
92 # Find who we are.  Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139   # into an infinite loop, continuously re-executing ourselves.
140   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141     _as_can_reexec=no; export _as_can_reexec;
142     # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150   *v*x* | *x*v* ) as_opts=-vx ;;
151   *v* ) as_opts=-v ;;
152   *x* ) as_opts=-x ;;
153   * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160   fi
161   # We don't want this to propagate to other subprocesses.
162           { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165   emulate sh
166   NULLCMD=:
167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168   # is contrary to our usage.  Disable this feature.
169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
170   setopt NO_GLOB_SUBST
171 else
172   case \`(set -o) 2>/dev/null\` in #(
173   *posix*) :
174     set -o posix ;; #(
175   *) :
176      ;;
177 esac
178 fi
179 "
180   as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194   exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203   if (eval "$as_required") 2>/dev/null; then :
204   as_have_required=yes
205 else
206   as_have_required=no
207 fi
208   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215   IFS=$as_save_IFS
216   test -z "$as_dir" && as_dir=.
217   as_found=:
218   case $as_dir in #(
219          /*)
220            for as_base in sh bash ksh sh5; do
221              # Try only shells that exist, to save several forks.
222              as_shell=$as_dir/$as_base
223              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225   CONFIG_SHELL=$as_shell as_have_required=yes
226                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227   break 2
228 fi
229 fi
230            done;;
231        esac
232   as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236   CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241       if test "x$CONFIG_SHELL" != x; then :
242   export CONFIG_SHELL
243              # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251   *v*x* | *x*v* ) as_opts=-vx ;;
252   *v* ) as_opts=-v ;;
253   *x* ) as_opts=-x ;;
254   * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263     if test x$as_have_required = xno; then :
264   $as_echo "$0: This script requires a shell more modern than all"
265   $as_echo "$0: the shells that I found on your system."
266   if test x${ZSH_VERSION+set} = xset ; then
267     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269   else
270     $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275   fi
276   exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294   { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303   return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322   case $as_dir in #(
323   -*) as_dir=./$as_dir;;
324   esac
325   test -d "$as_dir" || eval $as_mkdir_p || {
326     as_dirs=
327     while :; do
328       case $as_dir in #(
329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330       *) as_qdir=$as_dir;;
331       esac
332       as_dirs="'$as_qdir' $as_dirs"
333       as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335          X"$as_dir" : 'X\(//\)[^/]' \| \
336          X"$as_dir" : 'X\(//\)$' \| \
337          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)[^/].*/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\).*/{
352             s//\1/
353             q
354           }
355           s/.*/./; q'`
356       test -d "$as_dir" && break
357     done
358     test -z "$as_dirs" || eval "mkdir $as_dirs"
359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369   test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378   eval 'as_fn_append ()
379   {
380     eval $1+=\$2
381   }'
382 else
383   as_fn_append ()
384   {
385     eval $1=\$$1\$2
386   }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395   eval 'as_fn_arith ()
396   {
397     as_val=$(( $* ))
398   }'
399 else
400   as_fn_arith ()
401   {
402     as_val=`expr "$@" || test $? -eq 1`
403   }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414   as_status=$1; test $as_status -eq 0 && as_status=1
415   if test "$4"; then
416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418   fi
419   $as_echo "$as_me: error: $2" >&2
420   as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
425   as_expr=expr
426 else
427   as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431   as_basename=basename
432 else
433   as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437   as_dirname=dirname
438 else
439   as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444          X"$0" : 'X\(//\)$' \| \
445          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447     sed '/^.*\/\([^/][^/]*\)\/*$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\/\)$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\).*/{
456             s//\1/
457             q
458           }
459           s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474   sed -n '
475     p
476     /[$]LINENO/=
477   ' <$as_myself |
478     sed '
479       s/[$]LINENO.*/&-/
480       t lineno
481       b
482       :lineno
483       N
484       :loop
485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486       t loop
487       s/-\n.*//
488     ' >$as_me.lineno &&
489   chmod +x "$as_me.lineno" ||
490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493   # already done that, so ensure we don't try to do so again and fall
494   # in an infinite loop.  This has already happened in practice.
495   _as_can_reexec=no; export _as_can_reexec
496   # Don't try to exec as it changes $[0], causing all sort of problems
497   # (the dirname of $[0] is not the place where we might find the
498   # original and so on.  Autoconf is especially sensitive to this).
499   . "./$as_me.lineno"
500   # Exit status is that of the last command.
501   exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507   case `echo 'xy\c'` in
508   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
509   xy)  ECHO_C='\c';;
510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511        ECHO_T=' ';;
512   esac;;
513 *)
514   ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519   rm -f conf$$.dir/conf$$.file
520 else
521   rm -f conf$$.dir
522   mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525   if ln -s conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s='ln -s'
527     # ... but there are two gotchas:
528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530     # In both cases, we have to default to `cp -pR'.
531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532       as_ln_s='cp -pR'
533   elif ln conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s=ln
535   else
536     as_ln_s='cp -pR'
537   fi
538 else
539   as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545   as_mkdir_p='mkdir -p "$as_dir"'
546 else
547   test -d ./-p && rmdir ./-p
548   as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 #  include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #  include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESPROGRAMOBJ
638 RESFLAGS
639 RESCOMP
640 WX_VERSION_TAG
641 DMALLOC_LIBS
642 OPENGL_LIBS
643 LDFLAGS_GL
644 SAMPLES_SUBDIRS
645 DISTDIR
646 GUIDIST
647 WXCONFIG_RESFLAGS
648 WXCONFIG_LDFLAGS_GUI
649 WXCONFIG_LDFLAGS
650 WXCONFIG_RPATH
651 WXCONFIG_LIBS
652 WXCONFIG_CXXFLAGS
653 WXCONFIG_CFLAGS
654 WXCONFIG_CPPFLAGS
655 WX_CHARTYPE
656 WX_SUBVERSION
657 WX_VERSION
658 WX_RELEASE
659 WIDGET_SET
660 cross_compiling
661 TOOLCHAIN_FULLNAME
662 TOOLCHAIN_NAME
663 TOOLKIT_DIR
664 TOOLKIT
665 WIN32INSTALL
666 AFMINSTALL
667 USE_GUI
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
670 SHARED
671 DEREZ
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
684 COND_WXUNIV_1
685 COND_WXUNIV_0
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
688 COND_USE_XRC_1
689 COND_USE_THREADS_1
690 COND_USE_THREADS_0
691 COND_USE_STC_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
694 COND_USE_SOVERSION_0
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
698 COND_USE_RTTI_1
699 COND_USE_RTTI_0
700 COND_USE_PLUGINS_0
701 COND_USE_PCH_1
702 COND_USE_OPENGL_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
712 COND_USE_GUI_1
713 COND_USE_GUI_0
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
716 COND_USE_CAIRO_1
717 COND_UNICODE_1
718 COND_TOOLKIT_X11_USE_GUI_1
719 COND_TOOLKIT_X11
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
723 COND_TOOLKIT_WINCE
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
726 COND_TOOLKIT_PM
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
737 COND_TOOLKIT_MSW
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
740 COND_TOOLKIT_MOTIF
741 COND_TOOLKIT_MAC
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
754 COND_TOOLKIT_GTK
755 COND_TOOLKIT_DFB_USE_GUI_1
756 COND_TOOLKIT_DFB
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
759 COND_TOOLKIT_COCOA
760 COND_TOOLKIT_
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
774 COND_SHARED_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
784 COND_PLATFORM_UNIX_1
785 COND_PLATFORM_UNIX_0
786 COND_PLATFORM_OS2_1
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MAC_1
790 COND_PLATFORM_MAC_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
814 COND_MONOLITHIC_1
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
851 COND_MONOLITHIC_0
852 COND_ICC_PCH_1
853 COND_GCC_PCH_1
854 COND_DEPS_TRACKING_1
855 COND_DEPS_TRACKING_0
856 COND_DEBUG_INFO_1
857 COND_DEBUG_INFO_0
858 COND_DEBUG_FLAG_1
859 COND_DEBUG_FLAG_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
863 COND_BUILD_release
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
868 COND_BUILD_debug
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
872 COND_BUILD_RELEASE
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
877 COND_BUILD_DEBUG
878 BK_MAKE_PCH
879 ICC_PCH_USE_SWITCH
880 ICC_PCH_CREATE_SWITCH
881 ICC_PCH
882 GCC_PCH
883 OBJCXXFLAGS
884 SETFILE
885 REZ
886 WINDRES
887 BK_DEPS
888 DEPS_TRACKING
889 SONAME_FLAG
890 USE_SOTWOSYMLINKS
891 USE_MACVERSION
892 USE_SOVERCYGWIN
893 USE_SOVERSOLARIS
894 USE_SOVERLINUX
895 USE_SOVERSION
896 WINDOWS_IMPLIB
897 PIC_FLAG
898 SHARED_LD_MODULE_CXX
899 SHARED_LD_MODULE_CC
900 SHARED_LD_CXX
901 SHARED_LD_CC
902 AIX_CXX_LD
903 dlldir
904 DLLPREFIX_MODULE
905 DLLPREFIX
906 LIBEXT
907 LIBPREFIX
908 DLLIMP_SUFFIX
909 SO_SUFFIX_MODULE
910 SO_SUFFIX
911 PLATFORM_BEOS
912 PLATFORM_OS2
913 PLATFORM_MACOSX
914 PLATFORM_MACOS
915 PLATFORM_MAC
916 PLATFORM_MSDOS
917 PLATFORM_WIN32
918 PLATFORM_UNIX
919 IF_GNU_MAKE
920 LDFLAGS_GUI
921 INSTALL_DIR
922 NM
923 STRIP
924 AROPTIONS
925 MAKE_SET
926 SET_MAKE
927 LN_S
928 INSTALL_DATA
929 INSTALL_SCRIPT
930 INSTALL_PROGRAM
931 RANLIB
932 CPPUNIT_LIBS
933 CPPUNIT_CFLAGS
934 HOST_SUFFIX
935 HEADER_PAD_OPTION
936 SAMPLES_RPATH_FLAG
937 DYLIB_RPATH_POSTLINK
938 DYLIB_RPATH_INSTALL
939 TOOLKIT_VERSION
940 TOOLKIT_LOWERCASE
941 DEBUG_FLAG
942 DEBUG_INFO
943 UNICODE
944 WITH_PLUGIN_SDL
945 EXTRALIBS_STC
946 EXTRALIBS_SDL
947 EXTRALIBS_OPENGL
948 EXTRALIBS_GUI
949 EXTRALIBS_MEDIA
950 EXTRALIBS_HTML
951 EXTRALIBS_XML
952 EXTRALIBS
953 CXXWARNINGS
954 USE_PLUGINS
955 MONOLITHIC
956 WXUNIV
957 WX_LIB_FLAVOUR
958 WX_FLAVOUR
959 OFFICIAL_BUILD
960 VENDOR
961 wxUSE_LIBTIFF
962 wxUSE_LIBPNG
963 wxUSE_LIBJPEG
964 wxUSE_EXPAT
965 wxUSE_REGEX
966 wxUSE_ZLIB
967 STD_GUI_LIBS
968 STD_BASE_LIBS
969 BUILT_WX_LIBS
970 ALL_WX_LIBS
971 GST_LIBS
972 GST_CFLAGS
973 CAIRO_LIBS
974 CAIRO_CFLAGS
975 WEBKIT_LIBS
976 WEBKIT_CFLAGS
977 COND_PYTHON
978 PYTHON
979 HILDON2_LIBS
980 HILDON2_CFLAGS
981 HILDON_LIBS
982 HILDON_CFLAGS
983 LIBNOTIFY_LIBS
984 LIBNOTIFY_CFLAGS
985 GNOMEVFS_LIBS
986 GNOMEVFS_CFLAGS
987 LIBGNOMEPRINTUI_LIBS
988 LIBGNOMEPRINTUI_CFLAGS
989 GTKPRINT_LIBS
990 GTKPRINT_CFLAGS
991 SDL_LIBS
992 SDL_CFLAGS
993 SDL_CONFIG
994 GXX_VERSION
995 LIBICONV
996 CXXFLAGS_VISIBILITY
997 CFLAGS_VISIBILITY
998 MesaGL_LIBS
999 MesaGL_CFLAGS
1000 GLU_LIBS
1001 GLU_CFLAGS
1002 GL_LIBS
1003 GL_CFLAGS
1004 SM_LIBS
1005 SM_CFLAGS
1006 Xxf86vm_LIBS
1007 Xxf86vm_CFLAGS
1008 Xinerama_LIBS
1009 Xinerama_CFLAGS
1010 PANGOXFT_LIBS
1011 PANGOXFT_CFLAGS
1012 PANGOFT2_LIBS
1013 PANGOFT2_CFLAGS
1014 PANGOX_LIBS
1015 PANGOX_CFLAGS
1016 X_EXTRA_LIBS
1017 X_LIBS
1018 X_PRE_LIBS
1019 X_CFLAGS
1020 XMKMF
1021 DIRECTFB_LIBS
1022 DIRECTFB_CFLAGS
1023 GTK_CONFIG
1024 GTK_LIBS
1025 GTK_CFLAGS
1026 PKG_CONFIG
1027 subdirs
1028 CXXCPP
1029 AR
1030 ac_ct_CXX
1031 CXXFLAGS
1032 CXX
1033 EGREP
1034 GREP
1035 CPP
1036 OBJEXT
1037 EXEEXT
1038 ac_ct_CC
1039 CPPFLAGS
1040 LDFLAGS
1041 CFLAGS
1042 CC
1043 wx_top_builddir
1044 host_os
1045 host_vendor
1046 host_cpu
1047 host
1048 build_os
1049 build_vendor
1050 build_cpu
1051 build
1052 target_alias
1053 host_alias
1054 build_alias
1055 LIBS
1056 ECHO_T
1057 ECHO_N
1058 ECHO_C
1059 DEFS
1060 mandir
1061 localedir
1062 libdir
1063 psdir
1064 pdfdir
1065 dvidir
1066 htmldir
1067 infodir
1068 docdir
1069 oldincludedir
1070 includedir
1071 localstatedir
1072 sharedstatedir
1073 sysconfdir
1074 datadir
1075 datarootdir
1076 libexecdir
1077 sbindir
1078 bindir
1079 program_transform_name
1080 prefix
1081 exec_prefix
1082 PACKAGE_URL
1083 PACKAGE_BUGREPORT
1084 PACKAGE_STRING
1085 PACKAGE_VERSION
1086 PACKAGE_TARNAME
1087 PACKAGE_NAME
1088 PATH_SEPARATOR
1089 SHELL'
1090 ac_subst_files=''
1091 ac_user_opts='
1092 enable_option_checking
1093 enable_gui
1094 enable_monolithic
1095 enable_plugins
1096 with_subdirs
1097 with_flavour
1098 enable_official_build
1099 enable_vendor
1100 enable_all_features
1101 enable_universal
1102 with_themes
1103 with_gtk
1104 with_motif
1105 with_osx_carbon
1106 with_osx_cocoa
1107 with_osx_iphone
1108 with_osx
1109 with_carbon
1110 with_cocoa
1111 with_iphone
1112 with_mac
1113 with_old_cocoa
1114 with_wine
1115 with_msw
1116 with_pm
1117 with_directfb
1118 with_microwin
1119 with_x11
1120 enable_nanox
1121 enable_gpe
1122 with_libpng
1123 with_libjpeg
1124 with_libtiff
1125 with_libxpm
1126 with_libiconv
1127 with_libmspack
1128 with_gtkprint
1129 with_gnomeprint
1130 with_gnomevfs
1131 with_libnotify
1132 with_hildon
1133 with_opengl
1134 with_dmalloc
1135 with_sdl
1136 with_regex
1137 with_zlib
1138 with_expat
1139 with_macosx_sdk
1140 with_macosx_version_min
1141 enable_debug
1142 enable_debug_flag
1143 enable_debug_info
1144 enable_debug_gdb
1145 enable_debug_cntxt
1146 enable_mem_tracing
1147 enable_shared
1148 enable_stl
1149 enable_std_containers
1150 enable_std_iostreams
1151 enable_std_string
1152 enable_std_string_conv_in_wxstring
1153 enable_unicode
1154 enable_mslu
1155 enable_utf8
1156 enable_utf8only
1157 enable_extended_rtti
1158 enable_omf
1159 enable_optimise
1160 enable_profile
1161 enable_no_rtti
1162 enable_no_exceptions
1163 enable_permissive
1164 enable_no_deps
1165 enable_vararg_macros
1166 enable_universal_binary
1167 enable_macosx_arch
1168 enable_compat26
1169 enable_compat28
1170 enable_rpath
1171 enable_objc_uniquifying
1172 enable_visibility
1173 enable_tls
1174 enable_intl
1175 enable_xlocale
1176 enable_config
1177 enable_protocols
1178 enable_ftp
1179 enable_http
1180 enable_fileproto
1181 enable_sockets
1182 enable_ipv6
1183 enable_ole
1184 enable_dataobj
1185 enable_ipc
1186 enable_baseevtloop
1187 enable_epollloop
1188 enable_selectloop
1189 enable_any
1190 enable_apple_ieee
1191 enable_arcstream
1192 enable_base64
1193 enable_backtrace
1194 enable_catch_segvs
1195 enable_cmdline
1196 enable_datetime
1197 enable_debugreport
1198 enable_dialupman
1199 enable_dynlib
1200 enable_dynamicloader
1201 enable_exceptions
1202 enable_ffile
1203 enable_file
1204 enable_filehistory
1205 enable_filesystem
1206 enable_fontenum
1207 enable_fontmap
1208 enable_fs_archive
1209 enable_fs_inet
1210 enable_fs_zip
1211 enable_fswatcher
1212 enable_geometry
1213 enable_log
1214 enable_longlong
1215 enable_mimetype
1216 enable_printfposparam
1217 enable_snglinst
1218 enable_sound
1219 enable_stdpaths
1220 enable_stopwatch
1221 enable_streams
1222 enable_sysoptions
1223 enable_tarstream
1224 enable_textbuf
1225 enable_textfile
1226 enable_timer
1227 enable_variant
1228 enable_zipstream
1229 enable_url
1230 enable_protocol
1231 enable_protocol_http
1232 enable_protocol_ftp
1233 enable_protocol_file
1234 enable_threads
1235 enable_iniconf
1236 enable_regkey
1237 enable_docview
1238 enable_help
1239 enable_mshtmlhelp
1240 enable_html
1241 enable_htmlhelp
1242 enable_xrc
1243 enable_aui
1244 enable_propgrid
1245 enable_ribbon
1246 enable_stc
1247 enable_constraints
1248 enable_loggui
1249 enable_logwin
1250 enable_logdialog
1251 enable_mdi
1252 enable_mdidoc
1253 enable_mediactrl
1254 enable_gstreamer8
1255 enable_richtext
1256 enable_postscript
1257 enable_printarch
1258 enable_svg
1259 enable_webkit
1260 enable_webview
1261 enable_graphics_ctx
1262 enable_clipboard
1263 enable_dnd
1264 enable_controls
1265 enable_markup
1266 enable_accel
1267 enable_animatectrl
1268 enable_bannerwindow
1269 enable_artstd
1270 enable_arttango
1271 enable_bmpbutton
1272 enable_bmpcombobox
1273 enable_button
1274 enable_calendar
1275 enable_caret
1276 enable_checkbox
1277 enable_checklst
1278 enable_choice
1279 enable_choicebook
1280 enable_collpane
1281 enable_colourpicker
1282 enable_combobox
1283 enable_comboctrl
1284 enable_commandlinkbutton
1285 enable_dataviewctrl
1286 enable_datepick
1287 enable_detect_sm
1288 enable_dirpicker
1289 enable_display
1290 enable_editablebox
1291 enable_filectrl
1292 enable_filepicker
1293 enable_fontpicker
1294 enable_gauge
1295 enable_grid
1296 enable_headerctrl
1297 enable_hyperlink
1298 enable_imaglist
1299 enable_infobar
1300 enable_listbook
1301 enable_listbox
1302 enable_listctrl
1303 enable_notebook
1304 enable_notifmsg
1305 enable_odcombobox
1306 enable_popupwin
1307 enable_radiobox
1308 enable_radiobtn
1309 enable_richmsgdlg
1310 enable_richtooltip
1311 enable_rearrangectrl
1312 enable_sash
1313 enable_scrollbar
1314 enable_searchctrl
1315 enable_slider
1316 enable_spinbtn
1317 enable_spinctrl
1318 enable_splitter
1319 enable_statbmp
1320 enable_statbox
1321 enable_statline
1322 enable_stattext
1323 enable_statusbar
1324 enable_taskbaricon
1325 enable_tbarnative
1326 enable_textctrl
1327 enable_tipwindow
1328 enable_togglebtn
1329 enable_toolbar
1330 enable_toolbook
1331 enable_treebook
1332 enable_treectrl
1333 enable_treelist
1334 enable_commondlg
1335 enable_aboutdlg
1336 enable_choicedlg
1337 enable_coldlg
1338 enable_filedlg
1339 enable_finddlg
1340 enable_fontdlg
1341 enable_dirdlg
1342 enable_msgdlg
1343 enable_numberdlg
1344 enable_splash
1345 enable_textdlg
1346 enable_tipdlg
1347 enable_progressdlg
1348 enable_wizarddlg
1349 enable_menus
1350 enable_miniframe
1351 enable_tooltips
1352 enable_splines
1353 enable_mousewheel
1354 enable_validators
1355 enable_busyinfo
1356 enable_hotkey
1357 enable_joystick
1358 enable_metafile
1359 enable_dragimage
1360 enable_accessibility
1361 enable_uiactionsim
1362 enable_dctransform
1363 enable_webviewwebkit
1364 enable_palette
1365 enable_image
1366 enable_gif
1367 enable_pcx
1368 enable_tga
1369 enable_iff
1370 enable_pnm
1371 enable_xpm
1372 enable_ico_cur
1373 enable_dccache
1374 enable_ps_in_msw
1375 enable_ownerdrawn
1376 enable_uxtheme
1377 enable_wxdib
1378 enable_webviewie
1379 enable_autoidman
1380 enable_largefile
1381 enable_gtktest
1382 with_gtk_prefix
1383 with_gtk_exec_prefix
1384 with_x
1385 with_libiconv_prefix
1386 with_sdl_prefix
1387 with_sdl_exec_prefix
1388 enable_sdltest
1389 enable_dependency_tracking
1390 enable_precomp_headers
1391 with_cppunit_prefix
1392 with_cppunit_exec_prefix
1393 '
1394       ac_precious_vars='build_alias
1395 host_alias
1396 target_alias
1397 CC
1398 CFLAGS
1399 LDFLAGS
1400 LIBS
1401 CPPFLAGS
1402 CPP
1403 CXX
1404 CXXFLAGS
1405 CCC
1406 CXXCPP
1407 PKG_CONFIG
1408 DIRECTFB_CFLAGS
1409 DIRECTFB_LIBS
1410 XMKMF
1411 PANGOX_CFLAGS
1412 PANGOX_LIBS
1413 PANGOFT2_CFLAGS
1414 PANGOFT2_LIBS
1415 PANGOXFT_CFLAGS
1416 PANGOXFT_LIBS
1417 Xinerama_CFLAGS
1418 Xinerama_LIBS
1419 Xxf86vm_CFLAGS
1420 Xxf86vm_LIBS
1421 SM_CFLAGS
1422 SM_LIBS
1423 GL_CFLAGS
1424 GL_LIBS
1425 GLU_CFLAGS
1426 GLU_LIBS
1427 MesaGL_CFLAGS
1428 MesaGL_LIBS
1429 GTKPRINT_CFLAGS
1430 GTKPRINT_LIBS
1431 LIBGNOMEPRINTUI_CFLAGS
1432 LIBGNOMEPRINTUI_LIBS
1433 GNOMEVFS_CFLAGS
1434 GNOMEVFS_LIBS
1435 LIBNOTIFY_CFLAGS
1436 LIBNOTIFY_LIBS
1437 HILDON_CFLAGS
1438 HILDON_LIBS
1439 HILDON2_CFLAGS
1440 HILDON2_LIBS
1441 WEBKIT_CFLAGS
1442 WEBKIT_LIBS
1443 CAIRO_CFLAGS
1444 CAIRO_LIBS
1445 GST_CFLAGS
1446 GST_LIBS'
1447 ac_subdirs_all='src/tiff
1448 src/expat'
1449
1450 # Initialize some variables set by options.
1451 ac_init_help=
1452 ac_init_version=false
1453 ac_unrecognized_opts=
1454 ac_unrecognized_sep=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file=/dev/null
1458 exec_prefix=NONE
1459 no_create=
1460 no_recursion=
1461 prefix=NONE
1462 program_prefix=NONE
1463 program_suffix=NONE
1464 program_transform_name=s,x,x,
1465 silent=
1466 site=
1467 srcdir=
1468 verbose=
1469 x_includes=NONE
1470 x_libraries=NONE
1471
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir='${exec_prefix}/bin'
1479 sbindir='${exec_prefix}/sbin'
1480 libexecdir='${exec_prefix}/libexec'
1481 datarootdir='${prefix}/share'
1482 datadir='${datarootdir}'
1483 sysconfdir='${prefix}/etc'
1484 sharedstatedir='${prefix}/com'
1485 localstatedir='${prefix}/var'
1486 includedir='${prefix}/include'
1487 oldincludedir='/usr/include'
1488 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir='${datarootdir}/info'
1490 htmldir='${docdir}'
1491 dvidir='${docdir}'
1492 pdfdir='${docdir}'
1493 psdir='${docdir}'
1494 libdir='${exec_prefix}/lib'
1495 localedir='${datarootdir}/locale'
1496 mandir='${datarootdir}/man'
1497
1498 ac_prev=
1499 ac_dashdash=
1500 for ac_option
1501 do
1502   # If the previous option needs an argument, assign it.
1503   if test -n "$ac_prev"; then
1504     eval $ac_prev=\$ac_option
1505     ac_prev=
1506     continue
1507   fi
1508
1509   case $ac_option in
1510   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1511   *=)   ac_optarg= ;;
1512   *)    ac_optarg=yes ;;
1513   esac
1514
1515   # Accept the important Cygnus configure options, so we can diagnose typos.
1516
1517   case $ac_dashdash$ac_option in
1518   --)
1519     ac_dashdash=yes ;;
1520
1521   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1522     ac_prev=bindir ;;
1523   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1524     bindir=$ac_optarg ;;
1525
1526   -build | --build | --buil | --bui | --bu)
1527     ac_prev=build_alias ;;
1528   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1529     build_alias=$ac_optarg ;;
1530
1531   -cache-file | --cache-file | --cache-fil | --cache-fi \
1532   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1533     ac_prev=cache_file ;;
1534   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1535   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1536     cache_file=$ac_optarg ;;
1537
1538   --config-cache | -C)
1539     cache_file=config.cache ;;
1540
1541   -datadir | --datadir | --datadi | --datad)
1542     ac_prev=datadir ;;
1543   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1544     datadir=$ac_optarg ;;
1545
1546   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1547   | --dataroo | --dataro | --datar)
1548     ac_prev=datarootdir ;;
1549   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1550   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1551     datarootdir=$ac_optarg ;;
1552
1553   -disable-* | --disable-*)
1554     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555     # Reject names that are not valid shell variable names.
1556     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1557       as_fn_error $? "invalid feature name: $ac_useropt"
1558     ac_useropt_orig=$ac_useropt
1559     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560     case $ac_user_opts in
1561       *"
1562 "enable_$ac_useropt"
1563 "*) ;;
1564       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565          ac_unrecognized_sep=', ';;
1566     esac
1567     eval enable_$ac_useropt=no ;;
1568
1569   -docdir | --docdir | --docdi | --doc | --do)
1570     ac_prev=docdir ;;
1571   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1572     docdir=$ac_optarg ;;
1573
1574   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1575     ac_prev=dvidir ;;
1576   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1577     dvidir=$ac_optarg ;;
1578
1579   -enable-* | --enable-*)
1580     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581     # Reject names that are not valid shell variable names.
1582     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583       as_fn_error $? "invalid feature name: $ac_useropt"
1584     ac_useropt_orig=$ac_useropt
1585     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586     case $ac_user_opts in
1587       *"
1588 "enable_$ac_useropt"
1589 "*) ;;
1590       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591          ac_unrecognized_sep=', ';;
1592     esac
1593     eval enable_$ac_useropt=\$ac_optarg ;;
1594
1595   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1596   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1597   | --exec | --exe | --ex)
1598     ac_prev=exec_prefix ;;
1599   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1600   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1601   | --exec=* | --exe=* | --ex=*)
1602     exec_prefix=$ac_optarg ;;
1603
1604   -gas | --gas | --ga | --g)
1605     # Obsolete; use --with-gas.
1606     with_gas=yes ;;
1607
1608   -help | --help | --hel | --he | -h)
1609     ac_init_help=long ;;
1610   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1611     ac_init_help=recursive ;;
1612   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1613     ac_init_help=short ;;
1614
1615   -host | --host | --hos | --ho)
1616     ac_prev=host_alias ;;
1617   -host=* | --host=* | --hos=* | --ho=*)
1618     host_alias=$ac_optarg ;;
1619
1620   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1621     ac_prev=htmldir ;;
1622   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1623   | --ht=*)
1624     htmldir=$ac_optarg ;;
1625
1626   -includedir | --includedir | --includedi | --included | --include \
1627   | --includ | --inclu | --incl | --inc)
1628     ac_prev=includedir ;;
1629   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1630   | --includ=* | --inclu=* | --incl=* | --inc=*)
1631     includedir=$ac_optarg ;;
1632
1633   -infodir | --infodir | --infodi | --infod | --info | --inf)
1634     ac_prev=infodir ;;
1635   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1636     infodir=$ac_optarg ;;
1637
1638   -libdir | --libdir | --libdi | --libd)
1639     ac_prev=libdir ;;
1640   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1641     libdir=$ac_optarg ;;
1642
1643   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1644   | --libexe | --libex | --libe)
1645     ac_prev=libexecdir ;;
1646   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1647   | --libexe=* | --libex=* | --libe=*)
1648     libexecdir=$ac_optarg ;;
1649
1650   -localedir | --localedir | --localedi | --localed | --locale)
1651     ac_prev=localedir ;;
1652   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1653     localedir=$ac_optarg ;;
1654
1655   -localstatedir | --localstatedir | --localstatedi | --localstated \
1656   | --localstate | --localstat | --localsta | --localst | --locals)
1657     ac_prev=localstatedir ;;
1658   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1659   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1660     localstatedir=$ac_optarg ;;
1661
1662   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1663     ac_prev=mandir ;;
1664   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1665     mandir=$ac_optarg ;;
1666
1667   -nfp | --nfp | --nf)
1668     # Obsolete; use --without-fp.
1669     with_fp=no ;;
1670
1671   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1672   | --no-cr | --no-c | -n)
1673     no_create=yes ;;
1674
1675   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1676   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1677     no_recursion=yes ;;
1678
1679   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1680   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1681   | --oldin | --oldi | --old | --ol | --o)
1682     ac_prev=oldincludedir ;;
1683   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1684   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1685   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1686     oldincludedir=$ac_optarg ;;
1687
1688   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1689     ac_prev=prefix ;;
1690   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1691     prefix=$ac_optarg ;;
1692
1693   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1694   | --program-pre | --program-pr | --program-p)
1695     ac_prev=program_prefix ;;
1696   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1697   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1698     program_prefix=$ac_optarg ;;
1699
1700   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1701   | --program-suf | --program-su | --program-s)
1702     ac_prev=program_suffix ;;
1703   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1704   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1705     program_suffix=$ac_optarg ;;
1706
1707   -program-transform-name | --program-transform-name \
1708   | --program-transform-nam | --program-transform-na \
1709   | --program-transform-n | --program-transform- \
1710   | --program-transform | --program-transfor \
1711   | --program-transfo | --program-transf \
1712   | --program-trans | --program-tran \
1713   | --progr-tra | --program-tr | --program-t)
1714     ac_prev=program_transform_name ;;
1715   -program-transform-name=* | --program-transform-name=* \
1716   | --program-transform-nam=* | --program-transform-na=* \
1717   | --program-transform-n=* | --program-transform-=* \
1718   | --program-transform=* | --program-transfor=* \
1719   | --program-transfo=* | --program-transf=* \
1720   | --program-trans=* | --program-tran=* \
1721   | --progr-tra=* | --program-tr=* | --program-t=*)
1722     program_transform_name=$ac_optarg ;;
1723
1724   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1725     ac_prev=pdfdir ;;
1726   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1727     pdfdir=$ac_optarg ;;
1728
1729   -psdir | --psdir | --psdi | --psd | --ps)
1730     ac_prev=psdir ;;
1731   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1732     psdir=$ac_optarg ;;
1733
1734   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735   | -silent | --silent | --silen | --sile | --sil)
1736     silent=yes ;;
1737
1738   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1739     ac_prev=sbindir ;;
1740   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1741   | --sbi=* | --sb=*)
1742     sbindir=$ac_optarg ;;
1743
1744   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1745   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1746   | --sharedst | --shareds | --shared | --share | --shar \
1747   | --sha | --sh)
1748     ac_prev=sharedstatedir ;;
1749   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1750   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1751   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1752   | --sha=* | --sh=*)
1753     sharedstatedir=$ac_optarg ;;
1754
1755   -site | --site | --sit)
1756     ac_prev=site ;;
1757   -site=* | --site=* | --sit=*)
1758     site=$ac_optarg ;;
1759
1760   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1761     ac_prev=srcdir ;;
1762   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1763     srcdir=$ac_optarg ;;
1764
1765   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1766   | --syscon | --sysco | --sysc | --sys | --sy)
1767     ac_prev=sysconfdir ;;
1768   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1769   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1770     sysconfdir=$ac_optarg ;;
1771
1772   -target | --target | --targe | --targ | --tar | --ta | --t)
1773     ac_prev=target_alias ;;
1774   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1775     target_alias=$ac_optarg ;;
1776
1777   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1778     verbose=yes ;;
1779
1780   -version | --version | --versio | --versi | --vers | -V)
1781     ac_init_version=: ;;
1782
1783   -with-* | --with-*)
1784     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785     # Reject names that are not valid shell variable names.
1786     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787       as_fn_error $? "invalid package name: $ac_useropt"
1788     ac_useropt_orig=$ac_useropt
1789     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790     case $ac_user_opts in
1791       *"
1792 "with_$ac_useropt"
1793 "*) ;;
1794       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795          ac_unrecognized_sep=', ';;
1796     esac
1797     eval with_$ac_useropt=\$ac_optarg ;;
1798
1799   -without-* | --without-*)
1800     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801     # Reject names that are not valid shell variable names.
1802     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1803       as_fn_error $? "invalid package name: $ac_useropt"
1804     ac_useropt_orig=$ac_useropt
1805     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806     case $ac_user_opts in
1807       *"
1808 "with_$ac_useropt"
1809 "*) ;;
1810       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811          ac_unrecognized_sep=', ';;
1812     esac
1813     eval with_$ac_useropt=no ;;
1814
1815   --x)
1816     # Obsolete; use --with-x.
1817     with_x=yes ;;
1818
1819   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1820   | --x-incl | --x-inc | --x-in | --x-i)
1821     ac_prev=x_includes ;;
1822   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1823   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1824     x_includes=$ac_optarg ;;
1825
1826   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1827   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1828     ac_prev=x_libraries ;;
1829   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1830   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1831     x_libraries=$ac_optarg ;;
1832
1833   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1835     ;;
1836
1837   *=*)
1838     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1839     # Reject names that are not valid shell variable names.
1840     case $ac_envvar in #(
1841       '' | [0-9]* | *[!_$as_cr_alnum]* )
1842       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1843     esac
1844     eval $ac_envvar=\$ac_optarg
1845     export $ac_envvar ;;
1846
1847   *)
1848     # FIXME: should be removed in autoconf 3.0.
1849     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1851       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853     ;;
1854
1855   esac
1856 done
1857
1858 if test -n "$ac_prev"; then
1859   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1860   as_fn_error $? "missing argument to $ac_option"
1861 fi
1862
1863 if test -n "$ac_unrecognized_opts"; then
1864   case $enable_option_checking in
1865     no) ;;
1866     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1867     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1868   esac
1869 fi
1870
1871 # Check all directory arguments for consistency.
1872 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873                 datadir sysconfdir sharedstatedir localstatedir includedir \
1874                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875                 libdir localedir mandir
1876 do
1877   eval ac_val=\$$ac_var
1878   # Remove trailing slashes.
1879   case $ac_val in
1880     */ )
1881       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882       eval $ac_var=\$ac_val;;
1883   esac
1884   # Be sure to have absolute directory names.
1885   case $ac_val in
1886     [\\/$]* | ?:[\\/]* )  continue;;
1887     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1888   esac
1889   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1890 done
1891
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1895 build=$build_alias
1896 host=$host_alias
1897 target=$target_alias
1898
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x; then
1901   if test "x$build_alias" = x; then
1902     cross_compiling=maybe
1903   elif test "x$build_alias" != "x$host_alias"; then
1904     cross_compiling=yes
1905   fi
1906 fi
1907
1908 ac_tool_prefix=
1909 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1910
1911 test "$silent" = yes && exec 6>/dev/null
1912
1913
1914 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di=`ls -di .` &&
1916 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1917   as_fn_error $? "working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919   as_fn_error $? "pwd does not report name of working directory"
1920
1921
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924   ac_srcdir_defaulted=yes
1925   # Try the directory containing this script, then the parent directory.
1926   ac_confdir=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928          X"$as_myself" : 'X\(//\)[^/]' \| \
1929          X"$as_myself" : 'X\(//\)$' \| \
1930          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1933             s//\1/
1934             q
1935           }
1936           /^X\(\/\/\)[^/].*/{
1937             s//\1/
1938             q
1939           }
1940           /^X\(\/\/\)$/{
1941             s//\1/
1942             q
1943           }
1944           /^X\(\/\).*/{
1945             s//\1/
1946             q
1947           }
1948           s/.*/./; q'`
1949   srcdir=$ac_confdir
1950   if test ! -r "$srcdir/$ac_unique_file"; then
1951     srcdir=..
1952   fi
1953 else
1954   ac_srcdir_defaulted=no
1955 fi
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1958   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1959 fi
1960 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1961 ac_abs_confdir=`(
1962         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1963         pwd)`
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1966   srcdir=.
1967 fi
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1971 case $srcdir in
1972 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1973 esac
1974 for ac_var in $ac_precious_vars; do
1975   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1976   eval ac_env_${ac_var}_value=\$${ac_var}
1977   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1978   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1979 done
1980
1981 #
1982 # Report the --help message.
1983 #
1984 if test "$ac_init_help" = "long"; then
1985   # Omit some internal or obsolete options to make the list less imposing.
1986   # This message is too long to be a string in the A/UX 3.1 sh.
1987   cat <<_ACEOF
1988 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1989
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1991
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE.  See below for descriptions of some of the useful variables.
1994
1995 Defaults for the options are specified in brackets.
1996
1997 Configuration:
1998   -h, --help              display this help and exit
1999       --help=short        display options specific to this package
2000       --help=recursive    display the short help of all the included packages
2001   -V, --version           display version information and exit
2002   -q, --quiet, --silent   do not print \`checking ...' messages
2003       --cache-file=FILE   cache test results in FILE [disabled]
2004   -C, --config-cache      alias for \`--cache-file=config.cache'
2005   -n, --no-create         do not create output files
2006       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2007
2008 Installation directories:
2009   --prefix=PREFIX         install architecture-independent files in PREFIX
2010                           [$ac_default_prefix]
2011   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2012                           [PREFIX]
2013
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2018
2019 For better control, use the options below.
2020
2021 Fine tuning of the installation directories:
2022   --bindir=DIR            user executables [EPREFIX/bin]
2023   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2024   --libexecdir=DIR        program executables [EPREFIX/libexec]
2025   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2026   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2027   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2028   --libdir=DIR            object code libraries [EPREFIX/lib]
2029   --includedir=DIR        C header files [PREFIX/include]
2030   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2031   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2032   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2033   --infodir=DIR           info documentation [DATAROOTDIR/info]
2034   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2035   --mandir=DIR            man documentation [DATAROOTDIR/man]
2036   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2037   --htmldir=DIR           html documentation [DOCDIR]
2038   --dvidir=DIR            dvi documentation [DOCDIR]
2039   --pdfdir=DIR            pdf documentation [DOCDIR]
2040   --psdir=DIR             ps documentation [DOCDIR]
2041 _ACEOF
2042
2043   cat <<\_ACEOF
2044
2045 X features:
2046   --x-includes=DIR    X include files are in DIR
2047   --x-libraries=DIR   X library files are in DIR
2048
2049 System types:
2050   --build=BUILD     configure for building on BUILD [guessed]
2051   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2052 _ACEOF
2053 fi
2054
2055 if test -n "$ac_init_help"; then
2056   case $ac_init_help in
2057      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2058    esac
2059   cat <<\_ACEOF
2060
2061 Optional Features:
2062   --disable-option-checking  ignore unrecognized --enable/--with options
2063   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2064   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2065   --disable-gui           don't build GUI parts of the library
2066   --enable-monolithic     build wxWidgets as single library
2067   --enable-plugins        build parts of wxWidgets as loadable components
2068   --enable-official_build official build of wxWidgets (win32 DLL only)
2069   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2070   --disable-all-features  disable all optional features to build minimal library
2071   --enable-universal      use wxWidgets GUI controls instead of native ones
2072   --enable-nanox          use NanoX
2073   --enable-gpe            use GNOME PDA Environment features if possible
2074   --enable-debug          build library for debugging
2075   --disable-debug_flag    disable all debugging support
2076   --enable-debug_info     generate debug information
2077   --enable-debug_gdb      create code with extra GDB debugging information
2078   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2079   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2080   --disable-shared        create static library instead of shared
2081   --enable-stl            use standard C++ classes for everything
2082   --enable-std_containers use standard C++ container classes
2083   --enable-std_iostreams  use standard C++ stream classes
2084   --enable-std_string     use standard C++ string classes
2085  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2086   --disable-unicode       compile without Unicode support
2087   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2088   --enable-utf8           use UTF-8 representation for strings (Unix only)
2089   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2090   --enable-extended_rtti  use extended RTTI (XTI)
2091   --enable-omf            use OMF object format
2092   --disable-optimise      compile without optimisations
2093   --enable-profile        create code with profiling information
2094   --enable-no_rtti        create code without RTTI information
2095   --enable-no_exceptions  create code without C++ exceptions handling
2096   --enable-permissive     compile code disregarding strict ANSI
2097   --enable-no_deps        create code without dependency information
2098   --disable-vararg_macros don't use vararg macros, even if they are supported
2099   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2100   --enable-macosx_arch=ARCH  build for just the specified architecture
2101   --enable-compat26       enable wxWidgets 2.6 compatibility
2102   --disable-compat28      disable wxWidgets 2.8 compatibility
2103   --disable-rpath         disable use of rpath for uninstalled builds
2104   --enable-objc_uniquifying enable Objective-C class name uniquifying
2105   --disable-visibility    disable use of ELF symbols visibility even if supported
2106   --disable-tls           disable use of compiler TLS support
2107   --enable-intl           use internationalization system
2108   --enable-xlocale        use x-locale support (requires wxLocale)
2109   --enable-config         use wxConfig (and derived) classes
2110   --enable-protocols      use wxProtocol and derived classes
2111   --enable-ftp            use wxFTP (requires wxProtocol
2112   --enable-http           use wxHTTP (requires wxProtocol
2113   --enable-fileproto      use wxFileProto class (requires wxProtocol
2114   --enable-sockets        use socket/network classes
2115   --enable-ipv6           enable IPv6 support in wxSocket
2116   --enable-ole            use OLE classes (Win32 only)
2117   --enable-dataobj        use data object classes
2118   --enable-ipc            use interprocess communication (wxSocket etc.)
2119   --enable-baseevtloop    use event loop in console programs too
2120   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2121   --enable-selectloop     use wxSelectDispatcher class
2122   --enable-any            use wxAny class
2123   --enable-apple_ieee     use the Apple IEEE codec
2124   --enable-arcstream      use wxArchive streams
2125   --enable-base64         use base64 encoding/decoding functions
2126   --enable-backtrace      use wxStackWalker class for getting backtraces
2127   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2128   --enable-cmdline        use wxCmdLineParser class
2129   --enable-datetime       use wxDateTime class
2130   --enable-debugreport    use wxDebugReport class
2131   --enable-dialupman      use dialup network classes
2132   --enable-dynlib         use wxLibrary class for DLL loading
2133   --enable-dynamicloader  use (new) wxDynamicLibrary class
2134   --enable-exceptions     build exception-safe library
2135   --enable-ffile          use wxFFile class
2136   --enable-file           use wxFile class
2137   --enable-filehistory    use wxFileHistory class
2138   --enable-filesystem     use virtual file systems classes
2139   --enable-fontenum       use wxFontEnumerator class
2140   --enable-fontmap        use font encodings conversion classes
2141   --enable-fs_archive     use virtual archive filesystems
2142   --enable-fs_inet        use virtual HTTP/FTP filesystems
2143   --enable-fs_zip         now replaced by fs_archive
2144   --enable-fswatcher      use wxFileSystemWatcher class
2145   --enable-geometry       use geometry class
2146   --enable-log            use logging system
2147   --enable-longlong       use wxLongLong class
2148   --enable-mimetype       use wxMimeTypesManager
2149   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2150   --enable-snglinst       use wxSingleInstanceChecker class
2151   --enable-sound          use wxSound class
2152   --enable-stdpaths       use wxStandardPaths class
2153   --enable-stopwatch      use wxStopWatch class
2154   --enable-streams        use wxStream etc classes
2155   --enable-sysoptions     use wxSystemOptions
2156   --enable-tarstream      use wxTar streams
2157   --enable-textbuf        use wxTextBuffer class
2158   --enable-textfile       use wxTextFile class
2159   --enable-timer          use wxTimer class
2160   --enable-variant        use wxVariant class
2161   --enable-zipstream      use wxZip streams
2162   --enable-url            use wxURL class
2163   --enable-protocol       use wxProtocol class
2164   --enable-protocol-http  HTTP support in wxProtocol
2165   --enable-protocol-ftp   FTP support in wxProtocol
2166   --enable-protocol-file  FILE support in wxProtocol
2167   --enable-threads        use threads
2168   --enable-iniconf        use wxIniConfig (Win32 only)
2169   --enable-regkey         use wxRegKey class (Win32 only)
2170   --enable-docview        use document view architecture
2171   --enable-help           use help subsystem
2172   --enable-mshtmlhelp     use MS HTML Help (win32)
2173   --enable-html           use wxHTML sub-library
2174   --enable-htmlhelp       use wxHTML-based help
2175   --enable-xrc            use XRC resources sub-library
2176   --enable-aui            use AUI docking library
2177   --enable-propgrid       use wxPropertyGrid library
2178   --enable-ribbon         use wxRibbon library
2179   --enable-stc            use wxStyledTextCtrl library
2180   --enable-constraints    use layout-constraints system
2181   --enable-loggui         use standard GUI logger
2182   --enable-logwin         use wxLogWindow
2183   --enable-logdialog      use wxLogDialog
2184   --enable-mdi            use multiple document interface architecture
2185   --enable-mdidoc         use docview architecture with MDI
2186   --enable-mediactrl      use wxMediaCtrl class
2187   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2188   --enable-richtext       use wxRichTextCtrl
2189   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2190   --enable-printarch      use printing architecture
2191   --enable-svg            use wxSVGFileDC device context
2192   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2193   --enable-webview        use wxWebView library
2194   --enable-graphics_ctx   use graphics context 2D drawing API
2195   --enable-clipboard      use wxClipboard class
2196   --enable-dnd            use Drag'n'Drop classes
2197   --disable-controls      disable compilation of all standard controls
2198   --enable-markup         support wxControl::SetLabelMarkup
2199   --enable-accel          use accelerators
2200   --enable-animatectrl    use wxAnimationCtrl class
2201   --enable-bannerwindow   use wxBannerWindow class
2202   --enable-artstd         use standard XPM icons in wxArtProvider
2203   --enable-arttango       use Tango icons in wxArtProvider
2204   --enable-bmpbutton      use wxBitmapButton class
2205   --enable-bmpcombobox    use wxBitmapComboBox class
2206   --enable-button         use wxButton class
2207   --enable-calendar       use wxCalendarCtrl class
2208   --enable-caret          use wxCaret class
2209   --enable-checkbox       use wxCheckBox class
2210   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2211   --enable-choice         use wxChoice class
2212   --enable-choicebook     use wxChoicebook class
2213   --enable-collpane       use wxCollapsiblePane class
2214   --enable-colourpicker   use wxColourPickerCtrl class
2215   --enable-combobox       use wxComboBox class
2216   --enable-comboctrl      use wxComboCtrl class
2217   --enable-commandlinkbutton      use wxCommmandLinkButton class
2218   --enable-dataviewctrl   use wxDataViewCtrl class
2219   --enable-datepick       use wxDatePickerCtrl class
2220   --enable-detect_sm      use code to detect X11 session manager
2221   --enable-dirpicker      use wxDirPickerCtrl class
2222   --enable-display        use wxDisplay class
2223   --enable-editablebox    use wxEditableListBox class
2224   --enable-filectrl       use wxFileCtrl class
2225   --enable-filepicker     use wxFilePickerCtrl class
2226   --enable-fontpicker     use wxFontPickerCtrl class
2227   --enable-gauge          use wxGauge class
2228   --enable-grid           use wxGrid class
2229   --enable-headerctrl     use wxHeaderCtrl class
2230   --enable-hyperlink      use wxHyperlinkCtrl class
2231   --enable-imaglist       use wxImageList class
2232   --enable-infobar        use wxInfoBar class
2233   --enable-listbook       use wxListbook class
2234   --enable-listbox        use wxListBox class
2235   --enable-listctrl       use wxListCtrl class
2236   --enable-notebook       use wxNotebook class
2237   --enable-notifmsg       use wxNotificationMessage class
2238   --enable-odcombobox     use wxOwnerDrawnComboBox class
2239   --enable-popupwin       use wxPopUpWindow class
2240   --enable-radiobox       use wxRadioBox class
2241   --enable-radiobtn       use wxRadioButton class
2242   --enable-richmsgdlg     use wxRichMessageDialog class
2243   --enable-richtooltip    use wxRichToolTip class
2244   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2245   --enable-sash           use wxSashWindow class
2246   --enable-scrollbar      use wxScrollBar class and scrollable windows
2247   --enable-searchctrl     use wxSearchCtrl class
2248   --enable-slider         use wxSlider class
2249   --enable-spinbtn        use wxSpinButton class
2250   --enable-spinctrl       use wxSpinCtrl class
2251   --enable-splitter       use wxSplitterWindow class
2252   --enable-statbmp        use wxStaticBitmap class
2253   --enable-statbox        use wxStaticBox class
2254   --enable-statline       use wxStaticLine class
2255   --enable-stattext       use wxStaticText class
2256   --enable-statusbar      use wxStatusBar class
2257   --enable-taskbaricon    use wxTaskBarIcon class
2258   --enable-tbarnative     use native wxToolBar class
2259   --enable-textctrl       use wxTextCtrl class
2260   --enable-timepick       use wxTimePickerCtrl class
2261   --enable-tipwindow      use wxTipWindow class
2262   --enable-togglebtn      use wxToggleButton class
2263   --enable-toolbar        use wxToolBar class
2264   --enable-toolbook       use wxToolbook class
2265   --enable-treebook       use wxTreebook class
2266   --enable-treectrl       use wxTreeCtrl class
2267   --enable-treelist       use wxTreeListCtrl class
2268   --enable-commondlg      use all common dialogs
2269   --enable-aboutdlg       use wxAboutBox
2270   --enable-choicedlg      use wxChoiceDialog
2271   --enable-coldlg         use wxColourDialog
2272   --enable-filedlg        use wxFileDialog
2273   --enable-finddlg        use wxFindReplaceDialog
2274   --enable-fontdlg        use wxFontDialog
2275   --enable-dirdlg         use wxDirDialog
2276   --enable-msgdlg         use wxMessageDialog
2277   --enable-numberdlg      use wxNumberEntryDialog
2278   --enable-splash         use wxSplashScreen
2279   --enable-textdlg        use wxTextDialog
2280   --enable-tipdlg         use startup tips
2281   --enable-progressdlg    use wxProgressDialog
2282   --enable-wizarddlg      use wxWizard
2283   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2284   --enable-miniframe      use wxMiniFrame class
2285   --enable-tooltips       use wxToolTip class
2286   --enable-splines        use spline drawing code
2287   --enable-mousewheel     use mousewheel
2288   --enable-validators     use wxValidator and derived classes
2289   --enable-busyinfo       use wxBusyInfo
2290   --enable-hotkey         use wxWindow::RegisterHotKey()
2291   --enable-joystick       use wxJoystick
2292   --enable-metafiles      use wxMetaFile
2293   --enable-dragimage      use wxDragImage
2294   --enable-accessibility  enable accessibility support
2295   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2296   --enable-dctransform    use wxDC::SetTransformMatrix and related
2297   --enable-webview_webkit use wxWebView WebKit backend
2298   --enable-palette        use wxPalette class
2299   --enable-image          use wxImage class
2300   --enable-gif            use gif images (GIF file format)
2301   --enable-pcx            use pcx images (PCX file format)
2302   --enable-tga            use tga images (TGA file format)
2303   --enable-iff            use iff images (IFF file format)
2304   --enable-pnm            use pnm images (PNM file format)
2305   --enable-xpm            use xpm images (XPM file format)
2306   --enable-ico_cur        use Windows ICO and CUR formats
2307   --enable-dccache        cache temporary wxDC objects (Win32 only)
2308   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2309   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2310   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2311   --enable-wxdib          use wxDIB class (Win32 only)
2312   --enable-webview_ie     use wxWebView IE backend (Win32 only)
2313   --enable-autoidman      use automatic ids management
2314   --disable-largefile     omit support for large files
2315   --disable-gtktest       do not try to compile and run a test GTK+ program
2316   --disable-gtktest       Do not try to compile and run a test GTK program
2317   --disable-sdltest       Do not try to compile and run a test SDL program
2318   --enable-omf            use OMF object format (OS/2)
2319   --disable-dependency-tracking
2320                           don't use dependency tracking even if the compiler
2321                           can
2322   --disable-precomp-headers
2323                           don't use precompiled headers even if compiler can
2324
2325 Optional Packages:
2326   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2327   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2328   --without-subdirs       don't generate makefiles for samples/demos/...
2329   --with-flavour=NAME     specify a name to identify this build
2330   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2331   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2332   --with-motif            use Motif/Lesstif
2333   --with-osx_carbon       use Mac OS X (Carbon)
2334   --with-osx_cocoa        use Mac OS X (Cocoa)
2335   --with-osx_iphone       use iPhone OS X port
2336   --with-osx              use Mac OS X (default port, currently Carbon)
2337   --with-carbon           same as --with-osx_carbon
2338   --with-cocoa            same as --with-osx_cocoa
2339   --with-iphone           same as --with-osx_iphone
2340   --with-mac              same as --with-osx
2341   --with-old_cocoa        use old, deprecated, Cocoa port
2342   --with-wine             use Wine
2343   --with-msw              use MS-Windows
2344   --with-pm               use OS/2 Presentation Manager
2345   --with-directfb         use DirectFB
2346   --with-microwin         use MicroWindows
2347   --with-x11              use X11
2348   --with-libpng           use libpng (PNG image format)
2349   --with-libjpeg          use libjpeg (JPEG file format)
2350   --with-libtiff          use libtiff (TIFF file format)
2351   --with-libxpm           use libxpm (XPM file format)
2352   --with-libiconv         use libiconv (character conversion)
2353   --with-libmspack        use libmspack (CHM help files loading)
2354   --without-gtkprint      don't use GTK printing support
2355   --without-gnomeprint    don't use GNOME printing libraries
2356   --with-gnomevfs         use GNOME VFS for associating MIME types
2357   --with-libnotify        use libnotify for notifications
2358   --with-hildon           use Hildon framework for Nokia 770/800/810
2359   --with-opengl           use OpenGL (or Mesa)
2360   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2361   --with-sdl              use SDL for audio on Unix
2362   --with-regex            enable support for wxRegEx class
2363   --with-zlib             use zlib for LZW compression
2364   --with-expat            enable XML support using expat parser
2365   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2366   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2367   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2368   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2369   --with-x                use the X Window System
2370   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2371   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2372   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2373   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2374   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2375
2376 Some influential environment variables:
2377   CC          C compiler command
2378   CFLAGS      C compiler flags
2379   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2380               nonstandard directory <lib dir>
2381   LIBS        libraries to pass to the linker, e.g. -l<library>
2382   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2383               you have headers in a nonstandard directory <include dir>
2384   CPP         C preprocessor
2385   CXX         C++ compiler command
2386   CXXFLAGS    C++ compiler flags
2387   CXXCPP      C++ preprocessor
2388   PKG_CONFIG  path to pkg-config utility
2389   DIRECTFB_CFLAGS
2390               C compiler flags for DIRECTFB, overriding pkg-config
2391   DIRECTFB_LIBS
2392               linker flags for DIRECTFB, overriding pkg-config
2393   XMKMF       Path to xmkmf, Makefile generator for X Window System
2394   PANGOX_CFLAGS
2395               C compiler flags for PANGOX, overriding pkg-config
2396   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2397   PANGOFT2_CFLAGS
2398               C compiler flags for PANGOFT2, overriding pkg-config
2399   PANGOFT2_LIBS
2400               linker flags for PANGOFT2, overriding pkg-config
2401   PANGOXFT_CFLAGS
2402               C compiler flags for PANGOXFT, overriding pkg-config
2403   PANGOXFT_LIBS
2404               linker flags for PANGOXFT, overriding pkg-config
2405   Xinerama_CFLAGS
2406               C compiler flags for Xinerama, overriding pkg-config
2407   Xinerama_LIBS
2408               linker flags for Xinerama, overriding pkg-config
2409   Xxf86vm_CFLAGS
2410               C compiler flags for Xxf86vm, overriding pkg-config
2411   Xxf86vm_LIBS
2412               linker flags for Xxf86vm, overriding pkg-config
2413   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2414   SM_LIBS     linker flags for SM, overriding pkg-config
2415   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2416   GL_LIBS     linker flags for GL, overriding pkg-config
2417   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2418   GLU_LIBS    linker flags for GLU, overriding pkg-config
2419   MesaGL_CFLAGS
2420               C compiler flags for MesaGL, overriding pkg-config
2421   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2422   GTKPRINT_CFLAGS
2423               C compiler flags for GTKPRINT, overriding pkg-config
2424   GTKPRINT_LIBS
2425               linker flags for GTKPRINT, overriding pkg-config
2426   LIBGNOMEPRINTUI_CFLAGS
2427               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2428   LIBGNOMEPRINTUI_LIBS
2429               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2430   GNOMEVFS_CFLAGS
2431               C compiler flags for GNOMEVFS, overriding pkg-config
2432   GNOMEVFS_LIBS
2433               linker flags for GNOMEVFS, overriding pkg-config
2434   LIBNOTIFY_CFLAGS
2435               C compiler flags for LIBNOTIFY, overriding pkg-config
2436   LIBNOTIFY_LIBS
2437               linker flags for LIBNOTIFY, overriding pkg-config
2438   HILDON_CFLAGS
2439               C compiler flags for HILDON, overriding pkg-config
2440   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2441   HILDON2_CFLAGS
2442               C compiler flags for HILDON2, overriding pkg-config
2443   HILDON2_LIBS
2444               linker flags for HILDON2, overriding pkg-config
2445   WEBKIT_CFLAGS
2446               C compiler flags for WEBKIT, overriding pkg-config
2447   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2448   CAIRO_CFLAGS
2449               C compiler flags for CAIRO, overriding pkg-config
2450   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2451   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2452   GST_LIBS    linker flags for GST, overriding pkg-config
2453
2454 Use these variables to override the choices made by `configure' or to help
2455 it to find libraries and programs with nonstandard names/locations.
2456
2457 Report bugs to <wx-dev@lists.wxwidgets.org>.
2458 _ACEOF
2459 ac_status=$?
2460 fi
2461
2462 if test "$ac_init_help" = "recursive"; then
2463   # If there are subdirs, report their specific --help.
2464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2465     test -d "$ac_dir" ||
2466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2467       continue
2468     ac_builddir=.
2469
2470 case "$ac_dir" in
2471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2472 *)
2473   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2474   # A ".." for each directory in $ac_dir_suffix.
2475   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2476   case $ac_top_builddir_sub in
2477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2479   esac ;;
2480 esac
2481 ac_abs_top_builddir=$ac_pwd
2482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2483 # for backward compatibility:
2484 ac_top_builddir=$ac_top_build_prefix
2485
2486 case $srcdir in
2487   .)  # We are building in place.
2488     ac_srcdir=.
2489     ac_top_srcdir=$ac_top_builddir_sub
2490     ac_abs_top_srcdir=$ac_pwd ;;
2491   [\\/]* | ?:[\\/]* )  # Absolute name.
2492     ac_srcdir=$srcdir$ac_dir_suffix;
2493     ac_top_srcdir=$srcdir
2494     ac_abs_top_srcdir=$srcdir ;;
2495   *) # Relative name.
2496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2497     ac_top_srcdir=$ac_top_build_prefix$srcdir
2498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2499 esac
2500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2501
2502     cd "$ac_dir" || { ac_status=$?; continue; }
2503     # Check for guested configure.
2504     if test -f "$ac_srcdir/configure.gnu"; then
2505       echo &&
2506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2507     elif test -f "$ac_srcdir/configure"; then
2508       echo &&
2509       $SHELL "$ac_srcdir/configure" --help=recursive
2510     else
2511       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2512     fi || ac_status=$?
2513     cd "$ac_pwd" || { ac_status=$?; break; }
2514   done
2515 fi
2516
2517 test -n "$ac_init_help" && exit $ac_status
2518 if $ac_init_version; then
2519   cat <<\_ACEOF
2520 wxWidgets configure 2.9.5
2521 generated by GNU Autoconf 2.69
2522
2523 Copyright (C) 2012 Free Software Foundation, Inc.
2524 This configure script is free software; the Free Software Foundation
2525 gives unlimited permission to copy, distribute and modify it.
2526 _ACEOF
2527   exit
2528 fi
2529
2530 ## ------------------------ ##
2531 ## Autoconf initialization. ##
2532 ## ------------------------ ##
2533
2534 # ac_fn_c_try_compile LINENO
2535 # --------------------------
2536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_c_try_compile ()
2538 {
2539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540   rm -f conftest.$ac_objext
2541   if { { ac_try="$ac_compile"
2542 case "(($ac_try" in
2543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544   *) ac_try_echo=$ac_try;;
2545 esac
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548   (eval "$ac_compile") 2>conftest.err
2549   ac_status=$?
2550   if test -s conftest.err; then
2551     grep -v '^ *+' conftest.err >conftest.er1
2552     cat conftest.er1 >&5
2553     mv -f conftest.er1 conftest.err
2554   fi
2555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556   test $ac_status = 0; } && {
2557          test -z "$ac_c_werror_flag" ||
2558          test ! -s conftest.err
2559        } && test -s conftest.$ac_objext; then :
2560   ac_retval=0
2561 else
2562   $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2564
2565         ac_retval=1
2566 fi
2567   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568   as_fn_set_status $ac_retval
2569
2570 } # ac_fn_c_try_compile
2571
2572 # ac_fn_c_try_cpp LINENO
2573 # ----------------------
2574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2575 ac_fn_c_try_cpp ()
2576 {
2577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578   if { { ac_try="$ac_cpp conftest.$ac_ext"
2579 case "(($ac_try" in
2580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581   *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2586   ac_status=$?
2587   if test -s conftest.err; then
2588     grep -v '^ *+' conftest.err >conftest.er1
2589     cat conftest.er1 >&5
2590     mv -f conftest.er1 conftest.err
2591   fi
2592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593   test $ac_status = 0; } > conftest.i && {
2594          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2595          test ! -s conftest.err
2596        }; then :
2597   ac_retval=0
2598 else
2599   $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2601
2602     ac_retval=1
2603 fi
2604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605   as_fn_set_status $ac_retval
2606
2607 } # ac_fn_c_try_cpp
2608
2609 # ac_fn_cxx_try_compile LINENO
2610 # ----------------------------
2611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_cxx_try_compile ()
2613 {
2614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615   rm -f conftest.$ac_objext
2616   if { { ac_try="$ac_compile"
2617 case "(($ac_try" in
2618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619   *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623   (eval "$ac_compile") 2>conftest.err
2624   ac_status=$?
2625   if test -s conftest.err; then
2626     grep -v '^ *+' conftest.err >conftest.er1
2627     cat conftest.er1 >&5
2628     mv -f conftest.er1 conftest.err
2629   fi
2630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631   test $ac_status = 0; } && {
2632          test -z "$ac_cxx_werror_flag" ||
2633          test ! -s conftest.err
2634        } && test -s conftest.$ac_objext; then :
2635   ac_retval=0
2636 else
2637   $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2639
2640         ac_retval=1
2641 fi
2642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643   as_fn_set_status $ac_retval
2644
2645 } # ac_fn_cxx_try_compile
2646
2647 # ac_fn_c_try_link LINENO
2648 # -----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded.
2650 ac_fn_c_try_link ()
2651 {
2652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653   rm -f conftest.$ac_objext conftest$ac_exeext
2654   if { { ac_try="$ac_link"
2655 case "(($ac_try" in
2656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657   *) ac_try_echo=$ac_try;;
2658 esac
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661   (eval "$ac_link") 2>conftest.err
2662   ac_status=$?
2663   if test -s conftest.err; then
2664     grep -v '^ *+' conftest.err >conftest.er1
2665     cat conftest.er1 >&5
2666     mv -f conftest.er1 conftest.err
2667   fi
2668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669   test $ac_status = 0; } && {
2670          test -z "$ac_c_werror_flag" ||
2671          test ! -s conftest.err
2672        } && test -s conftest$ac_exeext && {
2673          test "$cross_compiling" = yes ||
2674          test -x conftest$ac_exeext
2675        }; then :
2676   ac_retval=0
2677 else
2678   $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680
2681         ac_retval=1
2682 fi
2683   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2684   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2685   # interfere with the next link command; also delete a directory that is
2686   # left behind by Apple's compiler.  We do this before executing the actions.
2687   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689   as_fn_set_status $ac_retval
2690
2691 } # ac_fn_c_try_link
2692
2693 # ac_fn_cxx_try_link LINENO
2694 # -------------------------
2695 # Try to link conftest.$ac_ext, and return whether this succeeded.
2696 ac_fn_cxx_try_link ()
2697 {
2698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699   rm -f conftest.$ac_objext conftest$ac_exeext
2700   if { { ac_try="$ac_link"
2701 case "(($ac_try" in
2702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703   *) ac_try_echo=$ac_try;;
2704 esac
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707   (eval "$ac_link") 2>conftest.err
2708   ac_status=$?
2709   if test -s conftest.err; then
2710     grep -v '^ *+' conftest.err >conftest.er1
2711     cat conftest.er1 >&5
2712     mv -f conftest.er1 conftest.err
2713   fi
2714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715   test $ac_status = 0; } && {
2716          test -z "$ac_cxx_werror_flag" ||
2717          test ! -s conftest.err
2718        } && test -s conftest$ac_exeext && {
2719          test "$cross_compiling" = yes ||
2720          test -x conftest$ac_exeext
2721        }; then :
2722   ac_retval=0
2723 else
2724   $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2726
2727         ac_retval=1
2728 fi
2729   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2730   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2731   # interfere with the next link command; also delete a directory that is
2732   # left behind by Apple's compiler.  We do this before executing the actions.
2733   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735   as_fn_set_status $ac_retval
2736
2737 } # ac_fn_cxx_try_link
2738
2739 # ac_fn_c_try_run LINENO
2740 # ----------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2742 # that executables *can* be run.
2743 ac_fn_c_try_run ()
2744 {
2745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746   if { { ac_try="$ac_link"
2747 case "(($ac_try" in
2748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749   *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753   (eval "$ac_link") 2>&5
2754   ac_status=$?
2755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2757   { { case "(($ac_try" in
2758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759   *) ac_try_echo=$ac_try;;
2760 esac
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763   (eval "$ac_try") 2>&5
2764   ac_status=$?
2765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766   test $ac_status = 0; }; }; then :
2767   ac_retval=0
2768 else
2769   $as_echo "$as_me: program exited with status $ac_status" >&5
2770        $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2772
2773        ac_retval=$ac_status
2774 fi
2775   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777   as_fn_set_status $ac_retval
2778
2779 } # ac_fn_c_try_run
2780
2781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2782 # -------------------------------------------------------
2783 # Tests whether HEADER exists and can be compiled using the include files in
2784 # INCLUDES, setting the cache variable VAR accordingly.
2785 ac_fn_c_check_header_compile ()
2786 {
2787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2789 $as_echo_n "checking for $2... " >&6; }
2790 if eval \${$3+:} false; then :
2791   $as_echo_n "(cached) " >&6
2792 else
2793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h.  */
2795 $4
2796 #include <$2>
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799   eval "$3=yes"
2800 else
2801   eval "$3=no"
2802 fi
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 fi
2805 eval ac_res=\$$3
2806                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809
2810 } # ac_fn_c_check_header_compile
2811
2812 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2813 # ---------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_cxx_check_header_compile ()
2817 {
2818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822   $as_echo_n "(cached) " >&6
2823 else
2824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h.  */
2826 $4
2827 #include <$2>
2828 _ACEOF
2829 if ac_fn_cxx_try_compile "$LINENO"; then :
2830   eval "$3=yes"
2831 else
2832   eval "$3=no"
2833 fi
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 fi
2836 eval ac_res=\$$3
2837                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840
2841 } # ac_fn_cxx_check_header_compile
2842
2843 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2844 # --------------------------------------------
2845 # Tries to find the compile-time value of EXPR in a program that includes
2846 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2847 # computed
2848 ac_fn_c_compute_int ()
2849 {
2850   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851   if test "$cross_compiling" = yes; then
2852     # Depending upon the size, compute the lo and hi bounds.
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h.  */
2855 $4
2856 int
2857 main ()
2858 {
2859 static int test_array [1 - 2 * !(($2) >= 0)];
2860 test_array [0] = 0;
2861 return test_array [0];
2862
2863   ;
2864   return 0;
2865 }
2866 _ACEOF
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868   ac_lo=0 ac_mid=0
2869   while :; do
2870     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h.  */
2872 $4
2873 int
2874 main ()
2875 {
2876 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2877 test_array [0] = 0;
2878 return test_array [0];
2879
2880   ;
2881   return 0;
2882 }
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885   ac_hi=$ac_mid; break
2886 else
2887   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2888                         if test $ac_lo -le $ac_mid; then
2889                           ac_lo= ac_hi=
2890                           break
2891                         fi
2892                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2893 fi
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895   done
2896 else
2897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h.  */
2899 $4
2900 int
2901 main ()
2902 {
2903 static int test_array [1 - 2 * !(($2) < 0)];
2904 test_array [0] = 0;
2905 return test_array [0];
2906
2907   ;
2908   return 0;
2909 }
2910 _ACEOF
2911 if ac_fn_c_try_compile "$LINENO"; then :
2912   ac_hi=-1 ac_mid=-1
2913   while :; do
2914     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h.  */
2916 $4
2917 int
2918 main ()
2919 {
2920 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2921 test_array [0] = 0;
2922 return test_array [0];
2923
2924   ;
2925   return 0;
2926 }
2927 _ACEOF
2928 if ac_fn_c_try_compile "$LINENO"; then :
2929   ac_lo=$ac_mid; break
2930 else
2931   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2932                         if test $ac_mid -le $ac_hi; then
2933                           ac_lo= ac_hi=
2934                           break
2935                         fi
2936                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2937 fi
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939   done
2940 else
2941   ac_lo= ac_hi=
2942 fi
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 fi
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 # Binary search between lo and hi bounds.
2947 while test "x$ac_lo" != "x$ac_hi"; do
2948   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h.  */
2951 $4
2952 int
2953 main ()
2954 {
2955 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2956 test_array [0] = 0;
2957 return test_array [0];
2958
2959   ;
2960   return 0;
2961 }
2962 _ACEOF
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964   ac_hi=$ac_mid
2965 else
2966   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2967 fi
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 done
2970 case $ac_lo in #((
2971 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2972 '') ac_retval=1 ;;
2973 esac
2974   else
2975     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h.  */
2977 $4
2978 static long int longval () { return $2; }
2979 static unsigned long int ulongval () { return $2; }
2980 #include <stdio.h>
2981 #include <stdlib.h>
2982 int
2983 main ()
2984 {
2985
2986   FILE *f = fopen ("conftest.val", "w");
2987   if (! f)
2988     return 1;
2989   if (($2) < 0)
2990     {
2991       long int i = longval ();
2992       if (i != ($2))
2993         return 1;
2994       fprintf (f, "%ld", i);
2995     }
2996   else
2997     {
2998       unsigned long int i = ulongval ();
2999       if (i != ($2))
3000         return 1;
3001       fprintf (f, "%lu", i);
3002     }
3003   /* Do not output a trailing newline, as this causes \r\n confusion
3004      on some platforms.  */
3005   return ferror (f) || fclose (f) != 0;
3006
3007   ;
3008   return 0;
3009 }
3010 _ACEOF
3011 if ac_fn_c_try_run "$LINENO"; then :
3012   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3013 else
3014   ac_retval=1
3015 fi
3016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3017   conftest.$ac_objext conftest.beam conftest.$ac_ext
3018 rm -f conftest.val
3019
3020   fi
3021   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022   as_fn_set_status $ac_retval
3023
3024 } # ac_fn_c_compute_int
3025
3026 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3027 # ---------------------------------------------
3028 # Tests whether TYPE exists after having included INCLUDES, setting cache
3029 # variable VAR accordingly.
3030 ac_fn_cxx_check_type ()
3031 {
3032   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036   $as_echo_n "(cached) " >&6
3037 else
3038   eval "$3=no"
3039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h.  */
3041 $4
3042 int
3043 main ()
3044 {
3045 if (sizeof ($2))
3046          return 0;
3047   ;
3048   return 0;
3049 }
3050 _ACEOF
3051 if ac_fn_cxx_try_compile "$LINENO"; then :
3052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h.  */
3054 $4
3055 int
3056 main ()
3057 {
3058 if (sizeof (($2)))
3059             return 0;
3060   ;
3061   return 0;
3062 }
3063 _ACEOF
3064 if ac_fn_cxx_try_compile "$LINENO"; then :
3065
3066 else
3067   eval "$3=yes"
3068 fi
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 fi
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 fi
3073 eval ac_res=\$$3
3074                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077
3078 } # ac_fn_cxx_check_type
3079
3080 # ac_fn_cxx_try_cpp LINENO
3081 # ------------------------
3082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3083 ac_fn_cxx_try_cpp ()
3084 {
3085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086   if { { ac_try="$ac_cpp conftest.$ac_ext"
3087 case "(($ac_try" in
3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089   *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3094   ac_status=$?
3095   if test -s conftest.err; then
3096     grep -v '^ *+' conftest.err >conftest.er1
3097     cat conftest.er1 >&5
3098     mv -f conftest.er1 conftest.err
3099   fi
3100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101   test $ac_status = 0; } > conftest.i && {
3102          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3103          test ! -s conftest.err
3104        }; then :
3105   ac_retval=0
3106 else
3107   $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3109
3110     ac_retval=1
3111 fi
3112   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113   as_fn_set_status $ac_retval
3114
3115 } # ac_fn_cxx_try_cpp
3116
3117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3118 # ---------------------------------------------------------
3119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3120 # the include files in INCLUDES and setting the cache variable VAR
3121 # accordingly.
3122 ac_fn_cxx_check_header_mongrel ()
3123 {
3124   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125   if eval \${$3+:} false; then :
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3127 $as_echo_n "checking for $2... " >&6; }
3128 if eval \${$3+:} false; then :
3129   $as_echo_n "(cached) " >&6
3130 fi
3131 eval ac_res=\$$3
3132                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3133 $as_echo "$ac_res" >&6; }
3134 else
3135   # Is the header compilable?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3137 $as_echo_n "checking $2 usability... " >&6; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h.  */
3140 $4
3141 #include <$2>
3142 _ACEOF
3143 if ac_fn_cxx_try_compile "$LINENO"; then :
3144   ac_header_compiler=yes
3145 else
3146   ac_header_compiler=no
3147 fi
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3150 $as_echo "$ac_header_compiler" >&6; }
3151
3152 # Is the header present?
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3154 $as_echo_n "checking $2 presence... " >&6; }
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h.  */
3157 #include <$2>
3158 _ACEOF
3159 if ac_fn_cxx_try_cpp "$LINENO"; then :
3160   ac_header_preproc=yes
3161 else
3162   ac_header_preproc=no
3163 fi
3164 rm -f conftest.err conftest.i conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3166 $as_echo "$ac_header_preproc" >&6; }
3167
3168 # So?  What about this header?
3169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3170   yes:no: )
3171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175     ;;
3176   no:yes:* )
3177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3180 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3184 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3185     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3187 ( $as_echo "## ----------------------------------------- ##
3188 ## Report this to wx-dev@lists.wxwidgets.org ##
3189 ## ----------------------------------------- ##"
3190      ) | sed "s/^/$as_me: WARNING:     /" >&2
3191     ;;
3192 esac
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194 $as_echo_n "checking for $2... " >&6; }
3195 if eval \${$3+:} false; then :
3196   $as_echo_n "(cached) " >&6
3197 else
3198   eval "$3=\$ac_header_compiler"
3199 fi
3200 eval ac_res=\$$3
3201                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3203 fi
3204   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3205
3206 } # ac_fn_cxx_check_header_mongrel
3207
3208 # ac_fn_c_check_func LINENO FUNC VAR
3209 # ----------------------------------
3210 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3211 ac_fn_c_check_func ()
3212 {
3213   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3215 $as_echo_n "checking for $2... " >&6; }
3216 if eval \${$3+:} false; then :
3217   $as_echo_n "(cached) " >&6
3218 else
3219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h.  */
3221 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3223 #define $2 innocuous_$2
3224
3225 /* System header to define __stub macros and hopefully few prototypes,
3226     which can conflict with char $2 (); below.
3227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228     <limits.h> exists even on freestanding compilers.  */
3229
3230 #ifdef __STDC__
3231 # include <limits.h>
3232 #else
3233 # include <assert.h>
3234 #endif
3235
3236 #undef $2
3237
3238 /* Override any GCC internal prototype to avoid an error.
3239    Use char because int might match the return type of a GCC
3240    builtin and then its argument prototype would still apply.  */
3241 #ifdef __cplusplus
3242 extern "C"
3243 #endif
3244 char $2 ();
3245 /* The GNU C library defines this for functions which it implements
3246     to always fail with ENOSYS.  Some functions are actually named
3247     something starting with __ and the normal name is an alias.  */
3248 #if defined __stub_$2 || defined __stub___$2
3249 choke me
3250 #endif
3251
3252 int
3253 main ()
3254 {
3255 return $2 ();
3256   ;
3257   return 0;
3258 }
3259 _ACEOF
3260 if ac_fn_c_try_link "$LINENO"; then :
3261   eval "$3=yes"
3262 else
3263   eval "$3=no"
3264 fi
3265 rm -f core conftest.err conftest.$ac_objext \
3266     conftest$ac_exeext conftest.$ac_ext
3267 fi
3268 eval ac_res=\$$3
3269                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3270 $as_echo "$ac_res" >&6; }
3271   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272
3273 } # ac_fn_c_check_func
3274
3275 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3276 # -------------------------------------------
3277 # Tests whether TYPE exists after having included INCLUDES, setting cache
3278 # variable VAR accordingly.
3279 ac_fn_c_check_type ()
3280 {
3281   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3283 $as_echo_n "checking for $2... " >&6; }
3284 if eval \${$3+:} false; then :
3285   $as_echo_n "(cached) " >&6
3286 else
3287   eval "$3=no"
3288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h.  */
3290 $4
3291 int
3292 main ()
3293 {
3294 if (sizeof ($2))
3295          return 0;
3296   ;
3297   return 0;
3298 }
3299 _ACEOF
3300 if ac_fn_c_try_compile "$LINENO"; then :
3301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h.  */
3303 $4
3304 int
3305 main ()
3306 {
3307 if (sizeof (($2)))
3308             return 0;
3309   ;
3310   return 0;
3311 }
3312 _ACEOF
3313 if ac_fn_c_try_compile "$LINENO"; then :
3314
3315 else
3316   eval "$3=yes"
3317 fi
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 fi
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 fi
3322 eval ac_res=\$$3
3323                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3324 $as_echo "$ac_res" >&6; }
3325   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3326
3327 } # ac_fn_c_check_type
3328
3329 # ac_fn_cxx_try_run LINENO
3330 # ------------------------
3331 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3332 # that executables *can* be run.
3333 ac_fn_cxx_try_run ()
3334 {
3335   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3336   if { { ac_try="$ac_link"
3337 case "(($ac_try" in
3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339   *) ac_try_echo=$ac_try;;
3340 esac
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343   (eval "$ac_link") 2>&5
3344   ac_status=$?
3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3347   { { case "(($ac_try" in
3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349   *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353   (eval "$ac_try") 2>&5
3354   ac_status=$?
3355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356   test $ac_status = 0; }; }; then :
3357   ac_retval=0
3358 else
3359   $as_echo "$as_me: program exited with status $ac_status" >&5
3360        $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3362
3363        ac_retval=$ac_status
3364 fi
3365   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3366   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367   as_fn_set_status $ac_retval
3368
3369 } # ac_fn_cxx_try_run
3370 cat >config.log <<_ACEOF
3371 This file contains any messages produced by compilers while
3372 running configure, to aid debugging if configure makes a mistake.
3373
3374 It was created by wxWidgets $as_me 2.9.5, which was
3375 generated by GNU Autoconf 2.69.  Invocation command line was
3376
3377   $ $0 $@
3378
3379 _ACEOF
3380 exec 5>>config.log
3381 {
3382 cat <<_ASUNAME
3383 ## --------- ##
3384 ## Platform. ##
3385 ## --------- ##
3386
3387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3392
3393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3394 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3395
3396 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3397 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3399 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3400 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3401 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3402 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3403
3404 _ASUNAME
3405
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3408 do
3409   IFS=$as_save_IFS
3410   test -z "$as_dir" && as_dir=.
3411     $as_echo "PATH: $as_dir"
3412   done
3413 IFS=$as_save_IFS
3414
3415 } >&5
3416
3417 cat >&5 <<_ACEOF
3418
3419
3420 ## ----------- ##
3421 ## Core tests. ##
3422 ## ----------- ##
3423
3424 _ACEOF
3425
3426
3427 # Keep a trace of the command line.
3428 # Strip out --no-create and --no-recursion so they do not pile up.
3429 # Strip out --silent because we don't want to record it for future runs.
3430 # Also quote any args containing shell meta-characters.
3431 # Make two passes to allow for proper duplicate-argument suppression.
3432 ac_configure_args=
3433 ac_configure_args0=
3434 ac_configure_args1=
3435 ac_must_keep_next=false
3436 for ac_pass in 1 2
3437 do
3438   for ac_arg
3439   do
3440     case $ac_arg in
3441     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3442     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443     | -silent | --silent | --silen | --sile | --sil)
3444       continue ;;
3445     *\'*)
3446       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3447     esac
3448     case $ac_pass in
3449     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3450     2)
3451       as_fn_append ac_configure_args1 " '$ac_arg'"
3452       if test $ac_must_keep_next = true; then
3453         ac_must_keep_next=false # Got value, back to normal.
3454       else
3455         case $ac_arg in
3456           *=* | --config-cache | -C | -disable-* | --disable-* \
3457           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3458           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3459           | -with-* | --with-* | -without-* | --without-* | --x)
3460             case "$ac_configure_args0 " in
3461               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3462             esac
3463             ;;
3464           -* ) ac_must_keep_next=true ;;
3465         esac
3466       fi
3467       as_fn_append ac_configure_args " '$ac_arg'"
3468       ;;
3469     esac
3470   done
3471 done
3472 { ac_configure_args0=; unset ac_configure_args0;}
3473 { ac_configure_args1=; unset ac_configure_args1;}
3474
3475 # When interrupted or exit'd, cleanup temporary files, and complete
3476 # config.log.  We remove comments because anyway the quotes in there
3477 # would cause problems or look ugly.
3478 # WARNING: Use '\'' to represent an apostrophe within the trap.
3479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3480 trap 'exit_status=$?
3481   # Save into config.log some information that might help in debugging.
3482   {
3483     echo
3484
3485     $as_echo "## ---------------- ##
3486 ## Cache variables. ##
3487 ## ---------------- ##"
3488     echo
3489     # The following way of writing the cache mishandles newlines in values,
3490 (
3491   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3492     eval ac_val=\$$ac_var
3493     case $ac_val in #(
3494     *${as_nl}*)
3495       case $ac_var in #(
3496       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3498       esac
3499       case $ac_var in #(
3500       _ | IFS | as_nl) ;; #(
3501       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3502       *) { eval $ac_var=; unset $ac_var;} ;;
3503       esac ;;
3504     esac
3505   done
3506   (set) 2>&1 |
3507     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3508     *${as_nl}ac_space=\ *)
3509       sed -n \
3510         "s/'\''/'\''\\\\'\'''\''/g;
3511           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3512       ;; #(
3513     *)
3514       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3515       ;;
3516     esac |
3517     sort
3518 )
3519     echo
3520
3521     $as_echo "## ----------------- ##
3522 ## Output variables. ##
3523 ## ----------------- ##"
3524     echo
3525     for ac_var in $ac_subst_vars
3526     do
3527       eval ac_val=\$$ac_var
3528       case $ac_val in
3529       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3530       esac
3531       $as_echo "$ac_var='\''$ac_val'\''"
3532     done | sort
3533     echo
3534
3535     if test -n "$ac_subst_files"; then
3536       $as_echo "## ------------------- ##
3537 ## File substitutions. ##
3538 ## ------------------- ##"
3539       echo
3540       for ac_var in $ac_subst_files
3541       do
3542         eval ac_val=\$$ac_var
3543         case $ac_val in
3544         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3545         esac
3546         $as_echo "$ac_var='\''$ac_val'\''"
3547       done | sort
3548       echo
3549     fi
3550
3551     if test -s confdefs.h; then
3552       $as_echo "## ----------- ##
3553 ## confdefs.h. ##
3554 ## ----------- ##"
3555       echo
3556       cat confdefs.h
3557       echo
3558     fi
3559     test "$ac_signal" != 0 &&
3560       $as_echo "$as_me: caught signal $ac_signal"
3561     $as_echo "$as_me: exit $exit_status"
3562   } >&5
3563   rm -f core *.core core.conftest.* &&
3564     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3565     exit $exit_status
3566 ' 0
3567 for ac_signal in 1 2 13 15; do
3568   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3569 done
3570 ac_signal=0
3571
3572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3573 rm -f -r conftest* confdefs.h
3574
3575 $as_echo "/* confdefs.h */" > confdefs.h
3576
3577 # Predefined preprocessor variables.
3578
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_NAME "$PACKAGE_NAME"
3581 _ACEOF
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3585 _ACEOF
3586
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3589 _ACEOF
3590
3591 cat >>confdefs.h <<_ACEOF
3592 #define PACKAGE_STRING "$PACKAGE_STRING"
3593 _ACEOF
3594
3595 cat >>confdefs.h <<_ACEOF
3596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3597 _ACEOF
3598
3599 cat >>confdefs.h <<_ACEOF
3600 #define PACKAGE_URL "$PACKAGE_URL"
3601 _ACEOF
3602
3603
3604 # Let the site file select an alternate cache file if it wants to.
3605 # Prefer an explicitly selected file to automatically selected ones.
3606 ac_site_file1=NONE
3607 ac_site_file2=NONE
3608 if test -n "$CONFIG_SITE"; then
3609   # We do not want a PATH search for config.site.
3610   case $CONFIG_SITE in #((
3611     -*)  ac_site_file1=./$CONFIG_SITE;;
3612     */*) ac_site_file1=$CONFIG_SITE;;
3613     *)   ac_site_file1=./$CONFIG_SITE;;
3614   esac
3615 elif test "x$prefix" != xNONE; then
3616   ac_site_file1=$prefix/share/config.site
3617   ac_site_file2=$prefix/etc/config.site
3618 else
3619   ac_site_file1=$ac_default_prefix/share/config.site
3620   ac_site_file2=$ac_default_prefix/etc/config.site
3621 fi
3622 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3623 do
3624   test "x$ac_site_file" = xNONE && continue
3625   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3626     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3628     sed 's/^/| /' "$ac_site_file" >&5
3629     . "$ac_site_file" \
3630       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $? "failed to load site script $ac_site_file
3633 See \`config.log' for more details" "$LINENO" 5; }
3634   fi
3635 done
3636
3637 if test -r "$cache_file"; then
3638   # Some versions of bash will fail to source /dev/null (special files
3639   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3640   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3641     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3642 $as_echo "$as_me: loading cache $cache_file" >&6;}
3643     case $cache_file in
3644       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3645       *)                      . "./$cache_file";;
3646     esac
3647   fi
3648 else
3649   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3650 $as_echo "$as_me: creating cache $cache_file" >&6;}
3651   >$cache_file
3652 fi
3653
3654 # Check that the precious variables saved in the cache have kept the same
3655 # value.
3656 ac_cache_corrupted=false
3657 for ac_var in $ac_precious_vars; do
3658   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3659   eval ac_new_set=\$ac_env_${ac_var}_set
3660   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3661   eval ac_new_val=\$ac_env_${ac_var}_value
3662   case $ac_old_set,$ac_new_set in
3663     set,)
3664       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3666       ac_cache_corrupted=: ;;
3667     ,set)
3668       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3670       ac_cache_corrupted=: ;;
3671     ,);;
3672     *)
3673       if test "x$ac_old_val" != "x$ac_new_val"; then
3674         # differences in whitespace do not lead to failure.
3675         ac_old_val_w=`echo x $ac_old_val`
3676         ac_new_val_w=`echo x $ac_new_val`
3677         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3678           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3680           ac_cache_corrupted=:
3681         else
3682           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3684           eval $ac_var=\$ac_old_val
3685         fi
3686         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3687 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3688         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3689 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3690       fi;;
3691   esac
3692   # Pass precious variables to config.status.
3693   if test "$ac_new_set" = set; then
3694     case $ac_new_val in
3695     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3696     *) ac_arg=$ac_var=$ac_new_val ;;
3697     esac
3698     case " $ac_configure_args " in
3699       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3700       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3701     esac
3702   fi
3703 done
3704 if $ac_cache_corrupted; then
3705   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3709   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3710 fi
3711 ## -------------------- ##
3712 ## Main body of script. ##
3713 ## -------------------- ##
3714
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720
3721
3722
3723
3724
3725 ac_aux_dir=
3726 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3727   if test -f "$ac_dir/install-sh"; then
3728     ac_aux_dir=$ac_dir
3729     ac_install_sh="$ac_aux_dir/install-sh -c"
3730     break
3731   elif test -f "$ac_dir/install.sh"; then
3732     ac_aux_dir=$ac_dir
3733     ac_install_sh="$ac_aux_dir/install.sh -c"
3734     break
3735   elif test -f "$ac_dir/shtool"; then
3736     ac_aux_dir=$ac_dir
3737     ac_install_sh="$ac_aux_dir/shtool install -c"
3738     break
3739   fi
3740 done
3741 if test -z "$ac_aux_dir"; then
3742   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3743 fi
3744
3745 # These three variables are undocumented and unsupported,
3746 # and are intended to be withdrawn in a future Autoconf release.
3747 # They can cause serious problems if a builder's source tree is in a directory
3748 # whose full name contains unusual characters.
3749 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3750 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3751 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3752
3753
3754 # Make sure we can run config.sub.
3755 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3756   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3757
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3759 $as_echo_n "checking build system type... " >&6; }
3760 if ${ac_cv_build+:} false; then :
3761   $as_echo_n "(cached) " >&6
3762 else
3763   ac_build_alias=$build_alias
3764 test "x$ac_build_alias" = x &&
3765   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3766 test "x$ac_build_alias" = x &&
3767   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3768 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3769   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3770
3771 fi
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3773 $as_echo "$ac_cv_build" >&6; }
3774 case $ac_cv_build in
3775 *-*-*) ;;
3776 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3777 esac
3778 build=$ac_cv_build
3779 ac_save_IFS=$IFS; IFS='-'
3780 set x $ac_cv_build
3781 shift
3782 build_cpu=$1
3783 build_vendor=$2
3784 shift; shift
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3787 build_os=$*
3788 IFS=$ac_save_IFS
3789 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3790
3791
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3793 $as_echo_n "checking host system type... " >&6; }
3794 if ${ac_cv_host+:} false; then :
3795   $as_echo_n "(cached) " >&6
3796 else
3797   if test "x$host_alias" = x; then
3798   ac_cv_host=$ac_cv_build
3799 else
3800   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3801     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3802 fi
3803
3804 fi
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3806 $as_echo "$ac_cv_host" >&6; }
3807 case $ac_cv_host in
3808 *-*-*) ;;
3809 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3810 esac
3811 host=$ac_cv_host
3812 ac_save_IFS=$IFS; IFS='-'
3813 set x $ac_cv_host
3814 shift
3815 host_cpu=$1
3816 host_vendor=$2
3817 shift; shift
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3820 host_os=$*
3821 IFS=$ac_save_IFS
3822 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3823
3824
3825
3826 if test "$cross_compiling" != "no"; then
3827     HOST_PREFIX="${host_alias}-"
3828     HOST_SUFFIX="-$host_alias"
3829 else
3830     HOST_PREFIX=
3831     HOST_SUFFIX=
3832 fi
3833
3834
3835 wx_major_version_number=2
3836 wx_minor_version_number=9
3837 wx_release_number=5
3838 wx_subrelease_number=0
3839
3840 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3841 WX_VERSION=$WX_RELEASE.$wx_release_number
3842 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3843
3844 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3845
3846
3847 wx_top_builddir="`pwd`"
3848
3849
3850
3851
3852 USE_UNIX=1
3853 USE_OS2=0
3854 USE_WIN32=0
3855 USE_DOS=0
3856 USE_BEOS=0
3857 USE_MAC=0
3858
3859 USE_AIX=
3860 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3861 USE_GNU=                            USE_HPUX=
3862 USE_LINUX=
3863 USE_NETBSD=
3864 USE_OPENBSD=
3865 USE_OSF=                            USE_SGI=
3866 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3867 USE_ULTRIX=
3868 USE_UNIXWARE=
3869
3870 USE_ALPHA=
3871
3872 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3873
3874 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3875
3876 DEFAULT_wxUSE_OLD_COCOA=0
3877 DEFAULT_wxUSE_GTK=0
3878 DEFAULT_wxUSE_OSX_CARBON=0
3879 DEFAULT_wxUSE_OSX_COCOA=0
3880 DEFAULT_wxUSE_OSX_IPHONE=0
3881 DEFAULT_wxUSE_MICROWIN=0
3882 DEFAULT_wxUSE_MOTIF=0
3883 DEFAULT_wxUSE_MSW=0
3884 DEFAULT_wxUSE_PM=0
3885 DEFAULT_wxUSE_X11=0
3886 DEFAULT_wxUSE_DFB=0
3887
3888 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3889 DEFAULT_DEFAULT_wxUSE_GTK=0
3890 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3891 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3892 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3893 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3894 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3895 DEFAULT_DEFAULT_wxUSE_MSW=0
3896 DEFAULT_DEFAULT_wxUSE_PM=0
3897 DEFAULT_DEFAULT_wxUSE_X11=0
3898 DEFAULT_DEFAULT_wxUSE_DFB=0
3899
3900 PROGRAM_EXT=
3901 SAMPLES_RPATH_FLAG=
3902 DYLIB_RPATH_INSTALL=
3903 DYLIB_RPATH_POSTLINK=
3904
3905 DEFAULT_STD_FLAG=yes
3906
3907 case "${host}" in
3908   *-hp-hpux* )
3909     USE_HPUX=1
3910     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3911     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3912     $as_echo "#define __HPUX__ 1" >>confdefs.h
3913
3914
3915             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3916   ;;
3917   *-*-linux* )
3918     USE_LINUX=1
3919     $as_echo "#define __LINUX__ 1" >>confdefs.h
3920
3921     TMP=`uname -m`
3922     if test "x$TMP" = "xalpha"; then
3923       USE_ALPHA=1
3924       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3925
3926     fi
3927     DEFAULT_DEFAULT_wxUSE_GTK=1
3928   ;;
3929   *-*-gnu* | *-*-k*bsd*-gnu )
3930     USE_GNU=1
3931     TMP=`uname -m`
3932     if test "x$TMP" = "xalpha"; then
3933       USE_ALPHA=1
3934       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3935
3936     fi
3937     DEFAULT_DEFAULT_wxUSE_GTK=1
3938   ;;
3939   *-*-irix5* | *-*-irix6* )
3940     USE_SGI=1
3941     USE_SVR4=1
3942     $as_echo "#define __SGI__ 1" >>confdefs.h
3943
3944     $as_echo "#define __SVR4__ 1" >>confdefs.h
3945
3946     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3947   ;;
3948   *-*-qnx*)
3949     USE_QNX=1
3950     $as_echo "#define __QNX__ 1" >>confdefs.h
3951
3952     DEFAULT_DEFAULT_wxUSE_X11=1
3953   ;;
3954   *-*-solaris2* )
3955     USE_SUN=1
3956     USE_SOLARIS=1
3957     USE_SVR4=1
3958     $as_echo "#define __SUN__ 1" >>confdefs.h
3959
3960     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3961
3962     $as_echo "#define __SVR4__ 1" >>confdefs.h
3963
3964     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3965     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3966   ;;
3967   *-*-sunos4* )
3968     USE_SUN=1
3969     USE_SUNOS=1
3970     USE_BSD=1
3971     $as_echo "#define __SUN__ 1" >>confdefs.h
3972
3973     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3974
3975     $as_echo "#define __BSD__ 1" >>confdefs.h
3976
3977     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3978   ;;
3979   *-*-freebsd*)
3980     USE_BSD=1
3981     USE_FREEBSD=1
3982     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3983
3984     $as_echo "#define __BSD__ 1" >>confdefs.h
3985
3986     DEFAULT_DEFAULT_wxUSE_GTK=1
3987   ;;
3988   *-*-openbsd*|*-*-mirbsd*)
3989     USE_BSD=1
3990     USE_OPENBSD=1
3991     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3992
3993     $as_echo "#define __BSD__ 1" >>confdefs.h
3994
3995     DEFAULT_DEFAULT_wxUSE_GTK=1
3996   ;;
3997   *-*-netbsd*)
3998     USE_BSD=1
3999     USE_NETBSD=1
4000     $as_echo "#define __NETBSD__ 1" >>confdefs.h
4001
4002     $as_echo "#define __BSD__ 1" >>confdefs.h
4003
4004     DEFAULT_DEFAULT_wxUSE_GTK=1
4005     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4006
4007             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4008   ;;
4009   *-*-osf* )
4010     USE_ALPHA=1
4011     USE_OSF=1
4012     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013
4014     $as_echo "#define __OSF__ 1" >>confdefs.h
4015
4016     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4017     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4018   ;;
4019   *-*-dgux5* )
4020     USE_ALPHA=1
4021     USE_SVR4=1
4022     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4023
4024     $as_echo "#define __SVR4__ 1" >>confdefs.h
4025
4026     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4027   ;;
4028   *-*-sysv5* )
4029     USE_SYSV=1
4030     USE_SVR4=1
4031     $as_echo "#define __SYSV__ 1" >>confdefs.h
4032
4033     $as_echo "#define __SVR4__ 1" >>confdefs.h
4034
4035     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4036   ;;
4037   *-*-aix* )
4038     USE_AIX=1
4039     USE_SYSV=1
4040     USE_SVR4=1
4041     $as_echo "#define __AIX__ 1" >>confdefs.h
4042
4043     $as_echo "#define __SYSV__ 1" >>confdefs.h
4044
4045     $as_echo "#define __SVR4__ 1" >>confdefs.h
4046
4047     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4048   ;;
4049
4050   *-*-*UnixWare*)
4051     USE_SYSV=1
4052     USE_SVR4=1
4053     USE_UNIXWARE=1
4054     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4055
4056   ;;
4057
4058   *-*-cygwin* | *-*-mingw32* )
4059                 PROGRAM_EXT=".exe"
4060     DEFAULT_DEFAULT_wxUSE_MSW=1
4061   ;;
4062
4063   *-pc-msdosdjgpp )
4064     USE_UNIX=0
4065     USE_DOS=1
4066     $as_echo "#define __DOS__ 1" >>confdefs.h
4067
4068     PROGRAM_EXT=".exe"
4069   ;;
4070
4071   *-pc-os2_emx | *-pc-os2-emx )
4072     $as_echo "#define __EMX__ 1" >>confdefs.h
4073
4074     USE_OS2=1
4075     $as_echo "#define __OS2__ 1" >>confdefs.h
4076
4077     PROGRAM_EXT=".exe"
4078     DEFAULT_DEFAULT_wxUSE_PM=1
4079         CXX=gcc
4080     LDFLAGS="$LDFLAGS -Zcrtdll"
4081                         ac_executable_extensions=".exe"
4082     export ac_executable_extensions
4083             ac_save_IFS="$IFS"
4084     IFS='\\'
4085     ac_TEMP_PATH=
4086     for ac_dir in $PATH; do
4087       IFS=$ac_save_IFS
4088       if test -z "$ac_TEMP_PATH"; then
4089         ac_TEMP_PATH="$ac_dir"
4090       else
4091         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4092       fi
4093     done
4094     export PATH="$ac_TEMP_PATH"
4095     unset ac_TEMP_PATH
4096     DEFAULT_STD_FLAG=no
4097   ;;
4098
4099   arm-apple-darwin*)
4100         USE_BSD=1
4101     USE_DARWIN=1
4102     $as_echo "#define __BSD__ 1" >>confdefs.h
4103
4104     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105
4106     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4107   ;;
4108
4109   *-*-darwin* )
4110         USE_BSD=1
4111     USE_DARWIN=1
4112     $as_echo "#define __BSD__ 1" >>confdefs.h
4113
4114     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4115
4116     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4117
4118     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4119   ;;
4120
4121   *-*-beos* )
4122         USE_BEOS=1
4123     $as_echo "#define __BEOS__ 1" >>confdefs.h
4124
4125   ;;
4126
4127   *)
4128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4129 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4131 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4132
4133     DEFAULT_DEFAULT_wxUSE_X11=1
4134     DEFAULT_wxUSE_SHARED=no
4135 esac
4136
4137
4138
4139 DEFAULT_wxUSE_ALL_FEATURES=yes
4140
4141 DEFAULT_wxUSE_STD_CONTAINERS=no
4142 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4143 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4144
4145 DEFAULT_wxUSE_DMALLOC=no
4146 DEFAULT_wxUSE_LIBGNOMEVFS=no
4147 DEFAULT_wxUSE_LIBHILDON=no
4148 DEFAULT_wxUSE_LIBHILDON2=no
4149 DEFAULT_wxUSE_LIBMSPACK=no
4150 DEFAULT_wxUSE_LIBSDL=no
4151
4152 DEFAULT_wxUSE_ACCESSIBILITY=no
4153 DEFAULT_wxUSE_IPV6=no
4154 DEFAULT_wxUSE_GSTREAMER8=no
4155 DEFAULT_wxUSE_UNICODE_UTF8=no
4156 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4157
4158 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4159 DEFAULT_wxUSE_OPENGL=auto
4160 DEFAULT_wxUSE_MEDIACTRL=auto
4161 DEFAULT_wxUSE_COMPILER_TLS=auto
4162 DEFAULT_wxUSE_HOTKEY=auto
4163 DEFAULT_wxUSE_METAFILE=auto
4164
4165 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4166 DEFAULT_wxUSE_MAC_ARCH=no
4167
4168 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4169
4170 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4171
4172
4173
4174
4175
4176           enablestring=disable
4177           defaultval=
4178           if test -z "$defaultval"; then
4179               if test x"$enablestring" = xdisable; then
4180                   defaultval=yes
4181               else
4182                   defaultval=no
4183               fi
4184           fi
4185
4186           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4187 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4188           # Check whether --enable-gui was given.
4189 if test "${enable_gui+set}" = set; then :
4190   enableval=$enable_gui;
4191                           if test "$enableval" = yes; then
4192                             wx_cv_use_gui='wxUSE_GUI=yes'
4193                           else
4194                             wx_cv_use_gui='wxUSE_GUI=no'
4195                           fi
4196
4197 else
4198
4199                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4200
4201 fi
4202
4203
4204           eval "$wx_cv_use_gui"
4205
4206           if test x"$enablestring" = xdisable; then
4207             if test $wxUSE_GUI = no; then
4208               result=yes
4209             else
4210               result=no
4211             fi
4212           else
4213             result=$wxUSE_GUI
4214           fi
4215
4216           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4217 $as_echo "$result" >&6; }
4218
4219
4220           enablestring=
4221           defaultval=
4222           if test -z "$defaultval"; then
4223               if test x"$enablestring" = xdisable; then
4224                   defaultval=yes
4225               else
4226                   defaultval=no
4227               fi
4228           fi
4229
4230           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4231 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4232           # Check whether --enable-monolithic was given.
4233 if test "${enable_monolithic+set}" = set; then :
4234   enableval=$enable_monolithic;
4235                           if test "$enableval" = yes; then
4236                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4237                           else
4238                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4239                           fi
4240
4241 else
4242
4243                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4244
4245 fi
4246
4247
4248           eval "$wx_cv_use_monolithic"
4249
4250           if test x"$enablestring" = xdisable; then
4251             if test $wxUSE_MONOLITHIC = no; then
4252               result=yes
4253             else
4254               result=no
4255             fi
4256           else
4257             result=$wxUSE_MONOLITHIC
4258           fi
4259
4260           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4261 $as_echo "$result" >&6; }
4262
4263
4264           enablestring=
4265           defaultval=
4266           if test -z "$defaultval"; then
4267               if test x"$enablestring" = xdisable; then
4268                   defaultval=yes
4269               else
4270                   defaultval=no
4271               fi
4272           fi
4273
4274           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4275 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4276           # Check whether --enable-plugins was given.
4277 if test "${enable_plugins+set}" = set; then :
4278   enableval=$enable_plugins;
4279                           if test "$enableval" = yes; then
4280                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4281                           else
4282                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4283                           fi
4284
4285 else
4286
4287                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4288
4289 fi
4290
4291
4292           eval "$wx_cv_use_plugins"
4293
4294           if test x"$enablestring" = xdisable; then
4295             if test $wxUSE_PLUGINS = no; then
4296               result=yes
4297             else
4298               result=no
4299             fi
4300           else
4301             result=$wxUSE_PLUGINS
4302           fi
4303
4304           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4305 $as_echo "$result" >&6; }
4306
4307
4308           withstring=without
4309           defaultval=$wxUSE_ALL_FEATURES
4310           if test -z "$defaultval"; then
4311               if test x"$withstring" = xwithout; then
4312                   defaultval=yes
4313               else
4314                   defaultval=no
4315               fi
4316           fi
4317           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4318 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4319
4320 # Check whether --with-subdirs was given.
4321 if test "${with_subdirs+set}" = set; then :
4322   withval=$with_subdirs;
4323                         if test "$withval" = yes; then
4324                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4325                         else
4326                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4327                         fi
4328
4329 else
4330
4331                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4332
4333 fi
4334
4335
4336           eval "$wx_cv_use_subdirs"
4337
4338           if test x"$withstring" = xwithout; then
4339             if test $wxWITH_SUBDIRS = yes; then
4340               result=no
4341             else
4342               result=yes
4343             fi
4344           else
4345             result=$wxWITH_SUBDIRS
4346           fi
4347
4348           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4349 $as_echo "$result" >&6; }
4350
4351
4352 # Check whether --with-flavour was given.
4353 if test "${with_flavour+set}" = set; then :
4354   withval=$with_flavour; WX_FLAVOUR="$withval"
4355 fi
4356
4357
4358           enablestring=
4359           defaultval=
4360           if test -z "$defaultval"; then
4361               if test x"$enablestring" = xdisable; then
4362                   defaultval=yes
4363               else
4364                   defaultval=no
4365               fi
4366           fi
4367
4368           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4369 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4370           # Check whether --enable-official_build was given.
4371 if test "${enable_official_build+set}" = set; then :
4372   enableval=$enable_official_build;
4373                           if test "$enableval" = yes; then
4374                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4375                           else
4376                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4377                           fi
4378
4379 else
4380
4381                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4382
4383 fi
4384
4385
4386           eval "$wx_cv_use_official_build"
4387
4388           if test x"$enablestring" = xdisable; then
4389             if test $wxUSE_OFFICIAL_BUILD = no; then
4390               result=yes
4391             else
4392               result=no
4393             fi
4394           else
4395             result=$wxUSE_OFFICIAL_BUILD
4396           fi
4397
4398           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4399 $as_echo "$result" >&6; }
4400
4401 # Check whether --enable-vendor was given.
4402 if test "${enable_vendor+set}" = set; then :
4403   enableval=$enable_vendor; VENDOR="$enableval"
4404 fi
4405
4406 if test "x$VENDOR" = "x"; then
4407     VENDOR="custom"
4408 fi
4409
4410
4411           enablestring=disable
4412           defaultval=
4413           if test -z "$defaultval"; then
4414               if test x"$enablestring" = xdisable; then
4415                   defaultval=yes
4416               else
4417                   defaultval=no
4418               fi
4419           fi
4420
4421           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4422 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4423           # Check whether --enable-all-features was given.
4424 if test "${enable_all_features+set}" = set; then :
4425   enableval=$enable_all_features;
4426                           if test "$enableval" = yes; then
4427                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4428                           else
4429                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4430                           fi
4431
4432 else
4433
4434                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4435
4436 fi
4437
4438
4439           eval "$wx_cv_use_all_features"
4440
4441           if test x"$enablestring" = xdisable; then
4442             if test $wxUSE_ALL_FEATURES = no; then
4443               result=yes
4444             else
4445               result=no
4446             fi
4447           else
4448             result=$wxUSE_ALL_FEATURES
4449           fi
4450
4451           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4452 $as_echo "$result" >&6; }
4453
4454
4455 if test "$wxUSE_ALL_FEATURES" = "no"; then
4456                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4457     DEFAULT_wxUSE_MEDIACTRL=no
4458 fi
4459
4460
4461 if test "$wxUSE_GUI" = "yes"; then
4462
4463
4464           enablestring=
4465           defaultval=
4466           if test -z "$defaultval"; then
4467               if test x"$enablestring" = xdisable; then
4468                   defaultval=yes
4469               else
4470                   defaultval=no
4471               fi
4472           fi
4473
4474           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4475 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4476           # Check whether --enable-universal was given.
4477 if test "${enable_universal+set}" = set; then :
4478   enableval=$enable_universal;
4479                           if test "$enableval" = yes; then
4480                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4481                           else
4482                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4483                           fi
4484
4485 else
4486
4487                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4488
4489 fi
4490
4491
4492           eval "$wx_cv_use_universal"
4493
4494           if test x"$enablestring" = xdisable; then
4495             if test $wxUSE_UNIVERSAL = no; then
4496               result=yes
4497             else
4498               result=no
4499             fi
4500           else
4501             result=$wxUSE_UNIVERSAL
4502           fi
4503
4504           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4505 $as_echo "$result" >&6; }
4506
4507 if test "$wxUSE_UNIVERSAL" = "yes"; then
4508
4509 # Check whether --with-themes was given.
4510 if test "${with_themes+set}" = set; then :
4511   withval=$with_themes; wxUNIV_THEMES="$withval"
4512 fi
4513
4514 fi
4515
4516
4517 # Check whether --with-gtk was given.
4518 if test "${with_gtk+set}" = set; then :
4519   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4520 fi
4521
4522
4523 # Check whether --with-motif was given.
4524 if test "${with_motif+set}" = set; then :
4525   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4526 fi
4527
4528
4529 # Check whether --with-osx_carbon was given.
4530 if test "${with_osx_carbon+set}" = set; then :
4531   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4532 fi
4533
4534
4535 # Check whether --with-osx_cocoa was given.
4536 if test "${with_osx_cocoa+set}" = set; then :
4537   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4538 fi
4539
4540
4541 # Check whether --with-osx_iphone was given.
4542 if test "${with_osx_iphone+set}" = set; then :
4543   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4544 fi
4545
4546
4547 # Check whether --with-osx was given.
4548 if test "${with_osx+set}" = set; then :
4549   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4550 fi
4551
4552
4553 # Check whether --with-carbon was given.
4554 if test "${with_carbon+set}" = set; then :
4555   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4556 fi
4557
4558
4559 # Check whether --with-cocoa was given.
4560 if test "${with_cocoa+set}" = set; then :
4561   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4562 fi
4563
4564
4565 # Check whether --with-iphone was given.
4566 if test "${with_iphone+set}" = set; then :
4567   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4568 fi
4569
4570
4571 # Check whether --with-mac was given.
4572 if test "${with_mac+set}" = set; then :
4573   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4574 fi
4575
4576
4577 # Check whether --with-old_cocoa was given.
4578 if test "${with_old_cocoa+set}" = set; then :
4579   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4580 fi
4581
4582
4583 # Check whether --with-wine was given.
4584 if test "${with_wine+set}" = set; then :
4585   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4586 fi
4587
4588
4589 # Check whether --with-msw was given.
4590 if test "${with_msw+set}" = set; then :
4591   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4592 fi
4593
4594
4595 # Check whether --with-pm was given.
4596 if test "${with_pm+set}" = set; then :
4597   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4598 fi
4599
4600
4601 # Check whether --with-directfb was given.
4602 if test "${with_directfb+set}" = set; then :
4603   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4604 fi
4605
4606
4607 # Check whether --with-microwin was given.
4608 if test "${with_microwin+set}" = set; then :
4609   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4610 fi
4611
4612
4613 # Check whether --with-x11 was given.
4614 if test "${with_x11+set}" = set; then :
4615   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4616 fi
4617
4618
4619           enablestring=
4620           defaultval=
4621           if test -z "$defaultval"; then
4622               if test x"$enablestring" = xdisable; then
4623                   defaultval=yes
4624               else
4625                   defaultval=no
4626               fi
4627           fi
4628
4629           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4630 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4631           # Check whether --enable-nanox was given.
4632 if test "${enable_nanox+set}" = set; then :
4633   enableval=$enable_nanox;
4634                           if test "$enableval" = yes; then
4635                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4636                           else
4637                             wx_cv_use_nanox='wxUSE_NANOX=no'
4638                           fi
4639
4640 else
4641
4642                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4643
4644 fi
4645
4646
4647           eval "$wx_cv_use_nanox"
4648
4649           if test x"$enablestring" = xdisable; then
4650             if test $wxUSE_NANOX = no; then
4651               result=yes
4652             else
4653               result=no
4654             fi
4655           else
4656             result=$wxUSE_NANOX
4657           fi
4658
4659           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4660 $as_echo "$result" >&6; }
4661
4662
4663           enablestring=
4664           defaultval=
4665           if test -z "$defaultval"; then
4666               if test x"$enablestring" = xdisable; then
4667                   defaultval=yes
4668               else
4669                   defaultval=no
4670               fi
4671           fi
4672
4673           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4674 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4675           # Check whether --enable-gpe was given.
4676 if test "${enable_gpe+set}" = set; then :
4677   enableval=$enable_gpe;
4678                           if test "$enableval" = yes; then
4679                             wx_cv_use_gpe='wxUSE_GPE=yes'
4680                           else
4681                             wx_cv_use_gpe='wxUSE_GPE=no'
4682                           fi
4683
4684 else
4685
4686                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4687
4688 fi
4689
4690
4691           eval "$wx_cv_use_gpe"
4692
4693           if test x"$enablestring" = xdisable; then
4694             if test $wxUSE_GPE = no; then
4695               result=yes
4696             else
4697               result=no
4698             fi
4699           else
4700             result=$wxUSE_GPE
4701           fi
4702
4703           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4704 $as_echo "$result" >&6; }
4705
4706
4707
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4709 $as_echo_n "checking for toolkit... " >&6; }
4710
4711
4712
4713 # In Wine, we need to default to MSW, not GTK or MOTIF
4714 if test "$wxUSE_WINE" = "yes"; then
4715     DEFAULT_DEFAULT_wxUSE_GTK=0
4716     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4717     DEFAULT_DEFAULT_wxUSE_MSW=1
4718     wxUSE_SHARED=no
4719     CC=${CC:-winegcc}
4720     CXX=${CXX:-wineg++}
4721 fi
4722
4723
4724 if test "$wxUSE_GUI" = "yes"; then
4725
4726     if test "$USE_BEOS" = 1; then
4727         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4728     fi
4729
4730     if test "$TOOLKIT_GIVEN" = 1; then
4731             for toolkit in $ALL_TOOLKITS; do
4732         var=wxUSE_$toolkit
4733         eval "value=\$${var}"
4734         if test "x$value" = "xno"; then
4735           eval "$var=0"
4736         elif test "x$value" != "x"; then
4737           eval "$var=1"
4738         fi
4739
4740         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4741           eval "wx${toolkit}_VERSION=$value"
4742         fi
4743       done
4744     else
4745             for toolkit in $ALL_TOOLKITS; do
4746         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4747         eval "wxUSE_$toolkit=\$${var}"
4748       done
4749     fi
4750
4751             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4752                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4753                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4754
4755         case "${host}" in
4756       *-pc-os2_emx | *-pc-os2-emx )
4757         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4758     esac
4759
4760     case "$NUM_TOOLKITS" in
4761       1)
4762       ;;
4763       0)
4764         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4765       ;;
4766       *)
4767         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4768     esac
4769
4770     for toolkit in $ALL_TOOLKITS; do
4771         var=wxUSE_$toolkit
4772         eval "value=\$${var}"
4773         if test "$value" = 1; then
4774           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4775           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4776 $as_echo "$toolkit_echo" >&6; }
4777         fi
4778     done
4779 else
4780     if test "x$host_alias" != "x"; then
4781         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4782 $as_echo "base ($host_alias hosted) only" >&6; }
4783     else
4784         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4785 $as_echo "base only" >&6; }
4786     fi
4787 fi
4788
4789 wxUSE_MAC=0
4790 if test "$wxUSE_OSX_CARBON" = 1 \
4791        -o "$wxUSE_OSX_COCOA" = 1 \
4792        -o "$wxUSE_OSX_IPHONE" = 1; then
4793     wxUSE_MAC=1
4794 fi
4795
4796
4797
4798           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4799 $as_echo_n "checking for --with-libpng... " >&6; }
4800
4801 # Check whether --with-libpng was given.
4802 if test "${with_libpng+set}" = set; then :
4803   withval=$with_libpng;
4804                         if test "$withval" = yes; then
4805                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4806                         elif test "$withval" = no; then
4807                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4808                         elif test "$withval" = sys; then
4809                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4810                         elif test "$withval" = builtin; then
4811                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4812                         else
4813                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4814                         fi
4815
4816 else
4817
4818                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4819
4820 fi
4821
4822
4823           eval "$wx_cv_use_libpng"
4824
4825           if test "$wxUSE_LIBPNG" = yes; then
4826             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4828           elif test "$wxUSE_LIBPNG" = no; then
4829             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831           elif test "$wxUSE_LIBPNG" = sys; then
4832             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4833 $as_echo "system version" >&6; }
4834           elif test "$wxUSE_LIBPNG" = builtin; then
4835             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4836 $as_echo "builtin version" >&6; }
4837           else
4838             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4839           fi
4840
4841
4842           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4843 $as_echo_n "checking for --with-libjpeg... " >&6; }
4844
4845 # Check whether --with-libjpeg was given.
4846 if test "${with_libjpeg+set}" = set; then :
4847   withval=$with_libjpeg;
4848                         if test "$withval" = yes; then
4849                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4850                         elif test "$withval" = no; then
4851                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4852                         elif test "$withval" = sys; then
4853                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4854                         elif test "$withval" = builtin; then
4855                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4856                         else
4857                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4858                         fi
4859
4860 else
4861
4862                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4863
4864 fi
4865
4866
4867           eval "$wx_cv_use_libjpeg"
4868
4869           if test "$wxUSE_LIBJPEG" = yes; then
4870             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4871 $as_echo "yes" >&6; }
4872           elif test "$wxUSE_LIBJPEG" = no; then
4873             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4875           elif test "$wxUSE_LIBJPEG" = sys; then
4876             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4877 $as_echo "system version" >&6; }
4878           elif test "$wxUSE_LIBJPEG" = builtin; then
4879             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4880 $as_echo "builtin version" >&6; }
4881           else
4882             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4883           fi
4884
4885
4886           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4887 $as_echo_n "checking for --with-libtiff... " >&6; }
4888
4889 # Check whether --with-libtiff was given.
4890 if test "${with_libtiff+set}" = set; then :
4891   withval=$with_libtiff;
4892                         if test "$withval" = yes; then
4893                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4894                         elif test "$withval" = no; then
4895                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4896                         elif test "$withval" = sys; then
4897                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4898                         elif test "$withval" = builtin; then
4899                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4900                         else
4901                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4902                         fi
4903
4904 else
4905
4906                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4907
4908 fi
4909
4910
4911           eval "$wx_cv_use_libtiff"
4912
4913           if test "$wxUSE_LIBTIFF" = yes; then
4914             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916           elif test "$wxUSE_LIBTIFF" = no; then
4917             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919           elif test "$wxUSE_LIBTIFF" = sys; then
4920             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4921 $as_echo "system version" >&6; }
4922           elif test "$wxUSE_LIBTIFF" = builtin; then
4923             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4924 $as_echo "builtin version" >&6; }
4925           else
4926             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4927           fi
4928
4929
4930           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4931 $as_echo_n "checking for --with-libxpm... " >&6; }
4932
4933 # Check whether --with-libxpm was given.
4934 if test "${with_libxpm+set}" = set; then :
4935   withval=$with_libxpm;
4936                         if test "$withval" = yes; then
4937                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4938                         elif test "$withval" = no; then
4939                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4940                         elif test "$withval" = sys; then
4941                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4942                         elif test "$withval" = builtin; then
4943                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4944                         else
4945                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4946                         fi
4947
4948 else
4949
4950                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4951
4952 fi
4953
4954
4955           eval "$wx_cv_use_libxpm"
4956
4957           if test "$wxUSE_LIBXPM" = yes; then
4958             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4959 $as_echo "yes" >&6; }
4960           elif test "$wxUSE_LIBXPM" = no; then
4961             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963           elif test "$wxUSE_LIBXPM" = sys; then
4964             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4965 $as_echo "system version" >&6; }
4966           elif test "$wxUSE_LIBXPM" = builtin; then
4967             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4968 $as_echo "builtin version" >&6; }
4969           else
4970             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4971           fi
4972
4973
4974           withstring=
4975           defaultval=$wxUSE_ALL_FEATURES
4976           if test -z "$defaultval"; then
4977               if test x"$withstring" = xwithout; then
4978                   defaultval=yes
4979               else
4980                   defaultval=no
4981               fi
4982           fi
4983           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4984 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4985
4986 # Check whether --with-libiconv was given.
4987 if test "${with_libiconv+set}" = set; then :
4988   withval=$with_libiconv;
4989                         if test "$withval" = yes; then
4990                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4991                         else
4992                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4993                         fi
4994
4995 else
4996
4997                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4998
4999 fi
5000
5001
5002           eval "$wx_cv_use_libiconv"
5003
5004           if test x"$withstring" = xwithout; then
5005             if test $wxUSE_LIBICONV = yes; then
5006               result=no
5007             else
5008               result=yes
5009             fi
5010           else
5011             result=$wxUSE_LIBICONV
5012           fi
5013
5014           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5015 $as_echo "$result" >&6; }
5016
5017
5018           withstring=
5019           defaultval=$wxUSE_ALL_FEATURES
5020           if test -z "$defaultval"; then
5021               if test x"$withstring" = xwithout; then
5022                   defaultval=yes
5023               else
5024                   defaultval=no
5025               fi
5026           fi
5027           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5028 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5029
5030 # Check whether --with-libmspack was given.
5031 if test "${with_libmspack+set}" = set; then :
5032   withval=$with_libmspack;
5033                         if test "$withval" = yes; then
5034                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5035                         else
5036                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5037                         fi
5038
5039 else
5040
5041                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5042
5043 fi
5044
5045
5046           eval "$wx_cv_use_libmspack"
5047
5048           if test x"$withstring" = xwithout; then
5049             if test $wxUSE_LIBMSPACK = yes; then
5050               result=no
5051             else
5052               result=yes
5053             fi
5054           else
5055             result=$wxUSE_LIBMSPACK
5056           fi
5057
5058           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5059 $as_echo "$result" >&6; }
5060
5061
5062           withstring=without
5063           defaultval=$wxUSE_ALL_FEATURES
5064           if test -z "$defaultval"; then
5065               if test x"$withstring" = xwithout; then
5066                   defaultval=yes
5067               else
5068                   defaultval=no
5069               fi
5070           fi
5071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5072 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5073
5074 # Check whether --with-gtkprint was given.
5075 if test "${with_gtkprint+set}" = set; then :
5076   withval=$with_gtkprint;
5077                         if test "$withval" = yes; then
5078                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5079                         else
5080                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5081                         fi
5082
5083 else
5084
5085                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5086
5087 fi
5088
5089
5090           eval "$wx_cv_use_gtkprint"
5091
5092           if test x"$withstring" = xwithout; then
5093             if test $wxUSE_GTKPRINT = yes; then
5094               result=no
5095             else
5096               result=yes
5097             fi
5098           else
5099             result=$wxUSE_GTKPRINT
5100           fi
5101
5102           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5103 $as_echo "$result" >&6; }
5104
5105
5106           withstring=without
5107           defaultval=$wxUSE_ALL_FEATURES
5108           if test -z "$defaultval"; then
5109               if test x"$withstring" = xwithout; then
5110                   defaultval=yes
5111               else
5112                   defaultval=no
5113               fi
5114           fi
5115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5116 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5117
5118 # Check whether --with-gnomeprint was given.
5119 if test "${with_gnomeprint+set}" = set; then :
5120   withval=$with_gnomeprint;
5121                         if test "$withval" = yes; then
5122                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5123                         else
5124                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5125                         fi
5126
5127 else
5128
5129                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5130
5131 fi
5132
5133
5134           eval "$wx_cv_use_gnomeprint"
5135
5136           if test x"$withstring" = xwithout; then
5137             if test $wxUSE_LIBGNOMEPRINT = yes; then
5138               result=no
5139             else
5140               result=yes
5141             fi
5142           else
5143             result=$wxUSE_LIBGNOMEPRINT
5144           fi
5145
5146           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5147 $as_echo "$result" >&6; }
5148
5149
5150           withstring=
5151           defaultval=$wxUSE_ALL_FEATURES
5152           if test -z "$defaultval"; then
5153               if test x"$withstring" = xwithout; then
5154                   defaultval=yes
5155               else
5156                   defaultval=no
5157               fi
5158           fi
5159           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5160 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5161
5162 # Check whether --with-gnomevfs was given.
5163 if test "${with_gnomevfs+set}" = set; then :
5164   withval=$with_gnomevfs;
5165                         if test "$withval" = yes; then
5166                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5167                         else
5168                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5169                         fi
5170
5171 else
5172
5173                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5174
5175 fi
5176
5177
5178           eval "$wx_cv_use_gnomevfs"
5179
5180           if test x"$withstring" = xwithout; then
5181             if test $wxUSE_LIBGNOMEVFS = yes; then
5182               result=no
5183             else
5184               result=yes
5185             fi
5186           else
5187             result=$wxUSE_LIBGNOMEVFS
5188           fi
5189
5190           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5191 $as_echo "$result" >&6; }
5192
5193
5194           withstring=
5195           defaultval=$wxUSE_ALL_FEATURES
5196           if test -z "$defaultval"; then
5197               if test x"$withstring" = xwithout; then
5198                   defaultval=yes
5199               else
5200                   defaultval=no
5201               fi
5202           fi
5203           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5204 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5205
5206 # Check whether --with-libnotify was given.
5207 if test "${with_libnotify+set}" = set; then :
5208   withval=$with_libnotify;
5209                         if test "$withval" = yes; then
5210                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5211                         else
5212                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5213                         fi
5214
5215 else
5216
5217                         wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5218
5219 fi
5220
5221
5222           eval "$wx_cv_use_libnotify"
5223
5224           if test x"$withstring" = xwithout; then
5225             if test $wxUSE_LIBNOTIFY = yes; then
5226               result=no
5227             else
5228               result=yes
5229             fi
5230           else
5231             result=$wxUSE_LIBNOTIFY
5232           fi
5233
5234           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5235 $as_echo "$result" >&6; }
5236
5237
5238           withstring=
5239           defaultval=$wxUSE_ALL_FEATURES
5240           if test -z "$defaultval"; then
5241               if test x"$withstring" = xwithout; then
5242                   defaultval=yes
5243               else
5244                   defaultval=no
5245               fi
5246           fi
5247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5248 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5249
5250 # Check whether --with-hildon was given.
5251 if test "${with_hildon+set}" = set; then :
5252   withval=$with_hildon;
5253                         if test "$withval" = yes; then
5254                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5255                         else
5256                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5257                         fi
5258
5259 else
5260
5261                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5262
5263 fi
5264
5265
5266           eval "$wx_cv_use_hildon"
5267
5268           if test x"$withstring" = xwithout; then
5269             if test $wxUSE_LIBHILDON = yes; then
5270               result=no
5271             else
5272               result=yes
5273             fi
5274           else
5275             result=$wxUSE_LIBHILDON
5276           fi
5277
5278           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5279 $as_echo "$result" >&6; }
5280
5281
5282           withstring=
5283           defaultval=$wxUSE_ALL_FEATURES
5284           if test -z "$defaultval"; then
5285               if test x"$withstring" = xwithout; then
5286                   defaultval=yes
5287               else
5288                   defaultval=no
5289               fi
5290           fi
5291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5292 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5293
5294 # Check whether --with-opengl was given.
5295 if test "${with_opengl+set}" = set; then :
5296   withval=$with_opengl;
5297                         if test "$withval" = yes; then
5298                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5299                         else
5300                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5301                         fi
5302
5303 else
5304
5305                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5306
5307 fi
5308
5309
5310           eval "$wx_cv_use_opengl"
5311
5312           if test x"$withstring" = xwithout; then
5313             if test $wxUSE_OPENGL = yes; then
5314               result=no
5315             else
5316               result=yes
5317             fi
5318           else
5319             result=$wxUSE_OPENGL
5320           fi
5321
5322           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5323 $as_echo "$result" >&6; }
5324
5325
5326 fi
5327
5328
5329           withstring=
5330           defaultval=$wxUSE_ALL_FEATURES
5331           if test -z "$defaultval"; then
5332               if test x"$withstring" = xwithout; then
5333                   defaultval=yes
5334               else
5335                   defaultval=no
5336               fi
5337           fi
5338           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5339 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5340
5341 # Check whether --with-dmalloc was given.
5342 if test "${with_dmalloc+set}" = set; then :
5343   withval=$with_dmalloc;
5344                         if test "$withval" = yes; then
5345                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5346                         else
5347                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5348                         fi
5349
5350 else
5351
5352                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5353
5354 fi
5355
5356
5357           eval "$wx_cv_use_dmalloc"
5358
5359           if test x"$withstring" = xwithout; then
5360             if test $wxUSE_DMALLOC = yes; then
5361               result=no
5362             else
5363               result=yes
5364             fi
5365           else
5366             result=$wxUSE_DMALLOC
5367           fi
5368
5369           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5370 $as_echo "$result" >&6; }
5371
5372
5373           withstring=
5374           defaultval=$wxUSE_ALL_FEATURES
5375           if test -z "$defaultval"; then
5376               if test x"$withstring" = xwithout; then
5377                   defaultval=yes
5378               else
5379                   defaultval=no
5380               fi
5381           fi
5382           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5383 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5384
5385 # Check whether --with-sdl was given.
5386 if test "${with_sdl+set}" = set; then :
5387   withval=$with_sdl;
5388                         if test "$withval" = yes; then
5389                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5390                         else
5391                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5392                         fi
5393
5394 else
5395
5396                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5397
5398 fi
5399
5400
5401           eval "$wx_cv_use_sdl"
5402
5403           if test x"$withstring" = xwithout; then
5404             if test $wxUSE_LIBSDL = yes; then
5405               result=no
5406             else
5407               result=yes
5408             fi
5409           else
5410             result=$wxUSE_LIBSDL
5411           fi
5412
5413           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5414 $as_echo "$result" >&6; }
5415
5416
5417           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5418 $as_echo_n "checking for --with-regex... " >&6; }
5419
5420 # Check whether --with-regex was given.
5421 if test "${with_regex+set}" = set; then :
5422   withval=$with_regex;
5423                         if test "$withval" = yes; then
5424                           wx_cv_use_regex='wxUSE_REGEX=yes'
5425                         elif test "$withval" = no; then
5426                           wx_cv_use_regex='wxUSE_REGEX=no'
5427                         elif test "$withval" = sys; then
5428                           wx_cv_use_regex='wxUSE_REGEX=sys'
5429                         elif test "$withval" = builtin; then
5430                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5431                         else
5432                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5433                         fi
5434
5435 else
5436
5437                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5438
5439 fi
5440
5441
5442           eval "$wx_cv_use_regex"
5443
5444           if test "$wxUSE_REGEX" = yes; then
5445             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5447           elif test "$wxUSE_REGEX" = no; then
5448             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5450           elif test "$wxUSE_REGEX" = sys; then
5451             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5452 $as_echo "system version" >&6; }
5453           elif test "$wxUSE_REGEX" = builtin; then
5454             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5455 $as_echo "builtin version" >&6; }
5456           else
5457             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5458           fi
5459
5460
5461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5462 $as_echo_n "checking for --with-zlib... " >&6; }
5463
5464 # Check whether --with-zlib was given.
5465 if test "${with_zlib+set}" = set; then :
5466   withval=$with_zlib;
5467                         if test "$withval" = yes; then
5468                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5469                         elif test "$withval" = no; then
5470                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5471                         elif test "$withval" = sys; then
5472                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5473                         elif test "$withval" = builtin; then
5474                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5475                         else
5476                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5477                         fi
5478
5479 else
5480
5481                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5482
5483 fi
5484
5485
5486           eval "$wx_cv_use_zlib"
5487
5488           if test "$wxUSE_ZLIB" = yes; then
5489             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5490 $as_echo "yes" >&6; }
5491           elif test "$wxUSE_ZLIB" = no; then
5492             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5494           elif test "$wxUSE_ZLIB" = sys; then
5495             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5496 $as_echo "system version" >&6; }
5497           elif test "$wxUSE_ZLIB" = builtin; then
5498             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5499 $as_echo "builtin version" >&6; }
5500           else
5501             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5502           fi
5503
5504
5505           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5506 $as_echo_n "checking for --with-expat... " >&6; }
5507
5508 # Check whether --with-expat was given.
5509 if test "${with_expat+set}" = set; then :
5510   withval=$with_expat;
5511                         if test "$withval" = yes; then
5512                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5513                         elif test "$withval" = no; then
5514                           wx_cv_use_expat='wxUSE_EXPAT=no'
5515                         elif test "$withval" = sys; then
5516                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5517                         elif test "$withval" = builtin; then
5518                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5519                         else
5520                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5521                         fi
5522
5523 else
5524
5525                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5526
5527 fi
5528
5529
5530           eval "$wx_cv_use_expat"
5531
5532           if test "$wxUSE_EXPAT" = yes; then
5533             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535           elif test "$wxUSE_EXPAT" = no; then
5536             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538           elif test "$wxUSE_EXPAT" = sys; then
5539             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5540 $as_echo "system version" >&6; }
5541           elif test "$wxUSE_EXPAT" = builtin; then
5542             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5543 $as_echo "builtin version" >&6; }
5544           else
5545             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5546           fi
5547
5548
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5550 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5551
5552 # Check whether --with-macosx-sdk was given.
5553 if test "${with_macosx_sdk+set}" = set; then :
5554   withval=$with_macosx_sdk;
5555         wxUSE_MACOSX_SDK=$withval
5556         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5557
5558 fi
5559
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5561 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5564 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5565
5566 # Check whether --with-macosx-version-min was given.
5567 if test "${with_macosx_version_min+set}" = set; then :
5568   withval=$with_macosx_version_min;
5569         wxUSE_MACOSX_VERSION_MIN=$withval
5570         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5571
5572 fi
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5575 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5576
5577
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5579 $as_echo_n "checking for --enable-debug... " >&6; }
5580 # Check whether --enable-debug was given.
5581 if test "${enable_debug+set}" = set; then :
5582   enableval=$enable_debug;
5583         if test "$enableval" = yes; then
5584             wxUSE_DEBUG=yes
5585         elif test "$enableval" = no; then
5586             wxUSE_DEBUG=no
5587         elif test "$enableval" = max; then
5588             wxUSE_DEBUG=yes
5589             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5590         else
5591             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5592         fi
5593
5594 else
5595   wxUSE_DEBUG=default
5596
5597 fi
5598
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5600 $as_echo "${enable_debug-default}" >&6; }
5601
5602 case "$wxUSE_DEBUG" in
5603     yes)
5604                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5605         DEFAULT_wxUSE_DEBUG_INFO=yes
5606
5607                         DEFAULT_wxUSE_OPTIMISE=no
5608         ;;
5609
5610     no)
5611                         DEFAULT_wxUSE_DEBUG_FLAG=no
5612         DEFAULT_wxUSE_DEBUG_INFO=no
5613         ;;
5614
5615     default)
5616                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5617         DEFAULT_wxUSE_DEBUG_INFO=no
5618         ;;
5619 esac
5620
5621
5622           enablestring=disable
5623           defaultval=
5624           if test -z "$defaultval"; then
5625               if test x"$enablestring" = xdisable; then
5626                   defaultval=yes
5627               else
5628                   defaultval=no
5629               fi
5630           fi
5631
5632           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5633 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5634           # Check whether --enable-debug_flag was given.
5635 if test "${enable_debug_flag+set}" = set; then :
5636   enableval=$enable_debug_flag;
5637                           if test "$enableval" = yes; then
5638                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5639                           else
5640                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5641                           fi
5642
5643 else
5644
5645                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5646
5647 fi
5648
5649
5650           eval "$wx_cv_use_debug_flag"
5651
5652           if test x"$enablestring" = xdisable; then
5653             if test $wxUSE_DEBUG_FLAG = no; then
5654               result=yes
5655             else
5656               result=no
5657             fi
5658           else
5659             result=$wxUSE_DEBUG_FLAG
5660           fi
5661
5662           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5663 $as_echo "$result" >&6; }
5664
5665
5666           enablestring=
5667           defaultval=
5668           if test -z "$defaultval"; then
5669               if test x"$enablestring" = xdisable; then
5670                   defaultval=yes
5671               else
5672                   defaultval=no
5673               fi
5674           fi
5675
5676           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5677 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5678           # Check whether --enable-debug_info was given.
5679 if test "${enable_debug_info+set}" = set; then :
5680   enableval=$enable_debug_info;
5681                           if test "$enableval" = yes; then
5682                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5683                           else
5684                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5685                           fi
5686
5687 else
5688
5689                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5690
5691 fi
5692
5693
5694           eval "$wx_cv_use_debug_info"
5695
5696           if test x"$enablestring" = xdisable; then
5697             if test $wxUSE_DEBUG_INFO = no; then
5698               result=yes
5699             else
5700               result=no
5701             fi
5702           else
5703             result=$wxUSE_DEBUG_INFO
5704           fi
5705
5706           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5707 $as_echo "$result" >&6; }
5708
5709
5710
5711
5712           enablestring=
5713           defaultval=
5714           if test -z "$defaultval"; then
5715               if test x"$enablestring" = xdisable; then
5716                   defaultval=yes
5717               else
5718                   defaultval=no
5719               fi
5720           fi
5721
5722           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5723 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5724           # Check whether --enable-debug_gdb was given.
5725 if test "${enable_debug_gdb+set}" = set; then :
5726   enableval=$enable_debug_gdb;
5727                           if test "$enableval" = yes; then
5728                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5729                           else
5730                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5731                           fi
5732
5733 else
5734
5735                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5736
5737 fi
5738
5739
5740           eval "$wx_cv_use_debug_gdb"
5741
5742           if test x"$enablestring" = xdisable; then
5743             if test $wxUSE_DEBUG_GDB = no; then
5744               result=yes
5745             else
5746               result=no
5747             fi
5748           else
5749             result=$wxUSE_DEBUG_GDB
5750           fi
5751
5752           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5753 $as_echo "$result" >&6; }
5754
5755
5756           enablestring=
5757           defaultval=
5758           if test -z "$defaultval"; then
5759               if test x"$enablestring" = xdisable; then
5760                   defaultval=yes
5761               else
5762                   defaultval=no
5763               fi
5764           fi
5765
5766           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5767 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5768           # Check whether --enable-debug_cntxt was given.
5769 if test "${enable_debug_cntxt+set}" = set; then :
5770   enableval=$enable_debug_cntxt;
5771                           if test "$enableval" = yes; then
5772                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5773                           else
5774                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5775                           fi
5776
5777 else
5778
5779                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5780
5781 fi
5782
5783
5784           eval "$wx_cv_use_debug_cntxt"
5785
5786           if test x"$enablestring" = xdisable; then
5787             if test $wxUSE_DEBUG_CONTEXT = no; then
5788               result=yes
5789             else
5790               result=no
5791             fi
5792           else
5793             result=$wxUSE_DEBUG_CONTEXT
5794           fi
5795
5796           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5797 $as_echo "$result" >&6; }
5798
5799
5800           enablestring=
5801           defaultval=
5802           if test -z "$defaultval"; then
5803               if test x"$enablestring" = xdisable; then
5804                   defaultval=yes
5805               else
5806                   defaultval=no
5807               fi
5808           fi
5809
5810           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5811 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5812           # Check whether --enable-mem_tracing was given.
5813 if test "${enable_mem_tracing+set}" = set; then :
5814   enableval=$enable_mem_tracing;
5815                           if test "$enableval" = yes; then
5816                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5817                           else
5818                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5819                           fi
5820
5821 else
5822
5823                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5824
5825 fi
5826
5827
5828           eval "$wx_cv_use_mem_tracing"
5829
5830           if test x"$enablestring" = xdisable; then
5831             if test $wxUSE_MEM_TRACING = no; then
5832               result=yes
5833             else
5834               result=no
5835             fi
5836           else
5837             result=$wxUSE_MEM_TRACING
5838           fi
5839
5840           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5841 $as_echo "$result" >&6; }
5842
5843
5844
5845
5846           enablestring=disable
5847           defaultval=
5848           if test -z "$defaultval"; then
5849               if test x"$enablestring" = xdisable; then
5850                   defaultval=yes
5851               else
5852                   defaultval=no
5853               fi
5854           fi
5855
5856           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5857 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5858           # Check whether --enable-shared was given.
5859 if test "${enable_shared+set}" = set; then :
5860   enableval=$enable_shared;
5861                           if test "$enableval" = yes; then
5862                             wx_cv_use_shared='wxUSE_SHARED=yes'
5863                           else
5864                             wx_cv_use_shared='wxUSE_SHARED=no'
5865                           fi
5866
5867 else
5868
5869                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5870
5871 fi
5872
5873
5874           eval "$wx_cv_use_shared"
5875
5876           if test x"$enablestring" = xdisable; then
5877             if test $wxUSE_SHARED = no; then
5878               result=yes
5879             else
5880               result=no
5881             fi
5882           else
5883             result=$wxUSE_SHARED
5884           fi
5885
5886           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5887 $as_echo "$result" >&6; }
5888
5889
5890           enablestring=
5891           defaultval=
5892           if test -z "$defaultval"; then
5893               if test x"$enablestring" = xdisable; then
5894                   defaultval=yes
5895               else
5896                   defaultval=no
5897               fi
5898           fi
5899
5900           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5901 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5902           # Check whether --enable-stl was given.
5903 if test "${enable_stl+set}" = set; then :
5904   enableval=$enable_stl;
5905                           if test "$enableval" = yes; then
5906                             wx_cv_use_stl='wxUSE_STL=yes'
5907                           else
5908                             wx_cv_use_stl='wxUSE_STL=no'
5909                           fi
5910
5911 else
5912
5913                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5914
5915 fi
5916
5917
5918           eval "$wx_cv_use_stl"
5919
5920           if test x"$enablestring" = xdisable; then
5921             if test $wxUSE_STL = no; then
5922               result=yes
5923             else
5924               result=no
5925             fi
5926           else
5927             result=$wxUSE_STL
5928           fi
5929
5930           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5931 $as_echo "$result" >&6; }
5932
5933 if test "$wxUSE_STL" = "yes"; then
5934     DEFAULT_wxUSE_STD_CONTAINERS=yes
5935     DEFAULT_wxUSE_STD_IOSTREAM=yes
5936     DEFAULT_wxUSE_STD_STRING=yes
5937 fi
5938
5939           enablestring=
5940           defaultval=
5941           if test -z "$defaultval"; then
5942               if test x"$enablestring" = xdisable; then
5943                   defaultval=yes
5944               else
5945                   defaultval=no
5946               fi
5947           fi
5948
5949           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5950 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5951           # Check whether --enable-std_containers was given.
5952 if test "${enable_std_containers+set}" = set; then :
5953   enableval=$enable_std_containers;
5954                           if test "$enableval" = yes; then
5955                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5956                           else
5957                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5958                           fi
5959
5960 else
5961
5962                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5963
5964 fi
5965
5966
5967           eval "$wx_cv_use_std_containers"
5968
5969           if test x"$enablestring" = xdisable; then
5970             if test $wxUSE_STD_CONTAINERS = no; then
5971               result=yes
5972             else
5973               result=no
5974             fi
5975           else
5976             result=$wxUSE_STD_CONTAINERS
5977           fi
5978
5979           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5980 $as_echo "$result" >&6; }
5981
5982
5983           enablestring=
5984           defaultval=
5985           if test -z "$defaultval"; then
5986               if test x"$enablestring" = xdisable; then
5987                   defaultval=yes
5988               else
5989                   defaultval=no
5990               fi
5991           fi
5992
5993           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5994 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5995           # Check whether --enable-std_iostreams was given.
5996 if test "${enable_std_iostreams+set}" = set; then :
5997   enableval=$enable_std_iostreams;
5998                           if test "$enableval" = yes; then
5999                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6000                           else
6001                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6002                           fi
6003
6004 else
6005
6006                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6007
6008 fi
6009
6010
6011           eval "$wx_cv_use_std_iostreams"
6012
6013           if test x"$enablestring" = xdisable; then
6014             if test $wxUSE_STD_IOSTREAM = no; then
6015               result=yes
6016             else
6017               result=no
6018             fi
6019           else
6020             result=$wxUSE_STD_IOSTREAM
6021           fi
6022
6023           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6024 $as_echo "$result" >&6; }
6025
6026
6027           enablestring=
6028           defaultval=
6029           if test -z "$defaultval"; then
6030               if test x"$enablestring" = xdisable; then
6031                   defaultval=yes
6032               else
6033                   defaultval=no
6034               fi
6035           fi
6036
6037           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6038 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6039           # Check whether --enable-std_string was given.
6040 if test "${enable_std_string+set}" = set; then :
6041   enableval=$enable_std_string;
6042                           if test "$enableval" = yes; then
6043                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6044                           else
6045                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
6046                           fi
6047
6048 else
6049
6050                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6051
6052 fi
6053
6054
6055           eval "$wx_cv_use_std_string"
6056
6057           if test x"$enablestring" = xdisable; then
6058             if test $wxUSE_STD_STRING = no; then
6059               result=yes
6060             else
6061               result=no
6062             fi
6063           else
6064             result=$wxUSE_STD_STRING
6065           fi
6066
6067           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6068 $as_echo "$result" >&6; }
6069
6070
6071           enablestring=
6072           defaultval=
6073           if test -z "$defaultval"; then
6074               if test x"$enablestring" = xdisable; then
6075                   defaultval=yes
6076               else
6077                   defaultval=no
6078               fi
6079           fi
6080
6081           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6082 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6083           # Check whether --enable-std_string_conv_in_wxstring was given.
6084 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6085   enableval=$enable_std_string_conv_in_wxstring;
6086                           if test "$enableval" = yes; then
6087                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6088                           else
6089                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6090                           fi
6091
6092 else
6093
6094                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6095
6096 fi
6097
6098
6099           eval "$wx_cv_use_std_string_conv_in_wxstring"
6100
6101           if test x"$enablestring" = xdisable; then
6102             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6103               result=yes
6104             else
6105               result=no
6106             fi
6107           else
6108             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6109           fi
6110
6111           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6112 $as_echo "$result" >&6; }
6113
6114
6115           enablestring=disable
6116           defaultval=
6117           if test -z "$defaultval"; then
6118               if test x"$enablestring" = xdisable; then
6119                   defaultval=yes
6120               else
6121                   defaultval=no
6122               fi
6123           fi
6124
6125           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6126 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6127           # Check whether --enable-unicode was given.
6128 if test "${enable_unicode+set}" = set; then :
6129   enableval=$enable_unicode;
6130                           if test "$enableval" = yes; then
6131                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6132                           else
6133                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6134                           fi
6135
6136 else
6137
6138                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6139
6140 fi
6141
6142
6143           eval "$wx_cv_use_unicode"
6144
6145           if test x"$enablestring" = xdisable; then
6146             if test $wxUSE_UNICODE = no; then
6147               result=yes
6148             else
6149               result=no
6150             fi
6151           else
6152             result=$wxUSE_UNICODE
6153           fi
6154
6155           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6156 $as_echo "$result" >&6; }
6157
6158
6159           enablestring=
6160           defaultval=
6161           if test -z "$defaultval"; then
6162               if test x"$enablestring" = xdisable; then
6163                   defaultval=yes
6164               else
6165                   defaultval=no
6166               fi
6167           fi
6168
6169           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6170 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6171           # Check whether --enable-mslu was given.
6172 if test "${enable_mslu+set}" = set; then :
6173   enableval=$enable_mslu;
6174                           if test "$enableval" = yes; then
6175                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6176                           else
6177                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6178                           fi
6179
6180 else
6181
6182                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6183
6184 fi
6185
6186
6187           eval "$wx_cv_use_mslu"
6188
6189           if test x"$enablestring" = xdisable; then
6190             if test $wxUSE_UNICODE_MSLU = no; then
6191               result=yes
6192             else
6193               result=no
6194             fi
6195           else
6196             result=$wxUSE_UNICODE_MSLU
6197           fi
6198
6199           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6200 $as_echo "$result" >&6; }
6201
6202
6203           enablestring=
6204           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6205 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6206           # Check whether --enable-utf8 was given.
6207 if test "${enable_utf8+set}" = set; then :
6208   enableval=$enable_utf8;
6209                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6210
6211 else
6212
6213                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6214
6215 fi
6216
6217
6218           eval "$wx_cv_use_utf8"
6219
6220           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6221 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6222
6223
6224           enablestring=
6225           defaultval=
6226           if test -z "$defaultval"; then
6227               if test x"$enablestring" = xdisable; then
6228                   defaultval=yes
6229               else
6230                   defaultval=no
6231               fi
6232           fi
6233
6234           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6235 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6236           # Check whether --enable-utf8only was given.
6237 if test "${enable_utf8only+set}" = set; then :
6238   enableval=$enable_utf8only;
6239                           if test "$enableval" = yes; then
6240                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6241                           else
6242                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6243                           fi
6244
6245 else
6246
6247                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6248
6249 fi
6250
6251
6252           eval "$wx_cv_use_utf8only"
6253
6254           if test x"$enablestring" = xdisable; then
6255             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6256               result=yes
6257             else
6258               result=no
6259             fi
6260           else
6261             result=$wxUSE_UNICODE_UTF8_LOCALE
6262           fi
6263
6264           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6265 $as_echo "$result" >&6; }
6266
6267
6268           enablestring=
6269           defaultval=
6270           if test -z "$defaultval"; then
6271               if test x"$enablestring" = xdisable; then
6272                   defaultval=yes
6273               else
6274                   defaultval=no
6275               fi
6276           fi
6277
6278           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6279 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6280           # Check whether --enable-extended_rtti was given.
6281 if test "${enable_extended_rtti+set}" = set; then :
6282   enableval=$enable_extended_rtti;
6283                           if test "$enableval" = yes; then
6284                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6285                           else
6286                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6287                           fi
6288
6289 else
6290
6291                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6292
6293 fi
6294
6295
6296           eval "$wx_cv_use_extended_rtti"
6297
6298           if test x"$enablestring" = xdisable; then
6299             if test $wxUSE_EXTENDED_RTTI = no; then
6300               result=yes
6301             else
6302               result=no
6303             fi
6304           else
6305             result=$wxUSE_EXTENDED_RTTI
6306           fi
6307
6308           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6309 $as_echo "$result" >&6; }
6310
6311 if test "$USE_OS2" = 1; then
6312     DEFAULT_wxUSE_OMF=no
6313
6314           enablestring=
6315           defaultval=
6316           if test -z "$defaultval"; then
6317               if test x"$enablestring" = xdisable; then
6318                   defaultval=yes
6319               else
6320                   defaultval=no
6321               fi
6322           fi
6323
6324           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6325 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6326           # Check whether --enable-omf was given.
6327 if test "${enable_omf+set}" = set; then :
6328   enableval=$enable_omf;
6329                           if test "$enableval" = yes; then
6330                             wx_cv_use_omf='wxUSE_OMF=yes'
6331                           else
6332                             wx_cv_use_omf='wxUSE_OMF=no'
6333                           fi
6334
6335 else
6336
6337                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6338
6339 fi
6340
6341
6342           eval "$wx_cv_use_omf"
6343
6344           if test x"$enablestring" = xdisable; then
6345             if test $wxUSE_OMF = no; then
6346               result=yes
6347             else
6348               result=no
6349             fi
6350           else
6351             result=$wxUSE_OMF
6352           fi
6353
6354           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6355 $as_echo "$result" >&6; }
6356
6357 fi
6358
6359
6360           enablestring=disable
6361           defaultval=
6362           if test -z "$defaultval"; then
6363               if test x"$enablestring" = xdisable; then
6364                   defaultval=yes
6365               else
6366                   defaultval=no
6367               fi
6368           fi
6369
6370           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6371 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6372           # Check whether --enable-optimise was given.
6373 if test "${enable_optimise+set}" = set; then :
6374   enableval=$enable_optimise;
6375                           if test "$enableval" = yes; then
6376                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6377                           else
6378                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6379                           fi
6380
6381 else
6382
6383                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6384
6385 fi
6386
6387
6388           eval "$wx_cv_use_optimise"
6389
6390           if test x"$enablestring" = xdisable; then
6391             if test $wxUSE_OPTIMISE = no; then
6392               result=yes
6393             else
6394               result=no
6395             fi
6396           else
6397             result=$wxUSE_OPTIMISE
6398           fi
6399
6400           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6401 $as_echo "$result" >&6; }
6402
6403
6404
6405           enablestring=
6406           defaultval=
6407           if test -z "$defaultval"; then
6408               if test x"$enablestring" = xdisable; then
6409                   defaultval=yes
6410               else
6411                   defaultval=no
6412               fi
6413           fi
6414
6415           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6416 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6417           # Check whether --enable-profile was given.
6418 if test "${enable_profile+set}" = set; then :
6419   enableval=$enable_profile;
6420                           if test "$enableval" = yes; then
6421                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6422                           else
6423                             wx_cv_use_profile='wxUSE_PROFILE=no'
6424                           fi
6425
6426 else
6427
6428                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6429
6430 fi
6431
6432
6433           eval "$wx_cv_use_profile"
6434
6435           if test x"$enablestring" = xdisable; then
6436             if test $wxUSE_PROFILE = no; then
6437               result=yes
6438             else
6439               result=no
6440             fi
6441           else
6442             result=$wxUSE_PROFILE
6443           fi
6444
6445           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6446 $as_echo "$result" >&6; }
6447
6448
6449           enablestring=
6450           defaultval=
6451           if test -z "$defaultval"; then
6452               if test x"$enablestring" = xdisable; then
6453                   defaultval=yes
6454               else
6455                   defaultval=no
6456               fi
6457           fi
6458
6459           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6460 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6461           # Check whether --enable-no_rtti was given.
6462 if test "${enable_no_rtti+set}" = set; then :
6463   enableval=$enable_no_rtti;
6464                           if test "$enableval" = yes; then
6465                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6466                           else
6467                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6468                           fi
6469
6470 else
6471
6472                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6473
6474 fi
6475
6476
6477           eval "$wx_cv_use_no_rtti"
6478
6479           if test x"$enablestring" = xdisable; then
6480             if test $wxUSE_NO_RTTI = no; then
6481               result=yes
6482             else
6483               result=no
6484             fi
6485           else
6486             result=$wxUSE_NO_RTTI
6487           fi
6488
6489           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6490 $as_echo "$result" >&6; }
6491
6492
6493           enablestring=
6494           defaultval=
6495           if test -z "$defaultval"; then
6496               if test x"$enablestring" = xdisable; then
6497                   defaultval=yes
6498               else
6499                   defaultval=no
6500               fi
6501           fi
6502
6503           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6504 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6505           # Check whether --enable-no_exceptions was given.
6506 if test "${enable_no_exceptions+set}" = set; then :
6507   enableval=$enable_no_exceptions;
6508                           if test "$enableval" = yes; then
6509                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6510                           else
6511                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6512                           fi
6513
6514 else
6515
6516                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6517
6518 fi
6519
6520
6521           eval "$wx_cv_use_no_exceptions"
6522
6523           if test x"$enablestring" = xdisable; then
6524             if test $wxUSE_NO_EXCEPTIONS = no; then
6525               result=yes
6526             else
6527               result=no
6528             fi
6529           else
6530             result=$wxUSE_NO_EXCEPTIONS
6531           fi
6532
6533           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6534 $as_echo "$result" >&6; }
6535
6536
6537           enablestring=
6538           defaultval=
6539           if test -z "$defaultval"; then
6540               if test x"$enablestring" = xdisable; then
6541                   defaultval=yes
6542               else
6543                   defaultval=no
6544               fi
6545           fi
6546
6547           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6548 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6549           # Check whether --enable-permissive was given.
6550 if test "${enable_permissive+set}" = set; then :
6551   enableval=$enable_permissive;
6552                           if test "$enableval" = yes; then
6553                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6554                           else
6555                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6556                           fi
6557
6558 else
6559
6560                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6561
6562 fi
6563
6564
6565           eval "$wx_cv_use_permissive"
6566
6567           if test x"$enablestring" = xdisable; then
6568             if test $wxUSE_PERMISSIVE = no; then
6569               result=yes
6570             else
6571               result=no
6572             fi
6573           else
6574             result=$wxUSE_PERMISSIVE
6575           fi
6576
6577           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6578 $as_echo "$result" >&6; }
6579
6580
6581           enablestring=
6582           defaultval=
6583           if test -z "$defaultval"; then
6584               if test x"$enablestring" = xdisable; then
6585                   defaultval=yes
6586               else
6587                   defaultval=no
6588               fi
6589           fi
6590
6591           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6592 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6593           # Check whether --enable-no_deps was given.
6594 if test "${enable_no_deps+set}" = set; then :
6595   enableval=$enable_no_deps;
6596                           if test "$enableval" = yes; then
6597                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6598                           else
6599                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6600                           fi
6601
6602 else
6603
6604                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6605
6606 fi
6607
6608
6609           eval "$wx_cv_use_no_deps"
6610
6611           if test x"$enablestring" = xdisable; then
6612             if test $wxUSE_NO_DEPS = no; then
6613               result=yes
6614             else
6615               result=no
6616             fi
6617           else
6618             result=$wxUSE_NO_DEPS
6619           fi
6620
6621           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6622 $as_echo "$result" >&6; }
6623
6624
6625           enablestring=disable
6626           defaultval=
6627           if test -z "$defaultval"; then
6628               if test x"$enablestring" = xdisable; then
6629                   defaultval=yes
6630               else
6631                   defaultval=no
6632               fi
6633           fi
6634
6635           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6636 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6637           # Check whether --enable-vararg_macros was given.
6638 if test "${enable_vararg_macros+set}" = set; then :
6639   enableval=$enable_vararg_macros;
6640                           if test "$enableval" = yes; then
6641                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6642                           else
6643                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6644                           fi
6645
6646 else
6647
6648                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6649
6650 fi
6651
6652
6653           eval "$wx_cv_use_vararg_macros"
6654
6655           if test x"$enablestring" = xdisable; then
6656             if test $wxUSE_VARARG_MACROS = no; then
6657               result=yes
6658             else
6659               result=no
6660             fi
6661           else
6662             result=$wxUSE_VARARG_MACROS
6663           fi
6664
6665           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6666 $as_echo "$result" >&6; }
6667
6668
6669
6670           enablestring=
6671           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6672 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6673           # Check whether --enable-universal_binary was given.
6674 if test "${enable_universal_binary+set}" = set; then :
6675   enableval=$enable_universal_binary;
6676                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6677
6678 else
6679
6680                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6681
6682 fi
6683
6684
6685           eval "$wx_cv_use_universal_binary"
6686
6687           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6688 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6689
6690
6691           enablestring=
6692           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6693 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6694           # Check whether --enable-macosx_arch was given.
6695 if test "${enable_macosx_arch+set}" = set; then :
6696   enableval=$enable_macosx_arch;
6697                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6698
6699 else
6700
6701                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6702
6703 fi
6704
6705
6706           eval "$wx_cv_use_macosx_arch"
6707
6708           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6709 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6710
6711
6712
6713           enablestring=
6714           defaultval=
6715           if test -z "$defaultval"; then
6716               if test x"$enablestring" = xdisable; then
6717                   defaultval=yes
6718               else
6719                   defaultval=no
6720               fi
6721           fi
6722
6723           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6724 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6725           # Check whether --enable-compat26 was given.
6726 if test "${enable_compat26+set}" = set; then :
6727   enableval=$enable_compat26;
6728                           if test "$enableval" = yes; then
6729                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6730                           else
6731                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6732                           fi
6733
6734 else
6735
6736                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6737
6738 fi
6739
6740
6741           eval "$wx_cv_use_compat26"
6742
6743           if test x"$enablestring" = xdisable; then
6744             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6745               result=yes
6746             else
6747               result=no
6748             fi
6749           else
6750             result=$WXWIN_COMPATIBILITY_2_6
6751           fi
6752
6753           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6754 $as_echo "$result" >&6; }
6755
6756
6757           enablestring=disable
6758           defaultval=
6759           if test -z "$defaultval"; then
6760               if test x"$enablestring" = xdisable; then
6761                   defaultval=yes
6762               else
6763                   defaultval=no
6764               fi
6765           fi
6766
6767           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6768 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6769           # Check whether --enable-compat28 was given.
6770 if test "${enable_compat28+set}" = set; then :
6771   enableval=$enable_compat28;
6772                           if test "$enableval" = yes; then
6773                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6774                           else
6775                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6776                           fi
6777
6778 else
6779
6780                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6781
6782 fi
6783
6784
6785           eval "$wx_cv_use_compat28"
6786
6787           if test x"$enablestring" = xdisable; then
6788             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6789               result=yes
6790             else
6791               result=no
6792             fi
6793           else
6794             result=$WXWIN_COMPATIBILITY_2_8
6795           fi
6796
6797           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6798 $as_echo "$result" >&6; }
6799
6800
6801
6802           enablestring=disable
6803           defaultval=
6804           if test -z "$defaultval"; then
6805               if test x"$enablestring" = xdisable; then
6806                   defaultval=yes
6807               else
6808                   defaultval=no
6809               fi
6810           fi
6811
6812           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6813 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6814           # Check whether --enable-rpath was given.
6815 if test "${enable_rpath+set}" = set; then :
6816   enableval=$enable_rpath;
6817                           if test "$enableval" = yes; then
6818                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6819                           else
6820                             wx_cv_use_rpath='wxUSE_RPATH=no'
6821                           fi
6822
6823 else
6824
6825                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6826
6827 fi
6828
6829
6830           eval "$wx_cv_use_rpath"
6831
6832           if test x"$enablestring" = xdisable; then
6833             if test $wxUSE_RPATH = no; then
6834               result=yes
6835             else
6836               result=no
6837             fi
6838           else
6839             result=$wxUSE_RPATH
6840           fi
6841
6842           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6843 $as_echo "$result" >&6; }
6844
6845
6846
6847           enablestring=
6848           defaultval=
6849           if test -z "$defaultval"; then
6850               if test x"$enablestring" = xdisable; then
6851                   defaultval=yes
6852               else
6853                   defaultval=no
6854               fi
6855           fi
6856
6857           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6858 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6859           # Check whether --enable-objc_uniquifying was given.
6860 if test "${enable_objc_uniquifying+set}" = set; then :
6861   enableval=$enable_objc_uniquifying;
6862                           if test "$enableval" = yes; then
6863                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6864                           else
6865                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6866                           fi
6867
6868 else
6869
6870                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6871
6872 fi
6873
6874
6875           eval "$wx_cv_use_objc_uniquifying"
6876
6877           if test x"$enablestring" = xdisable; then
6878             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6879               result=yes
6880             else
6881               result=no
6882             fi
6883           else
6884             result=$wxUSE_OBJC_UNIQUIFYING
6885           fi
6886
6887           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6888 $as_echo "$result" >&6; }
6889
6890
6891
6892           enablestring=disable
6893           defaultval=
6894           if test -z "$defaultval"; then
6895               if test x"$enablestring" = xdisable; then
6896                   defaultval=yes
6897               else
6898                   defaultval=no
6899               fi
6900           fi
6901
6902           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6903 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6904           # Check whether --enable-visibility was given.
6905 if test "${enable_visibility+set}" = set; then :
6906   enableval=$enable_visibility;
6907                           if test "$enableval" = yes; then
6908                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6909                           else
6910                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6911                           fi
6912
6913 else
6914
6915                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6916
6917 fi
6918
6919
6920           eval "$wx_cv_use_visibility"
6921
6922           if test x"$enablestring" = xdisable; then
6923             if test $wxUSE_VISIBILITY = no; then
6924               result=yes
6925             else
6926               result=no
6927             fi
6928           else
6929             result=$wxUSE_VISIBILITY
6930           fi
6931
6932           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6933 $as_echo "$result" >&6; }
6934
6935
6936           enablestring=disable
6937           defaultval=
6938           if test -z "$defaultval"; then
6939               if test x"$enablestring" = xdisable; then
6940                   defaultval=yes
6941               else
6942                   defaultval=no
6943               fi
6944           fi
6945
6946           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6947 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6948           # Check whether --enable-tls was given.
6949 if test "${enable_tls+set}" = set; then :
6950   enableval=$enable_tls;
6951                           if test "$enableval" = yes; then
6952                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6953                           else
6954                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6955                           fi
6956
6957 else
6958
6959                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6960
6961 fi
6962
6963
6964           eval "$wx_cv_use_tls"
6965
6966           if test x"$enablestring" = xdisable; then
6967             if test $wxUSE_COMPILER_TLS = no; then
6968               result=yes
6969             else
6970               result=no
6971             fi
6972           else
6973             result=$wxUSE_COMPILER_TLS
6974           fi
6975
6976           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6977 $as_echo "$result" >&6; }
6978
6979
6980
6981
6982           enablestring=
6983           defaultval=$wxUSE_ALL_FEATURES
6984           if test -z "$defaultval"; then
6985               if test x"$enablestring" = xdisable; then
6986                   defaultval=yes
6987               else
6988                   defaultval=no
6989               fi
6990           fi
6991
6992           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6993 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6994           # Check whether --enable-intl was given.
6995 if test "${enable_intl+set}" = set; then :
6996   enableval=$enable_intl;
6997                           if test "$enableval" = yes; then
6998                             wx_cv_use_intl='wxUSE_INTL=yes'
6999                           else
7000                             wx_cv_use_intl='wxUSE_INTL=no'
7001                           fi
7002
7003 else
7004
7005                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7006
7007 fi
7008
7009
7010           eval "$wx_cv_use_intl"
7011
7012           if test x"$enablestring" = xdisable; then
7013             if test $wxUSE_INTL = no; then
7014               result=yes
7015             else
7016               result=no
7017             fi
7018           else
7019             result=$wxUSE_INTL
7020           fi
7021
7022           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7023 $as_echo "$result" >&6; }
7024
7025
7026           enablestring=
7027           defaultval=$wxUSE_ALL_FEATURES
7028           if test -z "$defaultval"; then
7029               if test x"$enablestring" = xdisable; then
7030                   defaultval=yes
7031               else
7032                   defaultval=no
7033               fi
7034           fi
7035
7036           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7037 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7038           # Check whether --enable-xlocale was given.
7039 if test "${enable_xlocale+set}" = set; then :
7040   enableval=$enable_xlocale;
7041                           if test "$enableval" = yes; then
7042                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7043                           else
7044                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7045                           fi
7046
7047 else
7048
7049                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7050
7051 fi
7052
7053
7054           eval "$wx_cv_use_xlocale"
7055
7056           if test x"$enablestring" = xdisable; then
7057             if test $wxUSE_XLOCALE = no; then
7058               result=yes
7059             else
7060               result=no
7061             fi
7062           else
7063             result=$wxUSE_XLOCALE
7064           fi
7065
7066           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7067 $as_echo "$result" >&6; }
7068
7069
7070           enablestring=
7071           defaultval=$wxUSE_ALL_FEATURES
7072           if test -z "$defaultval"; then
7073               if test x"$enablestring" = xdisable; then
7074                   defaultval=yes
7075               else
7076                   defaultval=no
7077               fi
7078           fi
7079
7080           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7081 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7082           # Check whether --enable-config was given.
7083 if test "${enable_config+set}" = set; then :
7084   enableval=$enable_config;
7085                           if test "$enableval" = yes; then
7086                             wx_cv_use_config='wxUSE_CONFIG=yes'
7087                           else
7088                             wx_cv_use_config='wxUSE_CONFIG=no'
7089                           fi
7090
7091 else
7092
7093                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7094
7095 fi
7096
7097
7098           eval "$wx_cv_use_config"
7099
7100           if test x"$enablestring" = xdisable; then
7101             if test $wxUSE_CONFIG = no; then
7102               result=yes
7103             else
7104               result=no
7105             fi
7106           else
7107             result=$wxUSE_CONFIG
7108           fi
7109
7110           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7111 $as_echo "$result" >&6; }
7112
7113
7114
7115           enablestring=
7116           defaultval=$wxUSE_ALL_FEATURES
7117           if test -z "$defaultval"; then
7118               if test x"$enablestring" = xdisable; then
7119                   defaultval=yes
7120               else
7121                   defaultval=no
7122               fi
7123           fi
7124
7125           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7126 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7127           # Check whether --enable-protocols was given.
7128 if test "${enable_protocols+set}" = set; then :
7129   enableval=$enable_protocols;
7130                           if test "$enableval" = yes; then
7131                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7132                           else
7133                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7134                           fi
7135
7136 else
7137
7138                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7139
7140 fi
7141
7142
7143           eval "$wx_cv_use_protocols"
7144
7145           if test x"$enablestring" = xdisable; then
7146             if test $wxUSE_PROTOCOL = no; then
7147               result=yes
7148             else
7149               result=no
7150             fi
7151           else
7152             result=$wxUSE_PROTOCOL
7153           fi
7154
7155           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7156 $as_echo "$result" >&6; }
7157
7158
7159           enablestring=
7160           defaultval=$wxUSE_ALL_FEATURES
7161           if test -z "$defaultval"; then
7162               if test x"$enablestring" = xdisable; then
7163                   defaultval=yes
7164               else
7165                   defaultval=no
7166               fi
7167           fi
7168
7169           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7170 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7171           # Check whether --enable-ftp was given.
7172 if test "${enable_ftp+set}" = set; then :
7173   enableval=$enable_ftp;
7174                           if test "$enableval" = yes; then
7175                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7176                           else
7177                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7178                           fi
7179
7180 else
7181
7182                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7183
7184 fi
7185
7186
7187           eval "$wx_cv_use_ftp"
7188
7189           if test x"$enablestring" = xdisable; then
7190             if test $wxUSE_PROTOCOL_FTP = no; then
7191               result=yes
7192             else
7193               result=no
7194             fi
7195           else
7196             result=$wxUSE_PROTOCOL_FTP
7197           fi
7198
7199           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7200 $as_echo "$result" >&6; }
7201
7202
7203           enablestring=
7204           defaultval=$wxUSE_ALL_FEATURES
7205           if test -z "$defaultval"; then
7206               if test x"$enablestring" = xdisable; then
7207                   defaultval=yes
7208               else
7209                   defaultval=no
7210               fi
7211           fi
7212
7213           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7214 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7215           # Check whether --enable-http was given.
7216 if test "${enable_http+set}" = set; then :
7217   enableval=$enable_http;
7218                           if test "$enableval" = yes; then
7219                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7220                           else
7221                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7222                           fi
7223
7224 else
7225
7226                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7227
7228 fi
7229
7230
7231           eval "$wx_cv_use_http"
7232
7233           if test x"$enablestring" = xdisable; then
7234             if test $wxUSE_PROTOCOL_HTTP = no; then
7235               result=yes
7236             else
7237               result=no
7238             fi
7239           else
7240             result=$wxUSE_PROTOCOL_HTTP
7241           fi
7242
7243           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7244 $as_echo "$result" >&6; }
7245
7246
7247           enablestring=
7248           defaultval=$wxUSE_ALL_FEATURES
7249           if test -z "$defaultval"; then
7250               if test x"$enablestring" = xdisable; then
7251                   defaultval=yes
7252               else
7253                   defaultval=no
7254               fi
7255           fi
7256
7257           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7258 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7259           # Check whether --enable-fileproto was given.
7260 if test "${enable_fileproto+set}" = set; then :
7261   enableval=$enable_fileproto;
7262                           if test "$enableval" = yes; then
7263                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7264                           else
7265                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7266                           fi
7267
7268 else
7269
7270                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7271
7272 fi
7273
7274
7275           eval "$wx_cv_use_fileproto"
7276
7277           if test x"$enablestring" = xdisable; then
7278             if test $wxUSE_PROTOCOL_FILE = no; then
7279               result=yes
7280             else
7281               result=no
7282             fi
7283           else
7284             result=$wxUSE_PROTOCOL_FILE
7285           fi
7286
7287           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7288 $as_echo "$result" >&6; }
7289
7290
7291           enablestring=
7292           defaultval=$wxUSE_ALL_FEATURES
7293           if test -z "$defaultval"; then
7294               if test x"$enablestring" = xdisable; then
7295                   defaultval=yes
7296               else
7297                   defaultval=no
7298               fi
7299           fi
7300
7301           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7302 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7303           # Check whether --enable-sockets was given.
7304 if test "${enable_sockets+set}" = set; then :
7305   enableval=$enable_sockets;
7306                           if test "$enableval" = yes; then
7307                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7308                           else
7309                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7310                           fi
7311
7312 else
7313
7314                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7315
7316 fi
7317
7318
7319           eval "$wx_cv_use_sockets"
7320
7321           if test x"$enablestring" = xdisable; then
7322             if test $wxUSE_SOCKETS = no; then
7323               result=yes
7324             else
7325               result=no
7326             fi
7327           else
7328             result=$wxUSE_SOCKETS
7329           fi
7330
7331           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7332 $as_echo "$result" >&6; }
7333
7334
7335           enablestring=
7336           defaultval=$wxUSE_ALL_FEATURES
7337           if test -z "$defaultval"; then
7338               if test x"$enablestring" = xdisable; then
7339                   defaultval=yes
7340               else
7341                   defaultval=no
7342               fi
7343           fi
7344
7345           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7346 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7347           # Check whether --enable-ipv6 was given.
7348 if test "${enable_ipv6+set}" = set; then :
7349   enableval=$enable_ipv6;
7350                           if test "$enableval" = yes; then
7351                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7352                           else
7353                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7354                           fi
7355
7356 else
7357
7358                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7359
7360 fi
7361
7362
7363           eval "$wx_cv_use_ipv6"
7364
7365           if test x"$enablestring" = xdisable; then
7366             if test $wxUSE_IPV6 = no; then
7367               result=yes
7368             else
7369               result=no
7370             fi
7371           else
7372             result=$wxUSE_IPV6
7373           fi
7374
7375           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7376 $as_echo "$result" >&6; }
7377
7378
7379           enablestring=
7380           defaultval=$wxUSE_ALL_FEATURES
7381           if test -z "$defaultval"; then
7382               if test x"$enablestring" = xdisable; then
7383                   defaultval=yes
7384               else
7385                   defaultval=no
7386               fi
7387           fi
7388
7389           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7390 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7391           # Check whether --enable-ole was given.
7392 if test "${enable_ole+set}" = set; then :
7393   enableval=$enable_ole;
7394                           if test "$enableval" = yes; then
7395                             wx_cv_use_ole='wxUSE_OLE=yes'
7396                           else
7397                             wx_cv_use_ole='wxUSE_OLE=no'
7398                           fi
7399
7400 else
7401
7402                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7403
7404 fi
7405
7406
7407           eval "$wx_cv_use_ole"
7408
7409           if test x"$enablestring" = xdisable; then
7410             if test $wxUSE_OLE = no; then
7411               result=yes
7412             else
7413               result=no
7414             fi
7415           else
7416             result=$wxUSE_OLE
7417           fi
7418
7419           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7420 $as_echo "$result" >&6; }
7421
7422
7423           enablestring=
7424           defaultval=$wxUSE_ALL_FEATURES
7425           if test -z "$defaultval"; then
7426               if test x"$enablestring" = xdisable; then
7427                   defaultval=yes
7428               else
7429                   defaultval=no
7430               fi
7431           fi
7432
7433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7434 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7435           # Check whether --enable-dataobj was given.
7436 if test "${enable_dataobj+set}" = set; then :
7437   enableval=$enable_dataobj;
7438                           if test "$enableval" = yes; then
7439                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7440                           else
7441                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7442                           fi
7443
7444 else
7445
7446                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7447
7448 fi
7449
7450
7451           eval "$wx_cv_use_dataobj"
7452
7453           if test x"$enablestring" = xdisable; then
7454             if test $wxUSE_DATAOBJ = no; then
7455               result=yes
7456             else
7457               result=no
7458             fi
7459           else
7460             result=$wxUSE_DATAOBJ
7461           fi
7462
7463           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7464 $as_echo "$result" >&6; }
7465
7466
7467
7468           enablestring=
7469           defaultval=$wxUSE_ALL_FEATURES
7470           if test -z "$defaultval"; then
7471               if test x"$enablestring" = xdisable; then
7472                   defaultval=yes
7473               else
7474                   defaultval=no
7475               fi
7476           fi
7477
7478           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7479 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7480           # Check whether --enable-ipc was given.
7481 if test "${enable_ipc+set}" = set; then :
7482   enableval=$enable_ipc;
7483                           if test "$enableval" = yes; then
7484                             wx_cv_use_ipc='wxUSE_IPC=yes'
7485                           else
7486                             wx_cv_use_ipc='wxUSE_IPC=no'
7487                           fi
7488
7489 else
7490
7491                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7492
7493 fi
7494
7495
7496           eval "$wx_cv_use_ipc"
7497
7498           if test x"$enablestring" = xdisable; then
7499             if test $wxUSE_IPC = no; then
7500               result=yes
7501             else
7502               result=no
7503             fi
7504           else
7505             result=$wxUSE_IPC
7506           fi
7507
7508           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7509 $as_echo "$result" >&6; }
7510
7511
7512
7513           enablestring=
7514           defaultval=$wxUSE_ALL_FEATURES
7515           if test -z "$defaultval"; then
7516               if test x"$enablestring" = xdisable; then
7517                   defaultval=yes
7518               else
7519                   defaultval=no
7520               fi
7521           fi
7522
7523           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7524 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7525           # Check whether --enable-baseevtloop was given.
7526 if test "${enable_baseevtloop+set}" = set; then :
7527   enableval=$enable_baseevtloop;
7528                           if test "$enableval" = yes; then
7529                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7530                           else
7531                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7532                           fi
7533
7534 else
7535
7536                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7537
7538 fi
7539
7540
7541           eval "$wx_cv_use_baseevtloop"
7542
7543           if test x"$enablestring" = xdisable; then
7544             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7545               result=yes
7546             else
7547               result=no
7548             fi
7549           else
7550             result=$wxUSE_CONSOLE_EVENTLOOP
7551           fi
7552
7553           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7554 $as_echo "$result" >&6; }
7555
7556
7557           enablestring=
7558           defaultval=$wxUSE_ALL_FEATURES
7559           if test -z "$defaultval"; then
7560               if test x"$enablestring" = xdisable; then
7561                   defaultval=yes
7562               else
7563                   defaultval=no
7564               fi
7565           fi
7566
7567           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7568 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7569           # Check whether --enable-epollloop was given.
7570 if test "${enable_epollloop+set}" = set; then :
7571   enableval=$enable_epollloop;
7572                           if test "$enableval" = yes; then
7573                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7574                           else
7575                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7576                           fi
7577
7578 else
7579
7580                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7581
7582 fi
7583
7584
7585           eval "$wx_cv_use_epollloop"
7586
7587           if test x"$enablestring" = xdisable; then
7588             if test $wxUSE_EPOLL_DISPATCHER = no; then
7589               result=yes
7590             else
7591               result=no
7592             fi
7593           else
7594             result=$wxUSE_EPOLL_DISPATCHER
7595           fi
7596
7597           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7598 $as_echo "$result" >&6; }
7599
7600
7601           enablestring=
7602           defaultval=$wxUSE_ALL_FEATURES
7603           if test -z "$defaultval"; then
7604               if test x"$enablestring" = xdisable; then
7605                   defaultval=yes
7606               else
7607                   defaultval=no
7608               fi
7609           fi
7610
7611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7612 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7613           # Check whether --enable-selectloop was given.
7614 if test "${enable_selectloop+set}" = set; then :
7615   enableval=$enable_selectloop;
7616                           if test "$enableval" = yes; then
7617                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7618                           else
7619                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7620                           fi
7621
7622 else
7623
7624                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7625
7626 fi
7627
7628
7629           eval "$wx_cv_use_selectloop"
7630
7631           if test x"$enablestring" = xdisable; then
7632             if test $wxUSE_SELECT_DISPATCHER = no; then
7633               result=yes
7634             else
7635               result=no
7636             fi
7637           else
7638             result=$wxUSE_SELECT_DISPATCHER
7639           fi
7640
7641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7642 $as_echo "$result" >&6; }
7643
7644
7645
7646           enablestring=
7647           defaultval=$wxUSE_ALL_FEATURES
7648           if test -z "$defaultval"; then
7649               if test x"$enablestring" = xdisable; then
7650                   defaultval=yes
7651               else
7652                   defaultval=no
7653               fi
7654           fi
7655
7656           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7657 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7658           # Check whether --enable-any was given.
7659 if test "${enable_any+set}" = set; then :
7660   enableval=$enable_any;
7661                           if test "$enableval" = yes; then
7662                             wx_cv_use_any='wxUSE_ANY=yes'
7663                           else
7664                             wx_cv_use_any='wxUSE_ANY=no'
7665                           fi
7666
7667 else
7668
7669                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7670
7671 fi
7672
7673
7674           eval "$wx_cv_use_any"
7675
7676           if test x"$enablestring" = xdisable; then
7677             if test $wxUSE_ANY = no; then
7678               result=yes
7679             else
7680               result=no
7681             fi
7682           else
7683             result=$wxUSE_ANY
7684           fi
7685
7686           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7687 $as_echo "$result" >&6; }
7688
7689
7690           enablestring=
7691           defaultval=$wxUSE_ALL_FEATURES
7692           if test -z "$defaultval"; then
7693               if test x"$enablestring" = xdisable; then
7694                   defaultval=yes
7695               else
7696                   defaultval=no
7697               fi
7698           fi
7699
7700           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7701 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7702           # Check whether --enable-apple_ieee was given.
7703 if test "${enable_apple_ieee+set}" = set; then :
7704   enableval=$enable_apple_ieee;
7705                           if test "$enableval" = yes; then
7706                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7707                           else
7708                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7709                           fi
7710
7711 else
7712
7713                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7714
7715 fi
7716
7717
7718           eval "$wx_cv_use_apple_ieee"
7719
7720           if test x"$enablestring" = xdisable; then
7721             if test $wxUSE_APPLE_IEEE = no; then
7722               result=yes
7723             else
7724               result=no
7725             fi
7726           else
7727             result=$wxUSE_APPLE_IEEE
7728           fi
7729
7730           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7731 $as_echo "$result" >&6; }
7732
7733
7734           enablestring=
7735           defaultval=$wxUSE_ALL_FEATURES
7736           if test -z "$defaultval"; then
7737               if test x"$enablestring" = xdisable; then
7738                   defaultval=yes
7739               else
7740                   defaultval=no
7741               fi
7742           fi
7743
7744           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7745 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7746           # Check whether --enable-arcstream was given.
7747 if test "${enable_arcstream+set}" = set; then :
7748   enableval=$enable_arcstream;
7749                           if test "$enableval" = yes; then
7750                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7751                           else
7752                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7753                           fi
7754
7755 else
7756
7757                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7758
7759 fi
7760
7761
7762           eval "$wx_cv_use_arcstream"
7763
7764           if test x"$enablestring" = xdisable; then
7765             if test $wxUSE_ARCHIVE_STREAMS = no; then
7766               result=yes
7767             else
7768               result=no
7769             fi
7770           else
7771             result=$wxUSE_ARCHIVE_STREAMS
7772           fi
7773
7774           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7775 $as_echo "$result" >&6; }
7776
7777
7778           enablestring=
7779           defaultval=$wxUSE_ALL_FEATURES
7780           if test -z "$defaultval"; then
7781               if test x"$enablestring" = xdisable; then
7782                   defaultval=yes
7783               else
7784                   defaultval=no
7785               fi
7786           fi
7787
7788           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7789 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7790           # Check whether --enable-base64 was given.
7791 if test "${enable_base64+set}" = set; then :
7792   enableval=$enable_base64;
7793                           if test "$enableval" = yes; then
7794                             wx_cv_use_base64='wxUSE_BASE64=yes'
7795                           else
7796                             wx_cv_use_base64='wxUSE_BASE64=no'
7797                           fi
7798
7799 else
7800
7801                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7802
7803 fi
7804
7805
7806           eval "$wx_cv_use_base64"
7807
7808           if test x"$enablestring" = xdisable; then
7809             if test $wxUSE_BASE64 = no; then
7810               result=yes
7811             else
7812               result=no
7813             fi
7814           else
7815             result=$wxUSE_BASE64
7816           fi
7817
7818           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7819 $as_echo "$result" >&6; }
7820
7821
7822           enablestring=
7823           defaultval=$wxUSE_ALL_FEATURES
7824           if test -z "$defaultval"; then
7825               if test x"$enablestring" = xdisable; then
7826                   defaultval=yes
7827               else
7828                   defaultval=no
7829               fi
7830           fi
7831
7832           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7833 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7834           # Check whether --enable-backtrace was given.
7835 if test "${enable_backtrace+set}" = set; then :
7836   enableval=$enable_backtrace;
7837                           if test "$enableval" = yes; then
7838                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7839                           else
7840                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7841                           fi
7842
7843 else
7844
7845                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7846
7847 fi
7848
7849
7850           eval "$wx_cv_use_backtrace"
7851
7852           if test x"$enablestring" = xdisable; then
7853             if test $wxUSE_STACKWALKER = no; then
7854               result=yes
7855             else
7856               result=no
7857             fi
7858           else
7859             result=$wxUSE_STACKWALKER
7860           fi
7861
7862           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7863 $as_echo "$result" >&6; }
7864
7865
7866           enablestring=
7867           defaultval=$wxUSE_ALL_FEATURES
7868           if test -z "$defaultval"; then
7869               if test x"$enablestring" = xdisable; then
7870                   defaultval=yes
7871               else
7872                   defaultval=no
7873               fi
7874           fi
7875
7876           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7877 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7878           # Check whether --enable-catch_segvs was given.
7879 if test "${enable_catch_segvs+set}" = set; then :
7880   enableval=$enable_catch_segvs;
7881                           if test "$enableval" = yes; then
7882                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7883                           else
7884                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7885                           fi
7886
7887 else
7888
7889                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7890
7891 fi
7892
7893
7894           eval "$wx_cv_use_catch_segvs"
7895
7896           if test x"$enablestring" = xdisable; then
7897             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7898               result=yes
7899             else
7900               result=no
7901             fi
7902           else
7903             result=$wxUSE_ON_FATAL_EXCEPTION
7904           fi
7905
7906           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7907 $as_echo "$result" >&6; }
7908
7909
7910           enablestring=
7911           defaultval=$wxUSE_ALL_FEATURES
7912           if test -z "$defaultval"; then
7913               if test x"$enablestring" = xdisable; then
7914                   defaultval=yes
7915               else
7916                   defaultval=no
7917               fi
7918           fi
7919
7920           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7921 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7922           # Check whether --enable-cmdline was given.
7923 if test "${enable_cmdline+set}" = set; then :
7924   enableval=$enable_cmdline;
7925                           if test "$enableval" = yes; then
7926                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7927                           else
7928                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7929                           fi
7930
7931 else
7932
7933                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7934
7935 fi
7936
7937
7938           eval "$wx_cv_use_cmdline"
7939
7940           if test x"$enablestring" = xdisable; then
7941             if test $wxUSE_CMDLINE_PARSER = no; then
7942               result=yes
7943             else
7944               result=no
7945             fi
7946           else
7947             result=$wxUSE_CMDLINE_PARSER
7948           fi
7949
7950           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7951 $as_echo "$result" >&6; }
7952
7953
7954           enablestring=
7955           defaultval=$wxUSE_ALL_FEATURES
7956           if test -z "$defaultval"; then
7957               if test x"$enablestring" = xdisable; then
7958                   defaultval=yes
7959               else
7960                   defaultval=no
7961               fi
7962           fi
7963
7964           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7965 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7966           # Check whether --enable-datetime was given.
7967 if test "${enable_datetime+set}" = set; then :
7968   enableval=$enable_datetime;
7969                           if test "$enableval" = yes; then
7970                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7971                           else
7972                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7973                           fi
7974
7975 else
7976
7977                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7978
7979 fi
7980
7981
7982           eval "$wx_cv_use_datetime"
7983
7984           if test x"$enablestring" = xdisable; then
7985             if test $wxUSE_DATETIME = no; then
7986               result=yes
7987             else
7988               result=no
7989             fi
7990           else
7991             result=$wxUSE_DATETIME
7992           fi
7993
7994           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7995 $as_echo "$result" >&6; }
7996
7997
7998           enablestring=
7999           defaultval=$wxUSE_ALL_FEATURES
8000           if test -z "$defaultval"; then
8001               if test x"$enablestring" = xdisable; then
8002                   defaultval=yes
8003               else
8004                   defaultval=no
8005               fi
8006           fi
8007
8008           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8009 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8010           # Check whether --enable-debugreport was given.
8011 if test "${enable_debugreport+set}" = set; then :
8012   enableval=$enable_debugreport;
8013                           if test "$enableval" = yes; then
8014                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8015                           else
8016                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8017                           fi
8018
8019 else
8020
8021                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8022
8023 fi
8024
8025
8026           eval "$wx_cv_use_debugreport"
8027
8028           if test x"$enablestring" = xdisable; then
8029             if test $wxUSE_DEBUGREPORT = no; then
8030               result=yes
8031             else
8032               result=no
8033             fi
8034           else
8035             result=$wxUSE_DEBUGREPORT
8036           fi
8037
8038           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8039 $as_echo "$result" >&6; }
8040
8041
8042           enablestring=
8043           defaultval=$wxUSE_ALL_FEATURES
8044           if test -z "$defaultval"; then
8045               if test x"$enablestring" = xdisable; then
8046                   defaultval=yes
8047               else
8048                   defaultval=no
8049               fi
8050           fi
8051
8052           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8053 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8054           # Check whether --enable-dialupman was given.
8055 if test "${enable_dialupman+set}" = set; then :
8056   enableval=$enable_dialupman;
8057                           if test "$enableval" = yes; then
8058                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8059                           else
8060                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8061                           fi
8062
8063 else
8064
8065                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8066
8067 fi
8068
8069
8070           eval "$wx_cv_use_dialupman"
8071
8072           if test x"$enablestring" = xdisable; then
8073             if test $wxUSE_DIALUP_MANAGER = no; then
8074               result=yes
8075             else
8076               result=no
8077             fi
8078           else
8079             result=$wxUSE_DIALUP_MANAGER
8080           fi
8081
8082           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8083 $as_echo "$result" >&6; }
8084
8085
8086           enablestring=
8087           defaultval=$wxUSE_ALL_FEATURES
8088           if test -z "$defaultval"; then
8089               if test x"$enablestring" = xdisable; then
8090                   defaultval=yes
8091               else
8092                   defaultval=no
8093               fi
8094           fi
8095
8096           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8097 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8098           # Check whether --enable-dynlib was given.
8099 if test "${enable_dynlib+set}" = set; then :
8100   enableval=$enable_dynlib;
8101                           if test "$enableval" = yes; then
8102                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8103                           else
8104                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8105                           fi
8106
8107 else
8108
8109                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8110
8111 fi
8112
8113
8114           eval "$wx_cv_use_dynlib"
8115
8116           if test x"$enablestring" = xdisable; then
8117             if test $wxUSE_DYNLIB_CLASS = no; then
8118               result=yes
8119             else
8120               result=no
8121             fi
8122           else
8123             result=$wxUSE_DYNLIB_CLASS
8124           fi
8125
8126           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8127 $as_echo "$result" >&6; }
8128
8129
8130           enablestring=
8131           defaultval=$wxUSE_ALL_FEATURES
8132           if test -z "$defaultval"; then
8133               if test x"$enablestring" = xdisable; then
8134                   defaultval=yes
8135               else
8136                   defaultval=no
8137               fi
8138           fi
8139
8140           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8141 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8142           # Check whether --enable-dynamicloader was given.
8143 if test "${enable_dynamicloader+set}" = set; then :
8144   enableval=$enable_dynamicloader;
8145                           if test "$enableval" = yes; then
8146                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8147                           else
8148                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8149                           fi
8150
8151 else
8152
8153                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8154
8155 fi
8156
8157
8158           eval "$wx_cv_use_dynamicloader"
8159
8160           if test x"$enablestring" = xdisable; then
8161             if test $wxUSE_DYNAMIC_LOADER = no; then
8162               result=yes
8163             else
8164               result=no
8165             fi
8166           else
8167             result=$wxUSE_DYNAMIC_LOADER
8168           fi
8169
8170           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8171 $as_echo "$result" >&6; }
8172
8173
8174           enablestring=
8175           defaultval=$wxUSE_ALL_FEATURES
8176           if test -z "$defaultval"; then
8177               if test x"$enablestring" = xdisable; then
8178                   defaultval=yes
8179               else
8180                   defaultval=no
8181               fi
8182           fi
8183
8184           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8185 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8186           # Check whether --enable-exceptions was given.
8187 if test "${enable_exceptions+set}" = set; then :
8188   enableval=$enable_exceptions;
8189                           if test "$enableval" = yes; then
8190                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8191                           else
8192                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8193                           fi
8194
8195 else
8196
8197                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8198
8199 fi
8200
8201
8202           eval "$wx_cv_use_exceptions"
8203
8204           if test x"$enablestring" = xdisable; then
8205             if test $wxUSE_EXCEPTIONS = no; then
8206               result=yes
8207             else
8208               result=no
8209             fi
8210           else
8211             result=$wxUSE_EXCEPTIONS
8212           fi
8213
8214           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8215 $as_echo "$result" >&6; }
8216
8217
8218           enablestring=
8219           defaultval=$wxUSE_ALL_FEATURES
8220           if test -z "$defaultval"; then
8221               if test x"$enablestring" = xdisable; then
8222                   defaultval=yes
8223               else
8224                   defaultval=no
8225               fi
8226           fi
8227
8228           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8229 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8230           # Check whether --enable-ffile was given.
8231 if test "${enable_ffile+set}" = set; then :
8232   enableval=$enable_ffile;
8233                           if test "$enableval" = yes; then
8234                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8235                           else
8236                             wx_cv_use_ffile='wxUSE_FFILE=no'
8237                           fi
8238
8239 else
8240
8241                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8242
8243 fi
8244
8245
8246           eval "$wx_cv_use_ffile"
8247
8248           if test x"$enablestring" = xdisable; then
8249             if test $wxUSE_FFILE = no; then
8250               result=yes
8251             else
8252               result=no
8253             fi
8254           else
8255             result=$wxUSE_FFILE
8256           fi
8257
8258           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8259 $as_echo "$result" >&6; }
8260
8261
8262           enablestring=
8263           defaultval=$wxUSE_ALL_FEATURES
8264           if test -z "$defaultval"; then
8265               if test x"$enablestring" = xdisable; then
8266                   defaultval=yes
8267               else
8268                   defaultval=no
8269               fi
8270           fi
8271
8272           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8273 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8274           # Check whether --enable-file was given.
8275 if test "${enable_file+set}" = set; then :
8276   enableval=$enable_file;
8277                           if test "$enableval" = yes; then
8278                             wx_cv_use_file='wxUSE_FILE=yes'
8279                           else
8280                             wx_cv_use_file='wxUSE_FILE=no'
8281                           fi
8282
8283 else
8284
8285                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8286
8287 fi
8288
8289
8290           eval "$wx_cv_use_file"
8291
8292           if test x"$enablestring" = xdisable; then
8293             if test $wxUSE_FILE = no; then
8294               result=yes
8295             else
8296               result=no
8297             fi
8298           else
8299             result=$wxUSE_FILE
8300           fi
8301
8302           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8303 $as_echo "$result" >&6; }
8304
8305
8306           enablestring=
8307           defaultval=$wxUSE_ALL_FEATURES
8308           if test -z "$defaultval"; then
8309               if test x"$enablestring" = xdisable; then
8310                   defaultval=yes
8311               else
8312                   defaultval=no
8313               fi
8314           fi
8315
8316           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8317 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8318           # Check whether --enable-filehistory was given.
8319 if test "${enable_filehistory+set}" = set; then :
8320   enableval=$enable_filehistory;
8321                           if test "$enableval" = yes; then
8322                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8323                           else
8324                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8325                           fi
8326
8327 else
8328
8329                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8330
8331 fi
8332
8333
8334           eval "$wx_cv_use_filehistory"
8335
8336           if test x"$enablestring" = xdisable; then
8337             if test $wxUSE_FILE_HISTORY = no; then
8338               result=yes
8339             else
8340               result=no
8341             fi
8342           else
8343             result=$wxUSE_FILE_HISTORY
8344           fi
8345
8346           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8347 $as_echo "$result" >&6; }
8348
8349
8350           enablestring=
8351           defaultval=$wxUSE_ALL_FEATURES
8352           if test -z "$defaultval"; then
8353               if test x"$enablestring" = xdisable; then
8354                   defaultval=yes
8355               else
8356                   defaultval=no
8357               fi
8358           fi
8359
8360           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8361 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8362           # Check whether --enable-filesystem was given.
8363 if test "${enable_filesystem+set}" = set; then :
8364   enableval=$enable_filesystem;
8365                           if test "$enableval" = yes; then
8366                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8367                           else
8368                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8369                           fi
8370
8371 else
8372
8373                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8374
8375 fi
8376
8377
8378           eval "$wx_cv_use_filesystem"
8379
8380           if test x"$enablestring" = xdisable; then
8381             if test $wxUSE_FILESYSTEM = no; then
8382               result=yes
8383             else
8384               result=no
8385             fi
8386           else
8387             result=$wxUSE_FILESYSTEM
8388           fi
8389
8390           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8391 $as_echo "$result" >&6; }
8392
8393
8394           enablestring=
8395           defaultval=$wxUSE_ALL_FEATURES
8396           if test -z "$defaultval"; then
8397               if test x"$enablestring" = xdisable; then
8398                   defaultval=yes
8399               else
8400                   defaultval=no
8401               fi
8402           fi
8403
8404           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8405 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8406           # Check whether --enable-fontenum was given.
8407 if test "${enable_fontenum+set}" = set; then :
8408   enableval=$enable_fontenum;
8409                           if test "$enableval" = yes; then
8410                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8411                           else
8412                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8413                           fi
8414
8415 else
8416
8417                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8418
8419 fi
8420
8421
8422           eval "$wx_cv_use_fontenum"
8423
8424           if test x"$enablestring" = xdisable; then
8425             if test $wxUSE_FONTENUM = no; then
8426               result=yes
8427             else
8428               result=no
8429             fi
8430           else
8431             result=$wxUSE_FONTENUM
8432           fi
8433
8434           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8435 $as_echo "$result" >&6; }
8436
8437
8438           enablestring=
8439           defaultval=$wxUSE_ALL_FEATURES
8440           if test -z "$defaultval"; then
8441               if test x"$enablestring" = xdisable; then
8442                   defaultval=yes
8443               else
8444                   defaultval=no
8445               fi
8446           fi
8447
8448           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8449 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8450           # Check whether --enable-fontmap was given.
8451 if test "${enable_fontmap+set}" = set; then :
8452   enableval=$enable_fontmap;
8453                           if test "$enableval" = yes; then
8454                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8455                           else
8456                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8457                           fi
8458
8459 else
8460
8461                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8462
8463 fi
8464
8465
8466           eval "$wx_cv_use_fontmap"
8467
8468           if test x"$enablestring" = xdisable; then
8469             if test $wxUSE_FONTMAP = no; then
8470               result=yes
8471             else
8472               result=no
8473             fi
8474           else
8475             result=$wxUSE_FONTMAP
8476           fi
8477
8478           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8479 $as_echo "$result" >&6; }
8480
8481
8482           enablestring=
8483           defaultval=$wxUSE_ALL_FEATURES
8484           if test -z "$defaultval"; then
8485               if test x"$enablestring" = xdisable; then
8486                   defaultval=yes
8487               else
8488                   defaultval=no
8489               fi
8490           fi
8491
8492           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8493 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8494           # Check whether --enable-fs_archive was given.
8495 if test "${enable_fs_archive+set}" = set; then :
8496   enableval=$enable_fs_archive;
8497                           if test "$enableval" = yes; then
8498                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8499                           else
8500                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8501                           fi
8502
8503 else
8504
8505                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8506
8507 fi
8508
8509
8510           eval "$wx_cv_use_fs_archive"
8511
8512           if test x"$enablestring" = xdisable; then
8513             if test $wxUSE_FS_ARCHIVE = no; then
8514               result=yes
8515             else
8516               result=no
8517             fi
8518           else
8519             result=$wxUSE_FS_ARCHIVE
8520           fi
8521
8522           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8523 $as_echo "$result" >&6; }
8524
8525
8526           enablestring=
8527           defaultval=$wxUSE_ALL_FEATURES
8528           if test -z "$defaultval"; then
8529               if test x"$enablestring" = xdisable; then
8530                   defaultval=yes
8531               else
8532                   defaultval=no
8533               fi
8534           fi
8535
8536           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8537 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8538           # Check whether --enable-fs_inet was given.
8539 if test "${enable_fs_inet+set}" = set; then :
8540   enableval=$enable_fs_inet;
8541                           if test "$enableval" = yes; then
8542                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8543                           else
8544                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8545                           fi
8546
8547 else
8548
8549                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8550
8551 fi
8552
8553
8554           eval "$wx_cv_use_fs_inet"
8555
8556           if test x"$enablestring" = xdisable; then
8557             if test $wxUSE_FS_INET = no; then
8558               result=yes
8559             else
8560               result=no
8561             fi
8562           else
8563             result=$wxUSE_FS_INET
8564           fi
8565
8566           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8567 $as_echo "$result" >&6; }
8568
8569
8570           enablestring=
8571           defaultval=$wxUSE_ALL_FEATURES
8572           if test -z "$defaultval"; then
8573               if test x"$enablestring" = xdisable; then
8574                   defaultval=yes
8575               else
8576                   defaultval=no
8577               fi
8578           fi
8579
8580           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8581 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8582           # Check whether --enable-fs_zip was given.
8583 if test "${enable_fs_zip+set}" = set; then :
8584   enableval=$enable_fs_zip;
8585                           if test "$enableval" = yes; then
8586                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8587                           else
8588                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8589                           fi
8590
8591 else
8592
8593                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8594
8595 fi
8596
8597
8598           eval "$wx_cv_use_fs_zip"
8599
8600           if test x"$enablestring" = xdisable; then
8601             if test $wxUSE_FS_ZIP = no; then
8602               result=yes
8603             else
8604               result=no
8605             fi
8606           else
8607             result=$wxUSE_FS_ZIP
8608           fi
8609
8610           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8611 $as_echo "$result" >&6; }
8612
8613
8614           enablestring=
8615           defaultval=$wxUSE_ALL_FEATURES
8616           if test -z "$defaultval"; then
8617               if test x"$enablestring" = xdisable; then
8618                   defaultval=yes
8619               else
8620                   defaultval=no
8621               fi
8622           fi
8623
8624           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8625 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8626           # Check whether --enable-fswatcher was given.
8627 if test "${enable_fswatcher+set}" = set; then :
8628   enableval=$enable_fswatcher;
8629                           if test "$enableval" = yes; then
8630                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8631                           else
8632                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8633                           fi
8634
8635 else
8636
8637                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8638
8639 fi
8640
8641
8642           eval "$wx_cv_use_fswatcher"
8643
8644           if test x"$enablestring" = xdisable; then
8645             if test $wxUSE_FSWATCHER = no; then
8646               result=yes
8647             else
8648               result=no
8649             fi
8650           else
8651             result=$wxUSE_FSWATCHER
8652           fi
8653
8654           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8655 $as_echo "$result" >&6; }
8656
8657
8658           enablestring=
8659           defaultval=$wxUSE_ALL_FEATURES
8660           if test -z "$defaultval"; then
8661               if test x"$enablestring" = xdisable; then
8662                   defaultval=yes
8663               else
8664                   defaultval=no
8665               fi
8666           fi
8667
8668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8669 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8670           # Check whether --enable-geometry was given.
8671 if test "${enable_geometry+set}" = set; then :
8672   enableval=$enable_geometry;
8673                           if test "$enableval" = yes; then
8674                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8675                           else
8676                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8677                           fi
8678
8679 else
8680
8681                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8682
8683 fi
8684
8685
8686           eval "$wx_cv_use_geometry"
8687
8688           if test x"$enablestring" = xdisable; then
8689             if test $wxUSE_GEOMETRY = no; then
8690               result=yes
8691             else
8692               result=no
8693             fi
8694           else
8695             result=$wxUSE_GEOMETRY
8696           fi
8697
8698           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8699 $as_echo "$result" >&6; }
8700
8701
8702           enablestring=
8703           defaultval=$wxUSE_ALL_FEATURES
8704           if test -z "$defaultval"; then
8705               if test x"$enablestring" = xdisable; then
8706                   defaultval=yes
8707               else
8708                   defaultval=no
8709               fi
8710           fi
8711
8712           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8713 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8714           # Check whether --enable-log was given.
8715 if test "${enable_log+set}" = set; then :
8716   enableval=$enable_log;
8717                           if test "$enableval" = yes; then
8718                             wx_cv_use_log='wxUSE_LOG=yes'
8719                           else
8720                             wx_cv_use_log='wxUSE_LOG=no'
8721                           fi
8722
8723 else
8724
8725                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8726
8727 fi
8728
8729
8730           eval "$wx_cv_use_log"
8731
8732           if test x"$enablestring" = xdisable; then
8733             if test $wxUSE_LOG = no; then
8734               result=yes
8735             else
8736               result=no
8737             fi
8738           else
8739             result=$wxUSE_LOG
8740           fi
8741
8742           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8743 $as_echo "$result" >&6; }
8744
8745
8746           enablestring=
8747           defaultval=$wxUSE_ALL_FEATURES
8748           if test -z "$defaultval"; then
8749               if test x"$enablestring" = xdisable; then
8750                   defaultval=yes
8751               else
8752                   defaultval=no
8753               fi
8754           fi
8755
8756           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8757 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8758           # Check whether --enable-longlong was given.
8759 if test "${enable_longlong+set}" = set; then :
8760   enableval=$enable_longlong;
8761                           if test "$enableval" = yes; then
8762                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8763                           else
8764                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8765                           fi
8766
8767 else
8768
8769                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8770
8771 fi
8772
8773
8774           eval "$wx_cv_use_longlong"
8775
8776           if test x"$enablestring" = xdisable; then
8777             if test $wxUSE_LONGLONG = no; then
8778               result=yes
8779             else
8780               result=no
8781             fi
8782           else
8783             result=$wxUSE_LONGLONG
8784           fi
8785
8786           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8787 $as_echo "$result" >&6; }
8788
8789
8790           enablestring=
8791           defaultval=$wxUSE_ALL_FEATURES
8792           if test -z "$defaultval"; then
8793               if test x"$enablestring" = xdisable; then
8794                   defaultval=yes
8795               else
8796                   defaultval=no
8797               fi
8798           fi
8799
8800           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8801 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8802           # Check whether --enable-mimetype was given.
8803 if test "${enable_mimetype+set}" = set; then :
8804   enableval=$enable_mimetype;
8805                           if test "$enableval" = yes; then
8806                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8807                           else
8808                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8809                           fi
8810
8811 else
8812
8813                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8814
8815 fi
8816
8817
8818           eval "$wx_cv_use_mimetype"
8819
8820           if test x"$enablestring" = xdisable; then
8821             if test $wxUSE_MIMETYPE = no; then
8822               result=yes
8823             else
8824               result=no
8825             fi
8826           else
8827             result=$wxUSE_MIMETYPE
8828           fi
8829
8830           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8831 $as_echo "$result" >&6; }
8832
8833
8834           enablestring=
8835           defaultval=$wxUSE_ALL_FEATURES
8836           if test -z "$defaultval"; then
8837               if test x"$enablestring" = xdisable; then
8838                   defaultval=yes
8839               else
8840                   defaultval=no
8841               fi
8842           fi
8843
8844           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8845 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8846           # Check whether --enable-printfposparam was given.
8847 if test "${enable_printfposparam+set}" = set; then :
8848   enableval=$enable_printfposparam;
8849                           if test "$enableval" = yes; then
8850                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8851                           else
8852                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8853                           fi
8854
8855 else
8856
8857                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8858
8859 fi
8860
8861
8862           eval "$wx_cv_use_printfposparam"
8863
8864           if test x"$enablestring" = xdisable; then
8865             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8866               result=yes
8867             else
8868               result=no
8869             fi
8870           else
8871             result=$wxUSE_PRINTF_POS_PARAMS
8872           fi
8873
8874           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8875 $as_echo "$result" >&6; }
8876
8877
8878           enablestring=
8879           defaultval=$wxUSE_ALL_FEATURES
8880           if test -z "$defaultval"; then
8881               if test x"$enablestring" = xdisable; then
8882                   defaultval=yes
8883               else
8884                   defaultval=no
8885               fi
8886           fi
8887
8888           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8889 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8890           # Check whether --enable-snglinst was given.
8891 if test "${enable_snglinst+set}" = set; then :
8892   enableval=$enable_snglinst;
8893                           if test "$enableval" = yes; then
8894                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8895                           else
8896                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8897                           fi
8898
8899 else
8900
8901                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8902
8903 fi
8904
8905
8906           eval "$wx_cv_use_snglinst"
8907
8908           if test x"$enablestring" = xdisable; then
8909             if test $wxUSE_SNGLINST_CHECKER = no; then
8910               result=yes
8911             else
8912               result=no
8913             fi
8914           else
8915             result=$wxUSE_SNGLINST_CHECKER
8916           fi
8917
8918           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8919 $as_echo "$result" >&6; }
8920
8921
8922           enablestring=
8923           defaultval=$wxUSE_ALL_FEATURES
8924           if test -z "$defaultval"; then
8925               if test x"$enablestring" = xdisable; then
8926                   defaultval=yes
8927               else
8928                   defaultval=no
8929               fi
8930           fi
8931
8932           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8933 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8934           # Check whether --enable-sound was given.
8935 if test "${enable_sound+set}" = set; then :
8936   enableval=$enable_sound;
8937                           if test "$enableval" = yes; then
8938                             wx_cv_use_sound='wxUSE_SOUND=yes'
8939                           else
8940                             wx_cv_use_sound='wxUSE_SOUND=no'
8941                           fi
8942
8943 else
8944
8945                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8946
8947 fi
8948
8949
8950           eval "$wx_cv_use_sound"
8951
8952           if test x"$enablestring" = xdisable; then
8953             if test $wxUSE_SOUND = no; then
8954               result=yes
8955             else
8956               result=no
8957             fi
8958           else
8959             result=$wxUSE_SOUND
8960           fi
8961
8962           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8963 $as_echo "$result" >&6; }
8964
8965
8966           enablestring=
8967           defaultval=$wxUSE_ALL_FEATURES
8968           if test -z "$defaultval"; then
8969               if test x"$enablestring" = xdisable; then
8970                   defaultval=yes
8971               else
8972                   defaultval=no
8973               fi
8974           fi
8975
8976           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8977 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8978           # Check whether --enable-stdpaths was given.
8979 if test "${enable_stdpaths+set}" = set; then :
8980   enableval=$enable_stdpaths;
8981                           if test "$enableval" = yes; then
8982                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8983                           else
8984                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8985                           fi
8986
8987 else
8988
8989                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8990
8991 fi
8992
8993
8994           eval "$wx_cv_use_stdpaths"
8995
8996           if test x"$enablestring" = xdisable; then
8997             if test $wxUSE_STDPATHS = no; then
8998               result=yes
8999             else
9000               result=no
9001             fi
9002           else
9003             result=$wxUSE_STDPATHS
9004           fi
9005
9006           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9007 $as_echo "$result" >&6; }
9008
9009
9010           enablestring=
9011           defaultval=$wxUSE_ALL_FEATURES
9012           if test -z "$defaultval"; then
9013               if test x"$enablestring" = xdisable; then
9014                   defaultval=yes
9015               else
9016                   defaultval=no
9017               fi
9018           fi
9019
9020           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9021 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9022           # Check whether --enable-stopwatch was given.
9023 if test "${enable_stopwatch+set}" = set; then :
9024   enableval=$enable_stopwatch;
9025                           if test "$enableval" = yes; then
9026                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9027                           else
9028                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9029                           fi
9030
9031 else
9032
9033                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9034
9035 fi
9036
9037
9038           eval "$wx_cv_use_stopwatch"
9039
9040           if test x"$enablestring" = xdisable; then
9041             if test $wxUSE_STOPWATCH = no; then
9042               result=yes
9043             else
9044               result=no
9045             fi
9046           else
9047             result=$wxUSE_STOPWATCH
9048           fi
9049
9050           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9051 $as_echo "$result" >&6; }
9052
9053
9054           enablestring=
9055           defaultval=$wxUSE_ALL_FEATURES
9056           if test -z "$defaultval"; then
9057               if test x"$enablestring" = xdisable; then
9058                   defaultval=yes
9059               else
9060                   defaultval=no
9061               fi
9062           fi
9063
9064           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9065 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9066           # Check whether --enable-streams was given.
9067 if test "${enable_streams+set}" = set; then :
9068   enableval=$enable_streams;
9069                           if test "$enableval" = yes; then
9070                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9071                           else
9072                             wx_cv_use_streams='wxUSE_STREAMS=no'
9073                           fi
9074
9075 else
9076
9077                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9078
9079 fi
9080
9081
9082           eval "$wx_cv_use_streams"
9083
9084           if test x"$enablestring" = xdisable; then
9085             if test $wxUSE_STREAMS = no; then
9086               result=yes
9087             else
9088               result=no
9089             fi
9090           else
9091             result=$wxUSE_STREAMS
9092           fi
9093
9094           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9095 $as_echo "$result" >&6; }
9096
9097
9098           enablestring=
9099           defaultval=$wxUSE_ALL_FEATURES
9100           if test -z "$defaultval"; then
9101               if test x"$enablestring" = xdisable; then
9102                   defaultval=yes
9103               else
9104                   defaultval=no
9105               fi
9106           fi
9107
9108           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9109 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9110           # Check whether --enable-sysoptions was given.
9111 if test "${enable_sysoptions+set}" = set; then :
9112   enableval=$enable_sysoptions;
9113                           if test "$enableval" = yes; then
9114                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9115                           else
9116                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9117                           fi
9118
9119 else
9120
9121                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9122
9123 fi
9124
9125
9126           eval "$wx_cv_use_sysoptions"
9127
9128           if test x"$enablestring" = xdisable; then
9129             if test $wxUSE_SYSTEM_OPTIONS = no; then
9130               result=yes
9131             else
9132               result=no
9133             fi
9134           else
9135             result=$wxUSE_SYSTEM_OPTIONS
9136           fi
9137
9138           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9139 $as_echo "$result" >&6; }
9140
9141
9142           enablestring=
9143           defaultval=$wxUSE_ALL_FEATURES
9144           if test -z "$defaultval"; then
9145               if test x"$enablestring" = xdisable; then
9146                   defaultval=yes
9147               else
9148                   defaultval=no
9149               fi
9150           fi
9151
9152           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9153 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9154           # Check whether --enable-tarstream was given.
9155 if test "${enable_tarstream+set}" = set; then :
9156   enableval=$enable_tarstream;
9157                           if test "$enableval" = yes; then
9158                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9159                           else
9160                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9161                           fi
9162
9163 else
9164
9165                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9166
9167 fi
9168
9169
9170           eval "$wx_cv_use_tarstream"
9171
9172           if test x"$enablestring" = xdisable; then
9173             if test $wxUSE_TARSTREAM = no; then
9174               result=yes
9175             else
9176               result=no
9177             fi
9178           else
9179             result=$wxUSE_TARSTREAM
9180           fi
9181
9182           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9183 $as_echo "$result" >&6; }
9184
9185
9186           enablestring=
9187           defaultval=$wxUSE_ALL_FEATURES
9188           if test -z "$defaultval"; then
9189               if test x"$enablestring" = xdisable; then
9190                   defaultval=yes
9191               else
9192                   defaultval=no
9193               fi
9194           fi
9195
9196           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9197 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9198           # Check whether --enable-textbuf was given.
9199 if test "${enable_textbuf+set}" = set; then :
9200   enableval=$enable_textbuf;
9201                           if test "$enableval" = yes; then
9202                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9203                           else
9204                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9205                           fi
9206
9207 else
9208
9209                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9210
9211 fi
9212
9213
9214           eval "$wx_cv_use_textbuf"
9215
9216           if test x"$enablestring" = xdisable; then
9217             if test $wxUSE_TEXTBUFFER = no; then
9218               result=yes
9219             else
9220               result=no
9221             fi
9222           else
9223             result=$wxUSE_TEXTBUFFER
9224           fi
9225
9226           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9227 $as_echo "$result" >&6; }
9228
9229
9230           enablestring=
9231           defaultval=$wxUSE_ALL_FEATURES
9232           if test -z "$defaultval"; then
9233               if test x"$enablestring" = xdisable; then
9234                   defaultval=yes
9235               else
9236                   defaultval=no
9237               fi
9238           fi
9239
9240           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9241 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9242           # Check whether --enable-textfile was given.
9243 if test "${enable_textfile+set}" = set; then :
9244   enableval=$enable_textfile;
9245                           if test "$enableval" = yes; then
9246                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9247                           else
9248                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9249                           fi
9250
9251 else
9252
9253                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9254
9255 fi
9256
9257
9258           eval "$wx_cv_use_textfile"
9259
9260           if test x"$enablestring" = xdisable; then
9261             if test $wxUSE_TEXTFILE = no; then
9262               result=yes
9263             else
9264               result=no
9265             fi
9266           else
9267             result=$wxUSE_TEXTFILE
9268           fi
9269
9270           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9271 $as_echo "$result" >&6; }
9272
9273
9274           enablestring=
9275           defaultval=$wxUSE_ALL_FEATURES
9276           if test -z "$defaultval"; then
9277               if test x"$enablestring" = xdisable; then
9278                   defaultval=yes
9279               else
9280                   defaultval=no
9281               fi
9282           fi
9283
9284           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9285 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9286           # Check whether --enable-timer was given.
9287 if test "${enable_timer+set}" = set; then :
9288   enableval=$enable_timer;
9289                           if test "$enableval" = yes; then
9290                             wx_cv_use_timer='wxUSE_TIMER=yes'
9291                           else
9292                             wx_cv_use_timer='wxUSE_TIMER=no'
9293                           fi
9294
9295 else
9296
9297                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9298
9299 fi
9300
9301
9302           eval "$wx_cv_use_timer"
9303
9304           if test x"$enablestring" = xdisable; then
9305             if test $wxUSE_TIMER = no; then
9306               result=yes
9307             else
9308               result=no
9309             fi
9310           else
9311             result=$wxUSE_TIMER
9312           fi
9313
9314           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9315 $as_echo "$result" >&6; }
9316
9317
9318           enablestring=
9319           defaultval=$wxUSE_ALL_FEATURES
9320           if test -z "$defaultval"; then
9321               if test x"$enablestring" = xdisable; then
9322                   defaultval=yes
9323               else
9324                   defaultval=no
9325               fi
9326           fi
9327
9328           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9329 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9330           # Check whether --enable-variant was given.
9331 if test "${enable_variant+set}" = set; then :
9332   enableval=$enable_variant;
9333                           if test "$enableval" = yes; then
9334                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9335                           else
9336                             wx_cv_use_variant='wxUSE_VARIANT=no'
9337                           fi
9338
9339 else
9340
9341                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9342
9343 fi
9344
9345
9346           eval "$wx_cv_use_variant"
9347
9348           if test x"$enablestring" = xdisable; then
9349             if test $wxUSE_VARIANT = no; then
9350               result=yes
9351             else
9352               result=no
9353             fi
9354           else
9355             result=$wxUSE_VARIANT
9356           fi
9357
9358           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9359 $as_echo "$result" >&6; }
9360
9361
9362           enablestring=
9363           defaultval=$wxUSE_ALL_FEATURES
9364           if test -z "$defaultval"; then
9365               if test x"$enablestring" = xdisable; then
9366                   defaultval=yes
9367               else
9368                   defaultval=no
9369               fi
9370           fi
9371
9372           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9373 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9374           # Check whether --enable-zipstream was given.
9375 if test "${enable_zipstream+set}" = set; then :
9376   enableval=$enable_zipstream;
9377                           if test "$enableval" = yes; then
9378                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9379                           else
9380                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9381                           fi
9382
9383 else
9384
9385                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9386
9387 fi
9388
9389
9390           eval "$wx_cv_use_zipstream"
9391
9392           if test x"$enablestring" = xdisable; then
9393             if test $wxUSE_ZIPSTREAM = no; then
9394               result=yes
9395             else
9396               result=no
9397             fi
9398           else
9399             result=$wxUSE_ZIPSTREAM
9400           fi
9401
9402           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9403 $as_echo "$result" >&6; }
9404
9405
9406
9407           enablestring=
9408           defaultval=$wxUSE_ALL_FEATURES
9409           if test -z "$defaultval"; then
9410               if test x"$enablestring" = xdisable; then
9411                   defaultval=yes
9412               else
9413                   defaultval=no
9414               fi
9415           fi
9416
9417           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9418 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9419           # Check whether --enable-url was given.
9420 if test "${enable_url+set}" = set; then :
9421   enableval=$enable_url;
9422                           if test "$enableval" = yes; then
9423                             wx_cv_use_url='wxUSE_URL=yes'
9424                           else
9425                             wx_cv_use_url='wxUSE_URL=no'
9426                           fi
9427
9428 else
9429
9430                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9431
9432 fi
9433
9434
9435           eval "$wx_cv_use_url"
9436
9437           if test x"$enablestring" = xdisable; then
9438             if test $wxUSE_URL = no; then
9439               result=yes
9440             else
9441               result=no
9442             fi
9443           else
9444             result=$wxUSE_URL
9445           fi
9446
9447           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9448 $as_echo "$result" >&6; }
9449
9450
9451           enablestring=
9452           defaultval=$wxUSE_ALL_FEATURES
9453           if test -z "$defaultval"; then
9454               if test x"$enablestring" = xdisable; then
9455                   defaultval=yes
9456               else
9457                   defaultval=no
9458               fi
9459           fi
9460
9461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9462 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9463           # Check whether --enable-protocol was given.
9464 if test "${enable_protocol+set}" = set; then :
9465   enableval=$enable_protocol;
9466                           if test "$enableval" = yes; then
9467                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9468                           else
9469                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9470                           fi
9471
9472 else
9473
9474                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9475
9476 fi
9477
9478
9479           eval "$wx_cv_use_protocol"
9480
9481           if test x"$enablestring" = xdisable; then
9482             if test $wxUSE_PROTOCOL = no; then
9483               result=yes
9484             else
9485               result=no
9486             fi
9487           else
9488             result=$wxUSE_PROTOCOL
9489           fi
9490
9491           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9492 $as_echo "$result" >&6; }
9493
9494
9495           enablestring=
9496           defaultval=$wxUSE_ALL_FEATURES
9497           if test -z "$defaultval"; then
9498               if test x"$enablestring" = xdisable; then
9499                   defaultval=yes
9500               else
9501                   defaultval=no
9502               fi
9503           fi
9504
9505           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9506 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9507           # Check whether --enable-protocol_http was given.
9508 if test "${enable_protocol_http+set}" = set; then :
9509   enableval=$enable_protocol_http;
9510                           if test "$enableval" = yes; then
9511                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9512                           else
9513                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9514                           fi
9515
9516 else
9517
9518                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9519
9520 fi
9521
9522
9523           eval "$wx_cv_use_protocol_http"
9524
9525           if test x"$enablestring" = xdisable; then
9526             if test $wxUSE_PROTOCOL_HTTP = no; then
9527               result=yes
9528             else
9529               result=no
9530             fi
9531           else
9532             result=$wxUSE_PROTOCOL_HTTP
9533           fi
9534
9535           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9536 $as_echo "$result" >&6; }
9537
9538
9539           enablestring=
9540           defaultval=$wxUSE_ALL_FEATURES
9541           if test -z "$defaultval"; then
9542               if test x"$enablestring" = xdisable; then
9543                   defaultval=yes
9544               else
9545                   defaultval=no
9546               fi
9547           fi
9548
9549           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9550 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9551           # Check whether --enable-protocol_ftp was given.
9552 if test "${enable_protocol_ftp+set}" = set; then :
9553   enableval=$enable_protocol_ftp;
9554                           if test "$enableval" = yes; then
9555                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9556                           else
9557                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9558                           fi
9559
9560 else
9561
9562                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9563
9564 fi
9565
9566
9567           eval "$wx_cv_use_protocol_ftp"
9568
9569           if test x"$enablestring" = xdisable; then
9570             if test $wxUSE_PROTOCOL_FTP = no; then
9571               result=yes
9572             else
9573               result=no
9574             fi
9575           else
9576             result=$wxUSE_PROTOCOL_FTP
9577           fi
9578
9579           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9580 $as_echo "$result" >&6; }
9581
9582
9583           enablestring=
9584           defaultval=$wxUSE_ALL_FEATURES
9585           if test -z "$defaultval"; then
9586               if test x"$enablestring" = xdisable; then
9587                   defaultval=yes
9588               else
9589                   defaultval=no
9590               fi
9591           fi
9592
9593           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9594 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9595           # Check whether --enable-protocol_file was given.
9596 if test "${enable_protocol_file+set}" = set; then :
9597   enableval=$enable_protocol_file;
9598                           if test "$enableval" = yes; then
9599                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9600                           else
9601                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9602                           fi
9603
9604 else
9605
9606                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9607
9608 fi
9609
9610
9611           eval "$wx_cv_use_protocol_file"
9612
9613           if test x"$enablestring" = xdisable; then
9614             if test $wxUSE_PROTOCOL_FILE = no; then
9615               result=yes
9616             else
9617               result=no
9618             fi
9619           else
9620             result=$wxUSE_PROTOCOL_FILE
9621           fi
9622
9623           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9624 $as_echo "$result" >&6; }
9625
9626
9627
9628           enablestring=
9629           defaultval=$wxUSE_ALL_FEATURES
9630           if test -z "$defaultval"; then
9631               if test x"$enablestring" = xdisable; then
9632                   defaultval=yes
9633               else
9634                   defaultval=no
9635               fi
9636           fi
9637
9638           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9639 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9640           # Check whether --enable-threads was given.
9641 if test "${enable_threads+set}" = set; then :
9642   enableval=$enable_threads;
9643                           if test "$enableval" = yes; then
9644                             wx_cv_use_threads='wxUSE_THREADS=yes'
9645                           else
9646                             wx_cv_use_threads='wxUSE_THREADS=no'
9647                           fi
9648
9649 else
9650
9651                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9652
9653 fi
9654
9655
9656           eval "$wx_cv_use_threads"
9657
9658           if test x"$enablestring" = xdisable; then
9659             if test $wxUSE_THREADS = no; then
9660               result=yes
9661             else
9662               result=no
9663             fi
9664           else
9665             result=$wxUSE_THREADS
9666           fi
9667
9668           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9669 $as_echo "$result" >&6; }
9670
9671
9672
9673           enablestring=
9674           defaultval=
9675           if test -z "$defaultval"; then
9676               if test x"$enablestring" = xdisable; then
9677                   defaultval=yes
9678               else
9679                   defaultval=no
9680               fi
9681           fi
9682
9683           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9684 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9685           # Check whether --enable-iniconf was given.
9686 if test "${enable_iniconf+set}" = set; then :
9687   enableval=$enable_iniconf;
9688                           if test "$enableval" = yes; then
9689                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9690                           else
9691                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9692                           fi
9693
9694 else
9695
9696                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9697
9698 fi
9699
9700
9701           eval "$wx_cv_use_iniconf"
9702
9703           if test x"$enablestring" = xdisable; then
9704             if test $wxUSE_INICONF = no; then
9705               result=yes
9706             else
9707               result=no
9708             fi
9709           else
9710             result=$wxUSE_INICONF
9711           fi
9712
9713           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9714 $as_echo "$result" >&6; }
9715
9716
9717           enablestring=
9718           defaultval=$wxUSE_ALL_FEATURES
9719           if test -z "$defaultval"; then
9720               if test x"$enablestring" = xdisable; then
9721                   defaultval=yes
9722               else
9723                   defaultval=no
9724               fi
9725           fi
9726
9727           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9728 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9729           # Check whether --enable-regkey was given.
9730 if test "${enable_regkey+set}" = set; then :
9731   enableval=$enable_regkey;
9732                           if test "$enableval" = yes; then
9733                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9734                           else
9735                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9736                           fi
9737
9738 else
9739
9740                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9741
9742 fi
9743
9744
9745           eval "$wx_cv_use_regkey"
9746
9747           if test x"$enablestring" = xdisable; then
9748             if test $wxUSE_REGKEY = no; then
9749               result=yes
9750             else
9751               result=no
9752             fi
9753           else
9754             result=$wxUSE_REGKEY
9755           fi
9756
9757           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9758 $as_echo "$result" >&6; }
9759
9760
9761 if test "$wxUSE_GUI" = "yes"; then
9762
9763
9764
9765           enablestring=
9766           defaultval=$wxUSE_ALL_FEATURES
9767           if test -z "$defaultval"; then
9768               if test x"$enablestring" = xdisable; then
9769                   defaultval=yes
9770               else
9771                   defaultval=no
9772               fi
9773           fi
9774
9775           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9776 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9777           # Check whether --enable-docview was given.
9778 if test "${enable_docview+set}" = set; then :
9779   enableval=$enable_docview;
9780                           if test "$enableval" = yes; then
9781                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9782                           else
9783                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9784                           fi
9785
9786 else
9787
9788                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9789
9790 fi
9791
9792
9793           eval "$wx_cv_use_docview"
9794
9795           if test x"$enablestring" = xdisable; then
9796             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9797               result=yes
9798             else
9799               result=no
9800             fi
9801           else
9802             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9803           fi
9804
9805           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9806 $as_echo "$result" >&6; }
9807
9808
9809           enablestring=
9810           defaultval=$wxUSE_ALL_FEATURES
9811           if test -z "$defaultval"; then
9812               if test x"$enablestring" = xdisable; then
9813                   defaultval=yes
9814               else
9815                   defaultval=no
9816               fi
9817           fi
9818
9819           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9820 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9821           # Check whether --enable-help was given.
9822 if test "${enable_help+set}" = set; then :
9823   enableval=$enable_help;
9824                           if test "$enableval" = yes; then
9825                             wx_cv_use_help='wxUSE_HELP=yes'
9826                           else
9827                             wx_cv_use_help='wxUSE_HELP=no'
9828                           fi
9829
9830 else
9831
9832                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9833
9834 fi
9835
9836
9837           eval "$wx_cv_use_help"
9838
9839           if test x"$enablestring" = xdisable; then
9840             if test $wxUSE_HELP = no; then
9841               result=yes
9842             else
9843               result=no
9844             fi
9845           else
9846             result=$wxUSE_HELP
9847           fi
9848
9849           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9850 $as_echo "$result" >&6; }
9851
9852
9853           enablestring=
9854           defaultval=$wxUSE_ALL_FEATURES
9855           if test -z "$defaultval"; then
9856               if test x"$enablestring" = xdisable; then
9857                   defaultval=yes
9858               else
9859                   defaultval=no
9860               fi
9861           fi
9862
9863           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9864 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9865           # Check whether --enable-mshtmlhelp was given.
9866 if test "${enable_mshtmlhelp+set}" = set; then :
9867   enableval=$enable_mshtmlhelp;
9868                           if test "$enableval" = yes; then
9869                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9870                           else
9871                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9872                           fi
9873
9874 else
9875
9876                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9877
9878 fi
9879
9880
9881           eval "$wx_cv_use_mshtmlhelp"
9882
9883           if test x"$enablestring" = xdisable; then
9884             if test $wxUSE_MS_HTML_HELP = no; then
9885               result=yes
9886             else
9887               result=no
9888             fi
9889           else
9890             result=$wxUSE_MS_HTML_HELP
9891           fi
9892
9893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9894 $as_echo "$result" >&6; }
9895
9896
9897           enablestring=
9898           defaultval=$wxUSE_ALL_FEATURES
9899           if test -z "$defaultval"; then
9900               if test x"$enablestring" = xdisable; then
9901                   defaultval=yes
9902               else
9903                   defaultval=no
9904               fi
9905           fi
9906
9907           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9908 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9909           # Check whether --enable-html was given.
9910 if test "${enable_html+set}" = set; then :
9911   enableval=$enable_html;
9912                           if test "$enableval" = yes; then
9913                             wx_cv_use_html='wxUSE_HTML=yes'
9914                           else
9915                             wx_cv_use_html='wxUSE_HTML=no'
9916                           fi
9917
9918 else
9919
9920                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9921
9922 fi
9923
9924
9925           eval "$wx_cv_use_html"
9926
9927           if test x"$enablestring" = xdisable; then
9928             if test $wxUSE_HTML = no; then
9929               result=yes
9930             else
9931               result=no
9932             fi
9933           else
9934             result=$wxUSE_HTML
9935           fi
9936
9937           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9938 $as_echo "$result" >&6; }
9939
9940
9941           enablestring=
9942           defaultval=$wxUSE_ALL_FEATURES
9943           if test -z "$defaultval"; then
9944               if test x"$enablestring" = xdisable; then
9945                   defaultval=yes
9946               else
9947                   defaultval=no
9948               fi
9949           fi
9950
9951           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9952 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9953           # Check whether --enable-htmlhelp was given.
9954 if test "${enable_htmlhelp+set}" = set; then :
9955   enableval=$enable_htmlhelp;
9956                           if test "$enableval" = yes; then
9957                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9958                           else
9959                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9960                           fi
9961
9962 else
9963
9964                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9965
9966 fi
9967
9968
9969           eval "$wx_cv_use_htmlhelp"
9970
9971           if test x"$enablestring" = xdisable; then
9972             if test $wxUSE_WXHTML_HELP = no; then
9973               result=yes
9974             else
9975               result=no
9976             fi
9977           else
9978             result=$wxUSE_WXHTML_HELP
9979           fi
9980
9981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9982 $as_echo "$result" >&6; }
9983
9984
9985           enablestring=
9986           defaultval=$wxUSE_ALL_FEATURES
9987           if test -z "$defaultval"; then
9988               if test x"$enablestring" = xdisable; then
9989                   defaultval=yes
9990               else
9991                   defaultval=no
9992               fi
9993           fi
9994
9995           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9996 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9997           # Check whether --enable-xrc was given.
9998 if test "${enable_xrc+set}" = set; then :
9999   enableval=$enable_xrc;
10000                           if test "$enableval" = yes; then
10001                             wx_cv_use_xrc='wxUSE_XRC=yes'
10002                           else
10003                             wx_cv_use_xrc='wxUSE_XRC=no'
10004                           fi
10005
10006 else
10007
10008                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10009
10010 fi
10011
10012
10013           eval "$wx_cv_use_xrc"
10014
10015           if test x"$enablestring" = xdisable; then
10016             if test $wxUSE_XRC = no; then
10017               result=yes
10018             else
10019               result=no
10020             fi
10021           else
10022             result=$wxUSE_XRC
10023           fi
10024
10025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10026 $as_echo "$result" >&6; }
10027
10028
10029           enablestring=
10030           defaultval=$wxUSE_ALL_FEATURES
10031           if test -z "$defaultval"; then
10032               if test x"$enablestring" = xdisable; then
10033                   defaultval=yes
10034               else
10035                   defaultval=no
10036               fi
10037           fi
10038
10039           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10040 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10041           # Check whether --enable-aui was given.
10042 if test "${enable_aui+set}" = set; then :
10043   enableval=$enable_aui;
10044                           if test "$enableval" = yes; then
10045                             wx_cv_use_aui='wxUSE_AUI=yes'
10046                           else
10047                             wx_cv_use_aui='wxUSE_AUI=no'
10048                           fi
10049
10050 else
10051
10052                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10053
10054 fi
10055
10056
10057           eval "$wx_cv_use_aui"
10058
10059           if test x"$enablestring" = xdisable; then
10060             if test $wxUSE_AUI = no; then
10061               result=yes
10062             else
10063               result=no
10064             fi
10065           else
10066             result=$wxUSE_AUI
10067           fi
10068
10069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10070 $as_echo "$result" >&6; }
10071
10072
10073           enablestring=
10074           defaultval=$wxUSE_ALL_FEATURES
10075           if test -z "$defaultval"; then
10076               if test x"$enablestring" = xdisable; then
10077                   defaultval=yes
10078               else
10079                   defaultval=no
10080               fi
10081           fi
10082
10083           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10084 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10085           # Check whether --enable-propgrid was given.
10086 if test "${enable_propgrid+set}" = set; then :
10087   enableval=$enable_propgrid;
10088                           if test "$enableval" = yes; then
10089                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10090                           else
10091                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10092                           fi
10093
10094 else
10095
10096                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10097
10098 fi
10099
10100
10101           eval "$wx_cv_use_propgrid"
10102
10103           if test x"$enablestring" = xdisable; then
10104             if test $wxUSE_PROPGRID = no; then
10105               result=yes
10106             else
10107               result=no
10108             fi
10109           else
10110             result=$wxUSE_PROPGRID
10111           fi
10112
10113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10114 $as_echo "$result" >&6; }
10115
10116
10117           enablestring=
10118           defaultval=$wxUSE_ALL_FEATURES
10119           if test -z "$defaultval"; then
10120               if test x"$enablestring" = xdisable; then
10121                   defaultval=yes
10122               else
10123                   defaultval=no
10124               fi
10125           fi
10126
10127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10128 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10129           # Check whether --enable-ribbon was given.
10130 if test "${enable_ribbon+set}" = set; then :
10131   enableval=$enable_ribbon;
10132                           if test "$enableval" = yes; then
10133                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10134                           else
10135                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10136                           fi
10137
10138 else
10139
10140                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10141
10142 fi
10143
10144
10145           eval "$wx_cv_use_ribbon"
10146
10147           if test x"$enablestring" = xdisable; then
10148             if test $wxUSE_RIBBON = no; then
10149               result=yes
10150             else
10151               result=no
10152             fi
10153           else
10154             result=$wxUSE_RIBBON
10155           fi
10156
10157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10158 $as_echo "$result" >&6; }
10159
10160
10161           enablestring=
10162           defaultval=$wxUSE_ALL_FEATURES
10163           if test -z "$defaultval"; then
10164               if test x"$enablestring" = xdisable; then
10165                   defaultval=yes
10166               else
10167                   defaultval=no
10168               fi
10169           fi
10170
10171           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10172 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10173           # Check whether --enable-stc was given.
10174 if test "${enable_stc+set}" = set; then :
10175   enableval=$enable_stc;
10176                           if test "$enableval" = yes; then
10177                             wx_cv_use_stc='wxUSE_STC=yes'
10178                           else
10179                             wx_cv_use_stc='wxUSE_STC=no'
10180                           fi
10181
10182 else
10183
10184                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10185
10186 fi
10187
10188
10189           eval "$wx_cv_use_stc"
10190
10191           if test x"$enablestring" = xdisable; then
10192             if test $wxUSE_STC = no; then
10193               result=yes
10194             else
10195               result=no
10196             fi
10197           else
10198             result=$wxUSE_STC
10199           fi
10200
10201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10202 $as_echo "$result" >&6; }
10203
10204
10205           enablestring=
10206           defaultval=$wxUSE_ALL_FEATURES
10207           if test -z "$defaultval"; then
10208               if test x"$enablestring" = xdisable; then
10209                   defaultval=yes
10210               else
10211                   defaultval=no
10212               fi
10213           fi
10214
10215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10216 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10217           # Check whether --enable-constraints was given.
10218 if test "${enable_constraints+set}" = set; then :
10219   enableval=$enable_constraints;
10220                           if test "$enableval" = yes; then
10221                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10222                           else
10223                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10224                           fi
10225
10226 else
10227
10228                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10229
10230 fi
10231
10232
10233           eval "$wx_cv_use_constraints"
10234
10235           if test x"$enablestring" = xdisable; then
10236             if test $wxUSE_CONSTRAINTS = no; then
10237               result=yes
10238             else
10239               result=no
10240             fi
10241           else
10242             result=$wxUSE_CONSTRAINTS
10243           fi
10244
10245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10246 $as_echo "$result" >&6; }
10247
10248
10249           enablestring=
10250           defaultval=$wxUSE_ALL_FEATURES
10251           if test -z "$defaultval"; then
10252               if test x"$enablestring" = xdisable; then
10253                   defaultval=yes
10254               else
10255                   defaultval=no
10256               fi
10257           fi
10258
10259           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10260 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10261           # Check whether --enable-loggui was given.
10262 if test "${enable_loggui+set}" = set; then :
10263   enableval=$enable_loggui;
10264                           if test "$enableval" = yes; then
10265                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10266                           else
10267                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10268                           fi
10269
10270 else
10271
10272                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10273
10274 fi
10275
10276
10277           eval "$wx_cv_use_loggui"
10278
10279           if test x"$enablestring" = xdisable; then
10280             if test $wxUSE_LOGGUI = no; then
10281               result=yes
10282             else
10283               result=no
10284             fi
10285           else
10286             result=$wxUSE_LOGGUI
10287           fi
10288
10289           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10290 $as_echo "$result" >&6; }
10291
10292
10293           enablestring=
10294           defaultval=$wxUSE_ALL_FEATURES
10295           if test -z "$defaultval"; then
10296               if test x"$enablestring" = xdisable; then
10297                   defaultval=yes
10298               else
10299                   defaultval=no
10300               fi
10301           fi
10302
10303           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10304 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10305           # Check whether --enable-logwin was given.
10306 if test "${enable_logwin+set}" = set; then :
10307   enableval=$enable_logwin;
10308                           if test "$enableval" = yes; then
10309                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10310                           else
10311                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10312                           fi
10313
10314 else
10315
10316                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10317
10318 fi
10319
10320
10321           eval "$wx_cv_use_logwin"
10322
10323           if test x"$enablestring" = xdisable; then
10324             if test $wxUSE_LOGWINDOW = no; then
10325               result=yes
10326             else
10327               result=no
10328             fi
10329           else
10330             result=$wxUSE_LOGWINDOW
10331           fi
10332
10333           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10334 $as_echo "$result" >&6; }
10335
10336
10337           enablestring=
10338           defaultval=$wxUSE_ALL_FEATURES
10339           if test -z "$defaultval"; then
10340               if test x"$enablestring" = xdisable; then
10341                   defaultval=yes
10342               else
10343                   defaultval=no
10344               fi
10345           fi
10346
10347           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10348 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10349           # Check whether --enable-logdialog was given.
10350 if test "${enable_logdialog+set}" = set; then :
10351   enableval=$enable_logdialog;
10352                           if test "$enableval" = yes; then
10353                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10354                           else
10355                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10356                           fi
10357
10358 else
10359
10360                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10361
10362 fi
10363
10364
10365           eval "$wx_cv_use_logdialog"
10366
10367           if test x"$enablestring" = xdisable; then
10368             if test $wxUSE_LOGDIALOG = no; then
10369               result=yes
10370             else
10371               result=no
10372             fi
10373           else
10374             result=$wxUSE_LOGDIALOG
10375           fi
10376
10377           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10378 $as_echo "$result" >&6; }
10379
10380
10381           enablestring=
10382           defaultval=$wxUSE_ALL_FEATURES
10383           if test -z "$defaultval"; then
10384               if test x"$enablestring" = xdisable; then
10385                   defaultval=yes
10386               else
10387                   defaultval=no
10388               fi
10389           fi
10390
10391           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10392 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10393           # Check whether --enable-mdi was given.
10394 if test "${enable_mdi+set}" = set; then :
10395   enableval=$enable_mdi;
10396                           if test "$enableval" = yes; then
10397                             wx_cv_use_mdi='wxUSE_MDI=yes'
10398                           else
10399                             wx_cv_use_mdi='wxUSE_MDI=no'
10400                           fi
10401
10402 else
10403
10404                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10405
10406 fi
10407
10408
10409           eval "$wx_cv_use_mdi"
10410
10411           if test x"$enablestring" = xdisable; then
10412             if test $wxUSE_MDI = no; then
10413               result=yes
10414             else
10415               result=no
10416             fi
10417           else
10418             result=$wxUSE_MDI
10419           fi
10420
10421           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10422 $as_echo "$result" >&6; }
10423
10424
10425           enablestring=
10426           defaultval=$wxUSE_ALL_FEATURES
10427           if test -z "$defaultval"; then
10428               if test x"$enablestring" = xdisable; then
10429                   defaultval=yes
10430               else
10431                   defaultval=no
10432               fi
10433           fi
10434
10435           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10436 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10437           # Check whether --enable-mdidoc was given.
10438 if test "${enable_mdidoc+set}" = set; then :
10439   enableval=$enable_mdidoc;
10440                           if test "$enableval" = yes; then
10441                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10442                           else
10443                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10444                           fi
10445
10446 else
10447
10448                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10449
10450 fi
10451
10452
10453           eval "$wx_cv_use_mdidoc"
10454
10455           if test x"$enablestring" = xdisable; then
10456             if test $wxUSE_MDI_ARCHITECTURE = no; then
10457               result=yes
10458             else
10459               result=no
10460             fi
10461           else
10462             result=$wxUSE_MDI_ARCHITECTURE
10463           fi
10464
10465           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10466 $as_echo "$result" >&6; }
10467
10468
10469           enablestring=
10470           defaultval=$wxUSE_ALL_FEATURES
10471           if test -z "$defaultval"; then
10472               if test x"$enablestring" = xdisable; then
10473                   defaultval=yes
10474               else
10475                   defaultval=no
10476               fi
10477           fi
10478
10479           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10480 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10481           # Check whether --enable-mediactrl was given.
10482 if test "${enable_mediactrl+set}" = set; then :
10483   enableval=$enable_mediactrl;
10484                           if test "$enableval" = yes; then
10485                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10486                           else
10487                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10488                           fi
10489
10490 else
10491
10492                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10493
10494 fi
10495
10496
10497           eval "$wx_cv_use_mediactrl"
10498
10499           if test x"$enablestring" = xdisable; then
10500             if test $wxUSE_MEDIACTRL = no; then
10501               result=yes
10502             else
10503               result=no
10504             fi
10505           else
10506             result=$wxUSE_MEDIACTRL
10507           fi
10508
10509           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10510 $as_echo "$result" >&6; }
10511
10512
10513           enablestring=
10514           defaultval=$wxUSE_ALL_FEATURES
10515           if test -z "$defaultval"; then
10516               if test x"$enablestring" = xdisable; then
10517                   defaultval=yes
10518               else
10519                   defaultval=no
10520               fi
10521           fi
10522
10523           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10524 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10525           # Check whether --enable-gstreamer8 was given.
10526 if test "${enable_gstreamer8+set}" = set; then :
10527   enableval=$enable_gstreamer8;
10528                           if test "$enableval" = yes; then
10529                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10530                           else
10531                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10532                           fi
10533
10534 else
10535
10536                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10537
10538 fi
10539
10540
10541           eval "$wx_cv_use_gstreamer8"
10542
10543           if test x"$enablestring" = xdisable; then
10544             if test $wxUSE_GSTREAMER8 = no; then
10545               result=yes
10546             else
10547               result=no
10548             fi
10549           else
10550             result=$wxUSE_GSTREAMER8
10551           fi
10552
10553           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10554 $as_echo "$result" >&6; }
10555
10556
10557           enablestring=
10558           defaultval=$wxUSE_ALL_FEATURES
10559           if test -z "$defaultval"; then
10560               if test x"$enablestring" = xdisable; then
10561                   defaultval=yes
10562               else
10563                   defaultval=no
10564               fi
10565           fi
10566
10567           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10568 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10569           # Check whether --enable-richtext was given.
10570 if test "${enable_richtext+set}" = set; then :
10571   enableval=$enable_richtext;
10572                           if test "$enableval" = yes; then
10573                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10574                           else
10575                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10576                           fi
10577
10578 else
10579
10580                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10581
10582 fi
10583
10584
10585           eval "$wx_cv_use_richtext"
10586
10587           if test x"$enablestring" = xdisable; then
10588             if test $wxUSE_RICHTEXT = no; then
10589               result=yes
10590             else
10591               result=no
10592             fi
10593           else
10594             result=$wxUSE_RICHTEXT
10595           fi
10596
10597           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10598 $as_echo "$result" >&6; }
10599
10600
10601           enablestring=
10602           defaultval=$wxUSE_ALL_FEATURES
10603           if test -z "$defaultval"; then
10604               if test x"$enablestring" = xdisable; then
10605                   defaultval=yes
10606               else
10607                   defaultval=no
10608               fi
10609           fi
10610
10611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10612 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10613           # Check whether --enable-postscript was given.
10614 if test "${enable_postscript+set}" = set; then :
10615   enableval=$enable_postscript;
10616                           if test "$enableval" = yes; then
10617                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10618                           else
10619                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10620                           fi
10621
10622 else
10623
10624                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10625
10626 fi
10627
10628
10629           eval "$wx_cv_use_postscript"
10630
10631           if test x"$enablestring" = xdisable; then
10632             if test $wxUSE_POSTSCRIPT = no; then
10633               result=yes
10634             else
10635               result=no
10636             fi
10637           else
10638             result=$wxUSE_POSTSCRIPT
10639           fi
10640
10641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10642 $as_echo "$result" >&6; }
10643
10644
10645           enablestring=
10646           defaultval=$wxUSE_ALL_FEATURES
10647           if test -z "$defaultval"; then
10648               if test x"$enablestring" = xdisable; then
10649                   defaultval=yes
10650               else
10651                   defaultval=no
10652               fi
10653           fi
10654
10655           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10656 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10657           # Check whether --enable-printarch was given.
10658 if test "${enable_printarch+set}" = set; then :
10659   enableval=$enable_printarch;
10660                           if test "$enableval" = yes; then
10661                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10662                           else
10663                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10664                           fi
10665
10666 else
10667
10668                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10669
10670 fi
10671
10672
10673           eval "$wx_cv_use_printarch"
10674
10675           if test x"$enablestring" = xdisable; then
10676             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10677               result=yes
10678             else
10679               result=no
10680             fi
10681           else
10682             result=$wxUSE_PRINTING_ARCHITECTURE
10683           fi
10684
10685           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10686 $as_echo "$result" >&6; }
10687
10688
10689           enablestring=
10690           defaultval=$wxUSE_ALL_FEATURES
10691           if test -z "$defaultval"; then
10692               if test x"$enablestring" = xdisable; then
10693                   defaultval=yes
10694               else
10695                   defaultval=no
10696               fi
10697           fi
10698
10699           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10700 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10701           # Check whether --enable-svg was given.
10702 if test "${enable_svg+set}" = set; then :
10703   enableval=$enable_svg;
10704                           if test "$enableval" = yes; then
10705                             wx_cv_use_svg='wxUSE_SVG=yes'
10706                           else
10707                             wx_cv_use_svg='wxUSE_SVG=no'
10708                           fi
10709
10710 else
10711
10712                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10713
10714 fi
10715
10716
10717           eval "$wx_cv_use_svg"
10718
10719           if test x"$enablestring" = xdisable; then
10720             if test $wxUSE_SVG = no; then
10721               result=yes
10722             else
10723               result=no
10724             fi
10725           else
10726             result=$wxUSE_SVG
10727           fi
10728
10729           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10730 $as_echo "$result" >&6; }
10731
10732
10733           enablestring=
10734           defaultval=$wxUSE_ALL_FEATURES
10735           if test -z "$defaultval"; then
10736               if test x"$enablestring" = xdisable; then
10737                   defaultval=yes
10738               else
10739                   defaultval=no
10740               fi
10741           fi
10742
10743           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10744 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10745           # Check whether --enable-webkit was given.
10746 if test "${enable_webkit+set}" = set; then :
10747   enableval=$enable_webkit;
10748                           if test "$enableval" = yes; then
10749                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10750                           else
10751                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10752                           fi
10753
10754 else
10755
10756                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10757
10758 fi
10759
10760
10761           eval "$wx_cv_use_webkit"
10762
10763           if test x"$enablestring" = xdisable; then
10764             if test $wxUSE_WEBKIT = no; then
10765               result=yes
10766             else
10767               result=no
10768             fi
10769           else
10770             result=$wxUSE_WEBKIT
10771           fi
10772
10773           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10774 $as_echo "$result" >&6; }
10775
10776
10777           enablestring=
10778           defaultval=$wxUSE_ALL_FEATURES
10779           if test -z "$defaultval"; then
10780               if test x"$enablestring" = xdisable; then
10781                   defaultval=yes
10782               else
10783                   defaultval=no
10784               fi
10785           fi
10786
10787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10788 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10789           # Check whether --enable-webview was given.
10790 if test "${enable_webview+set}" = set; then :
10791   enableval=$enable_webview;
10792                           if test "$enableval" = yes; then
10793                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10794                           else
10795                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10796                           fi
10797
10798 else
10799
10800                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10801
10802 fi
10803
10804
10805           eval "$wx_cv_use_webview"
10806
10807           if test x"$enablestring" = xdisable; then
10808             if test $wxUSE_WEBVIEW = no; then
10809               result=yes
10810             else
10811               result=no
10812             fi
10813           else
10814             result=$wxUSE_WEBVIEW
10815           fi
10816
10817           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10818 $as_echo "$result" >&6; }
10819
10820
10821 if test "$wxUSE_MAC" != 1; then
10822
10823           enablestring=
10824           defaultval=$wxUSE_ALL_FEATURES
10825           if test -z "$defaultval"; then
10826               if test x"$enablestring" = xdisable; then
10827                   defaultval=yes
10828               else
10829                   defaultval=no
10830               fi
10831           fi
10832
10833           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10834 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10835           # Check whether --enable-graphics_ctx was given.
10836 if test "${enable_graphics_ctx+set}" = set; then :
10837   enableval=$enable_graphics_ctx;
10838                           if test "$enableval" = yes; then
10839                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10840                           else
10841                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10842                           fi
10843
10844 else
10845
10846                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10847
10848 fi
10849
10850
10851           eval "$wx_cv_use_graphics_ctx"
10852
10853           if test x"$enablestring" = xdisable; then
10854             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10855               result=yes
10856             else
10857               result=no
10858             fi
10859           else
10860             result=$wxUSE_GRAPHICS_CONTEXT
10861           fi
10862
10863           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10864 $as_echo "$result" >&6; }
10865
10866 fi
10867
10868
10869
10870           enablestring=
10871           defaultval=$wxUSE_ALL_FEATURES
10872           if test -z "$defaultval"; then
10873               if test x"$enablestring" = xdisable; then
10874                   defaultval=yes
10875               else
10876                   defaultval=no
10877               fi
10878           fi
10879
10880           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10881 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10882           # Check whether --enable-clipboard was given.
10883 if test "${enable_clipboard+set}" = set; then :
10884   enableval=$enable_clipboard;
10885                           if test "$enableval" = yes; then
10886                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10887                           else
10888                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10889                           fi
10890
10891 else
10892
10893                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10894
10895 fi
10896
10897
10898           eval "$wx_cv_use_clipboard"
10899
10900           if test x"$enablestring" = xdisable; then
10901             if test $wxUSE_CLIPBOARD = no; then
10902               result=yes
10903             else
10904               result=no
10905             fi
10906           else
10907             result=$wxUSE_CLIPBOARD
10908           fi
10909
10910           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10911 $as_echo "$result" >&6; }
10912
10913
10914           enablestring=
10915           defaultval=$wxUSE_ALL_FEATURES
10916           if test -z "$defaultval"; then
10917               if test x"$enablestring" = xdisable; then
10918                   defaultval=yes
10919               else
10920                   defaultval=no
10921               fi
10922           fi
10923
10924           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10925 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10926           # Check whether --enable-dnd was given.
10927 if test "${enable_dnd+set}" = set; then :
10928   enableval=$enable_dnd;
10929                           if test "$enableval" = yes; then
10930                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10931                           else
10932                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10933                           fi
10934
10935 else
10936
10937                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10938
10939 fi
10940
10941
10942           eval "$wx_cv_use_dnd"
10943
10944           if test x"$enablestring" = xdisable; then
10945             if test $wxUSE_DRAG_AND_DROP = no; then
10946               result=yes
10947             else
10948               result=no
10949             fi
10950           else
10951             result=$wxUSE_DRAG_AND_DROP
10952           fi
10953
10954           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10955 $as_echo "$result" >&6; }
10956
10957
10958
10959 DEFAULT_wxUSE_CONTROLS=none
10960
10961           enablestring=disable
10962           defaultval=
10963           if test -z "$defaultval"; then
10964               if test x"$enablestring" = xdisable; then
10965                   defaultval=yes
10966               else
10967                   defaultval=no
10968               fi
10969           fi
10970
10971           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10972 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10973           # Check whether --enable-controls was given.
10974 if test "${enable_controls+set}" = set; then :
10975   enableval=$enable_controls;
10976                           if test "$enableval" = yes; then
10977                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
10978                           else
10979                             wx_cv_use_controls='wxUSE_CONTROLS=no'
10980                           fi
10981
10982 else
10983
10984                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10985
10986 fi
10987
10988
10989           eval "$wx_cv_use_controls"
10990
10991           if test x"$enablestring" = xdisable; then
10992             if test $wxUSE_CONTROLS = no; then
10993               result=yes
10994             else
10995               result=no
10996             fi
10997           else
10998             result=$wxUSE_CONTROLS
10999           fi
11000
11001           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11002 $as_echo "$result" >&6; }
11003
11004
11005 if test "$wxUSE_CONTROLS" = "no"; then
11006     DEFAULT_wxUSE_ACCEL=no
11007     DEFAULT_wxUSE_ANIMATIONCTRL=no
11008     DEFAULT_wxUSE_BANNERWINDOW=no
11009     DEFAULT_wxUSE_BMPBUTTON=no
11010     DEFAULT_wxUSE_BUTTON=no
11011     DEFAULT_wxUSE_CALCTRL=no
11012     DEFAULT_wxUSE_CARET=no
11013     DEFAULT_wxUSE_CHECKBOX=no
11014     DEFAULT_wxUSE_CHECKLISTBOX=no
11015     DEFAULT_wxUSE_CHOICE=no
11016     DEFAULT_wxUSE_CHOICEBOOK=no
11017     DEFAULT_wxUSE_COLLPANE=no
11018     DEFAULT_wxUSE_COLOURPICKERCTRL=no
11019     DEFAULT_wxUSE_COMBOBOX=no
11020     DEFAULT_wxUSE_COMBOBOX=no
11021     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11022     DEFAULT_wxUSE_DATAVIEWCTRL=no
11023     DEFAULT_wxUSE_DATEPICKCTRL=no
11024     DEFAULT_wxUSE_DETECT_SM=no
11025     DEFAULT_wxUSE_DIRPICKERCTRL=no
11026     DEFAULT_wxUSE_DISPLAY=no
11027     DEFAULT_wxUSE_FILECTRL=no
11028     DEFAULT_wxUSE_FILEPICKERCTRL=no
11029     DEFAULT_wxUSE_FONTPICKERCTRL=no
11030     DEFAULT_wxUSE_GAUGE=no
11031     DEFAULT_wxUSE_GRID=no
11032     DEFAULT_wxUSE_HEADERCTRL=no
11033     DEFAULT_wxUSE_HYPERLINKCTRL=no
11034     DEFAULT_wxUSE_IMAGLIST=no
11035     DEFAULT_wxUSE_LISTBOOK=no
11036     DEFAULT_wxUSE_LISTBOX=no
11037     DEFAULT_wxUSE_LISTCTRL=no
11038     DEFAULT_wxUSE_MARKUP=no
11039     DEFAULT_wxUSE_NOTEBOOK=no
11040     DEFAULT_wxUSE_POPUPWIN=no
11041     DEFAULT_wxUSE_RADIOBOX=no
11042     DEFAULT_wxUSE_RADIOBTN=no
11043     DEFAULT_wxUSE_RICHMSGDLG=no
11044     DEFAULT_wxUSE_RICHTOOLTIP=no
11045     DEFAULT_wxUSE_REARRANGECTRL=no
11046     DEFAULT_wxUSE_SASH=no
11047     DEFAULT_wxUSE_SCROLLBAR=no
11048     DEFAULT_wxUSE_SEARCHCTRL=no
11049     DEFAULT_wxUSE_SLIDER=no
11050     DEFAULT_wxUSE_SPINBTN=no
11051     DEFAULT_wxUSE_SPINCTRL=no
11052     DEFAULT_wxUSE_SPLITTER=no
11053     DEFAULT_wxUSE_STATBMP=no
11054     DEFAULT_wxUSE_STATBOX=no
11055     DEFAULT_wxUSE_STATLINE=no
11056     DEFAULT_wxUSE_STATUSBAR=no
11057     DEFAULT_wxUSE_TIMEPICKCTRL=no
11058     DEFAULT_wxUSE_TIPWINDOW=no
11059     DEFAULT_wxUSE_TOGGLEBTN=no
11060     DEFAULT_wxUSE_TOOLBAR=no
11061     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11062     DEFAULT_wxUSE_TOOLBOOK=no
11063     DEFAULT_wxUSE_TOOLTIPS=no
11064     DEFAULT_wxUSE_TREEBOOK=no
11065     DEFAULT_wxUSE_TREECTRL=no
11066     DEFAULT_wxUSE_TREELISTCTRL=no
11067 fi
11068
11069
11070           enablestring=
11071           defaultval=$wxUSE_ALL_FEATURES
11072           if test -z "$defaultval"; then
11073               if test x"$enablestring" = xdisable; then
11074                   defaultval=yes
11075               else
11076                   defaultval=no
11077               fi
11078           fi
11079
11080           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11081 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11082           # Check whether --enable-markup was given.
11083 if test "${enable_markup+set}" = set; then :
11084   enableval=$enable_markup;
11085                           if test "$enableval" = yes; then
11086                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11087                           else
11088                             wx_cv_use_markup='wxUSE_MARKUP=no'
11089                           fi
11090
11091 else
11092
11093                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11094
11095 fi
11096
11097
11098           eval "$wx_cv_use_markup"
11099
11100           if test x"$enablestring" = xdisable; then
11101             if test $wxUSE_MARKUP = no; then
11102               result=yes
11103             else
11104               result=no
11105             fi
11106           else
11107             result=$wxUSE_MARKUP
11108           fi
11109
11110           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11111 $as_echo "$result" >&6; }
11112
11113
11114
11115           enablestring=
11116           defaultval=$wxUSE_ALL_FEATURES
11117           if test -z "$defaultval"; then
11118               if test x"$enablestring" = xdisable; then
11119                   defaultval=yes
11120               else
11121                   defaultval=no
11122               fi
11123           fi
11124
11125           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11126 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11127           # Check whether --enable-accel was given.
11128 if test "${enable_accel+set}" = set; then :
11129   enableval=$enable_accel;
11130                           if test "$enableval" = yes; then
11131                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11132                           else
11133                             wx_cv_use_accel='wxUSE_ACCEL=no'
11134                           fi
11135
11136 else
11137
11138                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11139
11140 fi
11141
11142
11143           eval "$wx_cv_use_accel"
11144
11145           if test x"$enablestring" = xdisable; then
11146             if test $wxUSE_ACCEL = no; then
11147               result=yes
11148             else
11149               result=no
11150             fi
11151           else
11152             result=$wxUSE_ACCEL
11153           fi
11154
11155           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11156 $as_echo "$result" >&6; }
11157
11158
11159           enablestring=
11160           defaultval=$wxUSE_ALL_FEATURES
11161           if test -z "$defaultval"; then
11162               if test x"$enablestring" = xdisable; then
11163                   defaultval=yes
11164               else
11165                   defaultval=no
11166               fi
11167           fi
11168
11169           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11170 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11171           # Check whether --enable-animatectrl was given.
11172 if test "${enable_animatectrl+set}" = set; then :
11173   enableval=$enable_animatectrl;
11174                           if test "$enableval" = yes; then
11175                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11176                           else
11177                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11178                           fi
11179
11180 else
11181
11182                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11183
11184 fi
11185
11186
11187           eval "$wx_cv_use_animatectrl"
11188
11189           if test x"$enablestring" = xdisable; then
11190             if test $wxUSE_ANIMATIONCTRL = no; then
11191               result=yes
11192             else
11193               result=no
11194             fi
11195           else
11196             result=$wxUSE_ANIMATIONCTRL
11197           fi
11198
11199           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11200 $as_echo "$result" >&6; }
11201
11202
11203           enablestring=
11204           defaultval=$wxUSE_ALL_FEATURES
11205           if test -z "$defaultval"; then
11206               if test x"$enablestring" = xdisable; then
11207                   defaultval=yes
11208               else
11209                   defaultval=no
11210               fi
11211           fi
11212
11213           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11214 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11215           # Check whether --enable-bannerwindow was given.
11216 if test "${enable_bannerwindow+set}" = set; then :
11217   enableval=$enable_bannerwindow;
11218                           if test "$enableval" = yes; then
11219                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11220                           else
11221                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11222                           fi
11223
11224 else
11225
11226                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11227
11228 fi
11229
11230
11231           eval "$wx_cv_use_bannerwindow"
11232
11233           if test x"$enablestring" = xdisable; then
11234             if test $wxUSE_BANNERWINDOW = no; then
11235               result=yes
11236             else
11237               result=no
11238             fi
11239           else
11240             result=$wxUSE_BANNERWINDOW
11241           fi
11242
11243           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11244 $as_echo "$result" >&6; }
11245
11246
11247           enablestring=
11248           defaultval=$wxUSE_ALL_FEATURES
11249           if test -z "$defaultval"; then
11250               if test x"$enablestring" = xdisable; then
11251                   defaultval=yes
11252               else
11253                   defaultval=no
11254               fi
11255           fi
11256
11257           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11258 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11259           # Check whether --enable-artstd was given.
11260 if test "${enable_artstd+set}" = set; then :
11261   enableval=$enable_artstd;
11262                           if test "$enableval" = yes; then
11263                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11264                           else
11265                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11266                           fi
11267
11268 else
11269
11270                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11271
11272 fi
11273
11274
11275           eval "$wx_cv_use_artstd"
11276
11277           if test x"$enablestring" = xdisable; then
11278             if test $wxUSE_ARTPROVIDER_STD = no; then
11279               result=yes
11280             else
11281               result=no
11282             fi
11283           else
11284             result=$wxUSE_ARTPROVIDER_STD
11285           fi
11286
11287           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11288 $as_echo "$result" >&6; }
11289
11290
11291           enablestring=
11292           defaultval=$wxUSE_ALL_FEATURES
11293           if test -z "$defaultval"; then
11294               if test x"$enablestring" = xdisable; then
11295                   defaultval=yes
11296               else
11297                   defaultval=no
11298               fi
11299           fi
11300
11301           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11302 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11303           # Check whether --enable-arttango was given.
11304 if test "${enable_arttango+set}" = set; then :
11305   enableval=$enable_arttango;
11306                           if test "$enableval" = yes; then
11307                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11308                           else
11309                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11310                           fi
11311
11312 else
11313
11314                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11315
11316 fi
11317
11318
11319           eval "$wx_cv_use_arttango"
11320
11321           if test x"$enablestring" = xdisable; then
11322             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11323               result=yes
11324             else
11325               result=no
11326             fi
11327           else
11328             result=$wxUSE_ARTPROVIDER_TANGO
11329           fi
11330
11331           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11332 $as_echo "$result" >&6; }
11333
11334
11335           enablestring=
11336           defaultval=$wxUSE_ALL_FEATURES
11337           if test -z "$defaultval"; then
11338               if test x"$enablestring" = xdisable; then
11339                   defaultval=yes
11340               else
11341                   defaultval=no
11342               fi
11343           fi
11344
11345           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11346 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11347           # Check whether --enable-bmpbutton was given.
11348 if test "${enable_bmpbutton+set}" = set; then :
11349   enableval=$enable_bmpbutton;
11350                           if test "$enableval" = yes; then
11351                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11352                           else
11353                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11354                           fi
11355
11356 else
11357
11358                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11359
11360 fi
11361
11362
11363           eval "$wx_cv_use_bmpbutton"
11364
11365           if test x"$enablestring" = xdisable; then
11366             if test $wxUSE_BMPBUTTON = no; then
11367               result=yes
11368             else
11369               result=no
11370             fi
11371           else
11372             result=$wxUSE_BMPBUTTON
11373           fi
11374
11375           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11376 $as_echo "$result" >&6; }
11377
11378
11379           enablestring=
11380           defaultval=$wxUSE_ALL_FEATURES
11381           if test -z "$defaultval"; then
11382               if test x"$enablestring" = xdisable; then
11383                   defaultval=yes
11384               else
11385                   defaultval=no
11386               fi
11387           fi
11388
11389           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11390 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11391           # Check whether --enable-bmpcombobox was given.
11392 if test "${enable_bmpcombobox+set}" = set; then :
11393   enableval=$enable_bmpcombobox;
11394                           if test "$enableval" = yes; then
11395                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11396                           else
11397                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11398                           fi
11399
11400 else
11401
11402                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11403
11404 fi
11405
11406
11407           eval "$wx_cv_use_bmpcombobox"
11408
11409           if test x"$enablestring" = xdisable; then
11410             if test $wxUSE_BITMAPCOMBOBOX = no; then
11411               result=yes
11412             else
11413               result=no
11414             fi
11415           else
11416             result=$wxUSE_BITMAPCOMBOBOX
11417           fi
11418
11419           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11420 $as_echo "$result" >&6; }
11421
11422
11423           enablestring=
11424           defaultval=$wxUSE_ALL_FEATURES
11425           if test -z "$defaultval"; then
11426               if test x"$enablestring" = xdisable; then
11427                   defaultval=yes
11428               else
11429                   defaultval=no
11430               fi
11431           fi
11432
11433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11434 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11435           # Check whether --enable-button was given.
11436 if test "${enable_button+set}" = set; then :
11437   enableval=$enable_button;
11438                           if test "$enableval" = yes; then
11439                             wx_cv_use_button='wxUSE_BUTTON=yes'
11440                           else
11441                             wx_cv_use_button='wxUSE_BUTTON=no'
11442                           fi
11443
11444 else
11445
11446                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11447
11448 fi
11449
11450
11451           eval "$wx_cv_use_button"
11452
11453           if test x"$enablestring" = xdisable; then
11454             if test $wxUSE_BUTTON = no; then
11455               result=yes
11456             else
11457               result=no
11458             fi
11459           else
11460             result=$wxUSE_BUTTON
11461           fi
11462
11463           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11464 $as_echo "$result" >&6; }
11465
11466
11467           enablestring=
11468           defaultval=$wxUSE_ALL_FEATURES
11469           if test -z "$defaultval"; then
11470               if test x"$enablestring" = xdisable; then
11471                   defaultval=yes
11472               else
11473                   defaultval=no
11474               fi
11475           fi
11476
11477           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11478 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11479           # Check whether --enable-calendar was given.
11480 if test "${enable_calendar+set}" = set; then :
11481   enableval=$enable_calendar;
11482                           if test "$enableval" = yes; then
11483                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11484                           else
11485                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11486                           fi
11487
11488 else
11489
11490                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11491
11492 fi
11493
11494
11495           eval "$wx_cv_use_calendar"
11496
11497           if test x"$enablestring" = xdisable; then
11498             if test $wxUSE_CALCTRL = no; then
11499               result=yes
11500             else
11501               result=no
11502             fi
11503           else
11504             result=$wxUSE_CALCTRL
11505           fi
11506
11507           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11508 $as_echo "$result" >&6; }
11509
11510
11511           enablestring=
11512           defaultval=$wxUSE_ALL_FEATURES
11513           if test -z "$defaultval"; then
11514               if test x"$enablestring" = xdisable; then
11515                   defaultval=yes
11516               else
11517                   defaultval=no
11518               fi
11519           fi
11520
11521           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11522 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11523           # Check whether --enable-caret was given.
11524 if test "${enable_caret+set}" = set; then :
11525   enableval=$enable_caret;
11526                           if test "$enableval" = yes; then
11527                             wx_cv_use_caret='wxUSE_CARET=yes'
11528                           else
11529                             wx_cv_use_caret='wxUSE_CARET=no'
11530                           fi
11531
11532 else
11533
11534                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11535
11536 fi
11537
11538
11539           eval "$wx_cv_use_caret"
11540
11541           if test x"$enablestring" = xdisable; then
11542             if test $wxUSE_CARET = no; then
11543               result=yes
11544             else
11545               result=no
11546             fi
11547           else
11548             result=$wxUSE_CARET
11549           fi
11550
11551           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11552 $as_echo "$result" >&6; }
11553
11554
11555           enablestring=
11556           defaultval=$wxUSE_ALL_FEATURES
11557           if test -z "$defaultval"; then
11558               if test x"$enablestring" = xdisable; then
11559                   defaultval=yes
11560               else
11561                   defaultval=no
11562               fi
11563           fi
11564
11565           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11566 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11567           # Check whether --enable-checkbox was given.
11568 if test "${enable_checkbox+set}" = set; then :
11569   enableval=$enable_checkbox;
11570                           if test "$enableval" = yes; then
11571                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11572                           else
11573                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11574                           fi
11575
11576 else
11577
11578                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11579
11580 fi
11581
11582
11583           eval "$wx_cv_use_checkbox"
11584
11585           if test x"$enablestring" = xdisable; then
11586             if test $wxUSE_CHECKBOX = no; then
11587               result=yes
11588             else
11589               result=no
11590             fi
11591           else
11592             result=$wxUSE_CHECKBOX
11593           fi
11594
11595           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11596 $as_echo "$result" >&6; }
11597
11598
11599           enablestring=
11600           defaultval=$wxUSE_ALL_FEATURES
11601           if test -z "$defaultval"; then
11602               if test x"$enablestring" = xdisable; then
11603                   defaultval=yes
11604               else
11605                   defaultval=no
11606               fi
11607           fi
11608
11609           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11610 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11611           # Check whether --enable-checklst was given.
11612 if test "${enable_checklst+set}" = set; then :
11613   enableval=$enable_checklst;
11614                           if test "$enableval" = yes; then
11615                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11616                           else
11617                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11618                           fi
11619
11620 else
11621
11622                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11623
11624 fi
11625
11626
11627           eval "$wx_cv_use_checklst"
11628
11629           if test x"$enablestring" = xdisable; then
11630             if test $wxUSE_CHECKLST = no; then
11631               result=yes
11632             else
11633               result=no
11634             fi
11635           else
11636             result=$wxUSE_CHECKLST
11637           fi
11638
11639           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11640 $as_echo "$result" >&6; }
11641
11642
11643           enablestring=
11644           defaultval=$wxUSE_ALL_FEATURES
11645           if test -z "$defaultval"; then
11646               if test x"$enablestring" = xdisable; then
11647                   defaultval=yes
11648               else
11649                   defaultval=no
11650               fi
11651           fi
11652
11653           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11654 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11655           # Check whether --enable-choice was given.
11656 if test "${enable_choice+set}" = set; then :
11657   enableval=$enable_choice;
11658                           if test "$enableval" = yes; then
11659                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11660                           else
11661                             wx_cv_use_choice='wxUSE_CHOICE=no'
11662                           fi
11663
11664 else
11665
11666                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11667
11668 fi
11669
11670
11671           eval "$wx_cv_use_choice"
11672
11673           if test x"$enablestring" = xdisable; then
11674             if test $wxUSE_CHOICE = no; then
11675               result=yes
11676             else
11677               result=no
11678             fi
11679           else
11680             result=$wxUSE_CHOICE
11681           fi
11682
11683           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11684 $as_echo "$result" >&6; }
11685
11686
11687           enablestring=
11688           defaultval=$wxUSE_ALL_FEATURES
11689           if test -z "$defaultval"; then
11690               if test x"$enablestring" = xdisable; then
11691                   defaultval=yes
11692               else
11693                   defaultval=no
11694               fi
11695           fi
11696
11697           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11698 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11699           # Check whether --enable-choicebook was given.
11700 if test "${enable_choicebook+set}" = set; then :
11701   enableval=$enable_choicebook;
11702                           if test "$enableval" = yes; then
11703                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11704                           else
11705                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11706                           fi
11707
11708 else
11709
11710                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11711
11712 fi
11713
11714
11715           eval "$wx_cv_use_choicebook"
11716
11717           if test x"$enablestring" = xdisable; then
11718             if test $wxUSE_CHOICEBOOK = no; then
11719               result=yes
11720             else
11721               result=no
11722             fi
11723           else
11724             result=$wxUSE_CHOICEBOOK
11725           fi
11726
11727           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11728 $as_echo "$result" >&6; }
11729
11730
11731           enablestring=
11732           defaultval=$wxUSE_ALL_FEATURES
11733           if test -z "$defaultval"; then
11734               if test x"$enablestring" = xdisable; then
11735                   defaultval=yes
11736               else
11737                   defaultval=no
11738               fi
11739           fi
11740
11741           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11742 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11743           # Check whether --enable-collpane was given.
11744 if test "${enable_collpane+set}" = set; then :
11745   enableval=$enable_collpane;
11746                           if test "$enableval" = yes; then
11747                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11748                           else
11749                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11750                           fi
11751
11752 else
11753
11754                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11755
11756 fi
11757
11758
11759           eval "$wx_cv_use_collpane"
11760
11761           if test x"$enablestring" = xdisable; then
11762             if test $wxUSE_COLLPANE = no; then
11763               result=yes
11764             else
11765               result=no
11766             fi
11767           else
11768             result=$wxUSE_COLLPANE
11769           fi
11770
11771           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11772 $as_echo "$result" >&6; }
11773
11774
11775           enablestring=
11776           defaultval=$wxUSE_ALL_FEATURES
11777           if test -z "$defaultval"; then
11778               if test x"$enablestring" = xdisable; then
11779                   defaultval=yes
11780               else
11781                   defaultval=no
11782               fi
11783           fi
11784
11785           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11786 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11787           # Check whether --enable-colourpicker was given.
11788 if test "${enable_colourpicker+set}" = set; then :
11789   enableval=$enable_colourpicker;
11790                           if test "$enableval" = yes; then
11791                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11792                           else
11793                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11794                           fi
11795
11796 else
11797
11798                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11799
11800 fi
11801
11802
11803           eval "$wx_cv_use_colourpicker"
11804
11805           if test x"$enablestring" = xdisable; then
11806             if test $wxUSE_COLOURPICKERCTRL = no; then
11807               result=yes
11808             else
11809               result=no
11810             fi
11811           else
11812             result=$wxUSE_COLOURPICKERCTRL
11813           fi
11814
11815           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11816 $as_echo "$result" >&6; }
11817
11818
11819           enablestring=
11820           defaultval=$wxUSE_ALL_FEATURES
11821           if test -z "$defaultval"; then
11822               if test x"$enablestring" = xdisable; then
11823                   defaultval=yes
11824               else
11825                   defaultval=no
11826               fi
11827           fi
11828
11829           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11830 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11831           # Check whether --enable-combobox was given.
11832 if test "${enable_combobox+set}" = set; then :
11833   enableval=$enable_combobox;
11834                           if test "$enableval" = yes; then
11835                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11836                           else
11837                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11838                           fi
11839
11840 else
11841
11842                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11843
11844 fi
11845
11846
11847           eval "$wx_cv_use_combobox"
11848
11849           if test x"$enablestring" = xdisable; then
11850             if test $wxUSE_COMBOBOX = no; then
11851               result=yes
11852             else
11853               result=no
11854             fi
11855           else
11856             result=$wxUSE_COMBOBOX
11857           fi
11858
11859           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11860 $as_echo "$result" >&6; }
11861
11862
11863           enablestring=
11864           defaultval=$wxUSE_ALL_FEATURES
11865           if test -z "$defaultval"; then
11866               if test x"$enablestring" = xdisable; then
11867                   defaultval=yes
11868               else
11869                   defaultval=no
11870               fi
11871           fi
11872
11873           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11874 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11875           # Check whether --enable-comboctrl was given.
11876 if test "${enable_comboctrl+set}" = set; then :
11877   enableval=$enable_comboctrl;
11878                           if test "$enableval" = yes; then
11879                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11880                           else
11881                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11882                           fi
11883
11884 else
11885
11886                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11887
11888 fi
11889
11890
11891           eval "$wx_cv_use_comboctrl"
11892
11893           if test x"$enablestring" = xdisable; then
11894             if test $wxUSE_COMBOCTRL = no; then
11895               result=yes
11896             else
11897               result=no
11898             fi
11899           else
11900             result=$wxUSE_COMBOCTRL
11901           fi
11902
11903           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11904 $as_echo "$result" >&6; }
11905
11906
11907           enablestring=
11908           defaultval=$wxUSE_ALL_FEATURES
11909           if test -z "$defaultval"; then
11910               if test x"$enablestring" = xdisable; then
11911                   defaultval=yes
11912               else
11913                   defaultval=no
11914               fi
11915           fi
11916
11917           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11918 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11919           # Check whether --enable-commandlinkbutton was given.
11920 if test "${enable_commandlinkbutton+set}" = set; then :
11921   enableval=$enable_commandlinkbutton;
11922                           if test "$enableval" = yes; then
11923                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11924                           else
11925                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11926                           fi
11927
11928 else
11929
11930                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11931
11932 fi
11933
11934
11935           eval "$wx_cv_use_commandlinkbutton"
11936
11937           if test x"$enablestring" = xdisable; then
11938             if test $wxUSE_COMMANDLINKBUTTON = no; then
11939               result=yes
11940             else
11941               result=no
11942             fi
11943           else
11944             result=$wxUSE_COMMANDLINKBUTTON
11945           fi
11946
11947           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11948 $as_echo "$result" >&6; }
11949
11950
11951           enablestring=
11952           defaultval=$wxUSE_ALL_FEATURES
11953           if test -z "$defaultval"; then
11954               if test x"$enablestring" = xdisable; then
11955                   defaultval=yes
11956               else
11957                   defaultval=no
11958               fi
11959           fi
11960
11961           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11962 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11963           # Check whether --enable-dataviewctrl was given.
11964 if test "${enable_dataviewctrl+set}" = set; then :
11965   enableval=$enable_dataviewctrl;
11966                           if test "$enableval" = yes; then
11967                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11968                           else
11969                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11970                           fi
11971
11972 else
11973
11974                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11975
11976 fi
11977
11978
11979           eval "$wx_cv_use_dataviewctrl"
11980
11981           if test x"$enablestring" = xdisable; then
11982             if test $wxUSE_DATAVIEWCTRL = no; then
11983               result=yes
11984             else
11985               result=no
11986             fi
11987           else
11988             result=$wxUSE_DATAVIEWCTRL
11989           fi
11990
11991           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11992 $as_echo "$result" >&6; }
11993
11994
11995           enablestring=
11996           defaultval=$wxUSE_ALL_FEATURES
11997           if test -z "$defaultval"; then
11998               if test x"$enablestring" = xdisable; then
11999                   defaultval=yes
12000               else
12001                   defaultval=no
12002               fi
12003           fi
12004
12005           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12006 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12007           # Check whether --enable-datepick was given.
12008 if test "${enable_datepick+set}" = set; then :
12009   enableval=$enable_datepick;
12010                           if test "$enableval" = yes; then
12011                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12012                           else
12013                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12014                           fi
12015
12016 else
12017
12018                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12019
12020 fi
12021
12022
12023           eval "$wx_cv_use_datepick"
12024
12025           if test x"$enablestring" = xdisable; then
12026             if test $wxUSE_DATEPICKCTRL = no; then
12027               result=yes
12028             else
12029               result=no
12030             fi
12031           else
12032             result=$wxUSE_DATEPICKCTRL
12033           fi
12034
12035           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12036 $as_echo "$result" >&6; }
12037
12038
12039           enablestring=
12040           defaultval=$wxUSE_ALL_FEATURES
12041           if test -z "$defaultval"; then
12042               if test x"$enablestring" = xdisable; then
12043                   defaultval=yes
12044               else
12045                   defaultval=no
12046               fi
12047           fi
12048
12049           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12050 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12051           # Check whether --enable-detect_sm was given.
12052 if test "${enable_detect_sm+set}" = set; then :
12053   enableval=$enable_detect_sm;
12054                           if test "$enableval" = yes; then
12055                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12056                           else
12057                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12058                           fi
12059
12060 else
12061
12062                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12063
12064 fi
12065
12066
12067           eval "$wx_cv_use_detect_sm"
12068
12069           if test x"$enablestring" = xdisable; then
12070             if test $wxUSE_DETECT_SM = no; then
12071               result=yes
12072             else
12073               result=no
12074             fi
12075           else
12076             result=$wxUSE_DETECT_SM
12077           fi
12078
12079           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12080 $as_echo "$result" >&6; }
12081
12082
12083           enablestring=
12084           defaultval=$wxUSE_ALL_FEATURES
12085           if test -z "$defaultval"; then
12086               if test x"$enablestring" = xdisable; then
12087                   defaultval=yes
12088               else
12089                   defaultval=no
12090               fi
12091           fi
12092
12093           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12094 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12095           # Check whether --enable-dirpicker was given.
12096 if test "${enable_dirpicker+set}" = set; then :
12097   enableval=$enable_dirpicker;
12098                           if test "$enableval" = yes; then
12099                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12100                           else
12101                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12102                           fi
12103
12104 else
12105
12106                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12107
12108 fi
12109
12110
12111           eval "$wx_cv_use_dirpicker"
12112
12113           if test x"$enablestring" = xdisable; then
12114             if test $wxUSE_DIRPICKERCTRL = no; then
12115               result=yes
12116             else
12117               result=no
12118             fi
12119           else
12120             result=$wxUSE_DIRPICKERCTRL
12121           fi
12122
12123           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12124 $as_echo "$result" >&6; }
12125
12126
12127           enablestring=
12128           defaultval=$wxUSE_ALL_FEATURES
12129           if test -z "$defaultval"; then
12130               if test x"$enablestring" = xdisable; then
12131                   defaultval=yes
12132               else
12133                   defaultval=no
12134               fi
12135           fi
12136
12137           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12138 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12139           # Check whether --enable-display was given.
12140 if test "${enable_display+set}" = set; then :
12141   enableval=$enable_display;
12142                           if test "$enableval" = yes; then
12143                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12144                           else
12145                             wx_cv_use_display='wxUSE_DISPLAY=no'
12146                           fi
12147
12148 else
12149
12150                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12151
12152 fi
12153
12154
12155           eval "$wx_cv_use_display"
12156
12157           if test x"$enablestring" = xdisable; then
12158             if test $wxUSE_DISPLAY = no; then
12159               result=yes
12160             else
12161               result=no
12162             fi
12163           else
12164             result=$wxUSE_DISPLAY
12165           fi
12166
12167           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12168 $as_echo "$result" >&6; }
12169
12170
12171           enablestring=
12172           defaultval=$wxUSE_ALL_FEATURES
12173           if test -z "$defaultval"; then
12174               if test x"$enablestring" = xdisable; then
12175                   defaultval=yes
12176               else
12177                   defaultval=no
12178               fi
12179           fi
12180
12181           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12182 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12183           # Check whether --enable-editablebox was given.
12184 if test "${enable_editablebox+set}" = set; then :
12185   enableval=$enable_editablebox;
12186                           if test "$enableval" = yes; then
12187                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12188                           else
12189                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12190                           fi
12191
12192 else
12193
12194                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12195
12196 fi
12197
12198
12199           eval "$wx_cv_use_editablebox"
12200
12201           if test x"$enablestring" = xdisable; then
12202             if test $wxUSE_EDITABLELISTBOX = no; then
12203               result=yes
12204             else
12205               result=no
12206             fi
12207           else
12208             result=$wxUSE_EDITABLELISTBOX
12209           fi
12210
12211           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12212 $as_echo "$result" >&6; }
12213
12214
12215           enablestring=
12216           defaultval=$wxUSE_ALL_FEATURES
12217           if test -z "$defaultval"; then
12218               if test x"$enablestring" = xdisable; then
12219                   defaultval=yes
12220               else
12221                   defaultval=no
12222               fi
12223           fi
12224
12225           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12226 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12227           # Check whether --enable-filectrl was given.
12228 if test "${enable_filectrl+set}" = set; then :
12229   enableval=$enable_filectrl;
12230                           if test "$enableval" = yes; then
12231                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12232                           else
12233                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12234                           fi
12235
12236 else
12237
12238                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12239
12240 fi
12241
12242
12243           eval "$wx_cv_use_filectrl"
12244
12245           if test x"$enablestring" = xdisable; then
12246             if test $wxUSE_FILECTRL = no; then
12247               result=yes
12248             else
12249               result=no
12250             fi
12251           else
12252             result=$wxUSE_FILECTRL
12253           fi
12254
12255           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12256 $as_echo "$result" >&6; }
12257
12258
12259           enablestring=
12260           defaultval=$wxUSE_ALL_FEATURES
12261           if test -z "$defaultval"; then
12262               if test x"$enablestring" = xdisable; then
12263                   defaultval=yes
12264               else
12265                   defaultval=no
12266               fi
12267           fi
12268
12269           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12270 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12271           # Check whether --enable-filepicker was given.
12272 if test "${enable_filepicker+set}" = set; then :
12273   enableval=$enable_filepicker;
12274                           if test "$enableval" = yes; then
12275                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12276                           else
12277                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12278                           fi
12279
12280 else
12281
12282                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12283
12284 fi
12285
12286
12287           eval "$wx_cv_use_filepicker"
12288
12289           if test x"$enablestring" = xdisable; then
12290             if test $wxUSE_FILEPICKERCTRL = no; then
12291               result=yes
12292             else
12293               result=no
12294             fi
12295           else
12296             result=$wxUSE_FILEPICKERCTRL
12297           fi
12298
12299           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12300 $as_echo "$result" >&6; }
12301
12302
12303           enablestring=
12304           defaultval=$wxUSE_ALL_FEATURES
12305           if test -z "$defaultval"; then
12306               if test x"$enablestring" = xdisable; then
12307                   defaultval=yes
12308               else
12309                   defaultval=no
12310               fi
12311           fi
12312
12313           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12314 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12315           # Check whether --enable-fontpicker was given.
12316 if test "${enable_fontpicker+set}" = set; then :
12317   enableval=$enable_fontpicker;
12318                           if test "$enableval" = yes; then
12319                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12320                           else
12321                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12322                           fi
12323
12324 else
12325
12326                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12327
12328 fi
12329
12330
12331           eval "$wx_cv_use_fontpicker"
12332
12333           if test x"$enablestring" = xdisable; then
12334             if test $wxUSE_FONTPICKERCTRL = no; then
12335               result=yes
12336             else
12337               result=no
12338             fi
12339           else
12340             result=$wxUSE_FONTPICKERCTRL
12341           fi
12342
12343           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12344 $as_echo "$result" >&6; }
12345
12346
12347           enablestring=
12348           defaultval=$wxUSE_ALL_FEATURES
12349           if test -z "$defaultval"; then
12350               if test x"$enablestring" = xdisable; then
12351                   defaultval=yes
12352               else
12353                   defaultval=no
12354               fi
12355           fi
12356
12357           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12358 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12359           # Check whether --enable-gauge was given.
12360 if test "${enable_gauge+set}" = set; then :
12361   enableval=$enable_gauge;
12362                           if test "$enableval" = yes; then
12363                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12364                           else
12365                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12366                           fi
12367
12368 else
12369
12370                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12371
12372 fi
12373
12374
12375           eval "$wx_cv_use_gauge"
12376
12377           if test x"$enablestring" = xdisable; then
12378             if test $wxUSE_GAUGE = no; then
12379               result=yes
12380             else
12381               result=no
12382             fi
12383           else
12384             result=$wxUSE_GAUGE
12385           fi
12386
12387           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12388 $as_echo "$result" >&6; }
12389
12390
12391           enablestring=
12392           defaultval=$wxUSE_ALL_FEATURES
12393           if test -z "$defaultval"; then
12394               if test x"$enablestring" = xdisable; then
12395                   defaultval=yes
12396               else
12397                   defaultval=no
12398               fi
12399           fi
12400
12401           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12402 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12403           # Check whether --enable-grid was given.
12404 if test "${enable_grid+set}" = set; then :
12405   enableval=$enable_grid;
12406                           if test "$enableval" = yes; then
12407                             wx_cv_use_grid='wxUSE_GRID=yes'
12408                           else
12409                             wx_cv_use_grid='wxUSE_GRID=no'
12410                           fi
12411
12412 else
12413
12414                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12415
12416 fi
12417
12418
12419           eval "$wx_cv_use_grid"
12420
12421           if test x"$enablestring" = xdisable; then
12422             if test $wxUSE_GRID = no; then
12423               result=yes
12424             else
12425               result=no
12426             fi
12427           else
12428             result=$wxUSE_GRID
12429           fi
12430
12431           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12432 $as_echo "$result" >&6; }
12433
12434
12435           enablestring=
12436           defaultval=$wxUSE_ALL_FEATURES
12437           if test -z "$defaultval"; then
12438               if test x"$enablestring" = xdisable; then
12439                   defaultval=yes
12440               else
12441                   defaultval=no
12442               fi
12443           fi
12444
12445           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12446 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12447           # Check whether --enable-headerctrl was given.
12448 if test "${enable_headerctrl+set}" = set; then :
12449   enableval=$enable_headerctrl;
12450                           if test "$enableval" = yes; then
12451                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12452                           else
12453                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12454                           fi
12455
12456 else
12457
12458                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12459
12460 fi
12461
12462
12463           eval "$wx_cv_use_headerctrl"
12464
12465           if test x"$enablestring" = xdisable; then
12466             if test $wxUSE_HEADERCTRL = no; then
12467               result=yes
12468             else
12469               result=no
12470             fi
12471           else
12472             result=$wxUSE_HEADERCTRL
12473           fi
12474
12475           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12476 $as_echo "$result" >&6; }
12477
12478
12479           enablestring=
12480           defaultval=$wxUSE_ALL_FEATURES
12481           if test -z "$defaultval"; then
12482               if test x"$enablestring" = xdisable; then
12483                   defaultval=yes
12484               else
12485                   defaultval=no
12486               fi
12487           fi
12488
12489           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12490 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12491           # Check whether --enable-hyperlink was given.
12492 if test "${enable_hyperlink+set}" = set; then :
12493   enableval=$enable_hyperlink;
12494                           if test "$enableval" = yes; then
12495                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12496                           else
12497                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12498                           fi
12499
12500 else
12501
12502                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12503
12504 fi
12505
12506
12507           eval "$wx_cv_use_hyperlink"
12508
12509           if test x"$enablestring" = xdisable; then
12510             if test $wxUSE_HYPERLINKCTRL = no; then
12511               result=yes
12512             else
12513               result=no
12514             fi
12515           else
12516             result=$wxUSE_HYPERLINKCTRL
12517           fi
12518
12519           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12520 $as_echo "$result" >&6; }
12521
12522
12523           enablestring=
12524           defaultval=$wxUSE_ALL_FEATURES
12525           if test -z "$defaultval"; then
12526               if test x"$enablestring" = xdisable; then
12527                   defaultval=yes
12528               else
12529                   defaultval=no
12530               fi
12531           fi
12532
12533           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12534 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12535           # Check whether --enable-imaglist was given.
12536 if test "${enable_imaglist+set}" = set; then :
12537   enableval=$enable_imaglist;
12538                           if test "$enableval" = yes; then
12539                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12540                           else
12541                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12542                           fi
12543
12544 else
12545
12546                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12547
12548 fi
12549
12550
12551           eval "$wx_cv_use_imaglist"
12552
12553           if test x"$enablestring" = xdisable; then
12554             if test $wxUSE_IMAGLIST = no; then
12555               result=yes
12556             else
12557               result=no
12558             fi
12559           else
12560             result=$wxUSE_IMAGLIST
12561           fi
12562
12563           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12564 $as_echo "$result" >&6; }
12565
12566
12567           enablestring=
12568           defaultval=$wxUSE_ALL_FEATURES
12569           if test -z "$defaultval"; then
12570               if test x"$enablestring" = xdisable; then
12571                   defaultval=yes
12572               else
12573                   defaultval=no
12574               fi
12575           fi
12576
12577           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12578 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12579           # Check whether --enable-infobar was given.
12580 if test "${enable_infobar+set}" = set; then :
12581   enableval=$enable_infobar;
12582                           if test "$enableval" = yes; then
12583                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12584                           else
12585                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12586                           fi
12587
12588 else
12589
12590                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12591
12592 fi
12593
12594
12595           eval "$wx_cv_use_infobar"
12596
12597           if test x"$enablestring" = xdisable; then
12598             if test $wxUSE_INFOBAR = no; then
12599               result=yes
12600             else
12601               result=no
12602             fi
12603           else
12604             result=$wxUSE_INFOBAR
12605           fi
12606
12607           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12608 $as_echo "$result" >&6; }
12609
12610
12611           enablestring=
12612           defaultval=$wxUSE_ALL_FEATURES
12613           if test -z "$defaultval"; then
12614               if test x"$enablestring" = xdisable; then
12615                   defaultval=yes
12616               else
12617                   defaultval=no
12618               fi
12619           fi
12620
12621           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12622 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12623           # Check whether --enable-listbook was given.
12624 if test "${enable_listbook+set}" = set; then :
12625   enableval=$enable_listbook;
12626                           if test "$enableval" = yes; then
12627                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12628                           else
12629                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12630                           fi
12631
12632 else
12633
12634                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12635
12636 fi
12637
12638
12639           eval "$wx_cv_use_listbook"
12640
12641           if test x"$enablestring" = xdisable; then
12642             if test $wxUSE_LISTBOOK = no; then
12643               result=yes
12644             else
12645               result=no
12646             fi
12647           else
12648             result=$wxUSE_LISTBOOK
12649           fi
12650
12651           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12652 $as_echo "$result" >&6; }
12653
12654
12655           enablestring=
12656           defaultval=$wxUSE_ALL_FEATURES
12657           if test -z "$defaultval"; then
12658               if test x"$enablestring" = xdisable; then
12659                   defaultval=yes
12660               else
12661                   defaultval=no
12662               fi
12663           fi
12664
12665           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12666 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12667           # Check whether --enable-listbox was given.
12668 if test "${enable_listbox+set}" = set; then :
12669   enableval=$enable_listbox;
12670                           if test "$enableval" = yes; then
12671                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12672                           else
12673                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12674                           fi
12675
12676 else
12677
12678                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12679
12680 fi
12681
12682
12683           eval "$wx_cv_use_listbox"
12684
12685           if test x"$enablestring" = xdisable; then
12686             if test $wxUSE_LISTBOX = no; then
12687               result=yes
12688             else
12689               result=no
12690             fi
12691           else
12692             result=$wxUSE_LISTBOX
12693           fi
12694
12695           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12696 $as_echo "$result" >&6; }
12697
12698
12699           enablestring=
12700           defaultval=$wxUSE_ALL_FEATURES
12701           if test -z "$defaultval"; then
12702               if test x"$enablestring" = xdisable; then
12703                   defaultval=yes
12704               else
12705                   defaultval=no
12706               fi
12707           fi
12708
12709           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12710 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12711           # Check whether --enable-listctrl was given.
12712 if test "${enable_listctrl+set}" = set; then :
12713   enableval=$enable_listctrl;
12714                           if test "$enableval" = yes; then
12715                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12716                           else
12717                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12718                           fi
12719
12720 else
12721
12722                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12723
12724 fi
12725
12726
12727           eval "$wx_cv_use_listctrl"
12728
12729           if test x"$enablestring" = xdisable; then
12730             if test $wxUSE_LISTCTRL = no; then
12731               result=yes
12732             else
12733               result=no
12734             fi
12735           else
12736             result=$wxUSE_LISTCTRL
12737           fi
12738
12739           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12740 $as_echo "$result" >&6; }
12741
12742
12743           enablestring=
12744           defaultval=$wxUSE_ALL_FEATURES
12745           if test -z "$defaultval"; then
12746               if test x"$enablestring" = xdisable; then
12747                   defaultval=yes
12748               else
12749                   defaultval=no
12750               fi
12751           fi
12752
12753           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12754 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12755           # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then :
12757   enableval=$enable_notebook;
12758                           if test "$enableval" = yes; then
12759                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12760                           else
12761                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12762                           fi
12763
12764 else
12765
12766                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12767
12768 fi
12769
12770
12771           eval "$wx_cv_use_notebook"
12772
12773           if test x"$enablestring" = xdisable; then
12774             if test $wxUSE_NOTEBOOK = no; then
12775               result=yes
12776             else
12777               result=no
12778             fi
12779           else
12780             result=$wxUSE_NOTEBOOK
12781           fi
12782
12783           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12784 $as_echo "$result" >&6; }
12785
12786
12787           enablestring=
12788           defaultval=$wxUSE_ALL_FEATURES
12789           if test -z "$defaultval"; then
12790               if test x"$enablestring" = xdisable; then
12791                   defaultval=yes
12792               else
12793                   defaultval=no
12794               fi
12795           fi
12796
12797           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12798 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12799           # Check whether --enable-notifmsg was given.
12800 if test "${enable_notifmsg+set}" = set; then :
12801   enableval=$enable_notifmsg;
12802                           if test "$enableval" = yes; then
12803                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12804                           else
12805                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12806                           fi
12807
12808 else
12809
12810                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12811
12812 fi
12813
12814
12815           eval "$wx_cv_use_notifmsg"
12816
12817           if test x"$enablestring" = xdisable; then
12818             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12819               result=yes
12820             else
12821               result=no
12822             fi
12823           else
12824             result=$wxUSE_NOTIFICATION_MESSAGE
12825           fi
12826
12827           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12828 $as_echo "$result" >&6; }
12829
12830
12831           enablestring=
12832           defaultval=$wxUSE_ALL_FEATURES
12833           if test -z "$defaultval"; then
12834               if test x"$enablestring" = xdisable; then
12835                   defaultval=yes
12836               else
12837                   defaultval=no
12838               fi
12839           fi
12840
12841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12842 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12843           # Check whether --enable-odcombobox was given.
12844 if test "${enable_odcombobox+set}" = set; then :
12845   enableval=$enable_odcombobox;
12846                           if test "$enableval" = yes; then
12847                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12848                           else
12849                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12850                           fi
12851
12852 else
12853
12854                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12855
12856 fi
12857
12858
12859           eval "$wx_cv_use_odcombobox"
12860
12861           if test x"$enablestring" = xdisable; then
12862             if test $wxUSE_ODCOMBOBOX = no; then
12863               result=yes
12864             else
12865               result=no
12866             fi
12867           else
12868             result=$wxUSE_ODCOMBOBOX
12869           fi
12870
12871           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12872 $as_echo "$result" >&6; }
12873
12874
12875           enablestring=
12876           defaultval=$wxUSE_ALL_FEATURES
12877           if test -z "$defaultval"; then
12878               if test x"$enablestring" = xdisable; then
12879                   defaultval=yes
12880               else
12881                   defaultval=no
12882               fi
12883           fi
12884
12885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12886 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12887           # Check whether --enable-popupwin was given.
12888 if test "${enable_popupwin+set}" = set; then :
12889   enableval=$enable_popupwin;
12890                           if test "$enableval" = yes; then
12891                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12892                           else
12893                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12894                           fi
12895
12896 else
12897
12898                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12899
12900 fi
12901
12902
12903           eval "$wx_cv_use_popupwin"
12904
12905           if test x"$enablestring" = xdisable; then
12906             if test $wxUSE_POPUPWIN = no; then
12907               result=yes
12908             else
12909               result=no
12910             fi
12911           else
12912             result=$wxUSE_POPUPWIN
12913           fi
12914
12915           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12916 $as_echo "$result" >&6; }
12917
12918
12919           enablestring=
12920           defaultval=$wxUSE_ALL_FEATURES
12921           if test -z "$defaultval"; then
12922               if test x"$enablestring" = xdisable; then
12923                   defaultval=yes
12924               else
12925                   defaultval=no
12926               fi
12927           fi
12928
12929           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12930 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12931           # Check whether --enable-radiobox was given.
12932 if test "${enable_radiobox+set}" = set; then :
12933   enableval=$enable_radiobox;
12934                           if test "$enableval" = yes; then
12935                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12936                           else
12937                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12938                           fi
12939
12940 else
12941
12942                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12943
12944 fi
12945
12946
12947           eval "$wx_cv_use_radiobox"
12948
12949           if test x"$enablestring" = xdisable; then
12950             if test $wxUSE_RADIOBOX = no; then
12951               result=yes
12952             else
12953               result=no
12954             fi
12955           else
12956             result=$wxUSE_RADIOBOX
12957           fi
12958
12959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12960 $as_echo "$result" >&6; }
12961
12962
12963           enablestring=
12964           defaultval=$wxUSE_ALL_FEATURES
12965           if test -z "$defaultval"; then
12966               if test x"$enablestring" = xdisable; then
12967                   defaultval=yes
12968               else
12969                   defaultval=no
12970               fi
12971           fi
12972
12973           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12974 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12975           # Check whether --enable-radiobtn was given.
12976 if test "${enable_radiobtn+set}" = set; then :
12977   enableval=$enable_radiobtn;
12978                           if test "$enableval" = yes; then
12979                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12980                           else
12981                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12982                           fi
12983
12984 else
12985
12986                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12987
12988 fi
12989
12990
12991           eval "$wx_cv_use_radiobtn"
12992
12993           if test x"$enablestring" = xdisable; then
12994             if test $wxUSE_RADIOBTN = no; then
12995               result=yes
12996             else
12997               result=no
12998             fi
12999           else
13000             result=$wxUSE_RADIOBTN
13001           fi
13002
13003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13004 $as_echo "$result" >&6; }
13005
13006
13007           enablestring=
13008           defaultval=$wxUSE_ALL_FEATURES
13009           if test -z "$defaultval"; then
13010               if test x"$enablestring" = xdisable; then
13011                   defaultval=yes
13012               else
13013                   defaultval=no
13014               fi
13015           fi
13016
13017           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13018 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13019           # Check whether --enable-richmsgdlg was given.
13020 if test "${enable_richmsgdlg+set}" = set; then :
13021   enableval=$enable_richmsgdlg;
13022                           if test "$enableval" = yes; then
13023                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13024                           else
13025                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13026                           fi
13027
13028 else
13029
13030                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13031
13032 fi
13033
13034
13035           eval "$wx_cv_use_richmsgdlg"
13036
13037           if test x"$enablestring" = xdisable; then
13038             if test $wxUSE_RICHMSGDLG = no; then
13039               result=yes
13040             else
13041               result=no
13042             fi
13043           else
13044             result=$wxUSE_RICHMSGDLG
13045           fi
13046
13047           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13048 $as_echo "$result" >&6; }
13049
13050
13051           enablestring=
13052           defaultval=$wxUSE_ALL_FEATURES
13053           if test -z "$defaultval"; then
13054               if test x"$enablestring" = xdisable; then
13055                   defaultval=yes
13056               else
13057                   defaultval=no
13058               fi
13059           fi
13060
13061           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13062 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13063           # Check whether --enable-richtooltip was given.
13064 if test "${enable_richtooltip+set}" = set; then :
13065   enableval=$enable_richtooltip;
13066                           if test "$enableval" = yes; then
13067                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13068                           else
13069                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13070                           fi
13071
13072 else
13073
13074                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13075
13076 fi
13077
13078
13079           eval "$wx_cv_use_richtooltip"
13080
13081           if test x"$enablestring" = xdisable; then
13082             if test $wxUSE_RICHTOOLTIP = no; then
13083               result=yes
13084             else
13085               result=no
13086             fi
13087           else
13088             result=$wxUSE_RICHTOOLTIP
13089           fi
13090
13091           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13092 $as_echo "$result" >&6; }
13093
13094
13095           enablestring=
13096           defaultval=$wxUSE_ALL_FEATURES
13097           if test -z "$defaultval"; then
13098               if test x"$enablestring" = xdisable; then
13099                   defaultval=yes
13100               else
13101                   defaultval=no
13102               fi
13103           fi
13104
13105           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13106 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13107           # Check whether --enable-rearrangectrl was given.
13108 if test "${enable_rearrangectrl+set}" = set; then :
13109   enableval=$enable_rearrangectrl;
13110                           if test "$enableval" = yes; then
13111                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13112                           else
13113                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13114                           fi
13115
13116 else
13117
13118                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13119
13120 fi
13121
13122
13123           eval "$wx_cv_use_rearrangectrl"
13124
13125           if test x"$enablestring" = xdisable; then
13126             if test $wxUSE_REARRANGECTRL = no; then
13127               result=yes
13128             else
13129               result=no
13130             fi
13131           else
13132             result=$wxUSE_REARRANGECTRL
13133           fi
13134
13135           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13136 $as_echo "$result" >&6; }
13137
13138
13139           enablestring=
13140           defaultval=$wxUSE_ALL_FEATURES
13141           if test -z "$defaultval"; then
13142               if test x"$enablestring" = xdisable; then
13143                   defaultval=yes
13144               else
13145                   defaultval=no
13146               fi
13147           fi
13148
13149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13150 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13151           # Check whether --enable-sash was given.
13152 if test "${enable_sash+set}" = set; then :
13153   enableval=$enable_sash;
13154                           if test "$enableval" = yes; then
13155                             wx_cv_use_sash='wxUSE_SASH=yes'
13156                           else
13157                             wx_cv_use_sash='wxUSE_SASH=no'
13158                           fi
13159
13160 else
13161
13162                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13163
13164 fi
13165
13166
13167           eval "$wx_cv_use_sash"
13168
13169           if test x"$enablestring" = xdisable; then
13170             if test $wxUSE_SASH = no; then
13171               result=yes
13172             else
13173               result=no
13174             fi
13175           else
13176             result=$wxUSE_SASH
13177           fi
13178
13179           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13180 $as_echo "$result" >&6; }
13181
13182
13183           enablestring=
13184           defaultval=$wxUSE_ALL_FEATURES
13185           if test -z "$defaultval"; then
13186               if test x"$enablestring" = xdisable; then
13187                   defaultval=yes
13188               else
13189                   defaultval=no
13190               fi
13191           fi
13192
13193           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13194 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13195           # Check whether --enable-scrollbar was given.
13196 if test "${enable_scrollbar+set}" = set; then :
13197   enableval=$enable_scrollbar;
13198                           if test "$enableval" = yes; then
13199                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13200                           else
13201                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13202                           fi
13203
13204 else
13205
13206                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13207
13208 fi
13209
13210
13211           eval "$wx_cv_use_scrollbar"
13212
13213           if test x"$enablestring" = xdisable; then
13214             if test $wxUSE_SCROLLBAR = no; then
13215               result=yes
13216             else
13217               result=no
13218             fi
13219           else
13220             result=$wxUSE_SCROLLBAR
13221           fi
13222
13223           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13224 $as_echo "$result" >&6; }
13225
13226
13227           enablestring=
13228           defaultval=$wxUSE_ALL_FEATURES
13229           if test -z "$defaultval"; then
13230               if test x"$enablestring" = xdisable; then
13231                   defaultval=yes
13232               else
13233                   defaultval=no
13234               fi
13235           fi
13236
13237           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13238 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13239           # Check whether --enable-searchctrl was given.
13240 if test "${enable_searchctrl+set}" = set; then :
13241   enableval=$enable_searchctrl;
13242                           if test "$enableval" = yes; then
13243                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13244                           else
13245                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13246                           fi
13247
13248 else
13249
13250                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13251
13252 fi
13253
13254
13255           eval "$wx_cv_use_searchctrl"
13256
13257           if test x"$enablestring" = xdisable; then
13258             if test $wxUSE_SEARCHCTRL = no; then
13259               result=yes
13260             else
13261               result=no
13262             fi
13263           else
13264             result=$wxUSE_SEARCHCTRL
13265           fi
13266
13267           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13268 $as_echo "$result" >&6; }
13269
13270
13271           enablestring=
13272           defaultval=$wxUSE_ALL_FEATURES
13273           if test -z "$defaultval"; then
13274               if test x"$enablestring" = xdisable; then
13275                   defaultval=yes
13276               else
13277                   defaultval=no
13278               fi
13279           fi
13280
13281           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13282 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13283           # Check whether --enable-slider was given.
13284 if test "${enable_slider+set}" = set; then :
13285   enableval=$enable_slider;
13286                           if test "$enableval" = yes; then
13287                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13288                           else
13289                             wx_cv_use_slider='wxUSE_SLIDER=no'
13290                           fi
13291
13292 else
13293
13294                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13295
13296 fi
13297
13298
13299           eval "$wx_cv_use_slider"
13300
13301           if test x"$enablestring" = xdisable; then
13302             if test $wxUSE_SLIDER = no; then
13303               result=yes
13304             else
13305               result=no
13306             fi
13307           else
13308             result=$wxUSE_SLIDER
13309           fi
13310
13311           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13312 $as_echo "$result" >&6; }
13313
13314
13315           enablestring=
13316           defaultval=$wxUSE_ALL_FEATURES
13317           if test -z "$defaultval"; then
13318               if test x"$enablestring" = xdisable; then
13319                   defaultval=yes
13320               else
13321                   defaultval=no
13322               fi
13323           fi
13324
13325           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13326 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13327           # Check whether --enable-spinbtn was given.
13328 if test "${enable_spinbtn+set}" = set; then :
13329   enableval=$enable_spinbtn;
13330                           if test "$enableval" = yes; then
13331                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13332                           else
13333                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13334                           fi
13335
13336 else
13337
13338                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13339
13340 fi
13341
13342
13343           eval "$wx_cv_use_spinbtn"
13344
13345           if test x"$enablestring" = xdisable; then
13346             if test $wxUSE_SPINBTN = no; then
13347               result=yes
13348             else
13349               result=no
13350             fi
13351           else
13352             result=$wxUSE_SPINBTN
13353           fi
13354
13355           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13356 $as_echo "$result" >&6; }
13357
13358
13359           enablestring=
13360           defaultval=$wxUSE_ALL_FEATURES
13361           if test -z "$defaultval"; then
13362               if test x"$enablestring" = xdisable; then
13363                   defaultval=yes
13364               else
13365                   defaultval=no
13366               fi
13367           fi
13368
13369           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13370 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13371           # Check whether --enable-spinctrl was given.
13372 if test "${enable_spinctrl+set}" = set; then :
13373   enableval=$enable_spinctrl;
13374                           if test "$enableval" = yes; then
13375                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13376                           else
13377                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13378                           fi
13379
13380 else
13381
13382                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13383
13384 fi
13385
13386
13387           eval "$wx_cv_use_spinctrl"
13388
13389           if test x"$enablestring" = xdisable; then
13390             if test $wxUSE_SPINCTRL = no; then
13391               result=yes
13392             else
13393               result=no
13394             fi
13395           else
13396             result=$wxUSE_SPINCTRL
13397           fi
13398
13399           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13400 $as_echo "$result" >&6; }
13401
13402
13403           enablestring=
13404           defaultval=$wxUSE_ALL_FEATURES
13405           if test -z "$defaultval"; then
13406               if test x"$enablestring" = xdisable; then
13407                   defaultval=yes
13408               else
13409                   defaultval=no
13410               fi
13411           fi
13412
13413           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13414 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13415           # Check whether --enable-splitter was given.
13416 if test "${enable_splitter+set}" = set; then :
13417   enableval=$enable_splitter;
13418                           if test "$enableval" = yes; then
13419                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13420                           else
13421                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13422                           fi
13423
13424 else
13425
13426                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13427
13428 fi
13429
13430
13431           eval "$wx_cv_use_splitter"
13432
13433           if test x"$enablestring" = xdisable; then
13434             if test $wxUSE_SPLITTER = no; then
13435               result=yes
13436             else
13437               result=no
13438             fi
13439           else
13440             result=$wxUSE_SPLITTER
13441           fi
13442
13443           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13444 $as_echo "$result" >&6; }
13445
13446
13447           enablestring=
13448           defaultval=$wxUSE_ALL_FEATURES
13449           if test -z "$defaultval"; then
13450               if test x"$enablestring" = xdisable; then
13451                   defaultval=yes
13452               else
13453                   defaultval=no
13454               fi
13455           fi
13456
13457           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13458 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13459           # Check whether --enable-statbmp was given.
13460 if test "${enable_statbmp+set}" = set; then :
13461   enableval=$enable_statbmp;
13462                           if test "$enableval" = yes; then
13463                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13464                           else
13465                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13466                           fi
13467
13468 else
13469
13470                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13471
13472 fi
13473
13474
13475           eval "$wx_cv_use_statbmp"
13476
13477           if test x"$enablestring" = xdisable; then
13478             if test $wxUSE_STATBMP = no; then
13479               result=yes
13480             else
13481               result=no
13482             fi
13483           else
13484             result=$wxUSE_STATBMP
13485           fi
13486
13487           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13488 $as_echo "$result" >&6; }
13489
13490
13491           enablestring=
13492           defaultval=$wxUSE_ALL_FEATURES
13493           if test -z "$defaultval"; then
13494               if test x"$enablestring" = xdisable; then
13495                   defaultval=yes
13496               else
13497                   defaultval=no
13498               fi
13499           fi
13500
13501           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13502 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13503           # Check whether --enable-statbox was given.
13504 if test "${enable_statbox+set}" = set; then :
13505   enableval=$enable_statbox;
13506                           if test "$enableval" = yes; then
13507                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13508                           else
13509                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13510                           fi
13511
13512 else
13513
13514                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13515
13516 fi
13517
13518
13519           eval "$wx_cv_use_statbox"
13520
13521           if test x"$enablestring" = xdisable; then
13522             if test $wxUSE_STATBOX = no; then
13523               result=yes
13524             else
13525               result=no
13526             fi
13527           else
13528             result=$wxUSE_STATBOX
13529           fi
13530
13531           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13532 $as_echo "$result" >&6; }
13533
13534
13535           enablestring=
13536           defaultval=$wxUSE_ALL_FEATURES
13537           if test -z "$defaultval"; then
13538               if test x"$enablestring" = xdisable; then
13539                   defaultval=yes
13540               else
13541                   defaultval=no
13542               fi
13543           fi
13544
13545           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13546 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13547           # Check whether --enable-statline was given.
13548 if test "${enable_statline+set}" = set; then :
13549   enableval=$enable_statline;
13550                           if test "$enableval" = yes; then
13551                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13552                           else
13553                             wx_cv_use_statline='wxUSE_STATLINE=no'
13554                           fi
13555
13556 else
13557
13558                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13559
13560 fi
13561
13562
13563           eval "$wx_cv_use_statline"
13564
13565           if test x"$enablestring" = xdisable; then
13566             if test $wxUSE_STATLINE = no; then
13567               result=yes
13568             else
13569               result=no
13570             fi
13571           else
13572             result=$wxUSE_STATLINE
13573           fi
13574
13575           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13576 $as_echo "$result" >&6; }
13577
13578
13579           enablestring=
13580           defaultval=$wxUSE_ALL_FEATURES
13581           if test -z "$defaultval"; then
13582               if test x"$enablestring" = xdisable; then
13583                   defaultval=yes
13584               else
13585                   defaultval=no
13586               fi
13587           fi
13588
13589           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13590 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13591           # Check whether --enable-stattext was given.
13592 if test "${enable_stattext+set}" = set; then :
13593   enableval=$enable_stattext;
13594                           if test "$enableval" = yes; then
13595                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13596                           else
13597                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13598                           fi
13599
13600 else
13601
13602                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13603
13604 fi
13605
13606
13607           eval "$wx_cv_use_stattext"
13608
13609           if test x"$enablestring" = xdisable; then
13610             if test $wxUSE_STATTEXT = no; then
13611               result=yes
13612             else
13613               result=no
13614             fi
13615           else
13616             result=$wxUSE_STATTEXT
13617           fi
13618
13619           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13620 $as_echo "$result" >&6; }
13621
13622
13623           enablestring=
13624           defaultval=$wxUSE_ALL_FEATURES
13625           if test -z "$defaultval"; then
13626               if test x"$enablestring" = xdisable; then
13627                   defaultval=yes
13628               else
13629                   defaultval=no
13630               fi
13631           fi
13632
13633           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13634 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13635           # Check whether --enable-statusbar was given.
13636 if test "${enable_statusbar+set}" = set; then :
13637   enableval=$enable_statusbar;
13638                           if test "$enableval" = yes; then
13639                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13640                           else
13641                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13642                           fi
13643
13644 else
13645
13646                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13647
13648 fi
13649
13650
13651           eval "$wx_cv_use_statusbar"
13652
13653           if test x"$enablestring" = xdisable; then
13654             if test $wxUSE_STATUSBAR = no; then
13655               result=yes
13656             else
13657               result=no
13658             fi
13659           else
13660             result=$wxUSE_STATUSBAR
13661           fi
13662
13663           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13664 $as_echo "$result" >&6; }
13665
13666
13667           enablestring=
13668           defaultval=$wxUSE_ALL_FEATURES
13669           if test -z "$defaultval"; then
13670               if test x"$enablestring" = xdisable; then
13671                   defaultval=yes
13672               else
13673                   defaultval=no
13674               fi
13675           fi
13676
13677           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13678 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13679           # Check whether --enable-taskbaricon was given.
13680 if test "${enable_taskbaricon+set}" = set; then :
13681   enableval=$enable_taskbaricon;
13682                           if test "$enableval" = yes; then
13683                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13684                           else
13685                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13686                           fi
13687
13688 else
13689
13690                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13691
13692 fi
13693
13694
13695           eval "$wx_cv_use_taskbaricon"
13696
13697           if test x"$enablestring" = xdisable; then
13698             if test $wxUSE_TASKBARICON = no; then
13699               result=yes
13700             else
13701               result=no
13702             fi
13703           else
13704             result=$wxUSE_TASKBARICON
13705           fi
13706
13707           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13708 $as_echo "$result" >&6; }
13709
13710
13711           enablestring=
13712           defaultval=$wxUSE_ALL_FEATURES
13713           if test -z "$defaultval"; then
13714               if test x"$enablestring" = xdisable; then
13715                   defaultval=yes
13716               else
13717                   defaultval=no
13718               fi
13719           fi
13720
13721           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13722 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13723           # Check whether --enable-tbarnative was given.
13724 if test "${enable_tbarnative+set}" = set; then :
13725   enableval=$enable_tbarnative;
13726                           if test "$enableval" = yes; then
13727                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13728                           else
13729                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13730                           fi
13731
13732 else
13733
13734                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13735
13736 fi
13737
13738
13739           eval "$wx_cv_use_tbarnative"
13740
13741           if test x"$enablestring" = xdisable; then
13742             if test $wxUSE_TOOLBAR_NATIVE = no; then
13743               result=yes
13744             else
13745               result=no
13746             fi
13747           else
13748             result=$wxUSE_TOOLBAR_NATIVE
13749           fi
13750
13751           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13752 $as_echo "$result" >&6; }
13753
13754
13755           enablestring=
13756           defaultval=$wxUSE_ALL_FEATURES
13757           if test -z "$defaultval"; then
13758               if test x"$enablestring" = xdisable; then
13759                   defaultval=yes
13760               else
13761                   defaultval=no
13762               fi
13763           fi
13764
13765           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13766 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13767           # Check whether --enable-textctrl was given.
13768 if test "${enable_textctrl+set}" = set; then :
13769   enableval=$enable_textctrl;
13770                           if test "$enableval" = yes; then
13771                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13772                           else
13773                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13774                           fi
13775
13776 else
13777
13778                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13779
13780 fi
13781
13782
13783           eval "$wx_cv_use_textctrl"
13784
13785           if test x"$enablestring" = xdisable; then
13786             if test $wxUSE_TEXTCTRL = no; then
13787               result=yes
13788             else
13789               result=no
13790             fi
13791           else
13792             result=$wxUSE_TEXTCTRL
13793           fi
13794
13795           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13796 $as_echo "$result" >&6; }
13797
13798
13799           enablestring=
13800           defaultval=$wxUSE_ALL_FEATURES
13801           if test -z "$defaultval"; then
13802               if test x"$enablestring" = xdisable; then
13803                   defaultval=yes
13804               else
13805                   defaultval=no
13806               fi
13807           fi
13808
13809           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13810 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13811           # Check whether --enable-datepick was given.
13812 if test "${enable_datepick+set}" = set; then :
13813   enableval=$enable_datepick;
13814                           if test "$enableval" = yes; then
13815                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13816                           else
13817                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13818                           fi
13819
13820 else
13821
13822                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13823
13824 fi
13825
13826
13827           eval "$wx_cv_use_datepick"
13828
13829           if test x"$enablestring" = xdisable; then
13830             if test $wxUSE_TIMEPICKCTRL = no; then
13831               result=yes
13832             else
13833               result=no
13834             fi
13835           else
13836             result=$wxUSE_TIMEPICKCTRL
13837           fi
13838
13839           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13840 $as_echo "$result" >&6; }
13841
13842
13843           enablestring=
13844           defaultval=$wxUSE_ALL_FEATURES
13845           if test -z "$defaultval"; then
13846               if test x"$enablestring" = xdisable; then
13847                   defaultval=yes
13848               else
13849                   defaultval=no
13850               fi
13851           fi
13852
13853           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13854 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13855           # Check whether --enable-tipwindow was given.
13856 if test "${enable_tipwindow+set}" = set; then :
13857   enableval=$enable_tipwindow;
13858                           if test "$enableval" = yes; then
13859                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13860                           else
13861                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13862                           fi
13863
13864 else
13865
13866                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13867
13868 fi
13869
13870
13871           eval "$wx_cv_use_tipwindow"
13872
13873           if test x"$enablestring" = xdisable; then
13874             if test $wxUSE_TIPWINDOW = no; then
13875               result=yes
13876             else
13877               result=no
13878             fi
13879           else
13880             result=$wxUSE_TIPWINDOW
13881           fi
13882
13883           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13884 $as_echo "$result" >&6; }
13885
13886
13887           enablestring=
13888           defaultval=$wxUSE_ALL_FEATURES
13889           if test -z "$defaultval"; then
13890               if test x"$enablestring" = xdisable; then
13891                   defaultval=yes
13892               else
13893                   defaultval=no
13894               fi
13895           fi
13896
13897           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13898 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13899           # Check whether --enable-togglebtn was given.
13900 if test "${enable_togglebtn+set}" = set; then :
13901   enableval=$enable_togglebtn;
13902                           if test "$enableval" = yes; then
13903                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13904                           else
13905                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13906                           fi
13907
13908 else
13909
13910                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13911
13912 fi
13913
13914
13915           eval "$wx_cv_use_togglebtn"
13916
13917           if test x"$enablestring" = xdisable; then
13918             if test $wxUSE_TOGGLEBTN = no; then
13919               result=yes
13920             else
13921               result=no
13922             fi
13923           else
13924             result=$wxUSE_TOGGLEBTN
13925           fi
13926
13927           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13928 $as_echo "$result" >&6; }
13929
13930
13931           enablestring=
13932           defaultval=$wxUSE_ALL_FEATURES
13933           if test -z "$defaultval"; then
13934               if test x"$enablestring" = xdisable; then
13935                   defaultval=yes
13936               else
13937                   defaultval=no
13938               fi
13939           fi
13940
13941           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13942 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13943           # Check whether --enable-toolbar was given.
13944 if test "${enable_toolbar+set}" = set; then :
13945   enableval=$enable_toolbar;
13946                           if test "$enableval" = yes; then
13947                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13948                           else
13949                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13950                           fi
13951
13952 else
13953
13954                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13955
13956 fi
13957
13958
13959           eval "$wx_cv_use_toolbar"
13960
13961           if test x"$enablestring" = xdisable; then
13962             if test $wxUSE_TOOLBAR = no; then
13963               result=yes
13964             else
13965               result=no
13966             fi
13967           else
13968             result=$wxUSE_TOOLBAR
13969           fi
13970
13971           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13972 $as_echo "$result" >&6; }
13973
13974
13975           enablestring=
13976           defaultval=$wxUSE_ALL_FEATURES
13977           if test -z "$defaultval"; then
13978               if test x"$enablestring" = xdisable; then
13979                   defaultval=yes
13980               else
13981                   defaultval=no
13982               fi
13983           fi
13984
13985           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13986 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13987           # Check whether --enable-toolbook was given.
13988 if test "${enable_toolbook+set}" = set; then :
13989   enableval=$enable_toolbook;
13990                           if test "$enableval" = yes; then
13991                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13992                           else
13993                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13994                           fi
13995
13996 else
13997
13998                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13999
14000 fi
14001
14002
14003           eval "$wx_cv_use_toolbook"
14004
14005           if test x"$enablestring" = xdisable; then
14006             if test $wxUSE_TOOLBOOK = no; then
14007               result=yes
14008             else
14009               result=no
14010             fi
14011           else
14012             result=$wxUSE_TOOLBOOK
14013           fi
14014
14015           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14016 $as_echo "$result" >&6; }
14017
14018
14019           enablestring=
14020           defaultval=$wxUSE_ALL_FEATURES
14021           if test -z "$defaultval"; then
14022               if test x"$enablestring" = xdisable; then
14023                   defaultval=yes
14024               else
14025                   defaultval=no
14026               fi
14027           fi
14028
14029           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14030 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14031           # Check whether --enable-treebook was given.
14032 if test "${enable_treebook+set}" = set; then :
14033   enableval=$enable_treebook;
14034                           if test "$enableval" = yes; then
14035                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14036                           else
14037                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14038                           fi
14039
14040 else
14041
14042                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14043
14044 fi
14045
14046
14047           eval "$wx_cv_use_treebook"
14048
14049           if test x"$enablestring" = xdisable; then
14050             if test $wxUSE_TREEBOOK = no; then
14051               result=yes
14052             else
14053               result=no
14054             fi
14055           else
14056             result=$wxUSE_TREEBOOK
14057           fi
14058
14059           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14060 $as_echo "$result" >&6; }
14061
14062
14063           enablestring=
14064           defaultval=$wxUSE_ALL_FEATURES
14065           if test -z "$defaultval"; then
14066               if test x"$enablestring" = xdisable; then
14067                   defaultval=yes
14068               else
14069                   defaultval=no
14070               fi
14071           fi
14072
14073           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14074 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14075           # Check whether --enable-treectrl was given.
14076 if test "${enable_treectrl+set}" = set; then :
14077   enableval=$enable_treectrl;
14078                           if test "$enableval" = yes; then
14079                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14080                           else
14081                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14082                           fi
14083
14084 else
14085
14086                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14087
14088 fi
14089
14090
14091           eval "$wx_cv_use_treectrl"
14092
14093           if test x"$enablestring" = xdisable; then
14094             if test $wxUSE_TREECTRL = no; then
14095               result=yes
14096             else
14097               result=no
14098             fi
14099           else
14100             result=$wxUSE_TREECTRL
14101           fi
14102
14103           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14104 $as_echo "$result" >&6; }
14105
14106
14107           enablestring=
14108           defaultval=$wxUSE_ALL_FEATURES
14109           if test -z "$defaultval"; then
14110               if test x"$enablestring" = xdisable; then
14111                   defaultval=yes
14112               else
14113                   defaultval=no
14114               fi
14115           fi
14116
14117           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14118 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14119           # Check whether --enable-treelist was given.
14120 if test "${enable_treelist+set}" = set; then :
14121   enableval=$enable_treelist;
14122                           if test "$enableval" = yes; then
14123                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14124                           else
14125                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14126                           fi
14127
14128 else
14129
14130                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14131
14132 fi
14133
14134
14135           eval "$wx_cv_use_treelist"
14136
14137           if test x"$enablestring" = xdisable; then
14138             if test $wxUSE_TREELISTCTRL = no; then
14139               result=yes
14140             else
14141               result=no
14142             fi
14143           else
14144             result=$wxUSE_TREELISTCTRL
14145           fi
14146
14147           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14148 $as_echo "$result" >&6; }
14149
14150
14151
14152
14153           enablestring=
14154           defaultval=$wxUSE_ALL_FEATURES
14155           if test -z "$defaultval"; then
14156               if test x"$enablestring" = xdisable; then
14157                   defaultval=yes
14158               else
14159                   defaultval=no
14160               fi
14161           fi
14162
14163           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14164 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14165           # Check whether --enable-commondlg was given.
14166 if test "${enable_commondlg+set}" = set; then :
14167   enableval=$enable_commondlg;
14168                           if test "$enableval" = yes; then
14169                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14170                           else
14171                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14172                           fi
14173
14174 else
14175
14176                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14177
14178 fi
14179
14180
14181           eval "$wx_cv_use_commondlg"
14182
14183           if test x"$enablestring" = xdisable; then
14184             if test $wxUSE_COMMONDLGS = no; then
14185               result=yes
14186             else
14187               result=no
14188             fi
14189           else
14190             result=$wxUSE_COMMONDLGS
14191           fi
14192
14193           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14194 $as_echo "$result" >&6; }
14195
14196
14197           enablestring=
14198           defaultval=$wxUSE_ALL_FEATURES
14199           if test -z "$defaultval"; then
14200               if test x"$enablestring" = xdisable; then
14201                   defaultval=yes
14202               else
14203                   defaultval=no
14204               fi
14205           fi
14206
14207           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14208 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14209           # Check whether --enable-aboutdlg was given.
14210 if test "${enable_aboutdlg+set}" = set; then :
14211   enableval=$enable_aboutdlg;
14212                           if test "$enableval" = yes; then
14213                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14214                           else
14215                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14216                           fi
14217
14218 else
14219
14220                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14221
14222 fi
14223
14224
14225           eval "$wx_cv_use_aboutdlg"
14226
14227           if test x"$enablestring" = xdisable; then
14228             if test $wxUSE_ABOUTDLG = no; then
14229               result=yes
14230             else
14231               result=no
14232             fi
14233           else
14234             result=$wxUSE_ABOUTDLG
14235           fi
14236
14237           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14238 $as_echo "$result" >&6; }
14239
14240
14241           enablestring=
14242           defaultval=$wxUSE_ALL_FEATURES
14243           if test -z "$defaultval"; then
14244               if test x"$enablestring" = xdisable; then
14245                   defaultval=yes
14246               else
14247                   defaultval=no
14248               fi
14249           fi
14250
14251           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14252 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14253           # Check whether --enable-choicedlg was given.
14254 if test "${enable_choicedlg+set}" = set; then :
14255   enableval=$enable_choicedlg;
14256                           if test "$enableval" = yes; then
14257                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14258                           else
14259                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14260                           fi
14261
14262 else
14263
14264                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14265
14266 fi
14267
14268
14269           eval "$wx_cv_use_choicedlg"
14270
14271           if test x"$enablestring" = xdisable; then
14272             if test $wxUSE_CHOICEDLG = no; then
14273               result=yes
14274             else
14275               result=no
14276             fi
14277           else
14278             result=$wxUSE_CHOICEDLG
14279           fi
14280
14281           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14282 $as_echo "$result" >&6; }
14283
14284
14285           enablestring=
14286           defaultval=$wxUSE_ALL_FEATURES
14287           if test -z "$defaultval"; then
14288               if test x"$enablestring" = xdisable; then
14289                   defaultval=yes
14290               else
14291                   defaultval=no
14292               fi
14293           fi
14294
14295           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14296 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14297           # Check whether --enable-coldlg was given.
14298 if test "${enable_coldlg+set}" = set; then :
14299   enableval=$enable_coldlg;
14300                           if test "$enableval" = yes; then
14301                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14302                           else
14303                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14304                           fi
14305
14306 else
14307
14308                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14309
14310 fi
14311
14312
14313           eval "$wx_cv_use_coldlg"
14314
14315           if test x"$enablestring" = xdisable; then
14316             if test $wxUSE_COLOURDLG = no; then
14317               result=yes
14318             else
14319               result=no
14320             fi
14321           else
14322             result=$wxUSE_COLOURDLG
14323           fi
14324
14325           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14326 $as_echo "$result" >&6; }
14327
14328
14329           enablestring=
14330           defaultval=$wxUSE_ALL_FEATURES
14331           if test -z "$defaultval"; then
14332               if test x"$enablestring" = xdisable; then
14333                   defaultval=yes
14334               else
14335                   defaultval=no
14336               fi
14337           fi
14338
14339           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14340 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14341           # Check whether --enable-filedlg was given.
14342 if test "${enable_filedlg+set}" = set; then :
14343   enableval=$enable_filedlg;
14344                           if test "$enableval" = yes; then
14345                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14346                           else
14347                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14348                           fi
14349
14350 else
14351
14352                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14353
14354 fi
14355
14356
14357           eval "$wx_cv_use_filedlg"
14358
14359           if test x"$enablestring" = xdisable; then
14360             if test $wxUSE_FILEDLG = no; then
14361               result=yes
14362             else
14363               result=no
14364             fi
14365           else
14366             result=$wxUSE_FILEDLG
14367           fi
14368
14369           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14370 $as_echo "$result" >&6; }
14371
14372
14373           enablestring=
14374           defaultval=$wxUSE_ALL_FEATURES
14375           if test -z "$defaultval"; then
14376               if test x"$enablestring" = xdisable; then
14377                   defaultval=yes
14378               else
14379                   defaultval=no
14380               fi
14381           fi
14382
14383           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14384 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14385           # Check whether --enable-finddlg was given.
14386 if test "${enable_finddlg+set}" = set; then :
14387   enableval=$enable_finddlg;
14388                           if test "$enableval" = yes; then
14389                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14390                           else
14391                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14392                           fi
14393
14394 else
14395
14396                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14397
14398 fi
14399
14400
14401           eval "$wx_cv_use_finddlg"
14402
14403           if test x"$enablestring" = xdisable; then
14404             if test $wxUSE_FINDREPLDLG = no; then
14405               result=yes
14406             else
14407               result=no
14408             fi
14409           else
14410             result=$wxUSE_FINDREPLDLG
14411           fi
14412
14413           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14414 $as_echo "$result" >&6; }
14415
14416
14417           enablestring=
14418           defaultval=$wxUSE_ALL_FEATURES
14419           if test -z "$defaultval"; then
14420               if test x"$enablestring" = xdisable; then
14421                   defaultval=yes
14422               else
14423                   defaultval=no
14424               fi
14425           fi
14426
14427           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14428 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14429           # Check whether --enable-fontdlg was given.
14430 if test "${enable_fontdlg+set}" = set; then :
14431   enableval=$enable_fontdlg;
14432                           if test "$enableval" = yes; then
14433                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14434                           else
14435                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14436                           fi
14437
14438 else
14439
14440                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14441
14442 fi
14443
14444
14445           eval "$wx_cv_use_fontdlg"
14446
14447           if test x"$enablestring" = xdisable; then
14448             if test $wxUSE_FONTDLG = no; then
14449               result=yes
14450             else
14451               result=no
14452             fi
14453           else
14454             result=$wxUSE_FONTDLG
14455           fi
14456
14457           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14458 $as_echo "$result" >&6; }
14459
14460
14461           enablestring=
14462           defaultval=$wxUSE_ALL_FEATURES
14463           if test -z "$defaultval"; then
14464               if test x"$enablestring" = xdisable; then
14465                   defaultval=yes
14466               else
14467                   defaultval=no
14468               fi
14469           fi
14470
14471           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14472 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14473           # Check whether --enable-dirdlg was given.
14474 if test "${enable_dirdlg+set}" = set; then :
14475   enableval=$enable_dirdlg;
14476                           if test "$enableval" = yes; then
14477                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14478                           else
14479                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14480                           fi
14481
14482 else
14483
14484                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14485
14486 fi
14487
14488
14489           eval "$wx_cv_use_dirdlg"
14490
14491           if test x"$enablestring" = xdisable; then
14492             if test $wxUSE_DIRDLG = no; then
14493               result=yes
14494             else
14495               result=no
14496             fi
14497           else
14498             result=$wxUSE_DIRDLG
14499           fi
14500
14501           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14502 $as_echo "$result" >&6; }
14503
14504
14505           enablestring=
14506           defaultval=$wxUSE_ALL_FEATURES
14507           if test -z "$defaultval"; then
14508               if test x"$enablestring" = xdisable; then
14509                   defaultval=yes
14510               else
14511                   defaultval=no
14512               fi
14513           fi
14514
14515           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14516 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14517           # Check whether --enable-msgdlg was given.
14518 if test "${enable_msgdlg+set}" = set; then :
14519   enableval=$enable_msgdlg;
14520                           if test "$enableval" = yes; then
14521                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14522                           else
14523                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14524                           fi
14525
14526 else
14527
14528                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14529
14530 fi
14531
14532
14533           eval "$wx_cv_use_msgdlg"
14534
14535           if test x"$enablestring" = xdisable; then
14536             if test $wxUSE_MSGDLG = no; then
14537               result=yes
14538             else
14539               result=no
14540             fi
14541           else
14542             result=$wxUSE_MSGDLG
14543           fi
14544
14545           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14546 $as_echo "$result" >&6; }
14547
14548
14549           enablestring=
14550           defaultval=$wxUSE_ALL_FEATURES
14551           if test -z "$defaultval"; then
14552               if test x"$enablestring" = xdisable; then
14553                   defaultval=yes
14554               else
14555                   defaultval=no
14556               fi
14557           fi
14558
14559           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14560 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14561           # Check whether --enable-numberdlg was given.
14562 if test "${enable_numberdlg+set}" = set; then :
14563   enableval=$enable_numberdlg;
14564                           if test "$enableval" = yes; then
14565                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14566                           else
14567                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14568                           fi
14569
14570 else
14571
14572                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14573
14574 fi
14575
14576
14577           eval "$wx_cv_use_numberdlg"
14578
14579           if test x"$enablestring" = xdisable; then
14580             if test $wxUSE_NUMBERDLG = no; then
14581               result=yes
14582             else
14583               result=no
14584             fi
14585           else
14586             result=$wxUSE_NUMBERDLG
14587           fi
14588
14589           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14590 $as_echo "$result" >&6; }
14591
14592
14593           enablestring=
14594           defaultval=$wxUSE_ALL_FEATURES
14595           if test -z "$defaultval"; then
14596               if test x"$enablestring" = xdisable; then
14597                   defaultval=yes
14598               else
14599                   defaultval=no
14600               fi
14601           fi
14602
14603           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14604 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14605           # Check whether --enable-splash was given.
14606 if test "${enable_splash+set}" = set; then :
14607   enableval=$enable_splash;
14608                           if test "$enableval" = yes; then
14609                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14610                           else
14611                             wx_cv_use_splash='wxUSE_SPLASH=no'
14612                           fi
14613
14614 else
14615
14616                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14617
14618 fi
14619
14620
14621           eval "$wx_cv_use_splash"
14622
14623           if test x"$enablestring" = xdisable; then
14624             if test $wxUSE_SPLASH = no; then
14625               result=yes
14626             else
14627               result=no
14628             fi
14629           else
14630             result=$wxUSE_SPLASH
14631           fi
14632
14633           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14634 $as_echo "$result" >&6; }
14635
14636
14637           enablestring=
14638           defaultval=$wxUSE_ALL_FEATURES
14639           if test -z "$defaultval"; then
14640               if test x"$enablestring" = xdisable; then
14641                   defaultval=yes
14642               else
14643                   defaultval=no
14644               fi
14645           fi
14646
14647           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14648 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14649           # Check whether --enable-textdlg was given.
14650 if test "${enable_textdlg+set}" = set; then :
14651   enableval=$enable_textdlg;
14652                           if test "$enableval" = yes; then
14653                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14654                           else
14655                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14656                           fi
14657
14658 else
14659
14660                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14661
14662 fi
14663
14664
14665           eval "$wx_cv_use_textdlg"
14666
14667           if test x"$enablestring" = xdisable; then
14668             if test $wxUSE_TEXTDLG = no; then
14669               result=yes
14670             else
14671               result=no
14672             fi
14673           else
14674             result=$wxUSE_TEXTDLG
14675           fi
14676
14677           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14678 $as_echo "$result" >&6; }
14679
14680
14681           enablestring=
14682           defaultval=$wxUSE_ALL_FEATURES
14683           if test -z "$defaultval"; then
14684               if test x"$enablestring" = xdisable; then
14685                   defaultval=yes
14686               else
14687                   defaultval=no
14688               fi
14689           fi
14690
14691           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14692 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14693           # Check whether --enable-tipdlg was given.
14694 if test "${enable_tipdlg+set}" = set; then :
14695   enableval=$enable_tipdlg;
14696                           if test "$enableval" = yes; then
14697                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14698                           else
14699                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14700                           fi
14701
14702 else
14703
14704                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14705
14706 fi
14707
14708
14709           eval "$wx_cv_use_tipdlg"
14710
14711           if test x"$enablestring" = xdisable; then
14712             if test $wxUSE_STARTUP_TIPS = no; then
14713               result=yes
14714             else
14715               result=no
14716             fi
14717           else
14718             result=$wxUSE_STARTUP_TIPS
14719           fi
14720
14721           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14722 $as_echo "$result" >&6; }
14723
14724
14725           enablestring=
14726           defaultval=$wxUSE_ALL_FEATURES
14727           if test -z "$defaultval"; then
14728               if test x"$enablestring" = xdisable; then
14729                   defaultval=yes
14730               else
14731                   defaultval=no
14732               fi
14733           fi
14734
14735           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14736 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14737           # Check whether --enable-progressdlg was given.
14738 if test "${enable_progressdlg+set}" = set; then :
14739   enableval=$enable_progressdlg;
14740                           if test "$enableval" = yes; then
14741                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14742                           else
14743                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14744                           fi
14745
14746 else
14747
14748                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14749
14750 fi
14751
14752
14753           eval "$wx_cv_use_progressdlg"
14754
14755           if test x"$enablestring" = xdisable; then
14756             if test $wxUSE_PROGRESSDLG = no; then
14757               result=yes
14758             else
14759               result=no
14760             fi
14761           else
14762             result=$wxUSE_PROGRESSDLG
14763           fi
14764
14765           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14766 $as_echo "$result" >&6; }
14767
14768
14769           enablestring=
14770           defaultval=$wxUSE_ALL_FEATURES
14771           if test -z "$defaultval"; then
14772               if test x"$enablestring" = xdisable; then
14773                   defaultval=yes
14774               else
14775                   defaultval=no
14776               fi
14777           fi
14778
14779           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14780 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14781           # Check whether --enable-wizarddlg was given.
14782 if test "${enable_wizarddlg+set}" = set; then :
14783   enableval=$enable_wizarddlg;
14784                           if test "$enableval" = yes; then
14785                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14786                           else
14787                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14788                           fi
14789
14790 else
14791
14792                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14793
14794 fi
14795
14796
14797           eval "$wx_cv_use_wizarddlg"
14798
14799           if test x"$enablestring" = xdisable; then
14800             if test $wxUSE_WIZARDDLG = no; then
14801               result=yes
14802             else
14803               result=no
14804             fi
14805           else
14806             result=$wxUSE_WIZARDDLG
14807           fi
14808
14809           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14810 $as_echo "$result" >&6; }
14811
14812
14813
14814
14815           enablestring=
14816           defaultval=$wxUSE_ALL_FEATURES
14817           if test -z "$defaultval"; then
14818               if test x"$enablestring" = xdisable; then
14819                   defaultval=yes
14820               else
14821                   defaultval=no
14822               fi
14823           fi
14824
14825           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14826 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14827           # Check whether --enable-menus was given.
14828 if test "${enable_menus+set}" = set; then :
14829   enableval=$enable_menus;
14830                           if test "$enableval" = yes; then
14831                             wx_cv_use_menus='wxUSE_MENUS=yes'
14832                           else
14833                             wx_cv_use_menus='wxUSE_MENUS=no'
14834                           fi
14835
14836 else
14837
14838                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14839
14840 fi
14841
14842
14843           eval "$wx_cv_use_menus"
14844
14845           if test x"$enablestring" = xdisable; then
14846             if test $wxUSE_MENUS = no; then
14847               result=yes
14848             else
14849               result=no
14850             fi
14851           else
14852             result=$wxUSE_MENUS
14853           fi
14854
14855           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14856 $as_echo "$result" >&6; }
14857
14858
14859           enablestring=
14860           defaultval=$wxUSE_ALL_FEATURES
14861           if test -z "$defaultval"; then
14862               if test x"$enablestring" = xdisable; then
14863                   defaultval=yes
14864               else
14865                   defaultval=no
14866               fi
14867           fi
14868
14869           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14870 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14871           # Check whether --enable-miniframe was given.
14872 if test "${enable_miniframe+set}" = set; then :
14873   enableval=$enable_miniframe;
14874                           if test "$enableval" = yes; then
14875                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14876                           else
14877                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14878                           fi
14879
14880 else
14881
14882                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14883
14884 fi
14885
14886
14887           eval "$wx_cv_use_miniframe"
14888
14889           if test x"$enablestring" = xdisable; then
14890             if test $wxUSE_MINIFRAME = no; then
14891               result=yes
14892             else
14893               result=no
14894             fi
14895           else
14896             result=$wxUSE_MINIFRAME
14897           fi
14898
14899           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14900 $as_echo "$result" >&6; }
14901
14902
14903           enablestring=
14904           defaultval=$wxUSE_ALL_FEATURES
14905           if test -z "$defaultval"; then
14906               if test x"$enablestring" = xdisable; then
14907                   defaultval=yes
14908               else
14909                   defaultval=no
14910               fi
14911           fi
14912
14913           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14914 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14915           # Check whether --enable-tooltips was given.
14916 if test "${enable_tooltips+set}" = set; then :
14917   enableval=$enable_tooltips;
14918                           if test "$enableval" = yes; then
14919                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14920                           else
14921                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14922                           fi
14923
14924 else
14925
14926                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14927
14928 fi
14929
14930
14931           eval "$wx_cv_use_tooltips"
14932
14933           if test x"$enablestring" = xdisable; then
14934             if test $wxUSE_TOOLTIPS = no; then
14935               result=yes
14936             else
14937               result=no
14938             fi
14939           else
14940             result=$wxUSE_TOOLTIPS
14941           fi
14942
14943           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14944 $as_echo "$result" >&6; }
14945
14946
14947           enablestring=
14948           defaultval=$wxUSE_ALL_FEATURES
14949           if test -z "$defaultval"; then
14950               if test x"$enablestring" = xdisable; then
14951                   defaultval=yes
14952               else
14953                   defaultval=no
14954               fi
14955           fi
14956
14957           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14958 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14959           # Check whether --enable-splines was given.
14960 if test "${enable_splines+set}" = set; then :
14961   enableval=$enable_splines;
14962                           if test "$enableval" = yes; then
14963                             wx_cv_use_splines='wxUSE_SPLINES=yes'
14964                           else
14965                             wx_cv_use_splines='wxUSE_SPLINES=no'
14966                           fi
14967
14968 else
14969
14970                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14971
14972 fi
14973
14974
14975           eval "$wx_cv_use_splines"
14976
14977           if test x"$enablestring" = xdisable; then
14978             if test $wxUSE_SPLINES = no; then
14979               result=yes
14980             else
14981               result=no
14982             fi
14983           else
14984             result=$wxUSE_SPLINES
14985           fi
14986
14987           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14988 $as_echo "$result" >&6; }
14989
14990
14991           enablestring=
14992           defaultval=$wxUSE_ALL_FEATURES
14993           if test -z "$defaultval"; then
14994               if test x"$enablestring" = xdisable; then
14995                   defaultval=yes
14996               else
14997                   defaultval=no
14998               fi
14999           fi
15000
15001           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15002 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15003           # Check whether --enable-mousewheel was given.
15004 if test "${enable_mousewheel+set}" = set; then :
15005   enableval=$enable_mousewheel;
15006                           if test "$enableval" = yes; then
15007                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15008                           else
15009                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15010                           fi
15011
15012 else
15013
15014                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15015
15016 fi
15017
15018
15019           eval "$wx_cv_use_mousewheel"
15020
15021           if test x"$enablestring" = xdisable; then
15022             if test $wxUSE_MOUSEWHEEL = no; then
15023               result=yes
15024             else
15025               result=no
15026             fi
15027           else
15028             result=$wxUSE_MOUSEWHEEL
15029           fi
15030
15031           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15032 $as_echo "$result" >&6; }
15033
15034
15035           enablestring=
15036           defaultval=$wxUSE_ALL_FEATURES
15037           if test -z "$defaultval"; then
15038               if test x"$enablestring" = xdisable; then
15039                   defaultval=yes
15040               else
15041                   defaultval=no
15042               fi
15043           fi
15044
15045           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15046 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15047           # Check whether --enable-validators was given.
15048 if test "${enable_validators+set}" = set; then :
15049   enableval=$enable_validators;
15050                           if test "$enableval" = yes; then
15051                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15052                           else
15053                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15054                           fi
15055
15056 else
15057
15058                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15059
15060 fi
15061
15062
15063           eval "$wx_cv_use_validators"
15064
15065           if test x"$enablestring" = xdisable; then
15066             if test $wxUSE_VALIDATORS = no; then
15067               result=yes
15068             else
15069               result=no
15070             fi
15071           else
15072             result=$wxUSE_VALIDATORS
15073           fi
15074
15075           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15076 $as_echo "$result" >&6; }
15077
15078
15079           enablestring=
15080           defaultval=$wxUSE_ALL_FEATURES
15081           if test -z "$defaultval"; then
15082               if test x"$enablestring" = xdisable; then
15083                   defaultval=yes
15084               else
15085                   defaultval=no
15086               fi
15087           fi
15088
15089           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15090 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15091           # Check whether --enable-busyinfo was given.
15092 if test "${enable_busyinfo+set}" = set; then :
15093   enableval=$enable_busyinfo;
15094                           if test "$enableval" = yes; then
15095                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15096                           else
15097                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15098                           fi
15099
15100 else
15101
15102                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15103
15104 fi
15105
15106
15107           eval "$wx_cv_use_busyinfo"
15108
15109           if test x"$enablestring" = xdisable; then
15110             if test $wxUSE_BUSYINFO = no; then
15111               result=yes
15112             else
15113               result=no
15114             fi
15115           else
15116             result=$wxUSE_BUSYINFO
15117           fi
15118
15119           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15120 $as_echo "$result" >&6; }
15121
15122
15123           enablestring=
15124           defaultval=$wxUSE_ALL_FEATURES
15125           if test -z "$defaultval"; then
15126               if test x"$enablestring" = xdisable; then
15127                   defaultval=yes
15128               else
15129                   defaultval=no
15130               fi
15131           fi
15132
15133           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15134 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15135           # Check whether --enable-hotkey was given.
15136 if test "${enable_hotkey+set}" = set; then :
15137   enableval=$enable_hotkey;
15138                           if test "$enableval" = yes; then
15139                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15140                           else
15141                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15142                           fi
15143
15144 else
15145
15146                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15147
15148 fi
15149
15150
15151           eval "$wx_cv_use_hotkey"
15152
15153           if test x"$enablestring" = xdisable; then
15154             if test $wxUSE_HOTKEY = no; then
15155               result=yes
15156             else
15157               result=no
15158             fi
15159           else
15160             result=$wxUSE_HOTKEY
15161           fi
15162
15163           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15164 $as_echo "$result" >&6; }
15165
15166
15167           enablestring=
15168           defaultval=$wxUSE_ALL_FEATURES
15169           if test -z "$defaultval"; then
15170               if test x"$enablestring" = xdisable; then
15171                   defaultval=yes
15172               else
15173                   defaultval=no
15174               fi
15175           fi
15176
15177           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15178 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15179           # Check whether --enable-joystick was given.
15180 if test "${enable_joystick+set}" = set; then :
15181   enableval=$enable_joystick;
15182                           if test "$enableval" = yes; then
15183                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15184                           else
15185                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15186                           fi
15187
15188 else
15189
15190                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15191
15192 fi
15193
15194
15195           eval "$wx_cv_use_joystick"
15196
15197           if test x"$enablestring" = xdisable; then
15198             if test $wxUSE_JOYSTICK = no; then
15199               result=yes
15200             else
15201               result=no
15202             fi
15203           else
15204             result=$wxUSE_JOYSTICK
15205           fi
15206
15207           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15208 $as_echo "$result" >&6; }
15209
15210
15211           enablestring=
15212           defaultval=$wxUSE_ALL_FEATURES
15213           if test -z "$defaultval"; then
15214               if test x"$enablestring" = xdisable; then
15215                   defaultval=yes
15216               else
15217                   defaultval=no
15218               fi
15219           fi
15220
15221           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15222 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15223           # Check whether --enable-metafile was given.
15224 if test "${enable_metafile+set}" = set; then :
15225   enableval=$enable_metafile;
15226                           if test "$enableval" = yes; then
15227                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15228                           else
15229                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15230                           fi
15231
15232 else
15233
15234                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15235
15236 fi
15237
15238
15239           eval "$wx_cv_use_metafile"
15240
15241           if test x"$enablestring" = xdisable; then
15242             if test $wxUSE_METAFILE = no; then
15243               result=yes
15244             else
15245               result=no
15246             fi
15247           else
15248             result=$wxUSE_METAFILE
15249           fi
15250
15251           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15252 $as_echo "$result" >&6; }
15253
15254
15255           enablestring=
15256           defaultval=$wxUSE_ALL_FEATURES
15257           if test -z "$defaultval"; then
15258               if test x"$enablestring" = xdisable; then
15259                   defaultval=yes
15260               else
15261                   defaultval=no
15262               fi
15263           fi
15264
15265           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15266 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15267           # Check whether --enable-dragimage was given.
15268 if test "${enable_dragimage+set}" = set; then :
15269   enableval=$enable_dragimage;
15270                           if test "$enableval" = yes; then
15271                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15272                           else
15273                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15274                           fi
15275
15276 else
15277
15278                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15279
15280 fi
15281
15282
15283           eval "$wx_cv_use_dragimage"
15284
15285           if test x"$enablestring" = xdisable; then
15286             if test $wxUSE_DRAGIMAGE = no; then
15287               result=yes
15288             else
15289               result=no
15290             fi
15291           else
15292             result=$wxUSE_DRAGIMAGE
15293           fi
15294
15295           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15296 $as_echo "$result" >&6; }
15297
15298
15299           enablestring=
15300           defaultval=$wxUSE_ALL_FEATURES
15301           if test -z "$defaultval"; then
15302               if test x"$enablestring" = xdisable; then
15303                   defaultval=yes
15304               else
15305                   defaultval=no
15306               fi
15307           fi
15308
15309           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15310 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15311           # Check whether --enable-accessibility was given.
15312 if test "${enable_accessibility+set}" = set; then :
15313   enableval=$enable_accessibility;
15314                           if test "$enableval" = yes; then
15315                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15316                           else
15317                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15318                           fi
15319
15320 else
15321
15322                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15323
15324 fi
15325
15326
15327           eval "$wx_cv_use_accessibility"
15328
15329           if test x"$enablestring" = xdisable; then
15330             if test $wxUSE_ACCESSIBILITY = no; then
15331               result=yes
15332             else
15333               result=no
15334             fi
15335           else
15336             result=$wxUSE_ACCESSIBILITY
15337           fi
15338
15339           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15340 $as_echo "$result" >&6; }
15341
15342
15343           enablestring=
15344           defaultval=$wxUSE_ALL_FEATURES
15345           if test -z "$defaultval"; then
15346               if test x"$enablestring" = xdisable; then
15347                   defaultval=yes
15348               else
15349                   defaultval=no
15350               fi
15351           fi
15352
15353           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15354 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15355           # Check whether --enable-uiactionsim was given.
15356 if test "${enable_uiactionsim+set}" = set; then :
15357   enableval=$enable_uiactionsim;
15358                           if test "$enableval" = yes; then
15359                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15360                           else
15361                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15362                           fi
15363
15364 else
15365
15366                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15367
15368 fi
15369
15370
15371           eval "$wx_cv_use_uiactionsim"
15372
15373           if test x"$enablestring" = xdisable; then
15374             if test $wxUSE_UIACTIONSIMULATOR = no; then
15375               result=yes
15376             else
15377               result=no
15378             fi
15379           else
15380             result=$wxUSE_UIACTIONSIMULATOR
15381           fi
15382
15383           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15384 $as_echo "$result" >&6; }
15385
15386
15387           enablestring=
15388           defaultval=$wxUSE_ALL_FEATURES
15389           if test -z "$defaultval"; then
15390               if test x"$enablestring" = xdisable; then
15391                   defaultval=yes
15392               else
15393                   defaultval=no
15394               fi
15395           fi
15396
15397           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15398 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15399           # Check whether --enable-dctransform was given.
15400 if test "${enable_dctransform+set}" = set; then :
15401   enableval=$enable_dctransform;
15402                           if test "$enableval" = yes; then
15403                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15404                           else
15405                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15406                           fi
15407
15408 else
15409
15410                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15411
15412 fi
15413
15414
15415           eval "$wx_cv_use_dctransform"
15416
15417           if test x"$enablestring" = xdisable; then
15418             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15419               result=yes
15420             else
15421               result=no
15422             fi
15423           else
15424             result=$wxUSE_DC_TRANSFORM_MATRIX
15425           fi
15426
15427           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15428 $as_echo "$result" >&6; }
15429
15430
15431           enablestring=
15432           defaultval=$wxUSE_ALL_FEATURES
15433           if test -z "$defaultval"; then
15434               if test x"$enablestring" = xdisable; then
15435                   defaultval=yes
15436               else
15437                   defaultval=no
15438               fi
15439           fi
15440
15441           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15442 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15443           # Check whether --enable-webviewwebkit was given.
15444 if test "${enable_webviewwebkit+set}" = set; then :
15445   enableval=$enable_webviewwebkit;
15446                           if test "$enableval" = yes; then
15447                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15448                           else
15449                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15450                           fi
15451
15452 else
15453
15454                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15455
15456 fi
15457
15458
15459           eval "$wx_cv_use_webviewwebkit"
15460
15461           if test x"$enablestring" = xdisable; then
15462             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15463               result=yes
15464             else
15465               result=no
15466             fi
15467           else
15468             result=$wxUSE_WEBVIEW_WEBKIT
15469           fi
15470
15471           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15472 $as_echo "$result" >&6; }
15473
15474
15475
15476
15477           enablestring=
15478           defaultval=$wxUSE_ALL_FEATURES
15479           if test -z "$defaultval"; then
15480               if test x"$enablestring" = xdisable; then
15481                   defaultval=yes
15482               else
15483                   defaultval=no
15484               fi
15485           fi
15486
15487           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15488 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15489           # Check whether --enable-palette was given.
15490 if test "${enable_palette+set}" = set; then :
15491   enableval=$enable_palette;
15492                           if test "$enableval" = yes; then
15493                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15494                           else
15495                             wx_cv_use_palette='wxUSE_PALETTE=no'
15496                           fi
15497
15498 else
15499
15500                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15501
15502 fi
15503
15504
15505           eval "$wx_cv_use_palette"
15506
15507           if test x"$enablestring" = xdisable; then
15508             if test $wxUSE_PALETTE = no; then
15509               result=yes
15510             else
15511               result=no
15512             fi
15513           else
15514             result=$wxUSE_PALETTE
15515           fi
15516
15517           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15518 $as_echo "$result" >&6; }
15519
15520
15521           enablestring=
15522           defaultval=$wxUSE_ALL_FEATURES
15523           if test -z "$defaultval"; then
15524               if test x"$enablestring" = xdisable; then
15525                   defaultval=yes
15526               else
15527                   defaultval=no
15528               fi
15529           fi
15530
15531           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15532 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15533           # Check whether --enable-image was given.
15534 if test "${enable_image+set}" = set; then :
15535   enableval=$enable_image;
15536                           if test "$enableval" = yes; then
15537                             wx_cv_use_image='wxUSE_IMAGE=yes'
15538                           else
15539                             wx_cv_use_image='wxUSE_IMAGE=no'
15540                           fi
15541
15542 else
15543
15544                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15545
15546 fi
15547
15548
15549           eval "$wx_cv_use_image"
15550
15551           if test x"$enablestring" = xdisable; then
15552             if test $wxUSE_IMAGE = no; then
15553               result=yes
15554             else
15555               result=no
15556             fi
15557           else
15558             result=$wxUSE_IMAGE
15559           fi
15560
15561           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15562 $as_echo "$result" >&6; }
15563
15564
15565           enablestring=
15566           defaultval=$wxUSE_ALL_FEATURES
15567           if test -z "$defaultval"; then
15568               if test x"$enablestring" = xdisable; then
15569                   defaultval=yes
15570               else
15571                   defaultval=no
15572               fi
15573           fi
15574
15575           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15576 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15577           # Check whether --enable-gif was given.
15578 if test "${enable_gif+set}" = set; then :
15579   enableval=$enable_gif;
15580                           if test "$enableval" = yes; then
15581                             wx_cv_use_gif='wxUSE_GIF=yes'
15582                           else
15583                             wx_cv_use_gif='wxUSE_GIF=no'
15584                           fi
15585
15586 else
15587
15588                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15589
15590 fi
15591
15592
15593           eval "$wx_cv_use_gif"
15594
15595           if test x"$enablestring" = xdisable; then
15596             if test $wxUSE_GIF = no; then
15597               result=yes
15598             else
15599               result=no
15600             fi
15601           else
15602             result=$wxUSE_GIF
15603           fi
15604
15605           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15606 $as_echo "$result" >&6; }
15607
15608
15609           enablestring=
15610           defaultval=$wxUSE_ALL_FEATURES
15611           if test -z "$defaultval"; then
15612               if test x"$enablestring" = xdisable; then
15613                   defaultval=yes
15614               else
15615                   defaultval=no
15616               fi
15617           fi
15618
15619           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15620 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15621           # Check whether --enable-pcx was given.
15622 if test "${enable_pcx+set}" = set; then :
15623   enableval=$enable_pcx;
15624                           if test "$enableval" = yes; then
15625                             wx_cv_use_pcx='wxUSE_PCX=yes'
15626                           else
15627                             wx_cv_use_pcx='wxUSE_PCX=no'
15628                           fi
15629
15630 else
15631
15632                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15633
15634 fi
15635
15636
15637           eval "$wx_cv_use_pcx"
15638
15639           if test x"$enablestring" = xdisable; then
15640             if test $wxUSE_PCX = no; then
15641               result=yes
15642             else
15643               result=no
15644             fi
15645           else
15646             result=$wxUSE_PCX
15647           fi
15648
15649           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15650 $as_echo "$result" >&6; }
15651
15652
15653           enablestring=
15654           defaultval=$wxUSE_ALL_FEATURES
15655           if test -z "$defaultval"; then
15656               if test x"$enablestring" = xdisable; then
15657                   defaultval=yes
15658               else
15659                   defaultval=no
15660               fi
15661           fi
15662
15663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15664 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15665           # Check whether --enable-tga was given.
15666 if test "${enable_tga+set}" = set; then :
15667   enableval=$enable_tga;
15668                           if test "$enableval" = yes; then
15669                             wx_cv_use_tga='wxUSE_TGA=yes'
15670                           else
15671                             wx_cv_use_tga='wxUSE_TGA=no'
15672                           fi
15673
15674 else
15675
15676                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15677
15678 fi
15679
15680
15681           eval "$wx_cv_use_tga"
15682
15683           if test x"$enablestring" = xdisable; then
15684             if test $wxUSE_TGA = no; then
15685               result=yes
15686             else
15687               result=no
15688             fi
15689           else
15690             result=$wxUSE_TGA
15691           fi
15692
15693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15694 $as_echo "$result" >&6; }
15695
15696
15697           enablestring=
15698           defaultval=$wxUSE_ALL_FEATURES
15699           if test -z "$defaultval"; then
15700               if test x"$enablestring" = xdisable; then
15701                   defaultval=yes
15702               else
15703                   defaultval=no
15704               fi
15705           fi
15706
15707           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15708 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15709           # Check whether --enable-iff was given.
15710 if test "${enable_iff+set}" = set; then :
15711   enableval=$enable_iff;
15712                           if test "$enableval" = yes; then
15713                             wx_cv_use_iff='wxUSE_IFF=yes'
15714                           else
15715                             wx_cv_use_iff='wxUSE_IFF=no'
15716                           fi
15717
15718 else
15719
15720                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15721
15722 fi
15723
15724
15725           eval "$wx_cv_use_iff"
15726
15727           if test x"$enablestring" = xdisable; then
15728             if test $wxUSE_IFF = no; then
15729               result=yes
15730             else
15731               result=no
15732             fi
15733           else
15734             result=$wxUSE_IFF
15735           fi
15736
15737           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15738 $as_echo "$result" >&6; }
15739
15740
15741           enablestring=
15742           defaultval=$wxUSE_ALL_FEATURES
15743           if test -z "$defaultval"; then
15744               if test x"$enablestring" = xdisable; then
15745                   defaultval=yes
15746               else
15747                   defaultval=no
15748               fi
15749           fi
15750
15751           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15752 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15753           # Check whether --enable-pnm was given.
15754 if test "${enable_pnm+set}" = set; then :
15755   enableval=$enable_pnm;
15756                           if test "$enableval" = yes; then
15757                             wx_cv_use_pnm='wxUSE_PNM=yes'
15758                           else
15759                             wx_cv_use_pnm='wxUSE_PNM=no'
15760                           fi
15761
15762 else
15763
15764                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15765
15766 fi
15767
15768
15769           eval "$wx_cv_use_pnm"
15770
15771           if test x"$enablestring" = xdisable; then
15772             if test $wxUSE_PNM = no; then
15773               result=yes
15774             else
15775               result=no
15776             fi
15777           else
15778             result=$wxUSE_PNM
15779           fi
15780
15781           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15782 $as_echo "$result" >&6; }
15783
15784
15785           enablestring=
15786           defaultval=$wxUSE_ALL_FEATURES
15787           if test -z "$defaultval"; then
15788               if test x"$enablestring" = xdisable; then
15789                   defaultval=yes
15790               else
15791                   defaultval=no
15792               fi
15793           fi
15794
15795           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15796 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15797           # Check whether --enable-xpm was given.
15798 if test "${enable_xpm+set}" = set; then :
15799   enableval=$enable_xpm;
15800                           if test "$enableval" = yes; then
15801                             wx_cv_use_xpm='wxUSE_XPM=yes'
15802                           else
15803                             wx_cv_use_xpm='wxUSE_XPM=no'
15804                           fi
15805
15806 else
15807
15808                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15809
15810 fi
15811
15812
15813           eval "$wx_cv_use_xpm"
15814
15815           if test x"$enablestring" = xdisable; then
15816             if test $wxUSE_XPM = no; then
15817               result=yes
15818             else
15819               result=no
15820             fi
15821           else
15822             result=$wxUSE_XPM
15823           fi
15824
15825           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15826 $as_echo "$result" >&6; }
15827
15828
15829           enablestring=
15830           defaultval=$wxUSE_ALL_FEATURES
15831           if test -z "$defaultval"; then
15832               if test x"$enablestring" = xdisable; then
15833                   defaultval=yes
15834               else
15835                   defaultval=no
15836               fi
15837           fi
15838
15839           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15840 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15841           # Check whether --enable-ico_cur was given.
15842 if test "${enable_ico_cur+set}" = set; then :
15843   enableval=$enable_ico_cur;
15844                           if test "$enableval" = yes; then
15845                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15846                           else
15847                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15848                           fi
15849
15850 else
15851
15852                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15853
15854 fi
15855
15856
15857           eval "$wx_cv_use_ico_cur"
15858
15859           if test x"$enablestring" = xdisable; then
15860             if test $wxUSE_ICO_CUR = no; then
15861               result=yes
15862             else
15863               result=no
15864             fi
15865           else
15866             result=$wxUSE_ICO_CUR
15867           fi
15868
15869           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15870 $as_echo "$result" >&6; }
15871
15872
15873
15874
15875           enablestring=
15876           defaultval=$wxUSE_ALL_FEATURES
15877           if test -z "$defaultval"; then
15878               if test x"$enablestring" = xdisable; then
15879                   defaultval=yes
15880               else
15881                   defaultval=no
15882               fi
15883           fi
15884
15885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15886 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15887           # Check whether --enable-dccache was given.
15888 if test "${enable_dccache+set}" = set; then :
15889   enableval=$enable_dccache;
15890                           if test "$enableval" = yes; then
15891                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15892                           else
15893                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15894                           fi
15895
15896 else
15897
15898                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15899
15900 fi
15901
15902
15903           eval "$wx_cv_use_dccache"
15904
15905           if test x"$enablestring" = xdisable; then
15906             if test $wxUSE_DC_CACHEING = no; then
15907               result=yes
15908             else
15909               result=no
15910             fi
15911           else
15912             result=$wxUSE_DC_CACHEING
15913           fi
15914
15915           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15916 $as_echo "$result" >&6; }
15917
15918
15919           enablestring=
15920           defaultval=$wxUSE_ALL_FEATURES
15921           if test -z "$defaultval"; then
15922               if test x"$enablestring" = xdisable; then
15923                   defaultval=yes
15924               else
15925                   defaultval=no
15926               fi
15927           fi
15928
15929           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15930 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15931           # Check whether --enable-ps-in-msw was given.
15932 if test "${enable_ps_in_msw+set}" = set; then :
15933   enableval=$enable_ps_in_msw;
15934                           if test "$enableval" = yes; then
15935                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15936                           else
15937                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15938                           fi
15939
15940 else
15941
15942                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15943
15944 fi
15945
15946
15947           eval "$wx_cv_use_ps_in_msw"
15948
15949           if test x"$enablestring" = xdisable; then
15950             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15951               result=yes
15952             else
15953               result=no
15954             fi
15955           else
15956             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15957           fi
15958
15959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15960 $as_echo "$result" >&6; }
15961
15962
15963           enablestring=
15964           defaultval=$wxUSE_ALL_FEATURES
15965           if test -z "$defaultval"; then
15966               if test x"$enablestring" = xdisable; then
15967                   defaultval=yes
15968               else
15969                   defaultval=no
15970               fi
15971           fi
15972
15973           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15974 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15975           # Check whether --enable-ownerdrawn was given.
15976 if test "${enable_ownerdrawn+set}" = set; then :
15977   enableval=$enable_ownerdrawn;
15978                           if test "$enableval" = yes; then
15979                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15980                           else
15981                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15982                           fi
15983
15984 else
15985
15986                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15987
15988 fi
15989
15990
15991           eval "$wx_cv_use_ownerdrawn"
15992
15993           if test x"$enablestring" = xdisable; then
15994             if test $wxUSE_OWNER_DRAWN = no; then
15995               result=yes
15996             else
15997               result=no
15998             fi
15999           else
16000             result=$wxUSE_OWNER_DRAWN
16001           fi
16002
16003           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16004 $as_echo "$result" >&6; }
16005
16006
16007           enablestring=
16008           defaultval=$wxUSE_ALL_FEATURES
16009           if test -z "$defaultval"; then
16010               if test x"$enablestring" = xdisable; then
16011                   defaultval=yes
16012               else
16013                   defaultval=no
16014               fi
16015           fi
16016
16017           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16018 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16019           # Check whether --enable-uxtheme was given.
16020 if test "${enable_uxtheme+set}" = set; then :
16021   enableval=$enable_uxtheme;
16022                           if test "$enableval" = yes; then
16023                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16024                           else
16025                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16026                           fi
16027
16028 else
16029
16030                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16031
16032 fi
16033
16034
16035           eval "$wx_cv_use_uxtheme"
16036
16037           if test x"$enablestring" = xdisable; then
16038             if test $wxUSE_UXTHEME = no; then
16039               result=yes
16040             else
16041               result=no
16042             fi
16043           else
16044             result=$wxUSE_UXTHEME
16045           fi
16046
16047           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16048 $as_echo "$result" >&6; }
16049
16050
16051           enablestring=
16052           defaultval=$wxUSE_ALL_FEATURES
16053           if test -z "$defaultval"; then
16054               if test x"$enablestring" = xdisable; then
16055                   defaultval=yes
16056               else
16057                   defaultval=no
16058               fi
16059           fi
16060
16061           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16062 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16063           # Check whether --enable-wxdib was given.
16064 if test "${enable_wxdib+set}" = set; then :
16065   enableval=$enable_wxdib;
16066                           if test "$enableval" = yes; then
16067                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16068                           else
16069                             wx_cv_use_wxdib='wxUSE_DIB=no'
16070                           fi
16071
16072 else
16073
16074                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16075
16076 fi
16077
16078
16079           eval "$wx_cv_use_wxdib"
16080
16081           if test x"$enablestring" = xdisable; then
16082             if test $wxUSE_DIB = no; then
16083               result=yes
16084             else
16085               result=no
16086             fi
16087           else
16088             result=$wxUSE_DIB
16089           fi
16090
16091           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16092 $as_echo "$result" >&6; }
16093
16094
16095           enablestring=
16096           defaultval=$wxUSE_ALL_FEATURES
16097           if test -z "$defaultval"; then
16098               if test x"$enablestring" = xdisable; then
16099                   defaultval=yes
16100               else
16101                   defaultval=no
16102               fi
16103           fi
16104
16105           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16106 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16107           # Check whether --enable-webviewie was given.
16108 if test "${enable_webviewie+set}" = set; then :
16109   enableval=$enable_webviewie;
16110                           if test "$enableval" = yes; then
16111                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16112                           else
16113                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16114                           fi
16115
16116 else
16117
16118                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16119
16120 fi
16121
16122
16123           eval "$wx_cv_use_webviewie"
16124
16125           if test x"$enablestring" = xdisable; then
16126             if test $wxUSE_WEBVIEW_IE = no; then
16127               result=yes
16128             else
16129               result=no
16130             fi
16131           else
16132             result=$wxUSE_WEBVIEW_IE
16133           fi
16134
16135           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16136 $as_echo "$result" >&6; }
16137
16138
16139 if test "$wxUSE_MSW" != 1; then
16140     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16141 fi
16142
16143
16144           enablestring=
16145           defaultval=$wxUSE_ALL_FEATURES
16146           if test -z "$defaultval"; then
16147               if test x"$enablestring" = xdisable; then
16148                   defaultval=yes
16149               else
16150                   defaultval=no
16151               fi
16152           fi
16153
16154           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16155 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16156           # Check whether --enable-autoidman was given.
16157 if test "${enable_autoidman+set}" = set; then :
16158   enableval=$enable_autoidman;
16159                           if test "$enableval" = yes; then
16160                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16161                           else
16162                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16163                           fi
16164
16165 else
16166
16167                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16168
16169 fi
16170
16171
16172           eval "$wx_cv_use_autoidman"
16173
16174           if test x"$enablestring" = xdisable; then
16175             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16176               result=yes
16177             else
16178               result=no
16179             fi
16180           else
16181             result=$wxUSE_AUTOID_MANAGEMENT
16182           fi
16183
16184           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16185 $as_echo "$result" >&6; }
16186
16187
16188 fi
16189
16190
16191 cat >confcache <<\_ACEOF
16192 # This file is a shell script that caches the results of configure
16193 # tests run on this system so they can be shared between configure
16194 # scripts and configure runs, see configure's option --config-cache.
16195 # It is not useful on other systems.  If it contains results you don't
16196 # want to keep, you may remove or edit it.
16197 #
16198 # config.status only pays attention to the cache file if you give it
16199 # the --recheck option to rerun configure.
16200 #
16201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16203 # following values.
16204
16205 _ACEOF
16206
16207 # The following way of writing the cache mishandles newlines in values,
16208 # but we know of no workaround that is simple, portable, and efficient.
16209 # So, we kill variables containing newlines.
16210 # Ultrix sh set writes to stderr and can't be redirected directly,
16211 # and sets the high bit in the cache file unless we assign to the vars.
16212 (
16213   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16214     eval ac_val=\$$ac_var
16215     case $ac_val in #(
16216     *${as_nl}*)
16217       case $ac_var in #(
16218       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16220       esac
16221       case $ac_var in #(
16222       _ | IFS | as_nl) ;; #(
16223       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16224       *) { eval $ac_var=; unset $ac_var;} ;;
16225       esac ;;
16226     esac
16227   done
16228
16229   (set) 2>&1 |
16230     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16231     *${as_nl}ac_space=\ *)
16232       # `set' does not quote correctly, so add quotes: double-quote
16233       # substitution turns \\\\ into \\, and sed turns \\ into \.
16234       sed -n \
16235         "s/'/'\\\\''/g;
16236           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16237       ;; #(
16238     *)
16239       # `set' quotes correctly as required by POSIX, so do not add quotes.
16240       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16241       ;;
16242     esac |
16243     sort
16244 ) |
16245   sed '
16246      /^ac_cv_env_/b end
16247      t clear
16248      :clear
16249      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16250      t end
16251      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16252      :end' >>confcache
16253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16254   if test -w "$cache_file"; then
16255     if test "x$cache_file" != "x/dev/null"; then
16256       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16257 $as_echo "$as_me: updating cache $cache_file" >&6;}
16258       if test ! -f "$cache_file" || test -h "$cache_file"; then
16259         cat confcache >"$cache_file"
16260       else
16261         case $cache_file in #(
16262         */* | ?:*)
16263           mv -f confcache "$cache_file"$$ &&
16264           mv -f "$cache_file"$$ "$cache_file" ;; #(
16265         *)
16266           mv -f confcache "$cache_file" ;;
16267         esac
16268       fi
16269     fi
16270   else
16271     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16273   fi
16274 fi
16275 rm -f confcache
16276
16277 CFLAGS=${CFLAGS:=}
16278 ac_ext=c
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283 if test -n "$ac_tool_prefix"; then
16284   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_prog_CC+:} false; then :
16289   $as_echo_n "(cached) " >&6
16290 else
16291   if test -n "$CC"; then
16292   ac_cv_prog_CC="$CC" # Let the user override the test.
16293 else
16294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16295 for as_dir in $PATH
16296 do
16297   IFS=$as_save_IFS
16298   test -z "$as_dir" && as_dir=.
16299     for ac_exec_ext in '' $ac_executable_extensions; do
16300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16301     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16303     break 2
16304   fi
16305 done
16306   done
16307 IFS=$as_save_IFS
16308
16309 fi
16310 fi
16311 CC=$ac_cv_prog_CC
16312 if test -n "$CC"; then
16313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16314 $as_echo "$CC" >&6; }
16315 else
16316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 $as_echo "no" >&6; }
16318 fi
16319
16320
16321 fi
16322 if test -z "$ac_cv_prog_CC"; then
16323   ac_ct_CC=$CC
16324   # Extract the first word of "gcc", so it can be a program name with args.
16325 set dummy gcc; ac_word=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16329   $as_echo_n "(cached) " >&6
16330 else
16331   if test -n "$ac_ct_CC"; then
16332   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16333 else
16334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16335 for as_dir in $PATH
16336 do
16337   IFS=$as_save_IFS
16338   test -z "$as_dir" && as_dir=.
16339     for ac_exec_ext in '' $ac_executable_extensions; do
16340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16341     ac_cv_prog_ac_ct_CC="gcc"
16342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16343     break 2
16344   fi
16345 done
16346   done
16347 IFS=$as_save_IFS
16348
16349 fi
16350 fi
16351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16352 if test -n "$ac_ct_CC"; then
16353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16354 $as_echo "$ac_ct_CC" >&6; }
16355 else
16356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 $as_echo "no" >&6; }
16358 fi
16359
16360   if test "x$ac_ct_CC" = x; then
16361     CC=""
16362   else
16363     case $cross_compiling:$ac_tool_warned in
16364 yes:)
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16367 ac_tool_warned=yes ;;
16368 esac
16369     CC=$ac_ct_CC
16370   fi
16371 else
16372   CC="$ac_cv_prog_CC"
16373 fi
16374
16375 if test -z "$CC"; then
16376           if test -n "$ac_tool_prefix"; then
16377     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16378 set dummy ${ac_tool_prefix}cc; ac_word=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16380 $as_echo_n "checking for $ac_word... " >&6; }
16381 if ${ac_cv_prog_CC+:} false; then :
16382   $as_echo_n "(cached) " >&6
16383 else
16384   if test -n "$CC"; then
16385   ac_cv_prog_CC="$CC" # Let the user override the test.
16386 else
16387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16389 do
16390   IFS=$as_save_IFS
16391   test -z "$as_dir" && as_dir=.
16392     for ac_exec_ext in '' $ac_executable_extensions; do
16393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394     ac_cv_prog_CC="${ac_tool_prefix}cc"
16395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16396     break 2
16397   fi
16398 done
16399   done
16400 IFS=$as_save_IFS
16401
16402 fi
16403 fi
16404 CC=$ac_cv_prog_CC
16405 if test -n "$CC"; then
16406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16407 $as_echo "$CC" >&6; }
16408 else
16409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16411 fi
16412
16413
16414   fi
16415 fi
16416 if test -z "$CC"; then
16417   # Extract the first word of "cc", so it can be a program name with args.
16418 set dummy cc; ac_word=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16420 $as_echo_n "checking for $ac_word... " >&6; }
16421 if ${ac_cv_prog_CC+:} false; then :
16422   $as_echo_n "(cached) " >&6
16423 else
16424   if test -n "$CC"; then
16425   ac_cv_prog_CC="$CC" # Let the user override the test.
16426 else
16427   ac_prog_rejected=no
16428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16429 for as_dir in $PATH
16430 do
16431   IFS=$as_save_IFS
16432   test -z "$as_dir" && as_dir=.
16433     for ac_exec_ext in '' $ac_executable_extensions; do
16434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16435     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16436        ac_prog_rejected=yes
16437        continue
16438      fi
16439     ac_cv_prog_CC="cc"
16440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16441     break 2
16442   fi
16443 done
16444   done
16445 IFS=$as_save_IFS
16446
16447 if test $ac_prog_rejected = yes; then
16448   # We found a bogon in the path, so make sure we never use it.
16449   set dummy $ac_cv_prog_CC
16450   shift
16451   if test $# != 0; then
16452     # We chose a different compiler from the bogus one.
16453     # However, it has the same basename, so the bogon will be chosen
16454     # first if we set CC to just the basename; use the full file name.
16455     shift
16456     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16457   fi
16458 fi
16459 fi
16460 fi
16461 CC=$ac_cv_prog_CC
16462 if test -n "$CC"; then
16463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16464 $as_echo "$CC" >&6; }
16465 else
16466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16468 fi
16469
16470
16471 fi
16472 if test -z "$CC"; then
16473   if test -n "$ac_tool_prefix"; then
16474   for ac_prog in cl.exe
16475   do
16476     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16479 $as_echo_n "checking for $ac_word... " >&6; }
16480 if ${ac_cv_prog_CC+:} false; then :
16481   $as_echo_n "(cached) " >&6
16482 else
16483   if test -n "$CC"; then
16484   ac_cv_prog_CC="$CC" # Let the user override the test.
16485 else
16486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16487 for as_dir in $PATH
16488 do
16489   IFS=$as_save_IFS
16490   test -z "$as_dir" && as_dir=.
16491     for ac_exec_ext in '' $ac_executable_extensions; do
16492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16493     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16495     break 2
16496   fi
16497 done
16498   done
16499 IFS=$as_save_IFS
16500
16501 fi
16502 fi
16503 CC=$ac_cv_prog_CC
16504 if test -n "$CC"; then
16505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16506 $as_echo "$CC" >&6; }
16507 else
16508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16510 fi
16511
16512
16513     test -n "$CC" && break
16514   done
16515 fi
16516 if test -z "$CC"; then
16517   ac_ct_CC=$CC
16518   for ac_prog in cl.exe
16519 do
16520   # Extract the first word of "$ac_prog", so it can be a program name with args.
16521 set dummy $ac_prog; ac_word=$2
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16523 $as_echo_n "checking for $ac_word... " >&6; }
16524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16525   $as_echo_n "(cached) " >&6
16526 else
16527   if test -n "$ac_ct_CC"; then
16528   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16529 else
16530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531 for as_dir in $PATH
16532 do
16533   IFS=$as_save_IFS
16534   test -z "$as_dir" && as_dir=.
16535     for ac_exec_ext in '' $ac_executable_extensions; do
16536   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16537     ac_cv_prog_ac_ct_CC="$ac_prog"
16538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16539     break 2
16540   fi
16541 done
16542   done
16543 IFS=$as_save_IFS
16544
16545 fi
16546 fi
16547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16548 if test -n "$ac_ct_CC"; then
16549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16550 $as_echo "$ac_ct_CC" >&6; }
16551 else
16552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16553 $as_echo "no" >&6; }
16554 fi
16555
16556
16557   test -n "$ac_ct_CC" && break
16558 done
16559
16560   if test "x$ac_ct_CC" = x; then
16561     CC=""
16562   else
16563     case $cross_compiling:$ac_tool_warned in
16564 yes:)
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16567 ac_tool_warned=yes ;;
16568 esac
16569     CC=$ac_ct_CC
16570   fi
16571 fi
16572
16573 fi
16574
16575
16576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16578 as_fn_error $? "no acceptable C compiler found in \$PATH
16579 See \`config.log' for more details" "$LINENO" 5; }
16580
16581 # Provide some information about the compiler.
16582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16583 set X $ac_compile
16584 ac_compiler=$2
16585 for ac_option in --version -v -V -qversion; do
16586   { { ac_try="$ac_compiler $ac_option >&5"
16587 case "(($ac_try" in
16588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16589   *) ac_try_echo=$ac_try;;
16590 esac
16591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16592 $as_echo "$ac_try_echo"; } >&5
16593   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16594   ac_status=$?
16595   if test -s conftest.err; then
16596     sed '10a\
16597 ... rest of stderr output deleted ...
16598          10q' conftest.err >conftest.er1
16599     cat conftest.er1 >&5
16600   fi
16601   rm -f conftest.er1 conftest.err
16602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16603   test $ac_status = 0; }
16604 done
16605
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h.  */
16608
16609 int
16610 main ()
16611 {
16612
16613   ;
16614   return 0;
16615 }
16616 _ACEOF
16617 ac_clean_files_save=$ac_clean_files
16618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16619 # Try to create an executable without -o first, disregard a.out.
16620 # It will help us diagnose broken compilers, and finding out an intuition
16621 # of exeext.
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16623 $as_echo_n "checking whether the C compiler works... " >&6; }
16624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16625
16626 # The possible output files:
16627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16628
16629 ac_rmfiles=
16630 for ac_file in $ac_files
16631 do
16632   case $ac_file in
16633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16634     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16635   esac
16636 done
16637 rm -f $ac_rmfiles
16638
16639 if { { ac_try="$ac_link_default"
16640 case "(($ac_try" in
16641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16642   *) ac_try_echo=$ac_try;;
16643 esac
16644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16645 $as_echo "$ac_try_echo"; } >&5
16646   (eval "$ac_link_default") 2>&5
16647   ac_status=$?
16648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16649   test $ac_status = 0; }; then :
16650   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16652 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16653 # so that the user can short-circuit this test for compilers unknown to
16654 # Autoconf.
16655 for ac_file in $ac_files ''
16656 do
16657   test -f "$ac_file" || continue
16658   case $ac_file in
16659     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16660         ;;
16661     [ab].out )
16662         # We found the default executable, but exeext='' is most
16663         # certainly right.
16664         break;;
16665     *.* )
16666         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16667         then :; else
16668            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16669         fi
16670         # We set ac_cv_exeext here because the later test for it is not
16671         # safe: cross compilers may not add the suffix if given an `-o'
16672         # argument, so we may need to know it at that point already.
16673         # Even if this section looks crufty: it has the advantage of
16674         # actually working.
16675         break;;
16676     * )
16677         break;;
16678   esac
16679 done
16680 test "$ac_cv_exeext" = no && ac_cv_exeext=
16681
16682 else
16683   ac_file=''
16684 fi
16685 if test -z "$ac_file"; then :
16686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16688 $as_echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16690
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error 77 "C compiler cannot create executables
16694 See \`config.log' for more details" "$LINENO" 5; }
16695 else
16696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16698 fi
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16700 $as_echo_n "checking for C compiler default output file name... " >&6; }
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16702 $as_echo "$ac_file" >&6; }
16703 ac_exeext=$ac_cv_exeext
16704
16705 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16706 ac_clean_files=$ac_clean_files_save
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16708 $as_echo_n "checking for suffix of executables... " >&6; }
16709 if { { ac_try="$ac_link"
16710 case "(($ac_try" in
16711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712   *) ac_try_echo=$ac_try;;
16713 esac
16714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16715 $as_echo "$ac_try_echo"; } >&5
16716   (eval "$ac_link") 2>&5
16717   ac_status=$?
16718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16719   test $ac_status = 0; }; then :
16720   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16721 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16722 # work properly (i.e., refer to `conftest.exe'), while it won't with
16723 # `rm'.
16724 for ac_file in conftest.exe conftest conftest.*; do
16725   test -f "$ac_file" || continue
16726   case $ac_file in
16727     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16728     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16729           break;;
16730     * ) break;;
16731   esac
16732 done
16733 else
16734   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16736 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16737 See \`config.log' for more details" "$LINENO" 5; }
16738 fi
16739 rm -f conftest conftest$ac_cv_exeext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16741 $as_echo "$ac_cv_exeext" >&6; }
16742
16743 rm -f conftest.$ac_ext
16744 EXEEXT=$ac_cv_exeext
16745 ac_exeext=$EXEEXT
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h.  */
16748 #include <stdio.h>
16749 int
16750 main ()
16751 {
16752 FILE *f = fopen ("conftest.out", "w");
16753  return ferror (f) || fclose (f) != 0;
16754
16755   ;
16756   return 0;
16757 }
16758 _ACEOF
16759 ac_clean_files="$ac_clean_files conftest.out"
16760 # Check that the compiler produces executables we can run.  If not, either
16761 # the compiler is broken, or we cross compile.
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16763 $as_echo_n "checking whether we are cross compiling... " >&6; }
16764 if test "$cross_compiling" != yes; then
16765   { { ac_try="$ac_link"
16766 case "(($ac_try" in
16767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768   *) ac_try_echo=$ac_try;;
16769 esac
16770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16771 $as_echo "$ac_try_echo"; } >&5
16772   (eval "$ac_link") 2>&5
16773   ac_status=$?
16774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775   test $ac_status = 0; }
16776   if { ac_try='./conftest$ac_cv_exeext'
16777   { { case "(($ac_try" in
16778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779   *) ac_try_echo=$ac_try;;
16780 esac
16781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16782 $as_echo "$ac_try_echo"; } >&5
16783   (eval "$ac_try") 2>&5
16784   ac_status=$?
16785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16786   test $ac_status = 0; }; }; then
16787     cross_compiling=no
16788   else
16789     if test "$cross_compiling" = maybe; then
16790         cross_compiling=yes
16791     else
16792         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16794 as_fn_error $? "cannot run C compiled programs.
16795 If you meant to cross compile, use \`--host'.
16796 See \`config.log' for more details" "$LINENO" 5; }
16797     fi
16798   fi
16799 fi
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16801 $as_echo "$cross_compiling" >&6; }
16802
16803 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16804 ac_clean_files=$ac_clean_files_save
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16806 $as_echo_n "checking for suffix of object files... " >&6; }
16807 if ${ac_cv_objext+:} false; then :
16808   $as_echo_n "(cached) " >&6
16809 else
16810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h.  */
16812
16813 int
16814 main ()
16815 {
16816
16817   ;
16818   return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.o conftest.obj
16822 if { { ac_try="$ac_compile"
16823 case "(($ac_try" in
16824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825   *) ac_try_echo=$ac_try;;
16826 esac
16827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16828 $as_echo "$ac_try_echo"; } >&5
16829   (eval "$ac_compile") 2>&5
16830   ac_status=$?
16831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16832   test $ac_status = 0; }; then :
16833   for ac_file in conftest.o conftest.obj conftest.*; do
16834   test -f "$ac_file" || continue;
16835   case $ac_file in
16836     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16837     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16838        break;;
16839   esac
16840 done
16841 else
16842   $as_echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error $? "cannot compute suffix of object files: cannot compile
16848 See \`config.log' for more details" "$LINENO" 5; }
16849 fi
16850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16851 fi
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16853 $as_echo "$ac_cv_objext" >&6; }
16854 OBJEXT=$ac_cv_objext
16855 ac_objext=$OBJEXT
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16858 if ${ac_cv_c_compiler_gnu+:} false; then :
16859   $as_echo_n "(cached) " >&6
16860 else
16861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h.  */
16863
16864 int
16865 main ()
16866 {
16867 #ifndef __GNUC__
16868        choke me
16869 #endif
16870
16871   ;
16872   return 0;
16873 }
16874 _ACEOF
16875 if ac_fn_c_try_compile "$LINENO"; then :
16876   ac_compiler_gnu=yes
16877 else
16878   ac_compiler_gnu=no
16879 fi
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16882
16883 fi
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16886 if test $ac_compiler_gnu = yes; then
16887   GCC=yes
16888 else
16889   GCC=
16890 fi
16891 ac_test_CFLAGS=${CFLAGS+set}
16892 ac_save_CFLAGS=$CFLAGS
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16895 if ${ac_cv_prog_cc_g+:} false; then :
16896   $as_echo_n "(cached) " >&6
16897 else
16898   ac_save_c_werror_flag=$ac_c_werror_flag
16899    ac_c_werror_flag=yes
16900    ac_cv_prog_cc_g=no
16901    CFLAGS="-g"
16902    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h.  */
16904
16905 int
16906 main ()
16907 {
16908
16909   ;
16910   return 0;
16911 }
16912 _ACEOF
16913 if ac_fn_c_try_compile "$LINENO"; then :
16914   ac_cv_prog_cc_g=yes
16915 else
16916   CFLAGS=""
16917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h.  */
16919
16920 int
16921 main ()
16922 {
16923
16924   ;
16925   return 0;
16926 }
16927 _ACEOF
16928 if ac_fn_c_try_compile "$LINENO"; then :
16929
16930 else
16931   ac_c_werror_flag=$ac_save_c_werror_flag
16932          CFLAGS="-g"
16933          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h.  */
16935
16936 int
16937 main ()
16938 {
16939
16940   ;
16941   return 0;
16942 }
16943 _ACEOF
16944 if ac_fn_c_try_compile "$LINENO"; then :
16945   ac_cv_prog_cc_g=yes
16946 fi
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 fi
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 fi
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952    ac_c_werror_flag=$ac_save_c_werror_flag
16953 fi
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16955 $as_echo "$ac_cv_prog_cc_g" >&6; }
16956 if test "$ac_test_CFLAGS" = set; then
16957   CFLAGS=$ac_save_CFLAGS
16958 elif test $ac_cv_prog_cc_g = yes; then
16959   if test "$GCC" = yes; then
16960     CFLAGS="-g -O2"
16961   else
16962     CFLAGS="-g"
16963   fi
16964 else
16965   if test "$GCC" = yes; then
16966     CFLAGS="-O2"
16967   else
16968     CFLAGS=
16969   fi
16970 fi
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16973 if ${ac_cv_prog_cc_c89+:} false; then :
16974   $as_echo_n "(cached) " >&6
16975 else
16976   ac_cv_prog_cc_c89=no
16977 ac_save_CC=$CC
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h.  */
16980 #include <stdarg.h>
16981 #include <stdio.h>
16982 struct stat;
16983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16984 struct buf { int x; };
16985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16986 static char *e (p, i)
16987      char **p;
16988      int i;
16989 {
16990   return p[i];
16991 }
16992 static char *f (char * (*g) (char **, int), char **p, ...)
16993 {
16994   char *s;
16995   va_list v;
16996   va_start (v,p);
16997   s = g (p, va_arg (v,int));
16998   va_end (v);
16999   return s;
17000 }
17001
17002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17003    function prototypes and stuff, but not '\xHH' hex character constants.
17004    These don't provoke an error unfortunately, instead are silently treated
17005    as 'x'.  The following induces an error, until -std is added to get
17006    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17007    array size at least.  It's necessary to write '\x00'==0 to get something
17008    that's true only with -std.  */
17009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17010
17011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17012    inside strings and character constants.  */
17013 #define FOO(x) 'x'
17014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17015
17016 int test (int i, double x);
17017 struct s1 {int (*f) (int a);};
17018 struct s2 {int (*f) (double a);};
17019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17020 int argc;
17021 char **argv;
17022 int
17023 main ()
17024 {
17025 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17026   ;
17027   return 0;
17028 }
17029 _ACEOF
17030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17031         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17032 do
17033   CC="$ac_save_CC $ac_arg"
17034   if ac_fn_c_try_compile "$LINENO"; then :
17035   ac_cv_prog_cc_c89=$ac_arg
17036 fi
17037 rm -f core conftest.err conftest.$ac_objext
17038   test "x$ac_cv_prog_cc_c89" != "xno" && break
17039 done
17040 rm -f conftest.$ac_ext
17041 CC=$ac_save_CC
17042
17043 fi
17044 # AC_CACHE_VAL
17045 case "x$ac_cv_prog_cc_c89" in
17046   x)
17047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;;
17049   xno)
17050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17051 $as_echo "unsupported" >&6; } ;;
17052   *)
17053     CC="$CC $ac_cv_prog_cc_c89"
17054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17056 esac
17057 if test "x$ac_cv_prog_cc_c89" != xno; then :
17058
17059 fi
17060
17061 ac_ext=c
17062 ac_cpp='$CPP $CPPFLAGS'
17063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17066
17067
17068
17069
17070
17071
17072
17073
17074     ac_ext=c
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079
17080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17081 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17082 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17083   $as_echo_n "(cached) " >&6
17084 else
17085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h.  */
17087
17088 int
17089 main ()
17090 {
17091
17092              #ifndef __INTEL_COMPILER
17093                 choke me
17094              #endif
17095
17096   ;
17097   return 0;
17098 }
17099 _ACEOF
17100 if ac_fn_c_try_compile "$LINENO"; then :
17101   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17102 else
17103   bakefile_cv_c_compiler___INTEL_COMPILER=no
17104
17105 fi
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107
17108
17109 fi
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17111 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17112     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17113         :; INTELCC=yes
17114     else
17115         :;
17116     fi
17117     ac_ext=c
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17122
17123
17124
17125
17126         if test "$INTELCC" = "yes"; then
17127
17128
17129     ac_ext=c
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134
17135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17136 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17137 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17138   $as_echo_n "(cached) " >&6
17139 else
17140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h.  */
17142
17143 int
17144 main ()
17145 {
17146
17147              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17148                 choke me
17149              #endif
17150
17151   ;
17152   return 0;
17153 }
17154 _ACEOF
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17157 else
17158   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163
17164 fi
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17166 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17167     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17168         :; INTELCC8=yes
17169     else
17170         :;
17171     fi
17172     ac_ext=c
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17177
17178
17179
17180
17181
17182     ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17191   $as_echo_n "(cached) " >&6
17192 else
17193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h.  */
17195
17196 int
17197 main ()
17198 {
17199
17200              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17201                 choke me
17202              #endif
17203
17204   ;
17205   return 0;
17206 }
17207 _ACEOF
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17210 else
17211   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17212
17213 fi
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215
17216
17217 fi
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17220     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17221         :; INTELCC10=yes
17222     else
17223         :;
17224     fi
17225     ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233     fi
17234
17235         if test "x$GCC" != "xyes"; then
17236         if test "xCC" = "xC"; then
17237             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17238 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17239 if ${bakefile_cv_c_exto+:} false; then :
17240   $as_echo_n "(cached) " >&6
17241 else
17242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h.  */
17244
17245 int
17246 main ()
17247 {
17248
17249   ;
17250   return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext conftest.$ac_ext.o
17254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17255   (eval $ac_compile) 2>&5
17256   ac_status=$?
17257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17258   test $ac_status = 0; }; then :
17259   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17260     case $ac_file in
17261         conftest.$ac_ext.o)
17262             bakefile_cv_c_exto="-ext o"
17263             ;;
17264         *)
17265             ;;
17266     esac
17267 done
17268 else
17269   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17271 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17272 See \`config.log' for more details" "$LINENO" 5; }
17273
17274 fi
17275 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17276
17277 fi
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17279 $as_echo "$bakefile_cv_c_exto" >&6; }
17280 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17281     if test "c" = "c"; then
17282         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17283     fi
17284     if test "c" = "cxx"; then
17285         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17286     fi
17287 fi
17288
17289             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17290                 unset ac_cv_prog_cc_g
17291                 ac_test_CFLAGS=${CFLAGS+set}
17292 ac_save_CFLAGS=$CFLAGS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17295 if ${ac_cv_prog_cc_g+:} false; then :
17296   $as_echo_n "(cached) " >&6
17297 else
17298   ac_save_c_werror_flag=$ac_c_werror_flag
17299    ac_c_werror_flag=yes
17300    ac_cv_prog_cc_g=no
17301    CFLAGS="-g"
17302    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h.  */
17304
17305 int
17306 main ()
17307 {
17308
17309   ;
17310   return 0;
17311 }
17312 _ACEOF
17313 if ac_fn_c_try_compile "$LINENO"; then :
17314   ac_cv_prog_cc_g=yes
17315 else
17316   CFLAGS=""
17317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h.  */
17319
17320 int
17321 main ()
17322 {
17323
17324   ;
17325   return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329
17330 else
17331   ac_c_werror_flag=$ac_save_c_werror_flag
17332          CFLAGS="-g"
17333          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h.  */
17335
17336 int
17337 main ()
17338 {
17339
17340   ;
17341   return 0;
17342 }
17343 _ACEOF
17344 if ac_fn_c_try_compile "$LINENO"; then :
17345   ac_cv_prog_cc_g=yes
17346 fi
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17348 fi
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 fi
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352    ac_c_werror_flag=$ac_save_c_werror_flag
17353 fi
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17355 $as_echo "$ac_cv_prog_cc_g" >&6; }
17356 if test "$ac_test_CFLAGS" = set; then
17357   CFLAGS=$ac_save_CFLAGS
17358 elif test $ac_cv_prog_cc_g = yes; then
17359   if test "$GCC" = yes; then
17360     CFLAGS="-g -O2"
17361   else
17362     CFLAGS="-g"
17363   fi
17364 else
17365   if test "$GCC" = yes; then
17366     CFLAGS="-O2"
17367   else
17368     CFLAGS=
17369   fi
17370 fi
17371             fi
17372         fi
17373
17374                         case `uname -s` in
17375             AIX*)
17376
17377
17378     ac_ext=c
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17383
17384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17385 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17386 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17387   $as_echo_n "(cached) " >&6
17388 else
17389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h.  */
17391
17392 int
17393 main ()
17394 {
17395
17396              #ifndef __xlC__
17397                 choke me
17398              #endif
17399
17400   ;
17401   return 0;
17402 }
17403 _ACEOF
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405   bakefile_cv_c_compiler___xlC__=yes
17406 else
17407   bakefile_cv_c_compiler___xlC__=no
17408
17409 fi
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411
17412
17413 fi
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17415 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17416     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17417         :; XLCC=yes
17418     else
17419         :;
17420     fi
17421     ac_ext=c
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17426
17427
17428
17429                 ;;
17430
17431             Darwin)
17432
17433
17434     ac_ext=c
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17439
17440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17441 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17443   $as_echo_n "(cached) " >&6
17444 else
17445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h.  */
17447
17448 int
17449 main ()
17450 {
17451
17452              #ifndef __MWERKS__
17453                 choke me
17454              #endif
17455
17456   ;
17457   return 0;
17458 }
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461   bakefile_cv_c_compiler___MWERKS__=yes
17462 else
17463   bakefile_cv_c_compiler___MWERKS__=no
17464
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467
17468
17469 fi
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17472     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17473         :; MWCC=yes
17474     else
17475         :;
17476     fi
17477     ac_ext=c
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17482
17483
17484
17485                 if test "$MWCC" != "yes"; then
17486
17487
17488     ac_ext=c
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493
17494     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497   $as_echo_n "(cached) " >&6
17498 else
17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h.  */
17501
17502 int
17503 main ()
17504 {
17505
17506              #ifndef __xlC__
17507                 choke me
17508              #endif
17509
17510   ;
17511   return 0;
17512 }
17513 _ACEOF
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515   bakefile_cv_c_compiler___xlC__=yes
17516 else
17517   bakefile_cv_c_compiler___xlC__=no
17518
17519 fi
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521
17522
17523 fi
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17527         :; XLCC=yes
17528     else
17529         :;
17530     fi
17531     ac_ext=c
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538
17539                 fi
17540                 ;;
17541
17542             IRIX*)
17543
17544
17545     ac_ext=c
17546 ac_cpp='$CPP $CPPFLAGS'
17547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17550
17551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17552 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17553 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17554   $as_echo_n "(cached) " >&6
17555 else
17556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h.  */
17558
17559 int
17560 main ()
17561 {
17562
17563              #ifndef _SGI_COMPILER_VERSION
17564                 choke me
17565              #endif
17566
17567   ;
17568   return 0;
17569 }
17570 _ACEOF
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17573 else
17574   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17575
17576 fi
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
17579
17580 fi
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17582 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17583     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17584         :; SGICC=yes
17585     else
17586         :;
17587     fi
17588     ac_ext=c
17589 ac_cpp='$CPP $CPPFLAGS'
17590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593
17594
17595
17596                 ;;
17597
17598             Linux*)
17599                                                 if test "$INTELCC" != "yes"; then
17600
17601
17602     ac_ext=c
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17607
17608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17609 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17610 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17611   $as_echo_n "(cached) " >&6
17612 else
17613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h.  */
17615
17616 int
17617 main ()
17618 {
17619
17620              #ifndef __SUNPRO_C
17621                 choke me
17622              #endif
17623
17624   ;
17625   return 0;
17626 }
17627 _ACEOF
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629   bakefile_cv_c_compiler___SUNPRO_C=yes
17630 else
17631   bakefile_cv_c_compiler___SUNPRO_C=no
17632
17633 fi
17634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17635
17636
17637 fi
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17639 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17640     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17641         :; SUNCC=yes
17642     else
17643         :;
17644     fi
17645     ac_ext=c
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17650
17651
17652
17653                 fi
17654                 ;;
17655
17656             HP-UX*)
17657
17658
17659     ac_ext=c
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664
17665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17666 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17667 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17668   $as_echo_n "(cached) " >&6
17669 else
17670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h.  */
17672
17673 int
17674 main ()
17675 {
17676
17677              #ifndef __HP_cc
17678                 choke me
17679              #endif
17680
17681   ;
17682   return 0;
17683 }
17684 _ACEOF
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686   bakefile_cv_c_compiler___HP_cc=yes
17687 else
17688   bakefile_cv_c_compiler___HP_cc=no
17689
17690 fi
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
17693
17694 fi
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17696 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17697     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17698         :; HPCC=yes
17699     else
17700         :;
17701     fi
17702     ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709
17710                 ;;
17711
17712             OSF1)
17713
17714
17715     ac_ext=c
17716 ac_cpp='$CPP $CPPFLAGS'
17717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17720
17721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17722 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17723 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17724   $as_echo_n "(cached) " >&6
17725 else
17726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h.  */
17728
17729 int
17730 main ()
17731 {
17732
17733              #ifndef __DECC
17734                 choke me
17735              #endif
17736
17737   ;
17738   return 0;
17739 }
17740 _ACEOF
17741 if ac_fn_c_try_compile "$LINENO"; then :
17742   bakefile_cv_c_compiler___DECC=yes
17743 else
17744   bakefile_cv_c_compiler___DECC=no
17745
17746 fi
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748
17749
17750 fi
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17752 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17753     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17754         :; COMPAQCC=yes
17755     else
17756         :;
17757     fi
17758     ac_ext=c
17759 ac_cpp='$CPP $CPPFLAGS'
17760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17763
17764
17765
17766                 ;;
17767
17768             SunOS)
17769
17770
17771     ac_ext=c
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17776
17777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17778 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17779 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17780   $as_echo_n "(cached) " >&6
17781 else
17782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h.  */
17784
17785 int
17786 main ()
17787 {
17788
17789              #ifndef __SUNPRO_C
17790                 choke me
17791              #endif
17792
17793   ;
17794   return 0;
17795 }
17796 _ACEOF
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798   bakefile_cv_c_compiler___SUNPRO_C=yes
17799 else
17800   bakefile_cv_c_compiler___SUNPRO_C=no
17801
17802 fi
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804
17805
17806 fi
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17808 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17809     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17810         :; SUNCC=yes
17811     else
17812         :;
17813     fi
17814     ac_ext=c
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17819
17820
17821
17822                 ;;
17823         esac
17824     fi
17825
17826
17827
17828 ac_ext=c
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17834 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17835 # On Suns, sometimes $CPP names a directory.
17836 if test -n "$CPP" && test -d "$CPP"; then
17837   CPP=
17838 fi
17839 if test -z "$CPP"; then
17840   if ${ac_cv_prog_CPP+:} false; then :
17841   $as_echo_n "(cached) " >&6
17842 else
17843       # Double quotes because CPP needs to be expanded
17844     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17845     do
17846       ac_preproc_ok=false
17847 for ac_c_preproc_warn_flag in '' yes
17848 do
17849   # Use a header file that comes with gcc, so configuring glibc
17850   # with a fresh cross-compiler works.
17851   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17852   # <limits.h> exists even on freestanding compilers.
17853   # On the NeXT, cc -E runs the code through the compiler's parser,
17854   # not just through cpp. "Syntax error" is here to catch this case.
17855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h.  */
17857 #ifdef __STDC__
17858 # include <limits.h>
17859 #else
17860 # include <assert.h>
17861 #endif
17862                      Syntax error
17863 _ACEOF
17864 if ac_fn_c_try_cpp "$LINENO"; then :
17865
17866 else
17867   # Broken: fails on valid input.
17868 continue
17869 fi
17870 rm -f conftest.err conftest.i conftest.$ac_ext
17871
17872   # OK, works on sane cases.  Now check whether nonexistent headers
17873   # can be detected and how.
17874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h.  */
17876 #include <ac_nonexistent.h>
17877 _ACEOF
17878 if ac_fn_c_try_cpp "$LINENO"; then :
17879   # Broken: success on invalid input.
17880 continue
17881 else
17882   # Passes both tests.
17883 ac_preproc_ok=:
17884 break
17885 fi
17886 rm -f conftest.err conftest.i conftest.$ac_ext
17887
17888 done
17889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17890 rm -f conftest.i conftest.err conftest.$ac_ext
17891 if $ac_preproc_ok; then :
17892   break
17893 fi
17894
17895     done
17896     ac_cv_prog_CPP=$CPP
17897
17898 fi
17899   CPP=$ac_cv_prog_CPP
17900 else
17901   ac_cv_prog_CPP=$CPP
17902 fi
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17904 $as_echo "$CPP" >&6; }
17905 ac_preproc_ok=false
17906 for ac_c_preproc_warn_flag in '' yes
17907 do
17908   # Use a header file that comes with gcc, so configuring glibc
17909   # with a fresh cross-compiler works.
17910   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17911   # <limits.h> exists even on freestanding compilers.
17912   # On the NeXT, cc -E runs the code through the compiler's parser,
17913   # not just through cpp. "Syntax error" is here to catch this case.
17914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h.  */
17916 #ifdef __STDC__
17917 # include <limits.h>
17918 #else
17919 # include <assert.h>
17920 #endif
17921                      Syntax error
17922 _ACEOF
17923 if ac_fn_c_try_cpp "$LINENO"; then :
17924
17925 else
17926   # Broken: fails on valid input.
17927 continue
17928 fi
17929 rm -f conftest.err conftest.i conftest.$ac_ext
17930
17931   # OK, works on sane cases.  Now check whether nonexistent headers
17932   # can be detected and how.
17933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h.  */
17935 #include <ac_nonexistent.h>
17936 _ACEOF
17937 if ac_fn_c_try_cpp "$LINENO"; then :
17938   # Broken: success on invalid input.
17939 continue
17940 else
17941   # Passes both tests.
17942 ac_preproc_ok=:
17943 break
17944 fi
17945 rm -f conftest.err conftest.i conftest.$ac_ext
17946
17947 done
17948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17949 rm -f conftest.i conftest.err conftest.$ac_ext
17950 if $ac_preproc_ok; then :
17951
17952 else
17953   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17955 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17956 See \`config.log' for more details" "$LINENO" 5; }
17957 fi
17958
17959 ac_ext=c
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
17965
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17967 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17968 if ${ac_cv_path_GREP+:} false; then :
17969   $as_echo_n "(cached) " >&6
17970 else
17971   if test -z "$GREP"; then
17972   ac_path_GREP_found=false
17973   # Loop through the user's path and test for each of PROGNAME-LIST
17974   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17975 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17976 do
17977   IFS=$as_save_IFS
17978   test -z "$as_dir" && as_dir=.
17979     for ac_prog in grep ggrep; do
17980     for ac_exec_ext in '' $ac_executable_extensions; do
17981       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17982       as_fn_executable_p "$ac_path_GREP" || continue
17983 # Check for GNU ac_path_GREP and select it if it is found.
17984   # Check for GNU $ac_path_GREP
17985 case `"$ac_path_GREP" --version 2>&1` in
17986 *GNU*)
17987   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17988 *)
17989   ac_count=0
17990   $as_echo_n 0123456789 >"conftest.in"
17991   while :
17992   do
17993     cat "conftest.in" "conftest.in" >"conftest.tmp"
17994     mv "conftest.tmp" "conftest.in"
17995     cp "conftest.in" "conftest.nl"
17996     $as_echo 'GREP' >> "conftest.nl"
17997     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17998     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17999     as_fn_arith $ac_count + 1 && ac_count=$as_val
18000     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18001       # Best one so far, save it but keep looking for a better one
18002       ac_cv_path_GREP="$ac_path_GREP"
18003       ac_path_GREP_max=$ac_count
18004     fi
18005     # 10*(2^10) chars as input seems more than enough
18006     test $ac_count -gt 10 && break
18007   done
18008   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18009 esac
18010
18011       $ac_path_GREP_found && break 3
18012     done
18013   done
18014   done
18015 IFS=$as_save_IFS
18016   if test -z "$ac_cv_path_GREP"; then
18017     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18018   fi
18019 else
18020   ac_cv_path_GREP=$GREP
18021 fi
18022
18023 fi
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18025 $as_echo "$ac_cv_path_GREP" >&6; }
18026  GREP="$ac_cv_path_GREP"
18027
18028
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18030 $as_echo_n "checking for egrep... " >&6; }
18031 if ${ac_cv_path_EGREP+:} false; then :
18032   $as_echo_n "(cached) " >&6
18033 else
18034   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18035    then ac_cv_path_EGREP="$GREP -E"
18036    else
18037      if test -z "$EGREP"; then
18038   ac_path_EGREP_found=false
18039   # Loop through the user's path and test for each of PROGNAME-LIST
18040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18041 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18042 do
18043   IFS=$as_save_IFS
18044   test -z "$as_dir" && as_dir=.
18045     for ac_prog in egrep; do
18046     for ac_exec_ext in '' $ac_executable_extensions; do
18047       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18048       as_fn_executable_p "$ac_path_EGREP" || continue
18049 # Check for GNU ac_path_EGREP and select it if it is found.
18050   # Check for GNU $ac_path_EGREP
18051 case `"$ac_path_EGREP" --version 2>&1` in
18052 *GNU*)
18053   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18054 *)
18055   ac_count=0
18056   $as_echo_n 0123456789 >"conftest.in"
18057   while :
18058   do
18059     cat "conftest.in" "conftest.in" >"conftest.tmp"
18060     mv "conftest.tmp" "conftest.in"
18061     cp "conftest.in" "conftest.nl"
18062     $as_echo 'EGREP' >> "conftest.nl"
18063     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18064     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18065     as_fn_arith $ac_count + 1 && ac_count=$as_val
18066     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18067       # Best one so far, save it but keep looking for a better one
18068       ac_cv_path_EGREP="$ac_path_EGREP"
18069       ac_path_EGREP_max=$ac_count
18070     fi
18071     # 10*(2^10) chars as input seems more than enough
18072     test $ac_count -gt 10 && break
18073   done
18074   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18075 esac
18076
18077       $ac_path_EGREP_found && break 3
18078     done
18079   done
18080   done
18081 IFS=$as_save_IFS
18082   if test -z "$ac_cv_path_EGREP"; then
18083     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18084   fi
18085 else
18086   ac_cv_path_EGREP=$EGREP
18087 fi
18088
18089    fi
18090 fi
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18092 $as_echo "$ac_cv_path_EGREP" >&6; }
18093  EGREP="$ac_cv_path_EGREP"
18094
18095
18096 if test $ac_cv_c_compiler_gnu = yes; then
18097     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18098 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18099 if ${ac_cv_prog_gcc_traditional+:} false; then :
18100   $as_echo_n "(cached) " >&6
18101 else
18102     ac_pattern="Autoconf.*'x'"
18103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h.  */
18105 #include <sgtty.h>
18106 Autoconf TIOCGETP
18107 _ACEOF
18108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18109   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18110   ac_cv_prog_gcc_traditional=yes
18111 else
18112   ac_cv_prog_gcc_traditional=no
18113 fi
18114 rm -f conftest*
18115
18116
18117   if test $ac_cv_prog_gcc_traditional = no; then
18118     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h.  */
18120 #include <termio.h>
18121 Autoconf TCGETA
18122 _ACEOF
18123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18124   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18125   ac_cv_prog_gcc_traditional=yes
18126 fi
18127 rm -f conftest*
18128
18129   fi
18130 fi
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18132 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18133   if test $ac_cv_prog_gcc_traditional = yes; then
18134     CC="$CC -traditional"
18135   fi
18136 fi
18137
18138
18139 CXXFLAGS=${CXXFLAGS:=}
18140 ac_ext=cpp
18141 ac_cpp='$CXXCPP $CPPFLAGS'
18142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18145 if test -z "$CXX"; then
18146   if test -n "$CCC"; then
18147     CXX=$CCC
18148   else
18149     if test -n "$ac_tool_prefix"; then
18150   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18151   do
18152     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18155 $as_echo_n "checking for $ac_word... " >&6; }
18156 if ${ac_cv_prog_CXX+:} false; then :
18157   $as_echo_n "(cached) " >&6
18158 else
18159   if test -n "$CXX"; then
18160   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18161 else
18162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18163 for as_dir in $PATH
18164 do
18165   IFS=$as_save_IFS
18166   test -z "$as_dir" && as_dir=.
18167     for ac_exec_ext in '' $ac_executable_extensions; do
18168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18169     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18171     break 2
18172   fi
18173 done
18174   done
18175 IFS=$as_save_IFS
18176
18177 fi
18178 fi
18179 CXX=$ac_cv_prog_CXX
18180 if test -n "$CXX"; then
18181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18182 $as_echo "$CXX" >&6; }
18183 else
18184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18185 $as_echo "no" >&6; }
18186 fi
18187
18188
18189     test -n "$CXX" && break
18190   done
18191 fi
18192 if test -z "$CXX"; then
18193   ac_ct_CXX=$CXX
18194   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18195 do
18196   # Extract the first word of "$ac_prog", so it can be a program name with args.
18197 set dummy $ac_prog; ac_word=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18201   $as_echo_n "(cached) " >&6
18202 else
18203   if test -n "$ac_ct_CXX"; then
18204   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18205 else
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207 for as_dir in $PATH
18208 do
18209   IFS=$as_save_IFS
18210   test -z "$as_dir" && as_dir=.
18211     for ac_exec_ext in '' $ac_executable_extensions; do
18212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18213     ac_cv_prog_ac_ct_CXX="$ac_prog"
18214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18215     break 2
18216   fi
18217 done
18218   done
18219 IFS=$as_save_IFS
18220
18221 fi
18222 fi
18223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18224 if test -n "$ac_ct_CXX"; then
18225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18226 $as_echo "$ac_ct_CXX" >&6; }
18227 else
18228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18229 $as_echo "no" >&6; }
18230 fi
18231
18232
18233   test -n "$ac_ct_CXX" && break
18234 done
18235
18236   if test "x$ac_ct_CXX" = x; then
18237     CXX="g++"
18238   else
18239     case $cross_compiling:$ac_tool_warned in
18240 yes:)
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18243 ac_tool_warned=yes ;;
18244 esac
18245     CXX=$ac_ct_CXX
18246   fi
18247 fi
18248
18249   fi
18250 fi
18251 # Provide some information about the compiler.
18252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18253 set X $ac_compile
18254 ac_compiler=$2
18255 for ac_option in --version -v -V -qversion; do
18256   { { ac_try="$ac_compiler $ac_option >&5"
18257 case "(($ac_try" in
18258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259   *) ac_try_echo=$ac_try;;
18260 esac
18261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18262 $as_echo "$ac_try_echo"; } >&5
18263   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18264   ac_status=$?
18265   if test -s conftest.err; then
18266     sed '10a\
18267 ... rest of stderr output deleted ...
18268          10q' conftest.err >conftest.er1
18269     cat conftest.er1 >&5
18270   fi
18271   rm -f conftest.er1 conftest.err
18272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18273   test $ac_status = 0; }
18274 done
18275
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18279   $as_echo_n "(cached) " >&6
18280 else
18281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h.  */
18283
18284 int
18285 main ()
18286 {
18287 #ifndef __GNUC__
18288        choke me
18289 #endif
18290
18291   ;
18292   return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296   ac_compiler_gnu=yes
18297 else
18298   ac_compiler_gnu=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18302
18303 fi
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18306 if test $ac_compiler_gnu = yes; then
18307   GXX=yes
18308 else
18309   GXX=
18310 fi
18311 ac_test_CXXFLAGS=${CXXFLAGS+set}
18312 ac_save_CXXFLAGS=$CXXFLAGS
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18315 if ${ac_cv_prog_cxx_g+:} false; then :
18316   $as_echo_n "(cached) " >&6
18317 else
18318   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18319    ac_cxx_werror_flag=yes
18320    ac_cv_prog_cxx_g=no
18321    CXXFLAGS="-g"
18322    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h.  */
18324
18325 int
18326 main ()
18327 {
18328
18329   ;
18330   return 0;
18331 }
18332 _ACEOF
18333 if ac_fn_cxx_try_compile "$LINENO"; then :
18334   ac_cv_prog_cxx_g=yes
18335 else
18336   CXXFLAGS=""
18337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h.  */
18339
18340 int
18341 main ()
18342 {
18343
18344   ;
18345   return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349
18350 else
18351   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18352          CXXFLAGS="-g"
18353          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h.  */
18355
18356 int
18357 main ()
18358 {
18359
18360   ;
18361   return 0;
18362 }
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365   ac_cv_prog_cxx_g=yes
18366 fi
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368 fi
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 fi
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18373 fi
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18376 if test "$ac_test_CXXFLAGS" = set; then
18377   CXXFLAGS=$ac_save_CXXFLAGS
18378 elif test $ac_cv_prog_cxx_g = yes; then
18379   if test "$GXX" = yes; then
18380     CXXFLAGS="-g -O2"
18381   else
18382     CXXFLAGS="-g"
18383   fi
18384 else
18385   if test "$GXX" = yes; then
18386     CXXFLAGS="-O2"
18387   else
18388     CXXFLAGS=
18389   fi
18390 fi
18391 ac_ext=c
18392 ac_cpp='$CPP $CPPFLAGS'
18393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18396
18397
18398
18399
18400
18401
18402
18403
18404     ac_ext=cpp
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18409
18410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18411 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18412 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18413   $as_echo_n "(cached) " >&6
18414 else
18415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h.  */
18417
18418 int
18419 main ()
18420 {
18421
18422              #ifndef __INTEL_COMPILER
18423                 choke me
18424              #endif
18425
18426   ;
18427   return 0;
18428 }
18429 _ACEOF
18430 if ac_fn_cxx_try_compile "$LINENO"; then :
18431   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18432 else
18433   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18434
18435 fi
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437
18438
18439 fi
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18441 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18442     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18443         :; INTELCXX=yes
18444     else
18445         :;
18446     fi
18447     ac_ext=c
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18452
18453
18454
18455
18456         if test "$INTELCXX" = "yes"; then
18457
18458
18459     ac_ext=cpp
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464
18465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18466 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18467 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18468   $as_echo_n "(cached) " >&6
18469 else
18470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h.  */
18472
18473 int
18474 main ()
18475 {
18476
18477              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18478                 choke me
18479              #endif
18480
18481   ;
18482   return 0;
18483 }
18484 _ACEOF
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18487 else
18488   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18489
18490 fi
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492
18493
18494 fi
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18496 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18497     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18498         :; INTELCXX8=yes
18499     else
18500         :;
18501     fi
18502     ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507
18508
18509
18510
18511
18512     ac_ext=cpp
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517
18518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18521   $as_echo_n "(cached) " >&6
18522 else
18523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h.  */
18525
18526 int
18527 main ()
18528 {
18529
18530              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18531                 choke me
18532              #endif
18533
18534   ;
18535   return 0;
18536 }
18537 _ACEOF
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18540 else
18541   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18542
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545
18546
18547 fi
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18550     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18551         :; INTELCXX10=yes
18552     else
18553         :;
18554     fi
18555     ac_ext=c
18556 ac_cpp='$CPP $CPPFLAGS'
18557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18560
18561
18562
18563     fi
18564
18565         if test "x$GCXX" != "xyes"; then
18566         if test "xCXX" = "xC"; then
18567             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18568 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18569 if ${bakefile_cv_c_exto+:} false; then :
18570   $as_echo_n "(cached) " >&6
18571 else
18572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h.  */
18574
18575 int
18576 main ()
18577 {
18578
18579   ;
18580   return 0;
18581 }
18582 _ACEOF
18583 rm -f conftest.$ac_objext conftest.$ac_ext.o
18584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18585   (eval $ac_compile) 2>&5
18586   ac_status=$?
18587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18588   test $ac_status = 0; }; then :
18589   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18590     case $ac_file in
18591         conftest.$ac_ext.o)
18592             bakefile_cv_c_exto="-ext o"
18593             ;;
18594         *)
18595             ;;
18596     esac
18597 done
18598 else
18599   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18601 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18602 See \`config.log' for more details" "$LINENO" 5; }
18603
18604 fi
18605 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18606
18607 fi
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18609 $as_echo "$bakefile_cv_c_exto" >&6; }
18610 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18611     if test "c" = "c"; then
18612         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18613     fi
18614     if test "c" = "cxx"; then
18615         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18616     fi
18617 fi
18618
18619             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18620                 unset ac_cv_prog_cc_g
18621                 ac_test_CFLAGS=${CFLAGS+set}
18622 ac_save_CFLAGS=$CFLAGS
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18624 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18625 if ${ac_cv_prog_cc_g+:} false; then :
18626   $as_echo_n "(cached) " >&6
18627 else
18628   ac_save_c_werror_flag=$ac_c_werror_flag
18629    ac_c_werror_flag=yes
18630    ac_cv_prog_cc_g=no
18631    CFLAGS="-g"
18632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h.  */
18634
18635 int
18636 main ()
18637 {
18638
18639   ;
18640   return 0;
18641 }
18642 _ACEOF
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644   ac_cv_prog_cc_g=yes
18645 else
18646   CFLAGS=""
18647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h.  */
18649
18650 int
18651 main ()
18652 {
18653
18654   ;
18655   return 0;
18656 }
18657 _ACEOF
18658 if ac_fn_c_try_compile "$LINENO"; then :
18659
18660 else
18661   ac_c_werror_flag=$ac_save_c_werror_flag
18662          CFLAGS="-g"
18663          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h.  */
18665
18666 int
18667 main ()
18668 {
18669
18670   ;
18671   return 0;
18672 }
18673 _ACEOF
18674 if ac_fn_c_try_compile "$LINENO"; then :
18675   ac_cv_prog_cc_g=yes
18676 fi
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18678 fi
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682    ac_c_werror_flag=$ac_save_c_werror_flag
18683 fi
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18685 $as_echo "$ac_cv_prog_cc_g" >&6; }
18686 if test "$ac_test_CFLAGS" = set; then
18687   CFLAGS=$ac_save_CFLAGS
18688 elif test $ac_cv_prog_cc_g = yes; then
18689   if test "$GCC" = yes; then
18690     CFLAGS="-g -O2"
18691   else
18692     CFLAGS="-g"
18693   fi
18694 else
18695   if test "$GCC" = yes; then
18696     CFLAGS="-O2"
18697   else
18698     CFLAGS=
18699   fi
18700 fi
18701             fi
18702         fi
18703
18704                         case `uname -s` in
18705             AIX*)
18706
18707
18708     ac_ext=cpp
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18713
18714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18715 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18716 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18717   $as_echo_n "(cached) " >&6
18718 else
18719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h.  */
18721
18722 int
18723 main ()
18724 {
18725
18726              #ifndef __xlC__
18727                 choke me
18728              #endif
18729
18730   ;
18731   return 0;
18732 }
18733 _ACEOF
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735   bakefile_cv_cxx_compiler___xlC__=yes
18736 else
18737   bakefile_cv_cxx_compiler___xlC__=no
18738
18739 fi
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741
18742
18743 fi
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18745 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18746     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18747         :; XLCXX=yes
18748     else
18749         :;
18750     fi
18751     ac_ext=c
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18756
18757
18758
18759                 ;;
18760
18761             Darwin)
18762
18763
18764     ac_ext=cpp
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18769
18770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18773   $as_echo_n "(cached) " >&6
18774 else
18775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h.  */
18777
18778 int
18779 main ()
18780 {
18781
18782              #ifndef __MWERKS__
18783                 choke me
18784              #endif
18785
18786   ;
18787   return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791   bakefile_cv_cxx_compiler___MWERKS__=yes
18792 else
18793   bakefile_cv_cxx_compiler___MWERKS__=no
18794
18795 fi
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797
18798
18799 fi
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18802     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18803         :; MWCXX=yes
18804     else
18805         :;
18806     fi
18807     ac_ext=c
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812
18813
18814
18815                 if test "$MWCXX" != "yes"; then
18816
18817
18818     ac_ext=cpp
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18823
18824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827   $as_echo_n "(cached) " >&6
18828 else
18829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h.  */
18831
18832 int
18833 main ()
18834 {
18835
18836              #ifndef __xlC__
18837                 choke me
18838              #endif
18839
18840   ;
18841   return 0;
18842 }
18843 _ACEOF
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845   bakefile_cv_cxx_compiler___xlC__=yes
18846 else
18847   bakefile_cv_cxx_compiler___xlC__=no
18848
18849 fi
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851
18852
18853 fi
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18857         :; XLCXX=yes
18858     else
18859         :;
18860     fi
18861     ac_ext=c
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18866
18867
18868
18869                 fi
18870                 ;;
18871
18872             IRIX*)
18873
18874
18875     ac_ext=cpp
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18880
18881     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18882 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18883 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18884   $as_echo_n "(cached) " >&6
18885 else
18886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h.  */
18888
18889 int
18890 main ()
18891 {
18892
18893              #ifndef _SGI_COMPILER_VERSION
18894                 choke me
18895              #endif
18896
18897   ;
18898   return 0;
18899 }
18900 _ACEOF
18901 if ac_fn_cxx_try_compile "$LINENO"; then :
18902   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18903 else
18904   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18905
18906 fi
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908
18909
18910 fi
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18912 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18913     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18914         :; SGICXX=yes
18915     else
18916         :;
18917     fi
18918     ac_ext=c
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18923
18924
18925
18926                 ;;
18927
18928             Linux*)
18929                                                 if test "$INTELCXX" != "yes"; then
18930
18931
18932     ac_ext=cpp
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937
18938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18939 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18940 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18941   $as_echo_n "(cached) " >&6
18942 else
18943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h.  */
18945
18946 int
18947 main ()
18948 {
18949
18950              #ifndef __SUNPRO_CC
18951                 choke me
18952              #endif
18953
18954   ;
18955   return 0;
18956 }
18957 _ACEOF
18958 if ac_fn_cxx_try_compile "$LINENO"; then :
18959   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18960 else
18961   bakefile_cv_cxx_compiler___SUNPRO_CC=no
18962
18963 fi
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18969 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18970     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18971         :; SUNCXX=yes
18972     else
18973         :;
18974     fi
18975     ac_ext=c
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980
18981
18982
18983                 fi
18984                 ;;
18985
18986             HP-UX*)
18987
18988
18989     ac_ext=cpp
18990 ac_cpp='$CXXCPP $CPPFLAGS'
18991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18994
18995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18996 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18997 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18998   $as_echo_n "(cached) " >&6
18999 else
19000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h.  */
19002
19003 int
19004 main ()
19005 {
19006
19007              #ifndef __HP_aCC
19008                 choke me
19009              #endif
19010
19011   ;
19012   return 0;
19013 }
19014 _ACEOF
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016   bakefile_cv_cxx_compiler___HP_aCC=yes
19017 else
19018   bakefile_cv_cxx_compiler___HP_aCC=no
19019
19020 fi
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022
19023
19024 fi
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19026 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19027     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19028         :; HPCXX=yes
19029     else
19030         :;
19031     fi
19032     ac_ext=c
19033 ac_cpp='$CPP $CPPFLAGS'
19034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19037
19038
19039
19040                 ;;
19041
19042             OSF1)
19043
19044
19045     ac_ext=cpp
19046 ac_cpp='$CXXCPP $CPPFLAGS'
19047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19050
19051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19052 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19053 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19054   $as_echo_n "(cached) " >&6
19055 else
19056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h.  */
19058
19059 int
19060 main ()
19061 {
19062
19063              #ifndef __DECCXX
19064                 choke me
19065              #endif
19066
19067   ;
19068   return 0;
19069 }
19070 _ACEOF
19071 if ac_fn_cxx_try_compile "$LINENO"; then :
19072   bakefile_cv_cxx_compiler___DECCXX=yes
19073 else
19074   bakefile_cv_cxx_compiler___DECCXX=no
19075
19076 fi
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078
19079
19080 fi
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19082 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19083     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19084         :; COMPAQCXX=yes
19085     else
19086         :;
19087     fi
19088     ac_ext=c
19089 ac_cpp='$CPP $CPPFLAGS'
19090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093
19094
19095
19096                 ;;
19097
19098             SunOS)
19099
19100
19101     ac_ext=cpp
19102 ac_cpp='$CXXCPP $CPPFLAGS'
19103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19106
19107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19108 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19109 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19110   $as_echo_n "(cached) " >&6
19111 else
19112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h.  */
19114
19115 int
19116 main ()
19117 {
19118
19119              #ifndef __SUNPRO_CC
19120                 choke me
19121              #endif
19122
19123   ;
19124   return 0;
19125 }
19126 _ACEOF
19127 if ac_fn_cxx_try_compile "$LINENO"; then :
19128   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19129 else
19130   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19131
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134
19135
19136 fi
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19140         :; SUNCXX=yes
19141     else
19142         :;
19143     fi
19144     ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151
19152                 ;;
19153         esac
19154     fi
19155
19156
19157
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19160 fi
19161
19162 if test "x$SUNCXX" != xyes; then
19163     if test -n "$ac_tool_prefix"; then
19164   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19165 set dummy ${ac_tool_prefix}ar; ac_word=$2
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19167 $as_echo_n "checking for $ac_word... " >&6; }
19168 if ${ac_cv_prog_AR+:} false; then :
19169   $as_echo_n "(cached) " >&6
19170 else
19171   if test -n "$AR"; then
19172   ac_cv_prog_AR="$AR" # Let the user override the test.
19173 else
19174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19175 for as_dir in $PATH
19176 do
19177   IFS=$as_save_IFS
19178   test -z "$as_dir" && as_dir=.
19179     for ac_exec_ext in '' $ac_executable_extensions; do
19180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19181     ac_cv_prog_AR="${ac_tool_prefix}ar"
19182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19183     break 2
19184   fi
19185 done
19186   done
19187 IFS=$as_save_IFS
19188
19189 fi
19190 fi
19191 AR=$ac_cv_prog_AR
19192 if test -n "$AR"; then
19193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19194 $as_echo "$AR" >&6; }
19195 else
19196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19197 $as_echo "no" >&6; }
19198 fi
19199
19200
19201 fi
19202 if test -z "$ac_cv_prog_AR"; then
19203   ac_ct_AR=$AR
19204   # Extract the first word of "ar", so it can be a program name with args.
19205 set dummy ar; ac_word=$2
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19207 $as_echo_n "checking for $ac_word... " >&6; }
19208 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19209   $as_echo_n "(cached) " >&6
19210 else
19211   if test -n "$ac_ct_AR"; then
19212   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19213 else
19214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19215 for as_dir in $PATH
19216 do
19217   IFS=$as_save_IFS
19218   test -z "$as_dir" && as_dir=.
19219     for ac_exec_ext in '' $ac_executable_extensions; do
19220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19221     ac_cv_prog_ac_ct_AR="ar"
19222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19223     break 2
19224   fi
19225 done
19226   done
19227 IFS=$as_save_IFS
19228
19229 fi
19230 fi
19231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19232 if test -n "$ac_ct_AR"; then
19233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19234 $as_echo "$ac_ct_AR" >&6; }
19235 else
19236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 $as_echo "no" >&6; }
19238 fi
19239
19240   if test "x$ac_ct_AR" = x; then
19241     AR=""
19242   else
19243     case $cross_compiling:$ac_tool_warned in
19244 yes:)
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19247 ac_tool_warned=yes ;;
19248 esac
19249     AR=$ac_ct_AR
19250   fi
19251 else
19252   AR="$ac_cv_prog_AR"
19253 fi
19254
19255     if test "x$AR" = "x" ; then
19256         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19257     fi
19258 fi
19259
19260
19261 if test "$wxUSE_MAC" = 1; then
19262
19263 retest_macosx_linking=no
19264
19265 OSX_ARCH_OPTS=""
19266
19267 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19268     if test "x$wxUSE_MAC_ARCH" != xno; then
19269         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19270 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19271     fi
19272
19273     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19274         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19275     else         OSX_ARCH_OPTS="ppc,i386"
19276         if test "$wxUSE_OSX_COCOA" = 1; then
19277             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19278         fi
19279     fi
19280
19281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19282 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19284 $as_echo "$OSX_ARCH_OPTS" >&6; }
19285
19286                                                         retest_macosx_linking=yes
19287 else
19288     if test "x$wxUSE_MAC_ARCH" != xno; then
19289         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19290     fi
19291 fi
19292
19293 if test "x$OSX_ARCH_OPTS" != "x"; then
19294         if echo $OSX_ARCH_OPTS | grep -q ","; then
19295         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19296 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19297         disable_macosx_deps=yes
19298
19299                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19300 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19301         bk_use_pch=no
19302     fi
19303
19304     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19305
19306     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19307     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19308     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19309     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19310     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19311 fi
19312
19313 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19314     wxUSE_MACOSX_SDK=
19315 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19316     # TODO: Search for most recent SDK and use it.
19317     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19318 fi
19319
19320
19321 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19322     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19323 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19324     if ! test -d "$wxUSE_MACOSX_SDK"; then
19325         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19327 as_fn_error $? "not found
19328 See \`config.log' for more details" "$LINENO" 5; }
19329     else
19330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19331 $as_echo "exists" >&6; }
19332     fi
19333         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19334     retest_macosx_linking=yes
19335             fi
19336
19337 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19338     wxUSE_MACOSX_VERSION_MIN=
19339 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19340     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19341         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19342 $as_echo_n "checking SDK deployment version... " >&6; }
19343
19344         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/'`
19345
19346         # If that failed, try again with the new key
19347         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19348
19349             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/'`
19350
19351         fi
19352
19353         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19354             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19355             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19356 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19357         else
19358             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19359 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19360             wxUSE_MACOSX_VERSION_MIN=
19361         fi
19362     else
19363         wxUSE_MACOSX_VERSION_MIN=
19364     fi
19365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19366     wxUSE_MACOSX_VERSION_MIN=10.5
19367 fi
19368
19369 if test "x$MACOSX_SDK_OPTS" != "x"; then
19370     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19371     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19372     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19373     retest_macosx_linking=yes
19374 fi
19375
19376 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19377     if test "$wxUSE_OSX_IPHONE" = 1; then
19378         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19379     else
19380         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19381     fi
19382     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19383     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19384     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19385     retest_macosx_linking=yes
19386 fi
19387
19388 if test "x$retest_macosx_linking" = "xyes"; then
19389     ac_ext=c
19390 ac_cpp='$CPP $CPPFLAGS'
19391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19394
19395     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19396 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19397     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h.  */
19399
19400 int
19401 main ()
19402 {
19403
19404   ;
19405   return 0;
19406 }
19407 _ACEOF
19408 if ac_fn_c_try_link "$LINENO"; then :
19409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19410 $as_echo "yes" >&6; }
19411 else
19412   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19414 as_fn_error $? "no.  Try a different SDK
19415 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19416 fi
19417 rm -f core conftest.err conftest.$ac_objext \
19418     conftest$ac_exeext conftest.$ac_ext
19419     ac_ext=c
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424
19425
19426     ac_ext=cpp
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19431
19432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19433 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19434     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h.  */
19436
19437 int
19438 main ()
19439 {
19440
19441   ;
19442   return 0;
19443 }
19444 _ACEOF
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19448 else
19449   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19451 as_fn_error $? "no.  Try a different SDK
19452 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19453 fi
19454 rm -f core conftest.err conftest.$ac_objext \
19455     conftest$ac_exeext conftest.$ac_ext
19456     ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461
19462 fi
19463
19464 fi
19465 case "${host}" in
19466
19467                 *-*-darwin* )
19468         INSTALL_PROGRAM="cp -fp"
19469         INSTALL_DATA="cp -fp"
19470         ;;
19471     *)
19472         ;;
19473 esac
19474
19475
19476 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19477                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19478
19479
19480             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19481     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19482 fi
19483
19484 if test "x$USE_AIX" = "x1"; then
19485             if test "x$XLCXX" = "xyes"; then
19486         CXXFLAGS="-qunique $CXXFLAGS"
19487     fi
19488
19489                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19490 fi
19491
19492 case "${host}" in
19493   powerpc-*-darwin* )
19494     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19495 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19496     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h.  */
19498
19499 int
19500 main ()
19501 {
19502 #ifndef __POWERPC__
19503         choke me for lack of PowerPC
19504 #endif
19505
19506   ;
19507   return 0;
19508 }
19509 _ACEOF
19510 if ac_fn_c_try_compile "$LINENO"; then :
19511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19512 $as_echo "yes" >&6; }
19513 else
19514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19517
19518
19519 fi
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521   ;;
19522 esac
19523
19524 case "${host}" in
19525   *-*-darwin* )
19526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19527 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19528     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h.  */
19530 #include <CoreFoundation/CFBase.h>
19531
19532 int
19533 main ()
19534 {
19535
19536   ;
19537   return 0;
19538 }
19539 _ACEOF
19540 if ac_fn_c_try_compile "$LINENO"; then :
19541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19542 $as_echo "yes" >&6; }
19543 else
19544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19545 $as_echo "no" >&6; }
19546         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19547 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19548         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h.  */
19550 #define __CF_USE_FRAMEWORK_INCLUDES__
19551 #include <CoreFoundation/CFBase.h>
19552
19553 int
19554 main ()
19555 {
19556
19557   ;
19558   return 0;
19559 }
19560 _ACEOF
19561 if ac_fn_c_try_compile "$LINENO"; then :
19562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19563 $as_echo "yes" >&6; }
19564                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19565 else
19566   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19568 as_fn_error $? "no.  CoreFoundation not available.
19569 See \`config.log' for more details" "$LINENO" 5; }
19570
19571 fi
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573
19574
19575 fi
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577   ;;
19578 esac
19579
19580 wants_win32=0
19581 doesnt_want_win32=0
19582 case "${host}" in
19583   *-*-cygwin*)
19584       if test "$wxUSE_MSW" = 1 ; then
19585         wants_win32=1
19586       else
19587                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19588 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19589 if ${wx_cv_nocygwin+:} false; then :
19590   $as_echo_n "(cached) " >&6
19591 else
19592
19593                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h.  */
19595
19596 int
19597 main ()
19598 {
19599
19600                         #ifdef __MINGW32__
19601                             choke me
19602                         #endif
19603
19604   ;
19605   return 0;
19606 }
19607 _ACEOF
19608 if ac_fn_c_try_compile "$LINENO"; then :
19609   wx_cv_nocygwin=no
19610 else
19611   wx_cv_nocygwin=yes
19612
19613 fi
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19615
19616
19617 fi
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19619 $as_echo "$wx_cv_nocygwin" >&6; }
19620
19621         if test "$wx_cv_nocygwin" = "yes"; then
19622             wants_win32=1
19623         else
19624             doesnt_want_win32=1
19625         fi
19626       fi
19627       if test "$wants_win32" = 1 ; then
19628         BAKEFILE_FORCE_PLATFORM=win32
19629       fi
19630   ;;
19631   *-*-mingw*)
19632       wants_win32=1
19633   ;;
19634 esac
19635
19636 if test "$wxUSE_WINE" = "yes"; then
19637     wants_win32=1
19638     LDFLAGS_GUI="-mwindows"
19639 fi
19640
19641 if test "$wants_win32" = 1 ; then
19642     USE_UNIX=0
19643     USE_WIN32=1
19644     $as_echo "#define __WIN32__ 1" >>confdefs.h
19645
19646     $as_echo "#define __WIN95__ 1" >>confdefs.h
19647
19648     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19649
19650     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19651
19652     $as_echo "#define STRICT 1" >>confdefs.h
19653
19654 fi
19655 if test "$doesnt_want_win32" = 1 ; then
19656     USE_UNIX=1
19657     USE_WIN32=0
19658 fi
19659
19660 if test "$USE_UNIX" = 1 ; then
19661     wxUSE_UNIX=yes
19662     $as_echo "#define __UNIX__ 1" >>confdefs.h
19663
19664 fi
19665
19666 case "${host}" in
19667   *-pc-os2_emx | *-pc-os2-emx )
19668                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19669                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19670 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19671 if ${ac_cv_lib_cExt_drand48+:} false; then :
19672   $as_echo_n "(cached) " >&6
19673 else
19674   ac_check_lib_save_LIBS=$LIBS
19675 LIBS="-lcExt  $LIBS"
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h.  */
19678
19679 /* Override any GCC internal prototype to avoid an error.
19680    Use char because int might match the return type of a GCC
19681    builtin and then its argument prototype would still apply.  */
19682 #ifdef __cplusplus
19683 extern "C"
19684 #endif
19685 char drand48 ();
19686 int
19687 main ()
19688 {
19689 return drand48 ();
19690   ;
19691   return 0;
19692 }
19693 _ACEOF
19694 if ac_fn_c_try_link "$LINENO"; then :
19695   ac_cv_lib_cExt_drand48=yes
19696 else
19697   ac_cv_lib_cExt_drand48=no
19698 fi
19699 rm -f core conftest.err conftest.$ac_objext \
19700     conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19702 fi
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19704 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19705 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19706   LIBS="$LIBS -lcExt"
19707 fi
19708
19709       else
19710                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19711       fi
19712                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19713 $as_echo_n "checking for gcc/libc version... " >&6; }
19714 if ${wx_cv_gccversion+:} false; then :
19715   $as_echo_n "(cached) " >&6
19716 else
19717
19718           if test "$cross_compiling" = yes; then :
19719                 wx_cv_gccversion="EMX2"
19720
19721 else
19722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h.  */
19724
19725                   #include <stdio.h>
19726
19727                   int main()
19728                   {
19729                       FILE *f=fopen("conftestval", "w");
19730                       if (!f) exit(1);
19731                       fprintf(f,
19732                   #if (__GNUC__ < 3)
19733                               "EMX2"
19734                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19735                               "EMX3"
19736                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19737                               "Innotek5"
19738                   #else
19739                               "Innotek6"
19740                   #endif
19741                       );
19742                       exit(0);
19743                   }
19744
19745 _ACEOF
19746 if ac_fn_c_try_run "$LINENO"; then :
19747   wx_cv_gccversion=`cat conftestval`
19748 else
19749   wx_cv_gccversion="EMX2"
19750 fi
19751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19752   conftest.$ac_objext conftest.beam conftest.$ac_ext
19753 fi
19754
19755
19756 fi
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19758 $as_echo "$wx_cv_gccversion" >&6; }
19759       if test "$wx_cv_gccversion" = "EMX2"; then
19760           LIBS="$LIBS -lstdcpp"
19761           LDFLAGS="$LDFLAGS -Zsysv-signals"
19762       else
19763           if test "$wx_cv_gccversion" = "EMX3"; then
19764               LIBS="$LIBS -lstdcxx -lgcc"
19765               LDFLAGS="$LDFLAGS -Zsysv-signals"
19766           else
19767               LIBS="$LIBS -lstdc++"
19768           fi
19769       fi
19770       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19771         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19772 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19773         wxUSE_OMF=yes
19774         enable_omf=yes
19775       fi
19776         ;;
19777   *)
19778
19779       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19780 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19781 if ${ac_cv_string_strcasecmp+:} false; then :
19782   $as_echo_n "(cached) " >&6
19783 else
19784
19785           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h.  */
19787
19788               #include <string.h>
19789
19790 int
19791 main ()
19792 {
19793
19794                   strcasecmp("foo", "bar");
19795
19796   ;
19797   return 0;
19798 }
19799 _ACEOF
19800 if ac_fn_c_try_link "$LINENO"; then :
19801   ac_cv_string_strcasecmp=yes
19802 else
19803   ac_cv_string_strcasecmp=no
19804
19805 fi
19806 rm -f core conftest.err conftest.$ac_objext \
19807     conftest$ac_exeext conftest.$ac_ext
19808
19809 fi
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19811 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19812
19813       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19814           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19815
19816       else
19817           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19818 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19819 if ${ac_cv_strings_strcasecmp+:} false; then :
19820   $as_echo_n "(cached) " >&6
19821 else
19822
19823               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h.  */
19825
19826                   #include <strings.h>
19827
19828 int
19829 main ()
19830 {
19831
19832                       strcasecmp("foo", "bar");
19833
19834   ;
19835   return 0;
19836 }
19837 _ACEOF
19838 if ac_fn_c_try_link "$LINENO"; then :
19839   ac_cv_strings_strcasecmp=yes
19840 else
19841   ac_cv_strings_strcasecmp=no
19842
19843 fi
19844 rm -f core conftest.err conftest.$ac_objext \
19845     conftest$ac_exeext conftest.$ac_ext
19846
19847 fi
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19849 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19850
19851           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19852               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19853
19854           else
19855               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19856           fi
19857       fi
19858
19859         ;;
19860 esac
19861
19862
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19864 $as_echo_n "checking for ANSI C header files... " >&6; }
19865 if ${ac_cv_header_stdc+:} false; then :
19866   $as_echo_n "(cached) " >&6
19867 else
19868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h.  */
19870 #include <stdlib.h>
19871 #include <stdarg.h>
19872 #include <string.h>
19873 #include <float.h>
19874
19875 int
19876 main ()
19877 {
19878
19879   ;
19880   return 0;
19881 }
19882 _ACEOF
19883 if ac_fn_c_try_compile "$LINENO"; then :
19884   ac_cv_header_stdc=yes
19885 else
19886   ac_cv_header_stdc=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889
19890 if test $ac_cv_header_stdc = yes; then
19891   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h.  */
19894 #include <string.h>
19895
19896 _ACEOF
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898   $EGREP "memchr" >/dev/null 2>&1; then :
19899
19900 else
19901   ac_cv_header_stdc=no
19902 fi
19903 rm -f conftest*
19904
19905 fi
19906
19907 if test $ac_cv_header_stdc = yes; then
19908   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h.  */
19911 #include <stdlib.h>
19912
19913 _ACEOF
19914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19915   $EGREP "free" >/dev/null 2>&1; then :
19916
19917 else
19918   ac_cv_header_stdc=no
19919 fi
19920 rm -f conftest*
19921
19922 fi
19923
19924 if test $ac_cv_header_stdc = yes; then
19925   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19926   if test "$cross_compiling" = yes; then :
19927   :
19928 else
19929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h.  */
19931 #include <ctype.h>
19932 #include <stdlib.h>
19933 #if ((' ' & 0x0FF) == 0x020)
19934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19936 #else
19937 # define ISLOWER(c) \
19938                    (('a' <= (c) && (c) <= 'i') \
19939                      || ('j' <= (c) && (c) <= 'r') \
19940                      || ('s' <= (c) && (c) <= 'z'))
19941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19942 #endif
19943
19944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19945 int
19946 main ()
19947 {
19948   int i;
19949   for (i = 0; i < 256; i++)
19950     if (XOR (islower (i), ISLOWER (i))
19951         || toupper (i) != TOUPPER (i))
19952       return 2;
19953   return 0;
19954 }
19955 _ACEOF
19956 if ac_fn_c_try_run "$LINENO"; then :
19957
19958 else
19959   ac_cv_header_stdc=no
19960 fi
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19962   conftest.$ac_objext conftest.beam conftest.$ac_ext
19963 fi
19964
19965 fi
19966 fi
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19968 $as_echo "$ac_cv_header_stdc" >&6; }
19969 if test $ac_cv_header_stdc = yes; then
19970
19971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19972
19973 fi
19974
19975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19977                   inttypes.h stdint.h unistd.h
19978 do :
19979   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19981 "
19982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19983   cat >>confdefs.h <<_ACEOF
19984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19985 _ACEOF
19986
19987 fi
19988
19989 done
19990
19991
19992 for ac_header in langinfo.h wchar.h
19993 do :
19994   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19996 "
19997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19998   cat >>confdefs.h <<_ACEOF
19999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20000 _ACEOF
20001
20002 fi
20003
20004 done
20005
20006
20007 if test "$ac_cv_header_wchar_h" != "yes"; then
20008     for ac_header in wcstr.h
20009 do :
20010   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20011 "
20012 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20013   cat >>confdefs.h <<_ACEOF
20014 #define HAVE_WCSTR_H 1
20015 _ACEOF
20016
20017 fi
20018
20019 done
20020
20021 fi
20022
20023 case "${host}" in
20024   *-pc-os2_emx | *-pc-os2-emx )
20025                   if test $ac_cv_header_langinfo_h = "yes" \
20026                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20027                      -o "$wx_cv_gccversion" = "EMX3" \
20028                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20029           LIBS="$LIBS -lintl"
20030       fi
20031   ;;
20032 esac
20033
20034 if test "$USE_UNIX" = 1 ; then
20035         for ac_header in sys/select.h
20036 do :
20037   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20038 "
20039 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20040   cat >>confdefs.h <<_ACEOF
20041 #define HAVE_SYS_SELECT_H 1
20042 _ACEOF
20043
20044 fi
20045
20046 done
20047
20048
20049             ac_ext=cpp
20050 ac_cpp='$CXXCPP $CPPFLAGS'
20051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20054
20055     for ac_header in cxxabi.h
20056 do :
20057   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20058 "
20059 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20060   cat >>confdefs.h <<_ACEOF
20061 #define HAVE_CXXABI_H 1
20062 _ACEOF
20063
20064 fi
20065
20066 done
20067
20068     ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073
20074 fi
20075
20076
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20078 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20079 if ${ac_cv_c_const+:} false; then :
20080   $as_echo_n "(cached) " >&6
20081 else
20082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h.  */
20084
20085 int
20086 main ()
20087 {
20088
20089 #ifndef __cplusplus
20090   /* Ultrix mips cc rejects this sort of thing.  */
20091   typedef int charset[2];
20092   const charset cs = { 0, 0 };
20093   /* SunOS 4.1.1 cc rejects this.  */
20094   char const *const *pcpcc;
20095   char **ppc;
20096   /* NEC SVR4.0.2 mips cc rejects this.  */
20097   struct point {int x, y;};
20098   static struct point const zero = {0,0};
20099   /* AIX XL C 1.02.0.0 rejects this.
20100      It does not let you subtract one const X* pointer from another in
20101      an arm of an if-expression whose if-part is not a constant
20102      expression */
20103   const char *g = "string";
20104   pcpcc = &g + (g ? g-g : 0);
20105   /* HPUX 7.0 cc rejects these. */
20106   ++pcpcc;
20107   ppc = (char**) pcpcc;
20108   pcpcc = (char const *const *) ppc;
20109   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20110     char tx;
20111     char *t = &tx;
20112     char const *s = 0 ? (char *) 0 : (char const *) 0;
20113
20114     *t++ = 0;
20115     if (s) return 0;
20116   }
20117   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20118     int x[] = {25, 17};
20119     const int *foo = &x[0];
20120     ++foo;
20121   }
20122   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20123     typedef const int *iptr;
20124     iptr p = 0;
20125     ++p;
20126   }
20127   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20128        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20129     struct s { int j; const int *ap[3]; } bx;
20130     struct s *b = &bx; b->j = 5;
20131   }
20132   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20133     const int foo = 10;
20134     if (!foo) return 0;
20135   }
20136   return !cs[0] && !zero.x;
20137 #endif
20138
20139   ;
20140   return 0;
20141 }
20142 _ACEOF
20143 if ac_fn_c_try_compile "$LINENO"; then :
20144   ac_cv_c_const=yes
20145 else
20146   ac_cv_c_const=no
20147 fi
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20149 fi
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20151 $as_echo "$ac_cv_c_const" >&6; }
20152 if test $ac_cv_c_const = no; then
20153
20154 $as_echo "#define const /**/" >>confdefs.h
20155
20156 fi
20157
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20159 $as_echo_n "checking for inline... " >&6; }
20160 if ${ac_cv_c_inline+:} false; then :
20161   $as_echo_n "(cached) " >&6
20162 else
20163   ac_cv_c_inline=no
20164 for ac_kw in inline __inline__ __inline; do
20165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h.  */
20167 #ifndef __cplusplus
20168 typedef int foo_t;
20169 static $ac_kw foo_t static_foo () {return 0; }
20170 $ac_kw foo_t foo () {return 0; }
20171 #endif
20172
20173 _ACEOF
20174 if ac_fn_c_try_compile "$LINENO"; then :
20175   ac_cv_c_inline=$ac_kw
20176 fi
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178   test "$ac_cv_c_inline" != no && break
20179 done
20180
20181 fi
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20183 $as_echo "$ac_cv_c_inline" >&6; }
20184
20185 case $ac_cv_c_inline in
20186   inline | yes) ;;
20187   *)
20188     case $ac_cv_c_inline in
20189       no) ac_val=;;
20190       *) ac_val=$ac_cv_c_inline;;
20191     esac
20192     cat >>confdefs.h <<_ACEOF
20193 #ifndef __cplusplus
20194 #define inline $ac_val
20195 #endif
20196 _ACEOF
20197     ;;
20198 esac
20199
20200
20201 # The cast to long int works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20206 $as_echo_n "checking size of short... " >&6; }
20207 if ${ac_cv_sizeof_short+:} false; then :
20208   $as_echo_n "(cached) " >&6
20209 else
20210   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20211
20212 else
20213   if test "$ac_cv_type_short" = yes; then
20214      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20216 as_fn_error 77 "cannot compute sizeof (short)
20217 See \`config.log' for more details" "$LINENO" 5; }
20218    else
20219      ac_cv_sizeof_short=0
20220    fi
20221 fi
20222
20223 fi
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20225 $as_echo "$ac_cv_sizeof_short" >&6; }
20226
20227
20228
20229 cat >>confdefs.h <<_ACEOF
20230 #define SIZEOF_SHORT $ac_cv_sizeof_short
20231 _ACEOF
20232
20233
20234 # The cast to long int works around a bug in the HP C Compiler
20235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20237 # This bug is HP SR number 8606223364.
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20239 $as_echo_n "checking size of void *... " >&6; }
20240 if ${ac_cv_sizeof_void_p+:} false; then :
20241   $as_echo_n "(cached) " >&6
20242 else
20243   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20244
20245 else
20246   if test "$ac_cv_type_void_p" = yes; then
20247      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20249 as_fn_error 77 "cannot compute sizeof (void *)
20250 See \`config.log' for more details" "$LINENO" 5; }
20251    else
20252      ac_cv_sizeof_void_p=0
20253    fi
20254 fi
20255
20256 fi
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20258 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20259
20260
20261
20262 cat >>confdefs.h <<_ACEOF
20263 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20264 _ACEOF
20265
20266
20267 # The cast to long int works around a bug in the HP C Compiler
20268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20270 # This bug is HP SR number 8606223364.
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20272 $as_echo_n "checking size of int... " >&6; }
20273 if ${ac_cv_sizeof_int+:} false; then :
20274   $as_echo_n "(cached) " >&6
20275 else
20276   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20277
20278 else
20279   if test "$ac_cv_type_int" = yes; then
20280      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20282 as_fn_error 77 "cannot compute sizeof (int)
20283 See \`config.log' for more details" "$LINENO" 5; }
20284    else
20285      ac_cv_sizeof_int=0
20286    fi
20287 fi
20288
20289 fi
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20291 $as_echo "$ac_cv_sizeof_int" >&6; }
20292
20293
20294
20295 cat >>confdefs.h <<_ACEOF
20296 #define SIZEOF_INT $ac_cv_sizeof_int
20297 _ACEOF
20298
20299
20300 # The cast to long int works around a bug in the HP C Compiler
20301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20303 # This bug is HP SR number 8606223364.
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20305 $as_echo_n "checking size of long... " >&6; }
20306 if ${ac_cv_sizeof_long+:} false; then :
20307   $as_echo_n "(cached) " >&6
20308 else
20309   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20310
20311 else
20312   if test "$ac_cv_type_long" = yes; then
20313      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20315 as_fn_error 77 "cannot compute sizeof (long)
20316 See \`config.log' for more details" "$LINENO" 5; }
20317    else
20318      ac_cv_sizeof_long=0
20319    fi
20320 fi
20321
20322 fi
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20324 $as_echo "$ac_cv_sizeof_long" >&6; }
20325
20326
20327
20328 cat >>confdefs.h <<_ACEOF
20329 #define SIZEOF_LONG $ac_cv_sizeof_long
20330 _ACEOF
20331
20332
20333 # The cast to long int works around a bug in the HP C Compiler
20334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20336 # This bug is HP SR number 8606223364.
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20338 $as_echo_n "checking size of size_t... " >&6; }
20339 if ${ac_cv_sizeof_size_t+:} false; then :
20340   $as_echo_n "(cached) " >&6
20341 else
20342   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20343
20344 else
20345   if test "$ac_cv_type_size_t" = yes; then
20346      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20348 as_fn_error 77 "cannot compute sizeof (size_t)
20349 See \`config.log' for more details" "$LINENO" 5; }
20350    else
20351      ac_cv_sizeof_size_t=0
20352    fi
20353 fi
20354
20355 fi
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20357 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20358
20359
20360
20361 cat >>confdefs.h <<_ACEOF
20362 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20363 _ACEOF
20364
20365
20366
20367 case "${host}" in
20368     arm-*-linux* )
20369         # The cast to long int works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20374 $as_echo_n "checking size of long long... " >&6; }
20375 if ${ac_cv_sizeof_long_long+:} false; then :
20376   $as_echo_n "(cached) " >&6
20377 else
20378   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20379
20380 else
20381   if test "$ac_cv_type_long_long" = yes; then
20382      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20384 as_fn_error 77 "cannot compute sizeof (long long)
20385 See \`config.log' for more details" "$LINENO" 5; }
20386    else
20387      ac_cv_sizeof_long_long=0
20388    fi
20389 fi
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20393 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20394
20395
20396
20397 cat >>confdefs.h <<_ACEOF
20398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20399 _ACEOF
20400
20401
20402     ;;
20403     *-hp-hpux* )
20404         # The cast to long int works around a bug in the HP C Compiler
20405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20407 # This bug is HP SR number 8606223364.
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20409 $as_echo_n "checking size of long long... " >&6; }
20410 if ${ac_cv_sizeof_long_long+:} false; then :
20411   $as_echo_n "(cached) " >&6
20412 else
20413   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20414
20415 else
20416   if test "$ac_cv_type_long_long" = yes; then
20417      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20419 as_fn_error 77 "cannot compute sizeof (long long)
20420 See \`config.log' for more details" "$LINENO" 5; }
20421    else
20422      ac_cv_sizeof_long_long=0
20423    fi
20424 fi
20425
20426 fi
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20428 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20429
20430
20431
20432 cat >>confdefs.h <<_ACEOF
20433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20434 _ACEOF
20435
20436
20437         if test "$ac_cv_sizeof_long_long" != 0; then
20438                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20439         fi
20440     ;;
20441     * )
20442         # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20447 $as_echo_n "checking size of long long... " >&6; }
20448 if ${ac_cv_sizeof_long_long+:} false; then :
20449   $as_echo_n "(cached) " >&6
20450 else
20451   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20452
20453 else
20454   if test "$ac_cv_type_long_long" = yes; then
20455      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20457 as_fn_error 77 "cannot compute sizeof (long long)
20458 See \`config.log' for more details" "$LINENO" 5; }
20459    else
20460      ac_cv_sizeof_long_long=0
20461    fi
20462 fi
20463
20464 fi
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20466 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20467
20468
20469
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20472 _ACEOF
20473
20474
20475 esac
20476
20477 # The cast to long int works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20482 $as_echo_n "checking size of wchar_t... " >&6; }
20483 if ${ac_cv_sizeof_wchar_t+:} false; then :
20484   $as_echo_n "(cached) " >&6
20485 else
20486   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20487         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20488         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20489         #  error \"fake wchar_t\"
20490         #endif
20491         #ifdef HAVE_WCHAR_H
20492         #  ifdef __CYGWIN__
20493         #    include <stddef.h>
20494         #  endif
20495         #  include <wchar.h>
20496         #endif
20497         #ifdef HAVE_STDLIB_H
20498         #  include <stdlib.h>
20499         #endif
20500         #include <stdio.h>
20501
20502
20503 "; then :
20504
20505 else
20506   if test "$ac_cv_type_wchar_t" = yes; then
20507      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20509 as_fn_error 77 "cannot compute sizeof (wchar_t)
20510 See \`config.log' for more details" "$LINENO" 5; }
20511    else
20512      ac_cv_sizeof_wchar_t=0
20513    fi
20514 fi
20515
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20518 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20519
20520
20521
20522 cat >>confdefs.h <<_ACEOF
20523 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20524 _ACEOF
20525
20526
20527 if test "$ac_cv_sizeof_wchar_t" = 0; then
20528     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20529 fi
20530 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20531
20532
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20534 $as_echo_n "checking for va_copy... " >&6; }
20535 if ${wx_cv_func_va_copy+:} false; then :
20536   $as_echo_n "(cached) " >&6
20537 else
20538
20539         ac_ext=cpp
20540 ac_cpp='$CXXCPP $CPPFLAGS'
20541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20544
20545         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h.  */
20547
20548
20549                 #include <stdarg.h>
20550                 void foo(char *f, ...)
20551                 {
20552                     va_list ap1, ap2;
20553                     va_start(ap1, f);
20554                     va_copy(ap2, ap1);
20555                     va_end(ap2);
20556                     va_end(ap1);
20557                 }
20558                 int main()
20559                 {
20560                     foo("hi", 17);
20561                     return 0;
20562                 }
20563
20564 _ACEOF
20565 if ac_fn_cxx_try_link "$LINENO"; then :
20566   wx_cv_func_va_copy=yes
20567 else
20568   wx_cv_func_va_copy=no
20569
20570 fi
20571 rm -f core conftest.err conftest.$ac_objext \
20572     conftest$ac_exeext conftest.$ac_ext
20573         ac_ext=c
20574 ac_cpp='$CPP $CPPFLAGS'
20575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20578
20579
20580
20581 fi
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20583 $as_echo "$wx_cv_func_va_copy" >&6; }
20584
20585 if test $wx_cv_func_va_copy = "yes"; then
20586     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20587
20588 else
20589         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20590 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20591 if ${wx_cv_type_va_list_lvalue+:} false; then :
20592   $as_echo_n "(cached) " >&6
20593 else
20594
20595             if test "$cross_compiling" = yes; then :
20596                   wx_cv_type_va_list_lvalue=yes
20597
20598 else
20599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h.  */
20601
20602
20603                     #include <stdarg.h>
20604                     int foo(char *f, ...)
20605                     {
20606                         va_list ap1, ap2;
20607                         va_start(ap1, f);
20608                         ap2 = ap1;
20609                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20610                             return 1;
20611                         va_end(ap2);
20612                         va_end(ap1);
20613                         return 0;
20614                     }
20615                     int main()
20616                     {
20617                         return foo("hi", 17);
20618                     }
20619
20620 _ACEOF
20621 if ac_fn_c_try_run "$LINENO"; then :
20622   wx_cv_type_va_list_lvalue=yes
20623 else
20624   wx_cv_type_va_list_lvalue=no
20625 fi
20626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20627   conftest.$ac_objext conftest.beam conftest.$ac_ext
20628 fi
20629
20630
20631
20632 fi
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20634 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20635
20636     if test $wx_cv_type_va_list_lvalue != "yes"; then
20637                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20638
20639     fi
20640 fi
20641
20642 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20643
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20645 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20646 if ${wx_cv_have_variadic_macros+:} false; then :
20647   $as_echo_n "(cached) " >&6
20648 else
20649
20650                         ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655
20656         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h.  */
20658
20659
20660                     #include <stdio.h>
20661                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20662
20663 int
20664 main ()
20665 {
20666
20667                     test("%s %d %p", "test", 1, 0);
20668
20669
20670   ;
20671   return 0;
20672 }
20673 _ACEOF
20674 if ac_fn_cxx_try_compile "$LINENO"; then :
20675   wx_cv_have_variadic_macros=yes
20676 else
20677   wx_cv_have_variadic_macros=no
20678
20679 fi
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681         ac_ext=c
20682 ac_cpp='$CPP $CPPFLAGS'
20683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20686
20687
20688
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20691 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20692
20693 if test $wx_cv_have_variadic_macros = "yes"; then
20694     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20695
20696 fi
20697
20698 fi
20699
20700 LARGEFILE_CPPFLAGS=
20701 # Check whether --enable-largefile was given.
20702 if test "${enable_largefile+set}" = set; then :
20703   enableval=$enable_largefile;
20704 fi
20705
20706 if test "$enable_largefile" != no; then
20707             wx_largefile=no
20708
20709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20710 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20711 if ${ac_cv_sys_file_offset_bits+:} false; then :
20712   $as_echo_n "(cached) " >&6
20713 else
20714
20715           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h.  */
20717 #define _FILE_OFFSET_BITS 64
20718                           #include <sys/types.h>
20719 int
20720 main ()
20721 {
20722 typedef struct {
20723     unsigned int field: sizeof(off_t) == 8;
20724 } wxlf;
20725
20726   ;
20727   return 0;
20728 }
20729 _ACEOF
20730 if ac_fn_c_try_compile "$LINENO"; then :
20731   ac_cv_sys_file_offset_bits=64
20732 else
20733   ac_cv_sys_file_offset_bits=no
20734 fi
20735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736
20737
20738 fi
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20740 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20741
20742     if test "$ac_cv_sys_file_offset_bits" != no; then
20743         wx_largefile=yes
20744         cat >>confdefs.h <<_ACEOF
20745 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20746 _ACEOF
20747
20748     fi
20749
20750     if test "x$wx_largefile" != "xyes"; then
20751
20752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20753 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20754 if ${ac_cv_sys_large_files+:} false; then :
20755   $as_echo_n "(cached) " >&6
20756 else
20757
20758           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h.  */
20760 #define _LARGE_FILES 1
20761                           #include <sys/types.h>
20762 int
20763 main ()
20764 {
20765 typedef struct {
20766     unsigned int field: sizeof(off_t) == 8;
20767 } wxlf;
20768
20769   ;
20770   return 0;
20771 }
20772 _ACEOF
20773 if ac_fn_c_try_compile "$LINENO"; then :
20774   ac_cv_sys_large_files=1
20775 else
20776   ac_cv_sys_large_files=no
20777 fi
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779
20780
20781 fi
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20783 $as_echo "$ac_cv_sys_large_files" >&6; }
20784
20785     if test "$ac_cv_sys_large_files" != no; then
20786         wx_largefile=yes
20787         cat >>confdefs.h <<_ACEOF
20788 #define _LARGE_FILES $ac_cv_sys_large_files
20789 _ACEOF
20790
20791     fi
20792
20793     fi
20794
20795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20796 $as_echo_n "checking if large file support is available... " >&6; }
20797     if test "x$wx_largefile" = "xyes"; then
20798         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20799
20800     fi
20801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20802 $as_echo "$wx_largefile" >&6; }
20803 fi
20804
20805 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20806     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20807 elif test "$ac_cv_sys_large_files" = 1; then
20808     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20809 fi
20810
20811 if test -n "$LARGEFILE_CPPFLAGS"; then
20812     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20813
20814                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20815         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20816 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20817 if ${wx_cv_STDC_EXT_required+:} false; then :
20818   $as_echo_n "(cached) " >&6
20819 else
20820
20821                 ac_ext=cpp
20822 ac_cpp='$CXXCPP $CPPFLAGS'
20823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20826
20827                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h.  */
20829
20830 int
20831 main ()
20832 {
20833
20834                         #ifndef __STDC_EXT__
20835                             choke me
20836                         #endif
20837
20838   ;
20839   return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843   wx_cv_STDC_EXT_required=no
20844 else
20845   wx_cv_STDC_EXT_required=yes
20846
20847 fi
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849                 ac_ext=c
20850 ac_cpp='$CPP $CPPFLAGS'
20851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20854
20855
20856
20857 fi
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20859 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20860         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20861             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20862         fi
20863     fi
20864 fi
20865
20866 ac_ext=cpp
20867 ac_cpp='$CXXCPP $CPPFLAGS'
20868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20871
20872 old_CPPFLAGS="$CPPFLAGS"
20873 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20875 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20876 if ${ac_cv_sys_largefile_source+:} false; then :
20877   $as_echo_n "(cached) " >&6
20878 else
20879   while :; do
20880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h.  */
20882 #include <sys/types.h> /* for off_t */
20883      #include <stdio.h>
20884 int
20885 main ()
20886 {
20887 int (*fp) (FILE *, off_t, int) = fseeko;
20888      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20889   ;
20890   return 0;
20891 }
20892 _ACEOF
20893 if ac_fn_cxx_try_link "$LINENO"; then :
20894   ac_cv_sys_largefile_source=no; break
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext \
20897     conftest$ac_exeext conftest.$ac_ext
20898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20899 /* end confdefs.h.  */
20900 #define _LARGEFILE_SOURCE 1
20901 #include <sys/types.h> /* for off_t */
20902      #include <stdio.h>
20903 int
20904 main ()
20905 {
20906 int (*fp) (FILE *, off_t, int) = fseeko;
20907      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20908   ;
20909   return 0;
20910 }
20911 _ACEOF
20912 if ac_fn_cxx_try_link "$LINENO"; then :
20913   ac_cv_sys_largefile_source=1; break
20914 fi
20915 rm -f core conftest.err conftest.$ac_objext \
20916     conftest$ac_exeext conftest.$ac_ext
20917   ac_cv_sys_largefile_source=unknown
20918   break
20919 done
20920 fi
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20922 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20923 case $ac_cv_sys_largefile_source in #(
20924   no | unknown) ;;
20925   *)
20926 cat >>confdefs.h <<_ACEOF
20927 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20928 _ACEOF
20929 ;;
20930 esac
20931 rm -rf conftest*
20932
20933 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20934 # in glibc 2.1.3, but that breaks too many other things.
20935 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20936 if test $ac_cv_sys_largefile_source != unknown; then
20937
20938 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20939
20940 fi
20941
20942 CPPFLAGS="$old_CPPFLAGS"
20943 ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948
20949 if test "$ac_cv_sys_largefile_source" != no; then
20950     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20951 fi
20952
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20954 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20955 if ${ac_cv_c_bigendian+:} false; then :
20956   $as_echo_n "(cached) " >&6
20957 else
20958   ac_cv_c_bigendian=unknown
20959 # See if sys/param.h defines the BYTE_ORDER macro.
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h.  */
20962 #include <sys/types.h>
20963 #include <sys/param.h>
20964 int
20965 main ()
20966 {
20967
20968 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20969  bogus endian macros
20970 #endif
20971   ;
20972   return 0;
20973 }
20974 _ACEOF
20975 if ac_fn_c_try_compile "$LINENO"; then :
20976   # It does; now see whether it defined to BIG_ENDIAN or not.
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h.  */
20979 #include <sys/types.h>
20980 #include <sys/param.h>
20981 int
20982 main ()
20983 {
20984
20985 #if BYTE_ORDER != BIG_ENDIAN
20986  not big endian
20987 #endif
20988   ;
20989   return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_c_try_compile "$LINENO"; then :
20993   ac_cv_c_bigendian=yes
20994 else
20995   ac_cv_c_bigendian=no
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 fi
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 if test $ac_cv_c_bigendian = unknown; then
21001 if test "$cross_compiling" = yes; then :
21002   ac_cv_c_bigendian=unknown
21003 else
21004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h.  */
21006 main () {
21007   /* Are we little or big endian?  From Harbison&Steele.  */
21008   union
21009   {
21010     long l;
21011     char c[sizeof (long)];
21012   } u;
21013   u.l = 1;
21014   exit (u.c[sizeof (long) - 1] == 1);
21015 }
21016 _ACEOF
21017 if ac_fn_c_try_run "$LINENO"; then :
21018   ac_cv_c_bigendian=no
21019 else
21020   ac_cv_c_bigendian=yes
21021 fi
21022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21023   conftest.$ac_objext conftest.beam conftest.$ac_ext
21024 fi
21025
21026 fi
21027 fi
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21029 $as_echo "$ac_cv_c_bigendian" >&6; }
21030 if test $ac_cv_c_bigendian = unknown; then
21031   { $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
21032 $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;}
21033 fi
21034 if test $ac_cv_c_bigendian = yes; then
21035   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21036
21037 fi
21038
21039
21040
21041
21042     ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047
21048
21049     for ac_header in iostream
21050 do :
21051   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21052 "
21053 if test "x$ac_cv_header_iostream" = xyes; then :
21054   cat >>confdefs.h <<_ACEOF
21055 #define HAVE_IOSTREAM 1
21056 _ACEOF
21057
21058 fi
21059
21060 done
21061
21062
21063     if test "$ac_cv_header_iostream" = "yes" ; then
21064       :
21065     else
21066       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21067
21068     fi
21069
21070     ac_ext=c
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21075
21076
21077
21078
21079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21080 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21081 if ${wx_cv_explicit+:} false; then :
21082   $as_echo_n "(cached) " >&6
21083 else
21084
21085
21086     ac_ext=cpp
21087 ac_cpp='$CXXCPP $CPPFLAGS'
21088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21091
21092
21093             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h.  */
21095
21096         class Foo { public: explicit Foo(int) {} };
21097
21098 int
21099 main ()
21100 {
21101
21102         return 0;
21103
21104   ;
21105   return 0;
21106 }
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109
21110         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h.  */
21112
21113                 class Foo { public: explicit Foo(int) {} };
21114                 static void TakeFoo(const Foo& foo) { }
21115
21116 int
21117 main ()
21118 {
21119
21120                 TakeFoo(17);
21121                 return 0;
21122
21123   ;
21124   return 0;
21125 }
21126 _ACEOF
21127 if ac_fn_cxx_try_compile "$LINENO"; then :
21128   wx_cv_explicit=no
21129 else
21130   wx_cv_explicit=yes
21131
21132 fi
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134
21135 else
21136   wx_cv_explicit=no
21137
21138 fi
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140
21141     ac_ext=c
21142 ac_cpp='$CPP $CPPFLAGS'
21143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146
21147
21148 fi
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21150 $as_echo "$wx_cv_explicit" >&6; }
21151
21152   if test "$wx_cv_explicit" = "yes"; then
21153     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21154
21155   fi
21156
21157
21158 if test "x$SUNCXX" = xyes; then
21159     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21160 fi
21161
21162 if test "x$SUNCC" = xyes; then
21163     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21164 fi
21165
21166 if test "x$SGICC" = "xyes"; then
21167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21168 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21169 if ${wx_cv_prog_sgicc744+:} false; then :
21170   $as_echo_n "(cached) " >&6
21171 else
21172
21173             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h.  */
21175
21176 int
21177 main ()
21178 {
21179
21180                     #if _SGI_COMPILER_VERSION >= 744
21181                     chock me: mipsPro is 7.4.4 or later
21182                     #endif
21183
21184   ;
21185   return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_c_try_compile "$LINENO"; then :
21189   wx_cv_prog_sgicc744=no
21190 else
21191   wx_cv_prog_sgicc744=yes
21192
21193 fi
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195
21196
21197 fi
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21199 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21200
21201     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21202         CFLAGS="-woff 3970 $CFLAGS"
21203     fi
21204 fi
21205 if test "x$SGICXX" = "xyes"; then
21206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21207 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21208 if ${wx_cv_prog_sgicxx744+:} false; then :
21209   $as_echo_n "(cached) " >&6
21210 else
21211
21212             ac_ext=cpp
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21217
21218             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h.  */
21220
21221 int
21222 main ()
21223 {
21224
21225                     #if _SGI_COMPILER_VERSION >= 744
21226                     chock me: mipsPro is 7.4.4 or later
21227                     #endif
21228
21229   ;
21230   return 0;
21231 }
21232 _ACEOF
21233 if ac_fn_cxx_try_compile "$LINENO"; then :
21234   wx_cv_prog_sgicxx744=no
21235 else
21236   wx_cv_prog_sgicxx744=yes
21237
21238 fi
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240             ac_ext=c
21241 ac_cpp='$CPP $CPPFLAGS'
21242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21245
21246
21247
21248 fi
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21250 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21251
21252     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21253         CXXFLAGS="-woff 3970 $CXXFLAGS"
21254     fi
21255 fi
21256
21257 if test "x$HPCC" = "xyes"; then
21258                     CFLAGS="+W 2011,2450 $CFLAGS"
21259 fi
21260 if test "x$HPCXX" = "xyes"; then
21261                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21262 fi
21263
21264 if test "x$COMPAQCXX" = "xyes"; then
21265                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21266 fi
21267
21268 ac_ext=cpp
21269 ac_cpp='$CXXCPP $CPPFLAGS'
21270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21273
21274
21275 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21276     if test "$wxUSE_UNICODE" = "yes"; then
21277         std_string="std::wstring"
21278         char_type="wchar_t"
21279     else
21280         std_string="std::string"
21281         char_type="char"
21282     fi
21283
21284         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21285 $as_echo_n "checking for $std_string in <string>... " >&6; }
21286 if ${wx_cv_class_stdstring+:} false; then :
21287   $as_echo_n "(cached) " >&6
21288 else
21289
21290             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h.  */
21292 #include <string>
21293 int
21294 main ()
21295 {
21296 $std_string foo;
21297   ;
21298   return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_cxx_try_compile "$LINENO"; then :
21302   wx_cv_class_stdstring=yes
21303 else
21304   wx_cv_class_stdstring=no
21305
21306 fi
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308
21309
21310 fi
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21312 $as_echo "$wx_cv_class_stdstring" >&6; }
21313
21314     if test "$wx_cv_class_stdstring" = yes; then
21315         if test "$wxUSE_UNICODE" = "yes"; then
21316             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21317
21318         fi
21319                     else
21320         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21321 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21322 if ${wx_cv_class_stdbasicstring+:} false; then :
21323   $as_echo_n "(cached) " >&6
21324 else
21325
21326                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h.  */
21328
21329                     #ifdef HAVE_WCHAR_H
21330                     #  ifdef __CYGWIN__
21331                     #    include <stddef.h>
21332                     #  endif
21333                     #  include <wchar.h>
21334                     #endif
21335                     #ifdef HAVE_STDLIB_H
21336                     #  include <stdlib.h>
21337                     #endif
21338                     #include <stdio.h>
21339                     #include <string>
21340
21341 int
21342 main ()
21343 {
21344 std::basic_string<$char_type> foo;
21345                      const $char_type* dummy = foo.c_str();
21346   ;
21347   return 0;
21348 }
21349 _ACEOF
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351   wx_cv_class_stdbasicstring=yes
21352 else
21353   wx_cv_class_stdbasicstring=no
21354
21355 fi
21356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357
21358
21359 fi
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21361 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21362
21363         if test "$wx_cv_class_stdbasicstring" != yes; then
21364             if test "$wxUSE_STL" = "yes"; then
21365                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21366             elif test "$wxUSE_STD_STRING" = "yes"; then
21367                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21368             else
21369                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21370 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21371                 wxUSE_STD_STRING=no
21372             fi
21373         fi
21374     fi
21375 fi
21376
21377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21378     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21379 "
21380 if test "x$ac_cv_type_std__istream" = xyes; then :
21381
21382 cat >>confdefs.h <<_ACEOF
21383 #define HAVE_STD__ISTREAM 1
21384 _ACEOF
21385
21386
21387 else
21388   wxUSE_STD_IOSTREAM=no
21389 fi
21390 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21391 "
21392 if test "x$ac_cv_type_std__ostream" = xyes; then :
21393
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_STD__OSTREAM 1
21396 _ACEOF
21397
21398
21399 else
21400   wxUSE_STD_IOSTREAM=no
21401 fi
21402
21403
21404     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21405         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21406             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21407         else
21408             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21409 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21410         fi
21411     fi
21412 fi
21413
21414 if test "$wxUSE_STL" = "yes"; then
21415         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21416 $as_echo_n "checking for basic STL functionality... " >&6; }
21417 if ${wx_cv_lib_stl+:} false; then :
21418   $as_echo_n "(cached) " >&6
21419 else
21420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h.  */
21422 #include <string>
21423             #include <functional>
21424             #include <algorithm>
21425             #include <vector>
21426             #include <list>
21427 int
21428 main ()
21429 {
21430 std::vector<int> moo;
21431              std::list<int> foo;
21432              std::vector<int>::iterator it =
21433                  std::find_if(moo.begin(), moo.end(),
21434                               std::bind2nd(std::less<int>(), 3));
21435   ;
21436   return 0;
21437 }
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440   wx_cv_lib_stl=yes
21441 else
21442   wx_cv_lib_stl=no
21443
21444 fi
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446
21447 fi
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21449 $as_echo "$wx_cv_lib_stl" >&6; }
21450
21451     if test "$wx_cv_lib_stl" != yes; then
21452          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21453     fi
21454
21455         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21456 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21457 if ${wx_cv_func_stdstring_compare+:} false; then :
21458   $as_echo_n "(cached) " >&6
21459 else
21460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h.  */
21462 #include <string>
21463 int
21464 main ()
21465 {
21466 std::string foo, bar;
21467             foo.compare(bar);
21468             foo.compare(1, 1, bar);
21469             foo.compare(1, 1, bar, 1, 1);
21470             foo.compare("");
21471             foo.compare(1, 1, "");
21472             foo.compare(1, 1, "", 2);
21473   ;
21474   return 0;
21475 }
21476 _ACEOF
21477 if ac_fn_cxx_try_compile "$LINENO"; then :
21478   wx_cv_func_stdstring_compare=yes
21479 else
21480   wx_cv_func_stdstring_compare=no
21481
21482 fi
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484
21485 fi
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21487 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21488
21489     if test "$wx_cv_func_stdstring_compare" = yes; then
21490         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21491
21492     fi
21493
21494     if test "$wx_cv_class_gnuhashmapset" = yes; then
21495          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21496
21497          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21498
21499     fi
21500
21501     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21502
21503 "
21504 if test "x$ac_cv_header_unordered_map" = xyes; then :
21505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21506 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21507 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21508   $as_echo_n "(cached) " >&6
21509 else
21510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h.  */
21512 #include <unordered_map>
21513                 #include <unordered_set>
21514 int
21515 main ()
21516 {
21517 std::unordered_map<double*, char*> test1;
21518                  std::unordered_set<char*> test2;
21519   ;
21520   return 0;
21521 }
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524   wx_cv_class_stdunorderedmapset=yes
21525 else
21526   wx_cv_class_stdunorderedmapset=no
21527 fi
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529
21530
21531 fi
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21533 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21534 fi
21535
21536
21537
21538     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21539          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21540
21541          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21542
21543     else
21544         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21545
21546 "
21547 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21549 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21550 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21551   $as_echo_n "(cached) " >&6
21552 else
21553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h.  */
21555 #include <tr1/unordered_map>
21556                     #include <tr1/unordered_set>
21557 int
21558 main ()
21559 {
21560 std::tr1::unordered_map<double*, char*> test1;
21561                      std::tr1::unordered_set<char*> test2;
21562             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21563             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21564             #endif
21565   ;
21566   return 0;
21567 }
21568 _ACEOF
21569 if ac_fn_cxx_try_compile "$LINENO"; then :
21570   wx_cv_class_tr1unorderedmapset=yes
21571 else
21572   wx_cv_class_tr1unorderedmapset=no
21573 fi
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575
21576
21577 fi
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21579 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21580 fi
21581
21582
21583
21584         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21585             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21586
21587             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21588
21589         else
21590                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21591
21592 "
21593 if test "x$ac_cv_header_hash_map" = xyes; then :
21594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21595 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21596 if ${wx_cv_class_stdhashmapset+:} false; then :
21597   $as_echo_n "(cached) " >&6
21598 else
21599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h.  */
21601 #include <hash_map>
21602                         #include <hash_set>
21603 int
21604 main ()
21605 {
21606 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21607                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21608   ;
21609   return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613   wx_cv_class_stdhashmapset=yes
21614 else
21615   wx_cv_class_stdhashmapset=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618
21619
21620 fi
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21622 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21623 fi
21624
21625
21626
21627             if test "$wx_cv_class_stdhashmapset" = yes; then
21628                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21629
21630                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21631
21632             fi
21633
21634             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21635
21636 "
21637 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21639 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21640 if ${wx_cv_class_gnuhashmapset+:} false; then :
21641   $as_echo_n "(cached) " >&6
21642 else
21643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h.  */
21645 #include <ext/hash_map>
21646                         #include <ext/hash_set>
21647 int
21648 main ()
21649 {
21650 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21651                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21652   ;
21653   return 0;
21654 }
21655 _ACEOF
21656 if ac_fn_cxx_try_compile "$LINENO"; then :
21657   wx_cv_class_gnuhashmapset=yes
21658 else
21659   wx_cv_class_gnuhashmapset=no
21660 fi
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662
21663
21664 fi
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21666 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21667 fi
21668
21669
21670
21671         fi
21672     fi
21673 fi
21674
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21681 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21682 if test -z "$CXXCPP"; then
21683   if ${ac_cv_prog_CXXCPP+:} false; then :
21684   $as_echo_n "(cached) " >&6
21685 else
21686       # Double quotes because CXXCPP needs to be expanded
21687     for CXXCPP in "$CXX -E" "/lib/cpp"
21688     do
21689       ac_preproc_ok=false
21690 for ac_cxx_preproc_warn_flag in '' yes
21691 do
21692   # Use a header file that comes with gcc, so configuring glibc
21693   # with a fresh cross-compiler works.
21694   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21695   # <limits.h> exists even on freestanding compilers.
21696   # On the NeXT, cc -E runs the code through the compiler's parser,
21697   # not just through cpp. "Syntax error" is here to catch this case.
21698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h.  */
21700 #ifdef __STDC__
21701 # include <limits.h>
21702 #else
21703 # include <assert.h>
21704 #endif
21705                      Syntax error
21706 _ACEOF
21707 if ac_fn_cxx_try_cpp "$LINENO"; then :
21708
21709 else
21710   # Broken: fails on valid input.
21711 continue
21712 fi
21713 rm -f conftest.err conftest.i conftest.$ac_ext
21714
21715   # OK, works on sane cases.  Now check whether nonexistent headers
21716   # can be detected and how.
21717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <ac_nonexistent.h>
21720 _ACEOF
21721 if ac_fn_cxx_try_cpp "$LINENO"; then :
21722   # Broken: success on invalid input.
21723 continue
21724 else
21725   # Passes both tests.
21726 ac_preproc_ok=:
21727 break
21728 fi
21729 rm -f conftest.err conftest.i conftest.$ac_ext
21730
21731 done
21732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21733 rm -f conftest.i conftest.err conftest.$ac_ext
21734 if $ac_preproc_ok; then :
21735   break
21736 fi
21737
21738     done
21739     ac_cv_prog_CXXCPP=$CXXCPP
21740
21741 fi
21742   CXXCPP=$ac_cv_prog_CXXCPP
21743 else
21744   ac_cv_prog_CXXCPP=$CXXCPP
21745 fi
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21747 $as_echo "$CXXCPP" >&6; }
21748 ac_preproc_ok=false
21749 for ac_cxx_preproc_warn_flag in '' yes
21750 do
21751   # Use a header file that comes with gcc, so configuring glibc
21752   # with a fresh cross-compiler works.
21753   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21754   # <limits.h> exists even on freestanding compilers.
21755   # On the NeXT, cc -E runs the code through the compiler's parser,
21756   # not just through cpp. "Syntax error" is here to catch this case.
21757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h.  */
21759 #ifdef __STDC__
21760 # include <limits.h>
21761 #else
21762 # include <assert.h>
21763 #endif
21764                      Syntax error
21765 _ACEOF
21766 if ac_fn_cxx_try_cpp "$LINENO"; then :
21767
21768 else
21769   # Broken: fails on valid input.
21770 continue
21771 fi
21772 rm -f conftest.err conftest.i conftest.$ac_ext
21773
21774   # OK, works on sane cases.  Now check whether nonexistent headers
21775   # can be detected and how.
21776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h.  */
21778 #include <ac_nonexistent.h>
21779 _ACEOF
21780 if ac_fn_cxx_try_cpp "$LINENO"; then :
21781   # Broken: success on invalid input.
21782 continue
21783 else
21784   # Passes both tests.
21785 ac_preproc_ok=:
21786 break
21787 fi
21788 rm -f conftest.err conftest.i conftest.$ac_ext
21789
21790 done
21791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21792 rm -f conftest.i conftest.err conftest.$ac_ext
21793 if $ac_preproc_ok; then :
21794
21795 else
21796   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21798 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21799 See \`config.log' for more details" "$LINENO" 5; }
21800 fi
21801
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21807
21808
21809 for ac_header in type_traits tr1/type_traits
21810 do :
21811   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21812 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21814   cat >>confdefs.h <<_ACEOF
21815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21816 _ACEOF
21817
21818 fi
21819
21820 done
21821
21822
21823
21824
21825   if test -n "$GCC"; then
21826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21827 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21828     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21829   $as_echo_n "(cached) " >&6
21830 else
21831
21832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h.  */
21834
21835 int
21836 main ()
21837 {
21838
21839           unsigned int value=0;
21840           /* wxAtomicInc doesn't use return value here */
21841           __sync_fetch_and_add(&value, 2);
21842           __sync_sub_and_fetch(&value, 1);
21843           /* but wxAtomicDec does, so mimic that: */
21844           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21845
21846   ;
21847   return 0;
21848 }
21849 _ACEOF
21850 if ac_fn_cxx_try_link "$LINENO"; then :
21851   wx_cv_cc_gcc_atomic_builtins=yes
21852 else
21853   wx_cv_cc_gcc_atomic_builtins=no
21854 fi
21855 rm -f core conftest.err conftest.$ac_objext \
21856     conftest$ac_exeext conftest.$ac_ext
21857
21858 fi
21859
21860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21861 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21862     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21863       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21864
21865     fi
21866   fi
21867
21868
21869 ac_ext=c
21870 ac_cpp='$CPP $CPPFLAGS'
21871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21874
21875
21876
21877 SEARCH_INCLUDE="\
21878     /usr/local/include        \
21879     /usr/local/X11/include    \
21880     /usr/local/include/X11    \
21881     /usr/local/X11R7/include  \
21882     /usr/local/X11R6/include  \
21883     /usr/local/include/X11R7  \
21884     /usr/local/include/X11R6  \
21885                               \
21886     /usr/Motif-2.1/include    \
21887     /usr/Motif-1.2/include    \
21888     /usr/include/Motif1.2     \
21889                               \
21890     /usr/dt/include           \
21891     /usr/openwin/include      \
21892                               \
21893     /usr/include/Xm           \
21894                               \
21895     /usr/X11R7/include        \
21896     /usr/X11R6/include        \
21897     /usr/X11R6.4/include      \
21898                               \
21899     /usr/include/X11R7        \
21900     /usr/include/X11R6        \
21901                               \
21902     /usr/X11/include          \
21903     /usr/include/X11          \
21904                               \
21905     /usr/XFree86/include/X11  \
21906     /usr/pkg/include          \
21907                               \
21908     /usr/local/X1R5/include  \
21909     /usr/local/include/X11R5  \
21910     /usr/X11R5/include        \
21911     /usr/include/X11R5        \
21912                               \
21913     /usr/local/X11R4/include  \
21914     /usr/local/include/X11R4  \
21915     /usr/X11R4/include        \
21916     /usr/include/X11R4        \
21917                               \
21918     /usr/openwin/share/include"
21919
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21921 $as_echo_n "checking for libraries directories... " >&6; }
21922
21923 case "${host}" in
21924     *-*-irix6* )
21925         if ${wx_cv_std_libpath+:} false; then :
21926   $as_echo_n "(cached) " >&6
21927 else
21928
21929                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21930                     for e in a so sl dylib dll.a; do
21931                         libc="$d/libc.$e"
21932                         if test -f $libc; then
21933                             save_LIBS="$LIBS"
21934                             LIBS="$libc"
21935                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h.  */
21937
21938                                     int main() { return 0; }
21939
21940 _ACEOF
21941 if ac_fn_c_try_link "$LINENO"; then :
21942   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext \
21945     conftest$ac_exeext conftest.$ac_ext
21946                             LIBS="$save_LIBS"
21947                             if test "x$wx_cv_std_libpath" != "x"; then
21948                                 break 2
21949                             fi
21950                         fi
21951                     done
21952                 done
21953
21954
21955 fi
21956
21957         ;;
21958
21959     *-*-solaris2* )
21960                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21961             wx_cv_std_libpath="lib/64"
21962         fi
21963         ;;
21964
21965     *-*-linux* )
21966                                         if test "$ac_cv_sizeof_void_p" = 8; then
21967             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21968                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21969             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21970                 wx_cv_std_libpath="lib64"
21971             fi
21972         else
21973             case "${host}" in
21974                 i*86-*-linux* )
21975                     if test -d '/usr/lib/i386-linux-gnu'; then
21976                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21977                     fi
21978             esac
21979         fi
21980
21981                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21982             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21983         fi
21984         ;;
21985 esac
21986
21987 if test -z "$wx_cv_std_libpath"; then
21988     wx_cv_std_libpath="lib"
21989 fi
21990
21991 if test -z "$wx_cv_std_libfullpath"; then
21992     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21993 fi
21994
21995
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21997 $as_echo "$wx_cv_std_libfullpath" >&6; }
21998
21999 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22000
22001 if test "$build" != "$host" -a "$GCC" = yes; then
22002                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22003         cross_root=`dirname $cross_root`
22004         cross_root=`dirname $cross_root`
22005
22006                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22007         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22008         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22009
22010                 if test -z "$PKG_CONFIG_PATH"; then
22011             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22012             export PKG_CONFIG_PATH
22013         fi
22014
22015                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22016
22017 ac_find_includes=
22018 for ac_dir in $SEARCH_INCLUDE /usr/include
22019   do
22020     if test -f "$ac_dir/X11/Intrinsic.h"; then
22021       ac_find_includes=$ac_dir
22022       break
22023     fi
22024   done
22025
22026             x_includes=$ac_find_includes
22027         fi
22028         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22029
22030   ac_find_libraries=
22031   for ac_dir in  $SEARCH_LIB
22032   do
22033     for ac_extension in a so sl dylib dll.a; do
22034       if test -f "$ac_dir/libXt.$ac_extension"; then
22035         ac_find_libraries=$ac_dir
22036         break 2
22037       fi
22038     done
22039   done
22040
22041             x_libraries=$ac_find_libraries
22042         fi
22043     fi
22044 fi
22045
22046
22047 cat >confcache <<\_ACEOF
22048 # This file is a shell script that caches the results of configure
22049 # tests run on this system so they can be shared between configure
22050 # scripts and configure runs, see configure's option --config-cache.
22051 # It is not useful on other systems.  If it contains results you don't
22052 # want to keep, you may remove or edit it.
22053 #
22054 # config.status only pays attention to the cache file if you give it
22055 # the --recheck option to rerun configure.
22056 #
22057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22059 # following values.
22060
22061 _ACEOF
22062
22063 # The following way of writing the cache mishandles newlines in values,
22064 # but we know of no workaround that is simple, portable, and efficient.
22065 # So, we kill variables containing newlines.
22066 # Ultrix sh set writes to stderr and can't be redirected directly,
22067 # and sets the high bit in the cache file unless we assign to the vars.
22068 (
22069   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22070     eval ac_val=\$$ac_var
22071     case $ac_val in #(
22072     *${as_nl}*)
22073       case $ac_var in #(
22074       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22076       esac
22077       case $ac_var in #(
22078       _ | IFS | as_nl) ;; #(
22079       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22080       *) { eval $ac_var=; unset $ac_var;} ;;
22081       esac ;;
22082     esac
22083   done
22084
22085   (set) 2>&1 |
22086     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22087     *${as_nl}ac_space=\ *)
22088       # `set' does not quote correctly, so add quotes: double-quote
22089       # substitution turns \\\\ into \\, and sed turns \\ into \.
22090       sed -n \
22091         "s/'/'\\\\''/g;
22092           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22093       ;; #(
22094     *)
22095       # `set' quotes correctly as required by POSIX, so do not add quotes.
22096       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22097       ;;
22098     esac |
22099     sort
22100 ) |
22101   sed '
22102      /^ac_cv_env_/b end
22103      t clear
22104      :clear
22105      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22106      t end
22107      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22108      :end' >>confcache
22109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22110   if test -w "$cache_file"; then
22111     if test "x$cache_file" != "x/dev/null"; then
22112       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22113 $as_echo "$as_me: updating cache $cache_file" >&6;}
22114       if test ! -f "$cache_file" || test -h "$cache_file"; then
22115         cat confcache >"$cache_file"
22116       else
22117         case $cache_file in #(
22118         */* | ?:*)
22119           mv -f confcache "$cache_file"$$ &&
22120           mv -f "$cache_file"$$ "$cache_file" ;; #(
22121         *)
22122           mv -f confcache "$cache_file" ;;
22123         esac
22124       fi
22125     fi
22126   else
22127     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22128 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22129   fi
22130 fi
22131 rm -f confcache
22132
22133 have_cos=0
22134 have_floor=0
22135 for ac_func in cos
22136 do :
22137   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22138 if test "x$ac_cv_func_cos" = xyes; then :
22139   cat >>confdefs.h <<_ACEOF
22140 #define HAVE_COS 1
22141 _ACEOF
22142  have_cos=1
22143 fi
22144 done
22145
22146 for ac_func in floor
22147 do :
22148   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22149 if test "x$ac_cv_func_floor" = xyes; then :
22150   cat >>confdefs.h <<_ACEOF
22151 #define HAVE_FLOOR 1
22152 _ACEOF
22153  have_floor=1
22154 fi
22155 done
22156
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22158 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22159 if test "$have_cos" = 1 -a "$have_floor" = 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     LIBS="$LIBS -lm"
22166     # use different functions to avoid configure caching
22167     have_sin=0
22168     have_ceil=0
22169     for ac_func in sin
22170 do :
22171   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22172 if test "x$ac_cv_func_sin" = xyes; then :
22173   cat >>confdefs.h <<_ACEOF
22174 #define HAVE_SIN 1
22175 _ACEOF
22176  have_sin=1
22177 fi
22178 done
22179
22180     for ac_func in ceil
22181 do :
22182   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22183 if test "x$ac_cv_func_ceil" = xyes; then :
22184   cat >>confdefs.h <<_ACEOF
22185 #define HAVE_CEIL 1
22186 _ACEOF
22187  have_ceil=1
22188 fi
22189 done
22190
22191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22192 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22193     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22195 $as_echo "yes" >&6; }
22196     else
22197         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22198 $as_echo "no" >&6; }
22199         # not sure we should warn the user, crash, etc.
22200     fi
22201 fi
22202
22203 ac_ext=cpp
22204 ac_cpp='$CXXCPP $CPPFLAGS'
22205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22208
22209 if test "wxUSE_UNICODE" = "yes"; then
22210
22211   for wx_func in wcstoull
22212   do
22213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22214 $as_echo_n "checking for $wx_func... " >&6; }
22215 if eval \${wx_cv_func_$wx_func+:} false; then :
22216   $as_echo_n "(cached) " >&6
22217 else
22218
22219         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h.  */
22221
22222
22223
22224                 $ac_includes_default
22225
22226 int
22227 main ()
22228 {
22229
22230                 #ifndef $wx_func
22231                   &$wx_func;
22232                 #endif
22233
22234
22235   ;
22236   return 0;
22237 }
22238
22239 _ACEOF
22240 if ac_fn_cxx_try_link "$LINENO"; then :
22241   eval wx_cv_func_$wx_func=yes
22242 else
22243   eval wx_cv_func_$wx_func=no
22244 fi
22245 rm -f core conftest.err conftest.$ac_objext \
22246     conftest$ac_exeext conftest.$ac_ext
22247
22248 fi
22249 eval ac_res=\$wx_cv_func_$wx_func
22250                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22251 $as_echo "$ac_res" >&6; }
22252
22253     if eval test \$wx_cv_func_$wx_func = yes
22254     then
22255       cat >>confdefs.h <<_ACEOF
22256 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22257 _ACEOF
22258
22259
22260     else
22261       :
22262
22263     fi
22264   done
22265
22266 else
22267
22268   for wx_func in strtoull
22269   do
22270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22271 $as_echo_n "checking for $wx_func... " >&6; }
22272 if eval \${wx_cv_func_$wx_func+:} false; then :
22273   $as_echo_n "(cached) " >&6
22274 else
22275
22276         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h.  */
22278
22279
22280
22281                 $ac_includes_default
22282
22283 int
22284 main ()
22285 {
22286
22287                 #ifndef $wx_func
22288                   &$wx_func;
22289                 #endif
22290
22291
22292   ;
22293   return 0;
22294 }
22295
22296 _ACEOF
22297 if ac_fn_cxx_try_link "$LINENO"; then :
22298   eval wx_cv_func_$wx_func=yes
22299 else
22300   eval wx_cv_func_$wx_func=no
22301 fi
22302 rm -f core conftest.err conftest.$ac_objext \
22303     conftest$ac_exeext conftest.$ac_ext
22304
22305 fi
22306 eval ac_res=\$wx_cv_func_$wx_func
22307                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22308 $as_echo "$ac_res" >&6; }
22309
22310     if eval test \$wx_cv_func_$wx_func = yes
22311     then
22312       cat >>confdefs.h <<_ACEOF
22313 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22314 _ACEOF
22315
22316
22317     else
22318       :
22319
22320     fi
22321   done
22322
22323 fi
22324 ac_ext=c
22325 ac_cpp='$CPP $CPPFLAGS'
22326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329
22330
22331
22332
22333 if test "$wxUSE_REGEX" != "no"; then
22334     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22335
22336
22337     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22338         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22339 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22340         wxUSE_REGEX=builtin
22341     fi
22342
22343     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22344                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22345 "
22346 if test "x$ac_cv_header_regex_h" = xyes; then :
22347   for ac_func in regcomp re_search
22348 do :
22349   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22351 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22352   cat >>confdefs.h <<_ACEOF
22353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22354 _ACEOF
22355
22356 fi
22357 done
22358
22359 fi
22360
22361
22362
22363         if test "x$ac_cv_func_regcomp" != "xyes"; then
22364             if test "$wxUSE_REGEX" = "sys" ; then
22365                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22366             else
22367                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22368 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22369                 wxUSE_REGEX=builtin
22370             fi
22371         else
22372                         wxUSE_REGEX=sys
22373                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22374
22375         fi
22376     fi
22377 fi
22378
22379
22380 ZLIB_LINK=
22381 if test "$wxUSE_ZLIB" != "no" ; then
22382     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22383
22384
22385     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22386                                                 if test "$USE_DARWIN" = 1; then
22387             system_zlib_h_ok="yes"
22388         else
22389                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22390 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22391 if ${ac_cv_header_zlib_h+:} false; then :
22392   $as_echo_n "(cached) " >&6
22393 else
22394   if test "$cross_compiling" = yes; then :
22395                       unset ac_cv_header_zlib_h
22396
22397 else
22398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h.  */
22400
22401                         #include <zlib.h>
22402                         #include <stdio.h>
22403
22404                         int main()
22405                         {
22406                             FILE *f=fopen("conftestval", "w");
22407                             if (!f) exit(1);
22408                             fprintf(f, "%s",
22409                                     ZLIB_VERSION[0] == '1' &&
22410                                     (ZLIB_VERSION[2] > '1' ||
22411                                     (ZLIB_VERSION[2] == '1' &&
22412                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22413                             exit(0);
22414                         }
22415
22416 _ACEOF
22417 if ac_fn_c_try_run "$LINENO"; then :
22418   ac_cv_header_zlib_h=`cat conftestval`
22419 else
22420   ac_cv_header_zlib_h=no
22421 fi
22422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22423   conftest.$ac_objext conftest.beam conftest.$ac_ext
22424 fi
22425
22426
22427 fi
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22429 $as_echo "$ac_cv_header_zlib_h" >&6; }
22430                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22431 "
22432 if test "x$ac_cv_header_zlib_h" = xyes; then :
22433
22434 fi
22435
22436
22437
22438             system_zlib_h_ok=$ac_cv_header_zlib_h
22439         fi
22440
22441         if test "$system_zlib_h_ok" = "yes"; then
22442             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22443 $as_echo_n "checking for deflate in -lz... " >&6; }
22444 if ${ac_cv_lib_z_deflate+:} false; then :
22445   $as_echo_n "(cached) " >&6
22446 else
22447   ac_check_lib_save_LIBS=$LIBS
22448 LIBS="-lz  $LIBS"
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h.  */
22451
22452 /* Override any GCC internal prototype to avoid an error.
22453    Use char because int might match the return type of a GCC
22454    builtin and then its argument prototype would still apply.  */
22455 #ifdef __cplusplus
22456 extern "C"
22457 #endif
22458 char deflate ();
22459 int
22460 main ()
22461 {
22462 return deflate ();
22463   ;
22464   return 0;
22465 }
22466 _ACEOF
22467 if ac_fn_c_try_link "$LINENO"; then :
22468   ac_cv_lib_z_deflate=yes
22469 else
22470   ac_cv_lib_z_deflate=no
22471 fi
22472 rm -f core conftest.err conftest.$ac_objext \
22473     conftest$ac_exeext conftest.$ac_ext
22474 LIBS=$ac_check_lib_save_LIBS
22475 fi
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22477 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22478 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22479   ZLIB_LINK=" -lz"
22480 fi
22481
22482         fi
22483
22484         if test "x$ZLIB_LINK" = "x" ; then
22485             if test "$wxUSE_ZLIB" = "sys" ; then
22486                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22487             else
22488                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22489 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22490                 wxUSE_ZLIB=builtin
22491             fi
22492         else
22493                         wxUSE_ZLIB=sys
22494         fi
22495     fi
22496 fi
22497
22498
22499 PNG_LINK=
22500 if test "$wxUSE_LIBPNG" != "no" ; then
22501     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22502
22503
22504             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22505         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22506 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22507         wxUSE_LIBPNG=builtin
22508     fi
22509
22510     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22511                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22512 $as_echo_n "checking for png.h > 0.90... " >&6; }
22513 if ${ac_cv_header_png_h+:} false; then :
22514   $as_echo_n "(cached) " >&6
22515 else
22516   if test "$cross_compiling" = yes; then :
22517                   unset ac_cv_header_png_h
22518
22519 else
22520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h.  */
22522
22523                     #include <png.h>
22524                     #include <stdio.h>
22525
22526                     int main()
22527                     {
22528                         FILE *f=fopen("conftestval", "w");
22529                         if (!f) exit(1);
22530                         fprintf(f, "%s",
22531                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22532                         exit(0);
22533                     }
22534
22535 _ACEOF
22536 if ac_fn_c_try_run "$LINENO"; then :
22537   ac_cv_header_png_h=`cat conftestval`
22538 else
22539   ac_cv_header_png_h=no
22540 fi
22541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22542   conftest.$ac_objext conftest.beam conftest.$ac_ext
22543 fi
22544
22545
22546 fi
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22548 $as_echo "$ac_cv_header_png_h" >&6; }
22549         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22550 "
22551 if test "x$ac_cv_header_png_h" = xyes; then :
22552
22553 fi
22554
22555
22556
22557         if test "$ac_cv_header_png_h" = "yes"; then
22558             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22559 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22560 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22561   $as_echo_n "(cached) " >&6
22562 else
22563   ac_check_lib_save_LIBS=$LIBS
22564 LIBS="-lpng -lz -lm $LIBS"
22565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22566 /* end confdefs.h.  */
22567
22568 /* Override any GCC internal prototype to avoid an error.
22569    Use char because int might match the return type of a GCC
22570    builtin and then its argument prototype would still apply.  */
22571 #ifdef __cplusplus
22572 extern "C"
22573 #endif
22574 char png_sig_cmp ();
22575 int
22576 main ()
22577 {
22578 return png_sig_cmp ();
22579   ;
22580   return 0;
22581 }
22582 _ACEOF
22583 if ac_fn_c_try_link "$LINENO"; then :
22584   ac_cv_lib_png_png_sig_cmp=yes
22585 else
22586   ac_cv_lib_png_png_sig_cmp=no
22587 fi
22588 rm -f core conftest.err conftest.$ac_objext \
22589     conftest$ac_exeext conftest.$ac_ext
22590 LIBS=$ac_check_lib_save_LIBS
22591 fi
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22593 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22594 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22595   PNG_LINK=" -lpng -lz"
22596 fi
22597
22598         fi
22599
22600         if test "x$PNG_LINK" = "x" ; then
22601             if test "$wxUSE_LIBPNG" = "sys" ; then
22602                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22603             else
22604                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22605 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22606                 wxUSE_LIBPNG=builtin
22607             fi
22608         else
22609                         wxUSE_LIBPNG=sys
22610         fi
22611     fi
22612 fi
22613
22614
22615 JPEG_LINK=
22616 if test "$wxUSE_LIBJPEG" != "no" ; then
22617     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22618
22619
22620     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22621                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22622 $as_echo_n "checking for jpeglib.h... " >&6; }
22623         if ${ac_cv_header_jpeglib_h+:} false; then :
22624   $as_echo_n "(cached) " >&6
22625 else
22626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22627 /* end confdefs.h.  */
22628
22629                     #undef HAVE_STDLIB_H
22630                     #include <stdio.h>
22631                     #include <jpeglib.h>
22632
22633 int
22634 main ()
22635 {
22636
22637
22638   ;
22639   return 0;
22640 }
22641 _ACEOF
22642 if ac_fn_c_try_compile "$LINENO"; then :
22643   ac_cv_header_jpeglib_h=yes
22644 else
22645   ac_cv_header_jpeglib_h=no
22646
22647 fi
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649
22650 fi
22651
22652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22653 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22654
22655         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22656             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22657 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22658 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22659   $as_echo_n "(cached) " >&6
22660 else
22661   ac_check_lib_save_LIBS=$LIBS
22662 LIBS="-ljpeg  $LIBS"
22663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22664 /* end confdefs.h.  */
22665
22666 /* Override any GCC internal prototype to avoid an error.
22667    Use char because int might match the return type of a GCC
22668    builtin and then its argument prototype would still apply.  */
22669 #ifdef __cplusplus
22670 extern "C"
22671 #endif
22672 char jpeg_read_header ();
22673 int
22674 main ()
22675 {
22676 return jpeg_read_header ();
22677   ;
22678   return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_c_try_link "$LINENO"; then :
22682   ac_cv_lib_jpeg_jpeg_read_header=yes
22683 else
22684   ac_cv_lib_jpeg_jpeg_read_header=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext \
22687     conftest$ac_exeext conftest.$ac_ext
22688 LIBS=$ac_check_lib_save_LIBS
22689 fi
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22691 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22692 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22693   JPEG_LINK=" -ljpeg"
22694 fi
22695
22696         fi
22697
22698         if test "x$JPEG_LINK" = "x" ; then
22699             if test "$wxUSE_LIBJPEG" = "sys" ; then
22700                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22701             else
22702                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22703 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22704                 wxUSE_LIBJPEG=builtin
22705             fi
22706         else
22707                         wxUSE_LIBJPEG=sys
22708
22709             if test "$wxUSE_MSW" = 1; then
22710                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22711 "
22712 if test "x$ac_cv_type_boolean" = xyes; then :
22713
22714 cat >>confdefs.h <<_ACEOF
22715 #define HAVE_BOOLEAN 1
22716 _ACEOF
22717
22718
22719                         # The cast to long int works around a bug in the HP C Compiler
22720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22722 # This bug is HP SR number 8606223364.
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22724 $as_echo_n "checking size of boolean... " >&6; }
22725 if ${ac_cv_sizeof_boolean+:} false; then :
22726   $as_echo_n "(cached) " >&6
22727 else
22728   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22729                                 #undef HAVE_BOOLEAN
22730                                 #include <stdio.h>
22731                                 #include <jpeglib.h>
22732
22733 "; then :
22734
22735 else
22736   if test "$ac_cv_type_boolean" = yes; then
22737      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22739 as_fn_error 77 "cannot compute sizeof (boolean)
22740 See \`config.log' for more details" "$LINENO" 5; }
22741    else
22742      ac_cv_sizeof_boolean=0
22743    fi
22744 fi
22745
22746 fi
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22748 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22749
22750
22751
22752 cat >>confdefs.h <<_ACEOF
22753 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22754 _ACEOF
22755
22756
22757                         cat >>confdefs.h <<_ACEOF
22758 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22759 _ACEOF
22760
22761
22762 fi
22763
22764             fi
22765         fi
22766     fi
22767 fi
22768
22769
22770 TIFF_LINK=
22771 TIFF_PREREQ_LINKS=-lm
22772 if test "$wxUSE_LIBTIFF" != "no" ; then
22773     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22774
22775
22776     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22777                         if test "$wxUSE_LIBJPEG" = "sys"; then
22778             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22779         fi
22780         if test "$wxUSE_ZLIB" = "sys"; then
22781             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22782         fi
22783         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22784
22785 "
22786 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22787
22788                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22789 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22790 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22791   $as_echo_n "(cached) " >&6
22792 else
22793   ac_check_lib_save_LIBS=$LIBS
22794 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h.  */
22797
22798 /* Override any GCC internal prototype to avoid an error.
22799    Use char because int might match the return type of a GCC
22800    builtin and then its argument prototype would still apply.  */
22801 #ifdef __cplusplus
22802 extern "C"
22803 #endif
22804 char TIFFError ();
22805 int
22806 main ()
22807 {
22808 return TIFFError ();
22809   ;
22810   return 0;
22811 }
22812 _ACEOF
22813 if ac_fn_c_try_link "$LINENO"; then :
22814   ac_cv_lib_tiff_TIFFError=yes
22815 else
22816   ac_cv_lib_tiff_TIFFError=no
22817 fi
22818 rm -f core conftest.err conftest.$ac_objext \
22819     conftest$ac_exeext conftest.$ac_ext
22820 LIBS=$ac_check_lib_save_LIBS
22821 fi
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22823 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22824 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22825   TIFF_LINK=" -ltiff"
22826 fi
22827
22828
22829 fi
22830
22831
22832
22833         if test "x$TIFF_LINK" = "x" ; then
22834             if test "$wxUSE_LIBTIFF" = "sys" ; then
22835                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22836             else
22837                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22838 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22839                 wxUSE_LIBTIFF=builtin
22840             fi
22841         else
22842                         wxUSE_LIBTIFF=sys
22843         fi
22844     fi
22845     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22846         if test "$wxUSE_LIBJPEG" = "no"; then
22847                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22848         fi
22849
22850
22851 subdirs="$subdirs src/tiff"
22852
22853     fi
22854 fi
22855
22856
22857 if test "$wxUSE_EXPAT" != "no"; then
22858     wxUSE_XML=yes
22859     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22860
22861     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22862
22863
22864     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22865         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22866 "
22867 if test "x$ac_cv_header_expat_h" = xyes; then :
22868   found_expat_h=1
22869 fi
22870
22871
22872         if test "x$found_expat_h" = "x1"; then
22873                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22874 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22875 if ${wx_cv_expat_is_not_broken+:} false; then :
22876   $as_echo_n "(cached) " >&6
22877 else
22878
22879                 ac_ext=cpp
22880 ac_cpp='$CXXCPP $CPPFLAGS'
22881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22884
22885                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h.  */
22887 #include <expat.h>
22888 int
22889 main ()
22890 {
22891
22892   ;
22893   return 0;
22894 }
22895 _ACEOF
22896 if ac_fn_cxx_try_compile "$LINENO"; then :
22897   wx_cv_expat_is_not_broken=yes
22898 else
22899   wx_cv_expat_is_not_broken=no
22900
22901 fi
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903                 ac_ext=c
22904 ac_cpp='$CPP $CPPFLAGS'
22905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22908
22909
22910
22911 fi
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22913 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22914             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22915                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22916 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22917 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22918   $as_echo_n "(cached) " >&6
22919 else
22920   ac_check_lib_save_LIBS=$LIBS
22921 LIBS="-lexpat  $LIBS"
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h.  */
22924
22925 /* Override any GCC internal prototype to avoid an error.
22926    Use char because int might match the return type of a GCC
22927    builtin and then its argument prototype would still apply.  */
22928 #ifdef __cplusplus
22929 extern "C"
22930 #endif
22931 char XML_ParserCreate ();
22932 int
22933 main ()
22934 {
22935 return XML_ParserCreate ();
22936   ;
22937   return 0;
22938 }
22939 _ACEOF
22940 if ac_fn_c_try_link "$LINENO"; then :
22941   ac_cv_lib_expat_XML_ParserCreate=yes
22942 else
22943   ac_cv_lib_expat_XML_ParserCreate=no
22944 fi
22945 rm -f core conftest.err conftest.$ac_objext \
22946     conftest$ac_exeext conftest.$ac_ext
22947 LIBS=$ac_check_lib_save_LIBS
22948 fi
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22950 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22951 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22952   EXPAT_LINK=" -lexpat"
22953 fi
22954
22955             fi
22956         fi
22957         if test "x$EXPAT_LINK" = "x" ; then
22958             if test "$wxUSE_EXPAT" = "sys" ; then
22959                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22960             else
22961                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22962 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22963                 wxUSE_EXPAT=builtin
22964             fi
22965         else
22966                         wxUSE_EXPAT=sys
22967         fi
22968     fi
22969     if test "$wxUSE_EXPAT" = "builtin" ; then
22970                 subdirs="$subdirs src/expat"
22971
22972     fi
22973 fi
22974
22975
22976
22977 if test "$wxUSE_LIBMSPACK" != "no"; then
22978     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22979 "
22980 if test "x$ac_cv_header_mspack_h" = xyes; then :
22981   found_mspack_h=1
22982 fi
22983
22984
22985     if test "x$found_mspack_h" = "x1"; then
22986         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22987 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22988 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22989   $as_echo_n "(cached) " >&6
22990 else
22991   ac_check_lib_save_LIBS=$LIBS
22992 LIBS="-lmspack  $LIBS"
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h.  */
22995
22996 /* Override any GCC internal prototype to avoid an error.
22997    Use char because int might match the return type of a GCC
22998    builtin and then its argument prototype would still apply.  */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 char mspack_create_chm_decompressor ();
23003 int
23004 main ()
23005 {
23006 return mspack_create_chm_decompressor ();
23007   ;
23008   return 0;
23009 }
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23013 else
23014   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23015 fi
23016 rm -f core conftest.err conftest.$ac_objext \
23017     conftest$ac_exeext conftest.$ac_ext
23018 LIBS=$ac_check_lib_save_LIBS
23019 fi
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23021 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23022 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23023   MSPACK_LINK=" -lmspack"
23024 fi
23025
23026     fi
23027     if test "x$MSPACK_LINK" = "x" ; then
23028         wxUSE_LIBMSPACK=no
23029     fi
23030 fi
23031
23032 if test "$wxUSE_LIBMSPACK" != "no"; then
23033     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23034
23035 fi
23036
23037
23038
23039 AFMINSTALL=
23040 WIN32INSTALL=
23041
23042 TOOLKIT=
23043 TOOLKIT_INCLUDE=
23044 WIDGET_SET=
23045
23046 if test "$USE_WIN32" = 1 ; then
23047     for ac_header in w32api.h
23048 do :
23049   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23050 "
23051 if test "x$ac_cv_header_w32api_h" = xyes; then :
23052   cat >>confdefs.h <<_ACEOF
23053 #define HAVE_W32API_H 1
23054 _ACEOF
23055
23056 fi
23057
23058 done
23059
23060     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23061 "
23062 if test "x$ac_cv_header_windows_h" = xyes; then :
23063
23064 else
23065
23066         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23067
23068 fi
23069
23070
23071
23072     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23073     case "${host}" in
23074         x86_64-*-mingw32* )
23075                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23076         ;;
23077     esac
23078     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23079         LIBS="$LIBS -loleacc"
23080     fi
23081
23082     case "${host}" in
23083         *-*-cygwin* )
23084                         LIBS="$LIBS -lkernel32 -luser32"
23085     esac
23086
23087         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23088     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23089
23090                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23091
23092         WIN32INSTALL=win32install
23093 fi
23094
23095 if test "$wxUSE_GUI" = "yes"; then
23096     USE_GUI=1
23097
23098     GUI_TK_LIBRARY=
23099
23100     WXGTK1=
23101     WXGTK127=
23102     WXGTK2=
23103     WXGTK3=
23104     WXGPE=
23105
23106     if test "$wxUSE_OLD_COCOA" = 1 ; then
23107         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23108             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23109 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23110             wxUSE_PRINTING_ARCHITECTURE=no
23111         fi
23112         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23113             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23114 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23115             wxUSE_DRAG_AND_DROP=no
23116         fi
23117         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23118             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23119 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23120             wxUSE_DRAGIMAGE=no
23121         fi
23122     fi
23123
23124     if test "$wxUSE_MSW" = 1 ; then
23125         TOOLKIT=MSW
23126         GUIDIST=MSW_DIST
23127
23128                 case "${host}" in
23129             *-*-mingw32* )
23130                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23131         esac
23132     fi
23133
23134     if test "$wxUSE_GTK" = 1; then
23135                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23136 $as_echo_n "checking for GTK+ version... " >&6; }
23137
23138         gtk_version_cached=1
23139         if ${wx_cv_lib_gtk+:} false; then :
23140   $as_echo_n "(cached) " >&6
23141 else
23142
23143                                                 gtk_version_cached=0
23144                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23145 $as_echo "" >&6; }
23146
23147                                                 GTK_MODULES=
23148                 if test "$wxUSE_THREADS" = "yes"; then
23149                     GTK_MODULES=gthread
23150                 fi
23151
23152                 if test -z "$wxGTK_VERSION"; then
23153                     wxGTK_VERSION=any
23154                 fi
23155
23156                                 wx_cv_lib_gtk=
23157                 if test "x$wxGTK_VERSION" != "x1"
23158                 then
23159                                                                                 case "${host}" in
23160                         *-*-solaris2* )
23161                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23162                                 enable_gtktest=no
23163                             fi
23164                     esac
23165
23166                     if test "$wxGTK_VERSION" != 3; then
23167                         # Check whether --enable-gtktest was given.
23168 if test "${enable_gtktest+set}" = set; then :
23169   enableval=$enable_gtktest;
23170 else
23171   enable_gtktest=yes
23172 fi
23173
23174
23175   pkg_config_args=gtk+-2.0
23176   for module in . $GTK_MODULES
23177   do
23178       case "$module" in
23179          gthread)
23180              pkg_config_args="$pkg_config_args gthread-2.0"
23181          ;;
23182       esac
23183   done
23184
23185   no_gtk=""
23186
23187   # Extract the first word of "pkg-config", so it can be a program name with args.
23188 set dummy pkg-config; ac_word=$2
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23190 $as_echo_n "checking for $ac_word... " >&6; }
23191 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23192   $as_echo_n "(cached) " >&6
23193 else
23194   case $PKG_CONFIG in
23195   [\\/]* | ?:[\\/]*)
23196   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23197   ;;
23198   *)
23199   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23200 for as_dir in $PATH
23201 do
23202   IFS=$as_save_IFS
23203   test -z "$as_dir" && as_dir=.
23204     for ac_exec_ext in '' $ac_executable_extensions; do
23205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23206     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23208     break 2
23209   fi
23210 done
23211   done
23212 IFS=$as_save_IFS
23213
23214   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23215   ;;
23216 esac
23217 fi
23218 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23219 if test -n "$PKG_CONFIG"; then
23220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23221 $as_echo "$PKG_CONFIG" >&6; }
23222 else
23223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23224 $as_echo "no" >&6; }
23225 fi
23226
23227
23228
23229   if test x$PKG_CONFIG != xno ; then
23230     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23231       :
23232     else
23233       echo "*** pkg-config too old; version 0.7 or better required."
23234       no_gtk=yes
23235       PKG_CONFIG=no
23236     fi
23237   else
23238     no_gtk=yes
23239   fi
23240
23241   min_gtk_version=2.6.0
23242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23243 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23244
23245   if test x$PKG_CONFIG != xno ; then
23246     ## don't try to run the test against uninstalled libtool libs
23247     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23248           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23249           enable_gtktest=no
23250     fi
23251
23252     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23253           :
23254     else
23255           no_gtk=yes
23256     fi
23257   fi
23258
23259   if test x"$no_gtk" = x ; then
23260     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23261     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23262     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23263            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23264     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23265            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23266     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23267            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23268     if test "x$enable_gtktest" = "xyes" ; then
23269       ac_save_CFLAGS="$CFLAGS"
23270       ac_save_LIBS="$LIBS"
23271       CFLAGS="$CFLAGS $GTK_CFLAGS"
23272       LIBS="$GTK_LIBS $LIBS"
23273       rm -f conf.gtktest
23274       if test "$cross_compiling" = yes; then :
23275   echo $ac_n "cross compiling; assumed OK... $ac_c"
23276 else
23277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h.  */
23279
23280 #include <gtk/gtk.h>
23281 #include <stdio.h>
23282 #include <stdlib.h>
23283
23284 int
23285 main ()
23286 {
23287   int major, minor, micro;
23288   char *tmp_version;
23289
23290   system ("touch conf.gtktest");
23291
23292   /* HP/UX 9 (%@#!) writes to sscanf strings */
23293   tmp_version = g_strdup("$min_gtk_version");
23294   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23295      printf("%s, bad version string\n", "$min_gtk_version");
23296      exit(1);
23297    }
23298
23299   if ((gtk_major_version != $gtk_config_major_version) ||
23300       (gtk_minor_version != $gtk_config_minor_version) ||
23301       (gtk_micro_version != $gtk_config_micro_version))
23302     {
23303       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23304              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23305              gtk_major_version, gtk_minor_version, gtk_micro_version);
23306       printf ("*** was found! If pkg-config was correct, then it is best\n");
23307       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23308       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23309       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23310       printf("*** required on your system.\n");
23311       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23312       printf("*** to point to the correct configuration files\n");
23313     }
23314   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23315            (gtk_minor_version != GTK_MINOR_VERSION) ||
23316            (gtk_micro_version != GTK_MICRO_VERSION))
23317     {
23318       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23319              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23320       printf("*** library (version %d.%d.%d)\n",
23321              gtk_major_version, gtk_minor_version, gtk_micro_version);
23322     }
23323   else
23324     {
23325       if ((gtk_major_version > major) ||
23326         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23327         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23328       {
23329         return 0;
23330        }
23331      else
23332       {
23333         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23334                gtk_major_version, gtk_minor_version, gtk_micro_version);
23335         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23336                major, minor, micro);
23337         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23338         printf("***\n");
23339         printf("*** If you have already installed a sufficiently new version, this error\n");
23340         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23341         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23342         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23343         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23344         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23345         printf("*** so that the correct libraries are found at run-time))\n");
23346       }
23347     }
23348   return 1;
23349 }
23350
23351 _ACEOF
23352 if ac_fn_c_try_run "$LINENO"; then :
23353
23354 else
23355   no_gtk=yes
23356 fi
23357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23358   conftest.$ac_objext conftest.beam conftest.$ac_ext
23359 fi
23360
23361        CFLAGS="$ac_save_CFLAGS"
23362        LIBS="$ac_save_LIBS"
23363      fi
23364   fi
23365   if test "x$no_gtk" = x ; then
23366      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23367 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23368      wx_cv_lib_gtk=2.0
23369   else
23370      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23371 $as_echo "no" >&6; }
23372      if test "$PKG_CONFIG" = "no" ; then
23373        echo "*** A new enough version of pkg-config was not found."
23374        echo "*** See http://pkgconfig.sourceforge.net"
23375      else
23376        if test -f conf.gtktest ; then
23377         :
23378        else
23379           echo "*** Could not run GTK+ test program, checking why..."
23380           ac_save_CFLAGS="$CFLAGS"
23381           ac_save_LIBS="$LIBS"
23382           CFLAGS="$CFLAGS $GTK_CFLAGS"
23383           LIBS="$LIBS $GTK_LIBS"
23384           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h.  */
23386
23387 #include <gtk/gtk.h>
23388 #include <stdio.h>
23389
23390 int
23391 main ()
23392 {
23393  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23394   ;
23395   return 0;
23396 }
23397 _ACEOF
23398 if ac_fn_c_try_link "$LINENO"; then :
23399    echo "*** The test program compiled, but did not run. This usually means"
23400           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23401           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23402           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23403           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23404           echo "*** is required on your system"
23405           echo "***"
23406           echo "*** If you have an old version installed, it is best to remove it, although"
23407           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23408 else
23409    echo "*** The test program failed to compile or link. See the file config.log for the"
23410           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23411 fi
23412 rm -f core conftest.err conftest.$ac_objext \
23413     conftest$ac_exeext conftest.$ac_ext
23414           CFLAGS="$ac_save_CFLAGS"
23415           LIBS="$ac_save_LIBS"
23416        fi
23417      fi
23418      GTK_CFLAGS=""
23419      GTK_LIBS=""
23420      :
23421   fi
23422
23423
23424   rm -f conf.gtktest
23425
23426                     fi
23427                     if test -z "$wx_cv_lib_gtk"; then
23428                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23429                             # Check whether --enable-gtktest was given.
23430 if test "${enable_gtktest+set}" = set; then :
23431   enableval=$enable_gtktest;
23432 else
23433   enable_gtktest=yes
23434 fi
23435
23436
23437   pkg_config_args=gtk+-3.0
23438   for module in . $GTK_MODULES
23439   do
23440       case "$module" in
23441          gthread)
23442              pkg_config_args="$pkg_config_args gthread-2.0"
23443          ;;
23444       esac
23445   done
23446
23447   no_gtk=""
23448
23449   # Extract the first word of "pkg-config", so it can be a program name with args.
23450 set dummy pkg-config; ac_word=$2
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23452 $as_echo_n "checking for $ac_word... " >&6; }
23453 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23454   $as_echo_n "(cached) " >&6
23455 else
23456   case $PKG_CONFIG in
23457   [\\/]* | ?:[\\/]*)
23458   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23459   ;;
23460   *)
23461   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23462 for as_dir in $PATH
23463 do
23464   IFS=$as_save_IFS
23465   test -z "$as_dir" && as_dir=.
23466     for ac_exec_ext in '' $ac_executable_extensions; do
23467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23468     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23470     break 2
23471   fi
23472 done
23473   done
23474 IFS=$as_save_IFS
23475
23476   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23477   ;;
23478 esac
23479 fi
23480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23481 if test -n "$PKG_CONFIG"; then
23482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23483 $as_echo "$PKG_CONFIG" >&6; }
23484 else
23485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23486 $as_echo "no" >&6; }
23487 fi
23488
23489
23490
23491   if test x$PKG_CONFIG != xno ; then
23492     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23493       :
23494     else
23495       echo "*** pkg-config too old; version 0.7 or better required."
23496       no_gtk=yes
23497       PKG_CONFIG=no
23498     fi
23499   else
23500     no_gtk=yes
23501   fi
23502
23503   min_gtk_version=3.0.0
23504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23505 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23506
23507   if test x$PKG_CONFIG != xno ; then
23508     ## don't try to run the test against uninstalled libtool libs
23509     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23510           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23511           enable_gtktest=no
23512     fi
23513
23514     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23515           :
23516     else
23517           no_gtk=yes
23518     fi
23519   fi
23520
23521   if test x"$no_gtk" = x ; then
23522     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23523     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23524     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23525            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23526     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23527            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23528     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23529            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23530     if test "x$enable_gtktest" = "xyes" ; then
23531       ac_save_CFLAGS="$CFLAGS"
23532       ac_save_LIBS="$LIBS"
23533       CFLAGS="$CFLAGS $GTK_CFLAGS"
23534       LIBS="$GTK_LIBS $LIBS"
23535       rm -f conf.gtktest
23536       if test "$cross_compiling" = yes; then :
23537   echo $ac_n "cross compiling; assumed OK... $ac_c"
23538 else
23539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23540 /* end confdefs.h.  */
23541
23542 #include <gtk/gtk.h>
23543 #include <stdio.h>
23544 #include <stdlib.h>
23545
23546 int
23547 main ()
23548 {
23549   int major, minor, micro;
23550   char *tmp_version;
23551
23552   fclose (fopen ("conf.gtktest", "w"));
23553
23554   /* HP/UX 9 (%@#!) writes to sscanf strings */
23555   tmp_version = g_strdup("$min_gtk_version");
23556   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23557      printf("%s, bad version string\n", "$min_gtk_version");
23558      exit(1);
23559    }
23560
23561   if ((gtk_major_version != $gtk_config_major_version) ||
23562       (gtk_minor_version != $gtk_config_minor_version) ||
23563       (gtk_micro_version != $gtk_config_micro_version))
23564     {
23565       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23566              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23567              gtk_major_version, gtk_minor_version, gtk_micro_version);
23568       printf ("*** was found! If pkg-config was correct, then it is best\n");
23569       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23570       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23571       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23572       printf("*** required on your system.\n");
23573       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23574       printf("*** to point to the correct configuration files\n");
23575     }
23576   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23577            (gtk_minor_version != GTK_MINOR_VERSION) ||
23578            (gtk_micro_version != GTK_MICRO_VERSION))
23579     {
23580       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23581              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23582       printf("*** library (version %d.%d.%d)\n",
23583              gtk_major_version, gtk_minor_version, gtk_micro_version);
23584     }
23585   else
23586     {
23587       if ((gtk_major_version > major) ||
23588         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23589         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23590       {
23591         return 0;
23592        }
23593      else
23594       {
23595         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23596                gtk_major_version, gtk_minor_version, gtk_micro_version);
23597         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23598                major, minor, micro);
23599         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23600         printf("***\n");
23601         printf("*** If you have already installed a sufficiently new version, this error\n");
23602         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23603         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23604         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23605         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23606         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23607         printf("*** so that the correct libraries are found at run-time))\n");
23608       }
23609     }
23610   return 1;
23611 }
23612
23613 _ACEOF
23614 if ac_fn_c_try_run "$LINENO"; then :
23615
23616 else
23617   no_gtk=yes
23618 fi
23619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23620   conftest.$ac_objext conftest.beam conftest.$ac_ext
23621 fi
23622
23623        CFLAGS="$ac_save_CFLAGS"
23624        LIBS="$ac_save_LIBS"
23625      fi
23626   fi
23627   if test "x$no_gtk" = x ; then
23628      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23629 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23630      wx_cv_lib_gtk=3
23631   else
23632      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23633 $as_echo "no" >&6; }
23634      if test "$PKG_CONFIG" = "no" ; then
23635        echo "*** A new enough version of pkg-config was not found."
23636        echo "*** See http://pkgconfig.sourceforge.net"
23637      else
23638        if test -f conf.gtktest ; then
23639         :
23640        else
23641           echo "*** Could not run GTK+ test program, checking why..."
23642           ac_save_CFLAGS="$CFLAGS"
23643           ac_save_LIBS="$LIBS"
23644           CFLAGS="$CFLAGS $GTK_CFLAGS"
23645           LIBS="$LIBS $GTK_LIBS"
23646           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h.  */
23648
23649 #include <gtk/gtk.h>
23650 #include <stdio.h>
23651
23652 int
23653 main ()
23654 {
23655  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23656   ;
23657   return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_c_try_link "$LINENO"; then :
23661    echo "*** The test program compiled, but did not run. This usually means"
23662           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23663           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23664           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23665           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23666           echo "*** is required on your system"
23667           echo "***"
23668           echo "*** If you have an old version installed, it is best to remove it, although"
23669           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23670 else
23671    echo "*** The test program failed to compile or link. See the file config.log for the"
23672           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23673 fi
23674 rm -f core conftest.err conftest.$ac_objext \
23675     conftest$ac_exeext conftest.$ac_ext
23676           CFLAGS="$ac_save_CFLAGS"
23677           LIBS="$ac_save_LIBS"
23678        fi
23679      fi
23680      GTK_CFLAGS=""
23681      GTK_LIBS=""
23682      :
23683   fi
23684
23685
23686   rm -f conf.gtktest
23687
23688                         fi
23689                     fi
23690                 fi
23691
23692                                 if test -z "$wx_cv_lib_gtk"; then
23693                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23694
23695 # Check whether --with-gtk-prefix was given.
23696 if test "${with_gtk_prefix+set}" = set; then :
23697   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23698 else
23699   gtk_config_prefix=""
23700 fi
23701
23702
23703 # Check whether --with-gtk-exec-prefix was given.
23704 if test "${with_gtk_exec_prefix+set}" = set; then :
23705   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23706 else
23707   gtk_config_exec_prefix=""
23708 fi
23709
23710 # Check whether --enable-gtktest was given.
23711 if test "${enable_gtktest+set}" = set; then :
23712   enableval=$enable_gtktest;
23713 else
23714   enable_gtktest=yes
23715 fi
23716
23717
23718   for module in . $GTK_MODULES
23719   do
23720       case "$module" in
23721          gthread)
23722              gtk_config_args="$gtk_config_args gthread"
23723          ;;
23724       esac
23725   done
23726
23727   if test x$gtk_config_exec_prefix != x ; then
23728      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23729      if test x${GTK_CONFIG+set} != xset ; then
23730         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23731      fi
23732   fi
23733   if test x$gtk_config_prefix != x ; then
23734      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23735      if test x${GTK_CONFIG+set} != xset ; then
23736         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23737      fi
23738   fi
23739
23740   # Extract the first word of "gtk-config", so it can be a program name with args.
23741 set dummy gtk-config; ac_word=$2
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23743 $as_echo_n "checking for $ac_word... " >&6; }
23744 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23745   $as_echo_n "(cached) " >&6
23746 else
23747   case $GTK_CONFIG in
23748   [\\/]* | ?:[\\/]*)
23749   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23750   ;;
23751   *)
23752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23753 for as_dir in $PATH
23754 do
23755   IFS=$as_save_IFS
23756   test -z "$as_dir" && as_dir=.
23757     for ac_exec_ext in '' $ac_executable_extensions; do
23758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23759     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23761     break 2
23762   fi
23763 done
23764   done
23765 IFS=$as_save_IFS
23766
23767   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23768   ;;
23769 esac
23770 fi
23771 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23772 if test -n "$GTK_CONFIG"; then
23773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23774 $as_echo "$GTK_CONFIG" >&6; }
23775 else
23776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23777 $as_echo "no" >&6; }
23778 fi
23779
23780
23781   min_gtk_version=1.2.7
23782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23783 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23784   no_gtk=""
23785   if test "$GTK_CONFIG" = "no" ; then
23786     no_gtk=yes
23787   else
23788     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23789     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23790     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23791            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23792     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23793            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23794     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23795            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23796     if test "x$enable_gtktest" = "xyes" ; then
23797       ac_save_CFLAGS="$CFLAGS"
23798       ac_save_LIBS="$LIBS"
23799       CFLAGS="$CFLAGS $GTK_CFLAGS"
23800       LIBS="$GTK_LIBS $LIBS"
23801       rm -f conf.gtktest
23802       if test "$cross_compiling" = yes; then :
23803   echo $ac_n "cross compiling; assumed OK... $ac_c"
23804 else
23805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h.  */
23807
23808 #include <gtk/gtk.h>
23809 #include <stdio.h>
23810 #include <stdlib.h>
23811
23812 int
23813 main ()
23814 {
23815   int major, minor, micro;
23816   char *tmp_version;
23817
23818   system ("touch conf.gtktest");
23819
23820   /* HP/UX 9 (%@#!) writes to sscanf strings */
23821   tmp_version = g_strdup("$min_gtk_version");
23822   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23823      printf("%s, bad version string\n", "$min_gtk_version");
23824      exit(1);
23825    }
23826
23827   if ((gtk_major_version != $gtk_config_major_version) ||
23828       (gtk_minor_version != $gtk_config_minor_version) ||
23829       (gtk_micro_version != $gtk_config_micro_version))
23830     {
23831       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23832              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23833              gtk_major_version, gtk_minor_version, gtk_micro_version);
23834       printf ("*** was found! If gtk-config was correct, then it is best\n");
23835       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23836       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23837       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23838       printf("*** required on your system.\n");
23839       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23840       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23841       printf("*** before re-running configure\n");
23842     }
23843 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23844   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23845            (gtk_minor_version != GTK_MINOR_VERSION) ||
23846            (gtk_micro_version != GTK_MICRO_VERSION))
23847     {
23848       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23849              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23850       printf("*** library (version %d.%d.%d)\n",
23851              gtk_major_version, gtk_minor_version, gtk_micro_version);
23852     }
23853 #endif /* defined (GTK_MAJOR_VERSION) ... */
23854   else
23855     {
23856       if ((gtk_major_version > major) ||
23857         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23858         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23859       {
23860         return 0;
23861        }
23862      else
23863       {
23864         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23865                gtk_major_version, gtk_minor_version, gtk_micro_version);
23866         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23867                major, minor, micro);
23868         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23869         printf("***\n");
23870         printf("*** If you have already installed a sufficiently new version, this error\n");
23871         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23872         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23873         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23874         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23875         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23876         printf("*** so that the correct libraries are found at run-time))\n");
23877       }
23878     }
23879   return 1;
23880 }
23881
23882 _ACEOF
23883 if ac_fn_c_try_run "$LINENO"; then :
23884
23885 else
23886   no_gtk=yes
23887 fi
23888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23889   conftest.$ac_objext conftest.beam conftest.$ac_ext
23890 fi
23891
23892        CFLAGS="$ac_save_CFLAGS"
23893        LIBS="$ac_save_LIBS"
23894      fi
23895   fi
23896   if test "x$no_gtk" = x ; then
23897      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23898 $as_echo "yes" >&6; }
23899      wx_cv_lib_gtk=1.2.7
23900   else
23901      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23902 $as_echo "no" >&6; }
23903      if test "$GTK_CONFIG" = "no" ; then
23904        echo "*** The gtk-config script installed by GTK could not be found"
23905        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23906        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23907        echo "*** full path to gtk-config."
23908      else
23909        if test -f conf.gtktest ; then
23910         :
23911        else
23912           echo "*** Could not run GTK test program, checking why..."
23913           CFLAGS="$CFLAGS $GTK_CFLAGS"
23914           LIBS="$LIBS $GTK_LIBS"
23915           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h.  */
23917
23918 #include <gtk/gtk.h>
23919 #include <stdio.h>
23920
23921 int
23922 main ()
23923 {
23924  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23925   ;
23926   return 0;
23927 }
23928 _ACEOF
23929 if ac_fn_c_try_link "$LINENO"; then :
23930    echo "*** The test program compiled, but did not run. This usually means"
23931           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23932           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23933           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23934           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23935           echo "*** is required on your system"
23936           echo "***"
23937           echo "*** If you have an old version installed, it is best to remove it, although"
23938           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23939           echo "***"
23940           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23941           echo "*** came with the system with the command"
23942           echo "***"
23943           echo "***    rpm --erase --nodeps gtk gtk-devel"
23944 else
23945    echo "*** The test program failed to compile or link. See the file config.log for the"
23946           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23947           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23948           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23949 fi
23950 rm -f core conftest.err conftest.$ac_objext \
23951     conftest$ac_exeext conftest.$ac_ext
23952           CFLAGS="$ac_save_CFLAGS"
23953           LIBS="$ac_save_LIBS"
23954        fi
23955      fi
23956      GTK_CFLAGS=""
23957      GTK_LIBS=""
23958      :
23959   fi
23960
23961
23962   rm -f conf.gtktest
23963
23964
23965                         if test -z "$wx_cv_lib_gtk"; then
23966
23967 # Check whether --with-gtk-prefix was given.
23968 if test "${with_gtk_prefix+set}" = set; then :
23969   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23970 else
23971   gtk_config_prefix=""
23972 fi
23973
23974
23975 # Check whether --with-gtk-exec-prefix was given.
23976 if test "${with_gtk_exec_prefix+set}" = set; then :
23977   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23978 else
23979   gtk_config_exec_prefix=""
23980 fi
23981
23982 # Check whether --enable-gtktest was given.
23983 if test "${enable_gtktest+set}" = set; then :
23984   enableval=$enable_gtktest;
23985 else
23986   enable_gtktest=yes
23987 fi
23988
23989
23990   for module in . $GTK_MODULES
23991   do
23992       case "$module" in
23993          gthread)
23994              gtk_config_args="$gtk_config_args gthread"
23995          ;;
23996       esac
23997   done
23998
23999   if test x$gtk_config_exec_prefix != x ; then
24000      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24001      if test x${GTK_CONFIG+set} != xset ; then
24002         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24003      fi
24004   fi
24005   if test x$gtk_config_prefix != x ; then
24006      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24007      if test x${GTK_CONFIG+set} != xset ; then
24008         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24009      fi
24010   fi
24011
24012   # Extract the first word of "gtk-config", so it can be a program name with args.
24013 set dummy gtk-config; ac_word=$2
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24015 $as_echo_n "checking for $ac_word... " >&6; }
24016 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24017   $as_echo_n "(cached) " >&6
24018 else
24019   case $GTK_CONFIG in
24020   [\\/]* | ?:[\\/]*)
24021   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24022   ;;
24023   *)
24024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24025 for as_dir in $PATH
24026 do
24027   IFS=$as_save_IFS
24028   test -z "$as_dir" && as_dir=.
24029     for ac_exec_ext in '' $ac_executable_extensions; do
24030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24031     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24033     break 2
24034   fi
24035 done
24036   done
24037 IFS=$as_save_IFS
24038
24039   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24040   ;;
24041 esac
24042 fi
24043 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24044 if test -n "$GTK_CONFIG"; then
24045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24046 $as_echo "$GTK_CONFIG" >&6; }
24047 else
24048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24049 $as_echo "no" >&6; }
24050 fi
24051
24052
24053   min_gtk_version=1.2.3
24054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24055 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24056   no_gtk=""
24057   if test "$GTK_CONFIG" = "no" ; then
24058     no_gtk=yes
24059   else
24060     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24061     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24062     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24063            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24064     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24065            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24066     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24067            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24068     if test "x$enable_gtktest" = "xyes" ; then
24069       ac_save_CFLAGS="$CFLAGS"
24070       ac_save_LIBS="$LIBS"
24071       CFLAGS="$CFLAGS $GTK_CFLAGS"
24072       LIBS="$GTK_LIBS $LIBS"
24073       rm -f conf.gtktest
24074       if test "$cross_compiling" = yes; then :
24075   echo $ac_n "cross compiling; assumed OK... $ac_c"
24076 else
24077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h.  */
24079
24080 #include <gtk/gtk.h>
24081 #include <stdio.h>
24082 #include <stdlib.h>
24083
24084 int
24085 main ()
24086 {
24087   int major, minor, micro;
24088   char *tmp_version;
24089
24090   system ("touch conf.gtktest");
24091
24092   /* HP/UX 9 (%@#!) writes to sscanf strings */
24093   tmp_version = g_strdup("$min_gtk_version");
24094   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24095      printf("%s, bad version string\n", "$min_gtk_version");
24096      exit(1);
24097    }
24098
24099   if ((gtk_major_version != $gtk_config_major_version) ||
24100       (gtk_minor_version != $gtk_config_minor_version) ||
24101       (gtk_micro_version != $gtk_config_micro_version))
24102     {
24103       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24104              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24105              gtk_major_version, gtk_minor_version, gtk_micro_version);
24106       printf ("*** was found! If gtk-config was correct, then it is best\n");
24107       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24108       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24109       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24110       printf("*** required on your system.\n");
24111       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24112       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24113       printf("*** before re-running configure\n");
24114     }
24115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24116   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24117            (gtk_minor_version != GTK_MINOR_VERSION) ||
24118            (gtk_micro_version != GTK_MICRO_VERSION))
24119     {
24120       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24121              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24122       printf("*** library (version %d.%d.%d)\n",
24123              gtk_major_version, gtk_minor_version, gtk_micro_version);
24124     }
24125 #endif /* defined (GTK_MAJOR_VERSION) ... */
24126   else
24127     {
24128       if ((gtk_major_version > major) ||
24129         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24130         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24131       {
24132         return 0;
24133        }
24134      else
24135       {
24136         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24137                gtk_major_version, gtk_minor_version, gtk_micro_version);
24138         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24139                major, minor, micro);
24140         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24141         printf("***\n");
24142         printf("*** If you have already installed a sufficiently new version, this error\n");
24143         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24144         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24145         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24146         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24147         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24148         printf("*** so that the correct libraries are found at run-time))\n");
24149       }
24150     }
24151   return 1;
24152 }
24153
24154 _ACEOF
24155 if ac_fn_c_try_run "$LINENO"; then :
24156
24157 else
24158   no_gtk=yes
24159 fi
24160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24161   conftest.$ac_objext conftest.beam conftest.$ac_ext
24162 fi
24163
24164        CFLAGS="$ac_save_CFLAGS"
24165        LIBS="$ac_save_LIBS"
24166      fi
24167   fi
24168   if test "x$no_gtk" = x ; then
24169      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24170 $as_echo "yes" >&6; }
24171      wx_cv_lib_gtk=1.2.3
24172   else
24173      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24174 $as_echo "no" >&6; }
24175      if test "$GTK_CONFIG" = "no" ; then
24176        echo "*** The gtk-config script installed by GTK could not be found"
24177        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24178        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24179        echo "*** full path to gtk-config."
24180      else
24181        if test -f conf.gtktest ; then
24182         :
24183        else
24184           echo "*** Could not run GTK test program, checking why..."
24185           CFLAGS="$CFLAGS $GTK_CFLAGS"
24186           LIBS="$LIBS $GTK_LIBS"
24187           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h.  */
24189
24190 #include <gtk/gtk.h>
24191 #include <stdio.h>
24192
24193 int
24194 main ()
24195 {
24196  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24197   ;
24198   return 0;
24199 }
24200 _ACEOF
24201 if ac_fn_c_try_link "$LINENO"; then :
24202    echo "*** The test program compiled, but did not run. This usually means"
24203           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24204           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24205           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24206           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24207           echo "*** is required on your system"
24208           echo "***"
24209           echo "*** If you have an old version installed, it is best to remove it, although"
24210           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24211           echo "***"
24212           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24213           echo "*** came with the system with the command"
24214           echo "***"
24215           echo "***    rpm --erase --nodeps gtk gtk-devel"
24216 else
24217    echo "*** The test program failed to compile or link. See the file config.log for the"
24218           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24219           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24220           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24221 fi
24222 rm -f core conftest.err conftest.$ac_objext \
24223     conftest$ac_exeext conftest.$ac_ext
24224           CFLAGS="$ac_save_CFLAGS"
24225           LIBS="$ac_save_LIBS"
24226        fi
24227      fi
24228      GTK_CFLAGS=""
24229      GTK_LIBS=""
24230      :
24231   fi
24232
24233
24234   rm -f conf.gtktest
24235
24236                         fi
24237                     fi
24238                 fi
24239
24240                 if test -z "$wx_cv_lib_gtk"; then
24241                                         wx_cv_lib_gtk=none
24242                 else
24243                                         GTK_LIBS="$GTK_LIBS -lX11"
24244
24245                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24246                     wx_cv_libs_gtk=$GTK_LIBS
24247                 fi
24248
24249
24250 fi
24251
24252
24253                         if test "$gtk_version_cached" = 1; then
24254             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24255 $as_echo "$wx_cv_lib_gtk" >&6; }
24256         fi
24257
24258         case "$wx_cv_lib_gtk" in
24259             3)      WXGTK3=1
24260                     TOOLKIT_VERSION=3
24261                     ;;
24262             2.0)    WXGTK2=1
24263                     TOOLKIT_VERSION=2
24264                     ;;
24265             1.2.7)  WXGTK127=1
24266                     WXGTK1=1
24267                     ;;
24268             1.2*)   WXGTK1=1 ;;
24269             *)      as_fn_error $? "
24270 The development files for GTK+ were not found. For GTK+ 2, please
24271 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24272 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24273 and that the version is 1.2.3 or above. Also check that the
24274 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24275 --libs' are in the LD_LIBRARY_PATH or equivalent.
24276                             " "$LINENO" 5
24277                     ;;
24278         esac
24279
24280         if test "$WXGTK3" = 1; then
24281             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24282
24283             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24284
24285         elif test "$WXGTK2" = 1; then
24286             save_CFLAGS="$CFLAGS"
24287             save_LIBS="$LIBS"
24288             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24289             LIBS="$LIBS $wx_cv_libs_gtk"
24290
24291                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24292 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24293             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h.  */
24295
24296                             #include <gtk/gtk.h>
24297
24298 int
24299 main ()
24300 {
24301
24302                             #if !GTK_CHECK_VERSION(2,18,0)
24303                             Not GTK+ 2.18
24304                             #endif
24305
24306   ;
24307   return 0;
24308 }
24309 _ACEOF
24310 if ac_fn_c_try_compile "$LINENO"; then :
24311
24312                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24313
24314                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24315
24316                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24318                             ac_wxgtk218=1
24319
24320 else
24321
24322                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24323 $as_echo "no" >&6; }
24324                             ac_wxgtk218=0
24325
24326 fi
24327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24328
24329             if test "$ac_wxgtk218" = 0; then
24330                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24331 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24332                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h.  */
24334
24335                                 #include <gtk/gtk.h>
24336
24337 int
24338 main ()
24339 {
24340
24341                                 #if !GTK_CHECK_VERSION(2,10,0)
24342                                 Not GTK+ 2.10
24343                                 #endif
24344
24345   ;
24346   return 0;
24347 }
24348 _ACEOF
24349 if ac_fn_c_try_compile "$LINENO"; then :
24350
24351                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24352
24353                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24354 $as_echo "yes" >&6; }
24355                                 ac_wxgtk210=1
24356
24357 else
24358
24359                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24360 $as_echo "no" >&6; }
24361                                 ac_wxgtk210=0
24362
24363 fi
24364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24365             fi
24366
24367             CFLAGS="$save_CFLAGS"
24368             LIBS="$save_LIBS"
24369         else
24370             if test "$wxUSE_UNICODE" = "yes"; then
24371                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24372 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24373                 wxUSE_UNICODE=no
24374             fi
24375
24376                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24377 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24378 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24379   $as_echo_n "(cached) " >&6
24380 else
24381   ac_check_lib_save_LIBS=$LIBS
24382 LIBS="-lgdk  $LIBS"
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h.  */
24385
24386 /* Override any GCC internal prototype to avoid an error.
24387    Use char because int might match the return type of a GCC
24388    builtin and then its argument prototype would still apply.  */
24389 #ifdef __cplusplus
24390 extern "C"
24391 #endif
24392 char gdk_im_open ();
24393 int
24394 main ()
24395 {
24396 return gdk_im_open ();
24397   ;
24398   return 0;
24399 }
24400 _ACEOF
24401 if ac_fn_c_try_link "$LINENO"; then :
24402   ac_cv_lib_gdk_gdk_im_open=yes
24403 else
24404   ac_cv_lib_gdk_gdk_im_open=no
24405 fi
24406 rm -f core conftest.err conftest.$ac_objext \
24407     conftest$ac_exeext conftest.$ac_ext
24408 LIBS=$ac_check_lib_save_LIBS
24409 fi
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24411 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24412 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24413   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24414
24415 fi
24416
24417
24418                                     if test "$USE_DARWIN" != 1; then
24419                 for ac_func in poll
24420 do :
24421   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24422 if test "x$ac_cv_func_poll" = xyes; then :
24423   cat >>confdefs.h <<_ACEOF
24424 #define HAVE_POLL 1
24425 _ACEOF
24426
24427 fi
24428 done
24429
24430             fi
24431         fi
24432
24433         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24434         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24435         AFMINSTALL=afminstall
24436         TOOLKIT=GTK
24437         GUIDIST=GTK_DIST
24438
24439                 if test "$wxUSE_GPE" = "yes"; then
24440             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24441 $as_echo_n "checking for gpewidget library... " >&6; }
24442
24443   ac_find_libraries=
24444   for ac_dir in  $SEARCH_LIB
24445   do
24446     for ac_extension in a so sl dylib dll.a; do
24447       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24448         ac_find_libraries=$ac_dir
24449         break 2
24450       fi
24451     done
24452   done
24453
24454             if test "$ac_find_libraries" != "" ; then
24455
24456     if test "$ac_find_libraries" = "default location"; then
24457     ac_path_to_link=""
24458   else
24459     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24460     result=$?
24461     if test $result = 0; then
24462       ac_path_to_link=""
24463     else
24464       ac_path_to_link=" -L$ac_find_libraries"
24465     fi
24466   fi
24467
24468                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24469                 WXGPE=1
24470                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24471 $as_echo "found in $ac_find_libraries" >&6; }
24472             else
24473                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24474 $as_echo "not found" >&6; }
24475             fi
24476
24477                                                                                                                     fi
24478     fi
24479
24480     if test "$wxUSE_DFB" = 1; then
24481
24482
24483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24484         if test -n "$ac_tool_prefix"; then
24485   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24488 $as_echo_n "checking for $ac_word... " >&6; }
24489 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24490   $as_echo_n "(cached) " >&6
24491 else
24492   case $PKG_CONFIG in
24493   [\\/]* | ?:[\\/]*)
24494   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24495   ;;
24496   *)
24497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24498 for as_dir in $PATH
24499 do
24500   IFS=$as_save_IFS
24501   test -z "$as_dir" && as_dir=.
24502     for ac_exec_ext in '' $ac_executable_extensions; do
24503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24504     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24506     break 2
24507   fi
24508 done
24509   done
24510 IFS=$as_save_IFS
24511
24512   ;;
24513 esac
24514 fi
24515 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24516 if test -n "$PKG_CONFIG"; then
24517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24518 $as_echo "$PKG_CONFIG" >&6; }
24519 else
24520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24521 $as_echo "no" >&6; }
24522 fi
24523
24524
24525 fi
24526 if test -z "$ac_cv_path_PKG_CONFIG"; then
24527   ac_pt_PKG_CONFIG=$PKG_CONFIG
24528   # Extract the first word of "pkg-config", so it can be a program name with args.
24529 set dummy pkg-config; ac_word=$2
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24531 $as_echo_n "checking for $ac_word... " >&6; }
24532 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24533   $as_echo_n "(cached) " >&6
24534 else
24535   case $ac_pt_PKG_CONFIG in
24536   [\\/]* | ?:[\\/]*)
24537   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24538   ;;
24539   *)
24540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24541 for as_dir in $PATH
24542 do
24543   IFS=$as_save_IFS
24544   test -z "$as_dir" && as_dir=.
24545     for ac_exec_ext in '' $ac_executable_extensions; do
24546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24547     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24549     break 2
24550   fi
24551 done
24552   done
24553 IFS=$as_save_IFS
24554
24555   ;;
24556 esac
24557 fi
24558 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24559 if test -n "$ac_pt_PKG_CONFIG"; then
24560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24561 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24562 else
24563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24564 $as_echo "no" >&6; }
24565 fi
24566
24567   if test "x$ac_pt_PKG_CONFIG" = x; then
24568     PKG_CONFIG=""
24569   else
24570     case $cross_compiling:$ac_tool_warned in
24571 yes:)
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24574 ac_tool_warned=yes ;;
24575 esac
24576     PKG_CONFIG=$ac_pt_PKG_CONFIG
24577   fi
24578 else
24579   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24580 fi
24581
24582 fi
24583 if test -n "$PKG_CONFIG"; then
24584         _pkg_min_version=0.9.0
24585         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24586 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24587         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24588                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24589 $as_echo "yes" >&6; }
24590         else
24591                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24592 $as_echo "no" >&6; }
24593                 PKG_CONFIG=""
24594         fi
24595
24596 fi
24597
24598
24599 pkg_failed=no
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24601 $as_echo_n "checking for DIRECTFB... " >&6; }
24602
24603 if test -n "$PKG_CONFIG"; then
24604     if test -n "$DIRECTFB_CFLAGS"; then
24605         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24606     else
24607         if test -n "$PKG_CONFIG" && \
24608     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24609   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24610   ac_status=$?
24611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24612   test $ac_status = 0; }; then
24613   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24614 else
24615   pkg_failed=yes
24616 fi
24617     fi
24618 else
24619         pkg_failed=untried
24620 fi
24621 if test -n "$PKG_CONFIG"; then
24622     if test -n "$DIRECTFB_LIBS"; then
24623         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24624     else
24625         if test -n "$PKG_CONFIG" && \
24626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24627   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24628   ac_status=$?
24629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24630   test $ac_status = 0; }; then
24631   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24632 else
24633   pkg_failed=yes
24634 fi
24635     fi
24636 else
24637         pkg_failed=untried
24638 fi
24639
24640
24641
24642 if test $pkg_failed = yes; then
24643
24644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24645         _pkg_short_errors_supported=yes
24646 else
24647         _pkg_short_errors_supported=no
24648 fi
24649         if test $_pkg_short_errors_supported = yes; then
24650                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24651         else
24652                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24653         fi
24654         # Put the nasty error message in config.log where it belongs
24655         echo "$DIRECTFB_PKG_ERRORS" >&5
24656
24657
24658                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24659
24660
24661 elif test $pkg_failed = untried; then
24662
24663                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24664
24665
24666 else
24667         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24668         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24670 $as_echo "yes" >&6; }
24671
24672                            wxUSE_UNIVERSAL="yes"
24673                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24674                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24675                            TOOLKIT=DFB
24676                            GUIDIST=DFB_DIST
24677
24678 fi
24679     fi
24680
24681     if test "$wxUSE_MICROWIN" = 1; then
24682         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24683 $as_echo_n "checking for MicroWindows... " >&6; }
24684         if test "x$MICROWINDOWS" = x ; then
24685             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24686 $as_echo "not found" >&6; }
24687             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24688         else
24689             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24690 $as_echo "$MICROWINDOWS" >&6; }
24691         fi
24692
24693         if test -f $MICROWINDOWS/lib/libmwin.a; then
24694             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24695 $as_echo "MicroWindows' libraries found." >&6; }
24696         else
24697             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24698         fi
24699
24700         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24701         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24702
24703         wxUSE_UNIVERSAL="yes"
24704
24705         AFMINSTALL=afminstall
24706         TOOLKIT=MICROWIN
24707         GUIDIST=MICROWIN_DIST
24708
24709         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24710     fi
24711
24712         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24713                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24714 $as_echo_n "checking for X... " >&6; }
24715
24716
24717 # Check whether --with-x was given.
24718 if test "${with_x+set}" = set; then :
24719   withval=$with_x;
24720 fi
24721
24722 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24723 if test "x$with_x" = xno; then
24724   # The user explicitly disabled X.
24725   have_x=disabled
24726 else
24727   case $x_includes,$x_libraries in #(
24728     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24729     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24730   $as_echo_n "(cached) " >&6
24731 else
24732   # One or both of the vars are not set, and there is no cached value.
24733 ac_x_includes=no ac_x_libraries=no
24734 rm -f -r conftest.dir
24735 if mkdir conftest.dir; then
24736   cd conftest.dir
24737   cat >Imakefile <<'_ACEOF'
24738 incroot:
24739         @echo incroot='${INCROOT}'
24740 usrlibdir:
24741         @echo usrlibdir='${USRLIBDIR}'
24742 libdir:
24743         @echo libdir='${LIBDIR}'
24744 _ACEOF
24745   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24746     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24747     for ac_var in incroot usrlibdir libdir; do
24748       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24749     done
24750     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24751     for ac_extension in a so sl dylib la dll; do
24752       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24753          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24754         ac_im_usrlibdir=$ac_im_libdir; break
24755       fi
24756     done
24757     # Screen out bogus values from the imake configuration.  They are
24758     # bogus both because they are the default anyway, and because
24759     # using them would break gcc on systems where it needs fixed includes.
24760     case $ac_im_incroot in
24761         /usr/include) ac_x_includes= ;;
24762         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24763     esac
24764     case $ac_im_usrlibdir in
24765         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24766         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24767     esac
24768   fi
24769   cd ..
24770   rm -f -r conftest.dir
24771 fi
24772
24773 # Standard set of common directories for X headers.
24774 # Check X11 before X11Rn because it is often a symlink to the current release.
24775 ac_x_header_dirs='
24776 /usr/X11/include
24777 /usr/X11R7/include
24778 /usr/X11R6/include
24779 /usr/X11R5/include
24780 /usr/X11R4/include
24781
24782 /usr/include/X11
24783 /usr/include/X11R7
24784 /usr/include/X11R6
24785 /usr/include/X11R5
24786 /usr/include/X11R4
24787
24788 /usr/local/X11/include
24789 /usr/local/X11R7/include
24790 /usr/local/X11R6/include
24791 /usr/local/X11R5/include
24792 /usr/local/X11R4/include
24793
24794 /usr/local/include/X11
24795 /usr/local/include/X11R7
24796 /usr/local/include/X11R6
24797 /usr/local/include/X11R5
24798 /usr/local/include/X11R4
24799
24800 /usr/X386/include
24801 /usr/x386/include
24802 /usr/XFree86/include/X11
24803
24804 /usr/include
24805 /usr/local/include
24806 /usr/unsupported/include
24807 /usr/athena/include
24808 /usr/local/x11r5/include
24809 /usr/lpp/Xamples/include
24810
24811 /usr/openwin/include
24812 /usr/openwin/share/include'
24813
24814 if test "$ac_x_includes" = no; then
24815   # Guess where to find include files, by looking for Xlib.h.
24816   # First, try using that file with no special directory specified.
24817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h.  */
24819 #include <X11/Xlib.h>
24820 _ACEOF
24821 if ac_fn_c_try_cpp "$LINENO"; then :
24822   # We can compile using X headers with no special include directory.
24823 ac_x_includes=
24824 else
24825   for ac_dir in $ac_x_header_dirs; do
24826   if test -r "$ac_dir/X11/Xlib.h"; then
24827     ac_x_includes=$ac_dir
24828     break
24829   fi
24830 done
24831 fi
24832 rm -f conftest.err conftest.i conftest.$ac_ext
24833 fi # $ac_x_includes = no
24834
24835 if test "$ac_x_libraries" = no; then
24836   # Check for the libraries.
24837   # See if we find them without any special options.
24838   # Don't add to $LIBS permanently.
24839   ac_save_LIBS=$LIBS
24840   LIBS="-lX11 $LIBS"
24841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h.  */
24843 #include <X11/Xlib.h>
24844 int
24845 main ()
24846 {
24847 XrmInitialize ()
24848   ;
24849   return 0;
24850 }
24851 _ACEOF
24852 if ac_fn_c_try_link "$LINENO"; then :
24853   LIBS=$ac_save_LIBS
24854 # We can link X programs with no special library path.
24855 ac_x_libraries=
24856 else
24857   LIBS=$ac_save_LIBS
24858 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24859 do
24860   # Don't even attempt the hair of trying to link an X program!
24861   for ac_extension in a so sl dylib la dll; do
24862     if test -r "$ac_dir/libX11.$ac_extension"; then
24863       ac_x_libraries=$ac_dir
24864       break 2
24865     fi
24866   done
24867 done
24868 fi
24869 rm -f core conftest.err conftest.$ac_objext \
24870     conftest$ac_exeext conftest.$ac_ext
24871 fi # $ac_x_libraries = no
24872
24873 case $ac_x_includes,$ac_x_libraries in #(
24874   no,* | *,no | *\'*)
24875     # Didn't find X, or a directory has "'" in its name.
24876     ac_cv_have_x="have_x=no";; #(
24877   *)
24878     # Record where we found X for the cache.
24879     ac_cv_have_x="have_x=yes\
24880         ac_x_includes='$ac_x_includes'\
24881         ac_x_libraries='$ac_x_libraries'"
24882 esac
24883 fi
24884 ;; #(
24885     *) have_x=yes;;
24886   esac
24887   eval "$ac_cv_have_x"
24888 fi # $with_x != no
24889
24890 if test "$have_x" != yes; then
24891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24892 $as_echo "$have_x" >&6; }
24893   no_x=yes
24894 else
24895   # If each of the values was on the command line, it overrides each guess.
24896   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24897   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24898   # Update the cache value to reflect the command line values.
24899   ac_cv_have_x="have_x=yes\
24900         ac_x_includes='$x_includes'\
24901         ac_x_libraries='$x_libraries'"
24902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24903 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24904 fi
24905
24906 if test "$no_x" = yes; then
24907   # Not all programs may use this symbol, but it does not hurt to define it.
24908
24909 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24910
24911   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24912 else
24913   if test -n "$x_includes"; then
24914     X_CFLAGS="$X_CFLAGS -I$x_includes"
24915   fi
24916
24917   # It would also be nice to do this for all -L options, not just this one.
24918   if test -n "$x_libraries"; then
24919     X_LIBS="$X_LIBS -L$x_libraries"
24920     # For Solaris; some versions of Sun CC require a space after -R and
24921     # others require no space.  Words are not sufficient . . . .
24922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24923 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24924     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24925     ac_xsave_c_werror_flag=$ac_c_werror_flag
24926     ac_c_werror_flag=yes
24927     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h.  */
24929
24930 int
24931 main ()
24932 {
24933
24934   ;
24935   return 0;
24936 }
24937 _ACEOF
24938 if ac_fn_c_try_link "$LINENO"; then :
24939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24940 $as_echo "no" >&6; }
24941        X_LIBS="$X_LIBS -R$x_libraries"
24942 else
24943   LIBS="$ac_xsave_LIBS -R $x_libraries"
24944        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h.  */
24946
24947 int
24948 main ()
24949 {
24950
24951   ;
24952   return 0;
24953 }
24954 _ACEOF
24955 if ac_fn_c_try_link "$LINENO"; then :
24956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24957 $as_echo "yes" >&6; }
24958           X_LIBS="$X_LIBS -R $x_libraries"
24959 else
24960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24961 $as_echo "neither works" >&6; }
24962 fi
24963 rm -f core conftest.err conftest.$ac_objext \
24964     conftest$ac_exeext conftest.$ac_ext
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext \
24967     conftest$ac_exeext conftest.$ac_ext
24968     ac_c_werror_flag=$ac_xsave_c_werror_flag
24969     LIBS=$ac_xsave_LIBS
24970   fi
24971
24972   # Check for system-dependent libraries X programs must link with.
24973   # Do this before checking for the system-independent R6 libraries
24974   # (-lICE), since we may need -lsocket or whatever for X linking.
24975
24976   if test "$ISC" = yes; then
24977     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24978   else
24979     # Martyn Johnson says this is needed for Ultrix, if the X
24980     # libraries were built with DECnet support.  And Karl Berry says
24981     # the Alpha needs dnet_stub (dnet does not exist).
24982     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24983     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h.  */
24985
24986 /* Override any GCC internal prototype to avoid an error.
24987    Use char because int might match the return type of a GCC
24988    builtin and then its argument prototype would still apply.  */
24989 #ifdef __cplusplus
24990 extern "C"
24991 #endif
24992 char XOpenDisplay ();
24993 int
24994 main ()
24995 {
24996 return XOpenDisplay ();
24997   ;
24998   return 0;
24999 }
25000 _ACEOF
25001 if ac_fn_c_try_link "$LINENO"; then :
25002
25003 else
25004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25005 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25006 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25007   $as_echo_n "(cached) " >&6
25008 else
25009   ac_check_lib_save_LIBS=$LIBS
25010 LIBS="-ldnet  $LIBS"
25011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h.  */
25013
25014 /* Override any GCC internal prototype to avoid an error.
25015    Use char because int might match the return type of a GCC
25016    builtin and then its argument prototype would still apply.  */
25017 #ifdef __cplusplus
25018 extern "C"
25019 #endif
25020 char dnet_ntoa ();
25021 int
25022 main ()
25023 {
25024 return dnet_ntoa ();
25025   ;
25026   return 0;
25027 }
25028 _ACEOF
25029 if ac_fn_c_try_link "$LINENO"; then :
25030   ac_cv_lib_dnet_dnet_ntoa=yes
25031 else
25032   ac_cv_lib_dnet_dnet_ntoa=no
25033 fi
25034 rm -f core conftest.err conftest.$ac_objext \
25035     conftest$ac_exeext conftest.$ac_ext
25036 LIBS=$ac_check_lib_save_LIBS
25037 fi
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25039 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25040 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25041   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25042 fi
25043
25044     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25045       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25046 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25047 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25048   $as_echo_n "(cached) " >&6
25049 else
25050   ac_check_lib_save_LIBS=$LIBS
25051 LIBS="-ldnet_stub  $LIBS"
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h.  */
25054
25055 /* Override any GCC internal prototype to avoid an error.
25056    Use char because int might match the return type of a GCC
25057    builtin and then its argument prototype would still apply.  */
25058 #ifdef __cplusplus
25059 extern "C"
25060 #endif
25061 char dnet_ntoa ();
25062 int
25063 main ()
25064 {
25065 return dnet_ntoa ();
25066   ;
25067   return 0;
25068 }
25069 _ACEOF
25070 if ac_fn_c_try_link "$LINENO"; then :
25071   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25072 else
25073   ac_cv_lib_dnet_stub_dnet_ntoa=no
25074 fi
25075 rm -f core conftest.err conftest.$ac_objext \
25076     conftest$ac_exeext conftest.$ac_ext
25077 LIBS=$ac_check_lib_save_LIBS
25078 fi
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25080 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25081 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25082   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25083 fi
25084
25085     fi
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext \
25088     conftest$ac_exeext conftest.$ac_ext
25089     LIBS="$ac_xsave_LIBS"
25090
25091     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25092     # to get the SysV transport functions.
25093     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25094     # needs -lnsl.
25095     # The nsl library prevents programs from opening the X display
25096     # on Irix 5.2, according to T.E. Dickey.
25097     # The functions gethostbyname, getservbyname, and inet_addr are
25098     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25099     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25100 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25101
25102 fi
25103
25104     if test $ac_cv_func_gethostbyname = no; then
25105       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25106 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25107 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25108   $as_echo_n "(cached) " >&6
25109 else
25110   ac_check_lib_save_LIBS=$LIBS
25111 LIBS="-lnsl  $LIBS"
25112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h.  */
25114
25115 /* Override any GCC internal prototype to avoid an error.
25116    Use char because int might match the return type of a GCC
25117    builtin and then its argument prototype would still apply.  */
25118 #ifdef __cplusplus
25119 extern "C"
25120 #endif
25121 char gethostbyname ();
25122 int
25123 main ()
25124 {
25125 return gethostbyname ();
25126   ;
25127   return 0;
25128 }
25129 _ACEOF
25130 if ac_fn_c_try_link "$LINENO"; then :
25131   ac_cv_lib_nsl_gethostbyname=yes
25132 else
25133   ac_cv_lib_nsl_gethostbyname=no
25134 fi
25135 rm -f core conftest.err conftest.$ac_objext \
25136     conftest$ac_exeext conftest.$ac_ext
25137 LIBS=$ac_check_lib_save_LIBS
25138 fi
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25140 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25141 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25142   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25143 fi
25144
25145       if test $ac_cv_lib_nsl_gethostbyname = no; then
25146         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25147 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25148 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25149   $as_echo_n "(cached) " >&6
25150 else
25151   ac_check_lib_save_LIBS=$LIBS
25152 LIBS="-lbsd  $LIBS"
25153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h.  */
25155
25156 /* Override any GCC internal prototype to avoid an error.
25157    Use char because int might match the return type of a GCC
25158    builtin and then its argument prototype would still apply.  */
25159 #ifdef __cplusplus
25160 extern "C"
25161 #endif
25162 char gethostbyname ();
25163 int
25164 main ()
25165 {
25166 return gethostbyname ();
25167   ;
25168   return 0;
25169 }
25170 _ACEOF
25171 if ac_fn_c_try_link "$LINENO"; then :
25172   ac_cv_lib_bsd_gethostbyname=yes
25173 else
25174   ac_cv_lib_bsd_gethostbyname=no
25175 fi
25176 rm -f core conftest.err conftest.$ac_objext \
25177     conftest$ac_exeext conftest.$ac_ext
25178 LIBS=$ac_check_lib_save_LIBS
25179 fi
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25181 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25182 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25183   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25184 fi
25185
25186       fi
25187     fi
25188
25189     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25190     # socket/setsockopt and other routines are undefined under SCO ODT
25191     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25192     # on later versions), says Simon Leinen: it contains gethostby*
25193     # variants that don't use the name server (or something).  -lsocket
25194     # must be given before -lnsl if both are needed.  We assume that
25195     # if connect needs -lnsl, so does gethostbyname.
25196     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25197 if test "x$ac_cv_func_connect" = xyes; then :
25198
25199 fi
25200
25201     if test $ac_cv_func_connect = no; then
25202       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25203 $as_echo_n "checking for connect in -lsocket... " >&6; }
25204 if ${ac_cv_lib_socket_connect+:} false; then :
25205   $as_echo_n "(cached) " >&6
25206 else
25207   ac_check_lib_save_LIBS=$LIBS
25208 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h.  */
25211
25212 /* Override any GCC internal prototype to avoid an error.
25213    Use char because int might match the return type of a GCC
25214    builtin and then its argument prototype would still apply.  */
25215 #ifdef __cplusplus
25216 extern "C"
25217 #endif
25218 char connect ();
25219 int
25220 main ()
25221 {
25222 return connect ();
25223   ;
25224   return 0;
25225 }
25226 _ACEOF
25227 if ac_fn_c_try_link "$LINENO"; then :
25228   ac_cv_lib_socket_connect=yes
25229 else
25230   ac_cv_lib_socket_connect=no
25231 fi
25232 rm -f core conftest.err conftest.$ac_objext \
25233     conftest$ac_exeext conftest.$ac_ext
25234 LIBS=$ac_check_lib_save_LIBS
25235 fi
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25237 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25238 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25239   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25240 fi
25241
25242     fi
25243
25244     # Guillermo Gomez says -lposix is necessary on A/UX.
25245     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25246 if test "x$ac_cv_func_remove" = xyes; then :
25247
25248 fi
25249
25250     if test $ac_cv_func_remove = no; then
25251       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25252 $as_echo_n "checking for remove in -lposix... " >&6; }
25253 if ${ac_cv_lib_posix_remove+:} false; then :
25254   $as_echo_n "(cached) " >&6
25255 else
25256   ac_check_lib_save_LIBS=$LIBS
25257 LIBS="-lposix  $LIBS"
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h.  */
25260
25261 /* Override any GCC internal prototype to avoid an error.
25262    Use char because int might match the return type of a GCC
25263    builtin and then its argument prototype would still apply.  */
25264 #ifdef __cplusplus
25265 extern "C"
25266 #endif
25267 char remove ();
25268 int
25269 main ()
25270 {
25271 return remove ();
25272   ;
25273   return 0;
25274 }
25275 _ACEOF
25276 if ac_fn_c_try_link "$LINENO"; then :
25277   ac_cv_lib_posix_remove=yes
25278 else
25279   ac_cv_lib_posix_remove=no
25280 fi
25281 rm -f core conftest.err conftest.$ac_objext \
25282     conftest$ac_exeext conftest.$ac_ext
25283 LIBS=$ac_check_lib_save_LIBS
25284 fi
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25286 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25287 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25288   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25289 fi
25290
25291     fi
25292
25293     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25294     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25295 if test "x$ac_cv_func_shmat" = xyes; then :
25296
25297 fi
25298
25299     if test $ac_cv_func_shmat = no; then
25300       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25301 $as_echo_n "checking for shmat in -lipc... " >&6; }
25302 if ${ac_cv_lib_ipc_shmat+:} false; then :
25303   $as_echo_n "(cached) " >&6
25304 else
25305   ac_check_lib_save_LIBS=$LIBS
25306 LIBS="-lipc  $LIBS"
25307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25308 /* end confdefs.h.  */
25309
25310 /* Override any GCC internal prototype to avoid an error.
25311    Use char because int might match the return type of a GCC
25312    builtin and then its argument prototype would still apply.  */
25313 #ifdef __cplusplus
25314 extern "C"
25315 #endif
25316 char shmat ();
25317 int
25318 main ()
25319 {
25320 return shmat ();
25321   ;
25322   return 0;
25323 }
25324 _ACEOF
25325 if ac_fn_c_try_link "$LINENO"; then :
25326   ac_cv_lib_ipc_shmat=yes
25327 else
25328   ac_cv_lib_ipc_shmat=no
25329 fi
25330 rm -f core conftest.err conftest.$ac_objext \
25331     conftest$ac_exeext conftest.$ac_ext
25332 LIBS=$ac_check_lib_save_LIBS
25333 fi
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25335 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25336 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25337   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25338 fi
25339
25340     fi
25341   fi
25342
25343   # Check for libraries that X11R6 Xt/Xaw programs need.
25344   ac_save_LDFLAGS=$LDFLAGS
25345   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25346   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25347   # check for ICE first), but we must link in the order -lSM -lICE or
25348   # we get undefined symbols.  So assume we have SM if we have ICE.
25349   # These have to be linked with before -lX11, unlike the other
25350   # libraries we check for below, so use a different variable.
25351   # John Interrante, Karl Berry
25352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25353 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25354 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25355   $as_echo_n "(cached) " >&6
25356 else
25357   ac_check_lib_save_LIBS=$LIBS
25358 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25360 /* end confdefs.h.  */
25361
25362 /* Override any GCC internal prototype to avoid an error.
25363    Use char because int might match the return type of a GCC
25364    builtin and then its argument prototype would still apply.  */
25365 #ifdef __cplusplus
25366 extern "C"
25367 #endif
25368 char IceConnectionNumber ();
25369 int
25370 main ()
25371 {
25372 return IceConnectionNumber ();
25373   ;
25374   return 0;
25375 }
25376 _ACEOF
25377 if ac_fn_c_try_link "$LINENO"; then :
25378   ac_cv_lib_ICE_IceConnectionNumber=yes
25379 else
25380   ac_cv_lib_ICE_IceConnectionNumber=no
25381 fi
25382 rm -f core conftest.err conftest.$ac_objext \
25383     conftest$ac_exeext conftest.$ac_ext
25384 LIBS=$ac_check_lib_save_LIBS
25385 fi
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25387 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25388 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25389   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25390 fi
25391
25392   LDFLAGS=$ac_save_LDFLAGS
25393
25394 fi
25395
25396
25397         if test "$no_x" = "yes"; then
25398           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25399         fi
25400
25401                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25402         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25403         AFMINSTALL=afminstall
25404         COMPILED_X_PROGRAM=0
25405
25406     fi
25407
25408     if test "$wxUSE_X11" = 1; then
25409         if test "$wxUSE_NANOX" = "yes"; then
25410             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25411 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25412             if test "x$MICROWIN" = x ; then
25413                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25414 $as_echo "not found" >&6; }
25415                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25416             else
25417                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25418 $as_echo "$MICROWIN" >&6; }
25419                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25420
25421             fi
25422         fi
25423
25424         if test "$wxUSE_UNICODE" = "yes"; then
25425
25426
25427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25428         if test -n "$ac_tool_prefix"; then
25429   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25430 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25432 $as_echo_n "checking for $ac_word... " >&6; }
25433 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25434   $as_echo_n "(cached) " >&6
25435 else
25436   case $PKG_CONFIG in
25437   [\\/]* | ?:[\\/]*)
25438   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25439   ;;
25440   *)
25441   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25442 for as_dir in $PATH
25443 do
25444   IFS=$as_save_IFS
25445   test -z "$as_dir" && as_dir=.
25446     for ac_exec_ext in '' $ac_executable_extensions; do
25447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25448     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25450     break 2
25451   fi
25452 done
25453   done
25454 IFS=$as_save_IFS
25455
25456   ;;
25457 esac
25458 fi
25459 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25460 if test -n "$PKG_CONFIG"; then
25461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25462 $as_echo "$PKG_CONFIG" >&6; }
25463 else
25464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25465 $as_echo "no" >&6; }
25466 fi
25467
25468
25469 fi
25470 if test -z "$ac_cv_path_PKG_CONFIG"; then
25471   ac_pt_PKG_CONFIG=$PKG_CONFIG
25472   # Extract the first word of "pkg-config", so it can be a program name with args.
25473 set dummy pkg-config; ac_word=$2
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25475 $as_echo_n "checking for $ac_word... " >&6; }
25476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25477   $as_echo_n "(cached) " >&6
25478 else
25479   case $ac_pt_PKG_CONFIG in
25480   [\\/]* | ?:[\\/]*)
25481   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25482   ;;
25483   *)
25484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25485 for as_dir in $PATH
25486 do
25487   IFS=$as_save_IFS
25488   test -z "$as_dir" && as_dir=.
25489     for ac_exec_ext in '' $ac_executable_extensions; do
25490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25491     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25493     break 2
25494   fi
25495 done
25496   done
25497 IFS=$as_save_IFS
25498
25499   ;;
25500 esac
25501 fi
25502 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25503 if test -n "$ac_pt_PKG_CONFIG"; then
25504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25506 else
25507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25508 $as_echo "no" >&6; }
25509 fi
25510
25511   if test "x$ac_pt_PKG_CONFIG" = x; then
25512     PKG_CONFIG=""
25513   else
25514     case $cross_compiling:$ac_tool_warned in
25515 yes:)
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25518 ac_tool_warned=yes ;;
25519 esac
25520     PKG_CONFIG=$ac_pt_PKG_CONFIG
25521   fi
25522 else
25523   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25524 fi
25525
25526 fi
25527 if test -n "$PKG_CONFIG"; then
25528         _pkg_min_version=0.9.0
25529         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25531         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25532                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25533 $as_echo "yes" >&6; }
25534         else
25535                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25536 $as_echo "no" >&6; }
25537                 PKG_CONFIG=""
25538         fi
25539
25540 fi
25541
25542
25543 pkg_failed=no
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25545 $as_echo_n "checking for PANGOX... " >&6; }
25546
25547 if test -n "$PKG_CONFIG"; then
25548     if test -n "$PANGOX_CFLAGS"; then
25549         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25550     else
25551         if test -n "$PKG_CONFIG" && \
25552     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25553   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25554   ac_status=$?
25555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25556   test $ac_status = 0; }; then
25557   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25558 else
25559   pkg_failed=yes
25560 fi
25561     fi
25562 else
25563         pkg_failed=untried
25564 fi
25565 if test -n "$PKG_CONFIG"; then
25566     if test -n "$PANGOX_LIBS"; then
25567         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25568     else
25569         if test -n "$PKG_CONFIG" && \
25570     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25571   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25572   ac_status=$?
25573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25574   test $ac_status = 0; }; then
25575   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25576 else
25577   pkg_failed=yes
25578 fi
25579     fi
25580 else
25581         pkg_failed=untried
25582 fi
25583
25584
25585
25586 if test $pkg_failed = yes; then
25587
25588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25589         _pkg_short_errors_supported=yes
25590 else
25591         _pkg_short_errors_supported=no
25592 fi
25593         if test $_pkg_short_errors_supported = yes; then
25594                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25595         else
25596                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25597         fi
25598         # Put the nasty error message in config.log where it belongs
25599         echo "$PANGOX_PKG_ERRORS" >&5
25600
25601
25602                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25603
25604
25605 elif test $pkg_failed = untried; then
25606
25607                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25608
25609
25610 else
25611         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25612         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25613         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25614 $as_echo "yes" >&6; }
25615
25616                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25617                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25618                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25619
25620 fi
25621
25622 pkg_failed=no
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25624 $as_echo_n "checking for PANGOFT2... " >&6; }
25625
25626 if test -n "$PKG_CONFIG"; then
25627     if test -n "$PANGOFT2_CFLAGS"; then
25628         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25629     else
25630         if test -n "$PKG_CONFIG" && \
25631     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25632   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25633   ac_status=$?
25634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25635   test $ac_status = 0; }; then
25636   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25637 else
25638   pkg_failed=yes
25639 fi
25640     fi
25641 else
25642         pkg_failed=untried
25643 fi
25644 if test -n "$PKG_CONFIG"; then
25645     if test -n "$PANGOFT2_LIBS"; then
25646         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25647     else
25648         if test -n "$PKG_CONFIG" && \
25649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25650   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25651   ac_status=$?
25652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25653   test $ac_status = 0; }; then
25654   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25655 else
25656   pkg_failed=yes
25657 fi
25658     fi
25659 else
25660         pkg_failed=untried
25661 fi
25662
25663
25664
25665 if test $pkg_failed = yes; then
25666
25667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25668         _pkg_short_errors_supported=yes
25669 else
25670         _pkg_short_errors_supported=no
25671 fi
25672         if test $_pkg_short_errors_supported = yes; then
25673                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25674         else
25675                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25676         fi
25677         # Put the nasty error message in config.log where it belongs
25678         echo "$PANGOFT2_PKG_ERRORS" >&5
25679
25680
25681                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25682 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25683                     wxUSE_PRINTING_ARCHITECTURE="no"
25684
25685
25686 elif test $pkg_failed = untried; then
25687
25688                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25689 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25690                     wxUSE_PRINTING_ARCHITECTURE="no"
25691
25692
25693 else
25694         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25695         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25697 $as_echo "yes" >&6; }
25698
25699                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25700                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25701                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25702
25703 fi
25704
25705 pkg_failed=no
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25707 $as_echo_n "checking for PANGOXFT... " >&6; }
25708
25709 if test -n "$PKG_CONFIG"; then
25710     if test -n "$PANGOXFT_CFLAGS"; then
25711         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25712     else
25713         if test -n "$PKG_CONFIG" && \
25714     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25715   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25716   ac_status=$?
25717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25718   test $ac_status = 0; }; then
25719   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25720 else
25721   pkg_failed=yes
25722 fi
25723     fi
25724 else
25725         pkg_failed=untried
25726 fi
25727 if test -n "$PKG_CONFIG"; then
25728     if test -n "$PANGOXFT_LIBS"; then
25729         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25730     else
25731         if test -n "$PKG_CONFIG" && \
25732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25733   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25734   ac_status=$?
25735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25736   test $ac_status = 0; }; then
25737   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25738 else
25739   pkg_failed=yes
25740 fi
25741     fi
25742 else
25743         pkg_failed=untried
25744 fi
25745
25746
25747
25748 if test $pkg_failed = yes; then
25749
25750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25751         _pkg_short_errors_supported=yes
25752 else
25753         _pkg_short_errors_supported=no
25754 fi
25755         if test $_pkg_short_errors_supported = yes; then
25756                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25757         else
25758                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25759         fi
25760         # Put the nasty error message in config.log where it belongs
25761         echo "$PANGOXFT_PKG_ERRORS" >&5
25762
25763
25764                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25765 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25766
25767
25768 elif test $pkg_failed = untried; then
25769
25770                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25771 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25772
25773
25774 else
25775         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25776         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25777         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25778 $as_echo "yes" >&6; }
25779
25780                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25781
25782                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25783                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25784                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25785
25786 fi
25787             save_LIBS="$LIBS"
25788             LIBS="$LIBS $PANGOX_LIBS"
25789             for ac_func in pango_font_family_is_monospace
25790 do :
25791   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25792 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25793   cat >>confdefs.h <<_ACEOF
25794 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25795 _ACEOF
25796
25797 fi
25798 done
25799
25800             LIBS="$save_LIBS"
25801         fi
25802
25803         wxUSE_UNIVERSAL="yes"
25804
25805         if test "$wxUSE_NANOX" = "yes"; then
25806             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25807             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"
25808             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25809         else
25810             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25811         fi
25812
25813         TOOLKIT=X11
25814         GUIDIST=X11_DIST
25815     fi
25816
25817     if test "$wxUSE_MOTIF" = 1; then
25818         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25819 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25820
25821 ac_find_includes=
25822 for ac_dir in $SEARCH_INCLUDE /usr/include
25823   do
25824     if test -f "$ac_dir/Xm/Xm.h"; then
25825       ac_find_includes=$ac_dir
25826       break
25827     fi
25828   done
25829
25830         if test "$ac_find_includes" != "" ; then
25831             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25832 $as_echo "found in $ac_find_includes" >&6; }
25833
25834     if test "x$ac_find_includes" = "x/usr/include"; then
25835     ac_path_to_include=""
25836   else
25837     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25838     result=$?
25839     if test $result = 0; then
25840       ac_path_to_include=""
25841     else
25842       ac_path_to_include=" -I$ac_find_includes"
25843     fi
25844   fi
25845
25846             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25847         else
25848             save_CFLAGS=$CFLAGS
25849             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25850
25851             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h.  */
25853
25854                     #include <Xm/Xm.h>
25855
25856 int
25857 main ()
25858 {
25859
25860                     int version;
25861                     version = xmUseVersion;
25862
25863   ;
25864   return 0;
25865 }
25866 _ACEOF
25867 if ac_fn_c_try_compile "$LINENO"; then :
25868
25869                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25870 $as_echo "found in default search path" >&6; }
25871                     COMPILED_X_PROGRAM=1
25872
25873 else
25874
25875                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25876 $as_echo "no" >&6; }
25877                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25878
25879
25880 fi
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882
25883             CFLAGS=$save_CFLAGS
25884         fi
25885
25886
25887         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25888 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25889
25890   ac_find_libraries=
25891   for ac_dir in  $SEARCH_LIB
25892   do
25893     for ac_extension in a so sl dylib dll.a; do
25894       if test -f "$ac_dir/libXm.$ac_extension"; then
25895         ac_find_libraries=$ac_dir
25896         break 2
25897       fi
25898     done
25899   done
25900
25901
25902         if test "x$ac_find_libraries" != "x" ; then
25903             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25904 $as_echo "found in $ac_find_libraries" >&6; }
25905
25906
25907     if test "$ac_find_libraries" = "default location"; then
25908     ac_path_to_link=""
25909   else
25910     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25911     result=$?
25912     if test $result = 0; then
25913       ac_path_to_link=""
25914     else
25915       ac_path_to_link=" -L$ac_find_libraries"
25916     fi
25917   fi
25918
25919             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25920         else
25921                                                 save_CFLAGS=$CFLAGS
25922             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25923             save_LIBS="$LIBS"
25924             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25925
25926             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25927 /* end confdefs.h.  */
25928
25929                     #include <Xm/Xm.h>
25930
25931 int
25932 main ()
25933 {
25934
25935                     int version;
25936                     version = xmUseVersion;
25937
25938   ;
25939   return 0;
25940 }
25941 _ACEOF
25942 if ac_fn_c_try_link "$LINENO"; then :
25943
25944                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25945 $as_echo "found in default search path" >&6; }
25946                     COMPILED_X_PROGRAM=1
25947
25948 else
25949
25950                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25951 $as_echo "no" >&6; }
25952                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25953
25954
25955 fi
25956 rm -f core conftest.err conftest.$ac_objext \
25957     conftest$ac_exeext conftest.$ac_ext
25958
25959             CFLAGS=$save_CFLAGS
25960             LIBS="$save_LIBS"
25961         fi
25962
25963         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25964 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25965         libp_link=""
25966         libsm_ice_link=""
25967         libs_found=0
25968         for libp in "" " -lXp"; do
25969             if test "$libs_found" = 0; then
25970                 for libsm_ice in "" " -lSM -lICE"; do
25971                     if test "$libs_found" = 0; then
25972                         save_LIBS="$LIBS"
25973                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25974                         save_CFLAGS=$CFLAGS
25975                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25976
25977                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h.  */
25979
25980                                 #include <Xm/Xm.h>
25981                                 #include <Xm/List.h>
25982
25983 int
25984 main ()
25985 {
25986
25987                                 XmString string = NULL;
25988                                 Widget w = NULL;
25989                                 int position = 0;
25990                                 XmListAddItem(w, string, position);
25991
25992   ;
25993   return 0;
25994 }
25995 _ACEOF
25996 if ac_fn_c_try_link "$LINENO"; then :
25997
25998                                 libp_link="$libp"
25999                                 libsm_ice_link="$libsm_ice"
26000                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26001 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26002                                 libs_found=1
26003
26004 fi
26005 rm -f core conftest.err conftest.$ac_objext \
26006     conftest$ac_exeext conftest.$ac_ext
26007
26008                         LIBS="$save_LIBS"
26009                         CFLAGS=$save_CFLAGS
26010                     fi
26011                 done
26012             fi
26013         done
26014
26015         if test "$libs_found" = 0; then
26016             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26017 $as_echo "can't find the right libraries" >&6; }
26018             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26019         fi
26020
26021                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26022 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26023 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26024   $as_echo_n "(cached) " >&6
26025 else
26026   ac_check_lib_save_LIBS=$LIBS
26027 LIBS="-lSgm  $LIBS"
26028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26029 /* end confdefs.h.  */
26030
26031 /* Override any GCC internal prototype to avoid an error.
26032    Use char because int might match the return type of a GCC
26033    builtin and then its argument prototype would still apply.  */
26034 #ifdef __cplusplus
26035 extern "C"
26036 #endif
26037 char SgCreateList ();
26038 int
26039 main ()
26040 {
26041 return SgCreateList ();
26042   ;
26043   return 0;
26044 }
26045 _ACEOF
26046 if ac_fn_c_try_link "$LINENO"; then :
26047   ac_cv_lib_Sgm_SgCreateList=yes
26048 else
26049   ac_cv_lib_Sgm_SgCreateList=no
26050 fi
26051 rm -f core conftest.err conftest.$ac_objext \
26052     conftest$ac_exeext conftest.$ac_ext
26053 LIBS=$ac_check_lib_save_LIBS
26054 fi
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26056 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26057 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26058   libsgm_link=" -lSgm"
26059 fi
26060
26061
26062         save_CFLAGS=$CFLAGS
26063         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26064
26065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26066 $as_echo_n "checking for Motif 2... " >&6; }
26067 if ${wx_cv_lib_motif2+:} false; then :
26068   $as_echo_n "(cached) " >&6
26069 else
26070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h.  */
26072
26073                             #include <Xm/Xm.h>
26074
26075 int
26076 main ()
26077 {
26078
26079                             #if XmVersion < 2000
26080                             Not Motif 2
26081                             #endif
26082
26083   ;
26084   return 0;
26085 }
26086 _ACEOF
26087 if ac_fn_c_try_compile "$LINENO"; then :
26088   wx_cv_lib_motif2="yes"
26089 else
26090   wx_cv_lib_motif2="no"
26091 fi
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26095 $as_echo "$wx_cv_lib_motif2" >&6; }
26096         if test "$wx_cv_lib_motif2" = "yes"; then
26097             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26098
26099         else
26100             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26101
26102         fi
26103
26104         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26105 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26106 if ${wx_cv_lib_lesstif+:} false; then :
26107   $as_echo_n "(cached) " >&6
26108 else
26109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h.  */
26111
26112                             #include <Xm/Xm.h>
26113
26114 int
26115 main ()
26116 {
26117
26118                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26119                             Not Lesstif
26120                             #endif
26121
26122   ;
26123   return 0;
26124 }
26125 _ACEOF
26126 if ac_fn_c_try_compile "$LINENO"; then :
26127   wx_cv_lib_lesstif="yes"
26128 else
26129   wx_cv_lib_lesstif="no"
26130 fi
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132
26133 fi
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26135 $as_echo "$wx_cv_lib_lesstif" >&6; }
26136         if test "$wx_cv_lib_lesstif" = "yes"; then
26137             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26138
26139         else
26140             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26141
26142         fi
26143
26144         CFLAGS=$save_CFLAGS
26145
26146         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26147         TOOLKIT=MOTIF
26148         GUIDIST=MOTIF_DIST
26149     fi
26150
26151         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26152                 if test "$wxUSE_LIBXPM" = "sys"; then
26153             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26154 $as_echo_n "checking for Xpm library... " >&6; }
26155
26156   ac_find_libraries=
26157   for ac_dir in  $SEARCH_LIB
26158   do
26159     for ac_extension in a so sl dylib dll.a; do
26160       if test -f "$ac_dir/libXpm.$ac_extension"; then
26161         ac_find_libraries=$ac_dir
26162         break 2
26163       fi
26164     done
26165   done
26166
26167             if test "$ac_find_libraries" != "" ; then
26168
26169     if test "$ac_find_libraries" = "default location"; then
26170     ac_path_to_link=""
26171   else
26172     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26173     result=$?
26174     if test $result = 0; then
26175       ac_path_to_link=""
26176     else
26177       ac_path_to_link=" -L$ac_find_libraries"
26178     fi
26179   fi
26180
26181                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26182                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26183 $as_echo "found in $ac_find_libraries" >&6; }
26184
26185                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26186 $as_echo_n "checking for X11/xpm.h... " >&6; }
26187 if ${wx_cv_x11_xpm_h+:} false; then :
26188   $as_echo_n "(cached) " >&6
26189 else
26190
26191                         save_CFLAGS=$CFLAGS
26192                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26193
26194                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h.  */
26196
26197                                 #include <X11/xpm.h>
26198
26199 int
26200 main ()
26201 {
26202
26203                                 int version;
26204                                 version = XpmLibraryVersion();
26205
26206   ;
26207   return 0;
26208 }
26209 _ACEOF
26210 if ac_fn_c_try_compile "$LINENO"; then :
26211   wx_cv_x11_xpm_h=yes
26212 else
26213   wx_cv_x11_xpm_h=no
26214
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217
26218                         CFLAGS=$save_CFLAGS
26219
26220
26221 fi
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26223 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26224
26225                 if test $wx_cv_x11_xpm_h = "yes"; then
26226                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26227                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26228
26229                 else
26230                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26231 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26232                 fi
26233             fi
26234
26235         fi
26236
26237                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26238 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26239 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26240   $as_echo_n "(cached) " >&6
26241 else
26242   ac_check_lib_save_LIBS=$LIBS
26243 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h.  */
26246
26247 /* Override any GCC internal prototype to avoid an error.
26248    Use char because int might match the return type of a GCC
26249    builtin and then its argument prototype would still apply.  */
26250 #ifdef __cplusplus
26251 extern "C"
26252 #endif
26253 char XShapeQueryExtension ();
26254 int
26255 main ()
26256 {
26257 return XShapeQueryExtension ();
26258   ;
26259   return 0;
26260 }
26261 _ACEOF
26262 if ac_fn_c_try_link "$LINENO"; then :
26263   ac_cv_lib_Xext_XShapeQueryExtension=yes
26264 else
26265   ac_cv_lib_Xext_XShapeQueryExtension=no
26266 fi
26267 rm -f core conftest.err conftest.$ac_objext \
26268     conftest$ac_exeext conftest.$ac_ext
26269 LIBS=$ac_check_lib_save_LIBS
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26272 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26273 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26274
26275                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26276                       wxHAVE_XEXT_LIB=1
26277
26278 fi
26279
26280
26281         if test "$wxHAVE_XEXT_LIB" = 1; then
26282             save_CFLAGS="$CFLAGS"
26283             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26284
26285             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26286 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26287             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h.  */
26289
26290                             #include <X11/Xlib.h>
26291                             #include <X11/extensions/shape.h>
26292
26293 int
26294 main ()
26295 {
26296
26297                             int dummy1, dummy2;
26298                             XShapeQueryExtension((Display*)NULL,
26299                                                  (int*)NULL, (int*)NULL);
26300
26301   ;
26302   return 0;
26303 }
26304 _ACEOF
26305 if ac_fn_c_try_compile "$LINENO"; then :
26306
26307                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26308
26309                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26310 $as_echo "found" >&6; }
26311
26312 else
26313
26314                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26315 $as_echo "not found" >&6; }
26316
26317 fi
26318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26319             CFLAGS="$save_CFLAGS"
26320
26321         fi
26322     fi
26323
26324     if test "$wxUSE_OSX_CARBON" = 1; then
26325         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26326 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26327         if test "$GCC" = yes; then
26328             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26329 $as_echo "gcc" >&6; }
26330             CPPFLAGS_PASCAL="-fpascal-strings"
26331         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26332             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26333 $as_echo "xlc" >&6; }
26334             CPPFLAGS_PASCAL="-qmacpstr"
26335         else
26336             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26337 $as_echo "none" >&6; }
26338         fi
26339
26340         if test "x$wxUSE_UNIX" = "xyes"; then
26341             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26342         else
26343                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26344         fi
26345
26346         TOOLKIT=OSX_CARBON
26347                 GUIDIST=OSX_CARBON_DIST
26348                         WXBASEPORT="_carbon"
26349
26350                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26351     fi
26352
26353     if test "$wxUSE_OSX_COCOA" = 1; then
26354         TOOLKIT=OSX_COCOA
26355         GUIDIST=OSX_COCOA_DIST
26356
26357                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26358     fi
26359
26360     if test "$wxUSE_OSX_IPHONE" = 1; then
26361         TOOLKIT=OSX_IPHONE
26362     fi
26363
26364     if test "$wxUSE_OLD_COCOA" = 1; then
26365         TOOLKIT=COCOA
26366         GUIDIST=COCOA_DIST
26367     fi
26368
26369     if test "$wxUSE_PM" = 1; then
26370         TOOLKIT=PM
26371         GUIDIST=PM_DIST
26372         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26373 $as_echo_n "checking for type SPBCDATA... " >&6; }
26374 if ${wx_cv_spbcdata+:} false; then :
26375   $as_echo_n "(cached) " >&6
26376 else
26377
26378                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h.  */
26380
26381                         #define INCL_PM
26382                         #include <os2.h>
26383
26384 int
26385 main ()
26386 {
26387
26388                         SPBCDATA test;
26389
26390   ;
26391   return 0;
26392 }
26393 _ACEOF
26394 if ac_fn_c_try_compile "$LINENO"; then :
26395   wx_cv_spbcdata=yes
26396 else
26397   wx_cv_spbcdata=no
26398
26399 fi
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401
26402
26403 fi
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26405 $as_echo "$wx_cv_spbcdata" >&6; }
26406
26407         if test $wx_cv_spbcdata = "yes"; then
26408             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26409
26410         fi
26411     fi
26412
26413         if test "$TOOLKIT" = "PM" ; then
26414         TOOLKIT_DIR="os2"
26415     else
26416         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26417     fi
26418
26419     if test "$wxUSE_UNIVERSAL" = "yes"; then
26420         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26421         WIDGET_SET=univ
26422     fi
26423
26424         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26425     DISTDIR="wx\$(TOOLKIT)"
26426 else
26427     USE_GUI=0
26428
26429             TOOLKIT_DIR="base"
26430
26431         if test "$USE_WIN32" = 1 ; then
26432                         TOOLKIT="MSW"
26433     fi
26434
26435         GUIDIST="BASE_DIST"
26436     DISTDIR="wxBase"
26437 fi
26438
26439
26440
26441 if test "$wxUSE_GUI" = "yes"; then
26442     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26443                 for ac_header in X11/Xlib.h
26444 do :
26445   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26446 "
26447 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26448   cat >>confdefs.h <<_ACEOF
26449 #define HAVE_X11_XLIB_H 1
26450 _ACEOF
26451
26452 fi
26453
26454 done
26455
26456         for ac_header in X11/XKBlib.h
26457 do :
26458   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26459                           #if HAVE_X11_XLIB_H
26460                             #include <X11/Xlib.h>
26461                           #endif
26462
26463 "
26464 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26465   cat >>confdefs.h <<_ACEOF
26466 #define HAVE_X11_XKBLIB_H 1
26467 _ACEOF
26468
26469 fi
26470
26471 done
26472
26473     fi
26474 fi
26475
26476
26477
26478 USE_XINERAMA=0
26479 if test "$wxUSE_DISPLAY" = "yes"; then
26480         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26481
26482   ac_find_libraries=
26483
26484     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26485
26486
26487 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26488         if test -n "$ac_tool_prefix"; then
26489   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26490 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26492 $as_echo_n "checking for $ac_word... " >&6; }
26493 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26494   $as_echo_n "(cached) " >&6
26495 else
26496   case $PKG_CONFIG in
26497   [\\/]* | ?:[\\/]*)
26498   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26499   ;;
26500   *)
26501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26502 for as_dir in $PATH
26503 do
26504   IFS=$as_save_IFS
26505   test -z "$as_dir" && as_dir=.
26506     for ac_exec_ext in '' $ac_executable_extensions; do
26507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26508     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26510     break 2
26511   fi
26512 done
26513   done
26514 IFS=$as_save_IFS
26515
26516   ;;
26517 esac
26518 fi
26519 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26520 if test -n "$PKG_CONFIG"; then
26521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26522 $as_echo "$PKG_CONFIG" >&6; }
26523 else
26524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26526 fi
26527
26528
26529 fi
26530 if test -z "$ac_cv_path_PKG_CONFIG"; then
26531   ac_pt_PKG_CONFIG=$PKG_CONFIG
26532   # Extract the first word of "pkg-config", so it can be a program name with args.
26533 set dummy pkg-config; ac_word=$2
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26535 $as_echo_n "checking for $ac_word... " >&6; }
26536 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26537   $as_echo_n "(cached) " >&6
26538 else
26539   case $ac_pt_PKG_CONFIG in
26540   [\\/]* | ?:[\\/]*)
26541   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26542   ;;
26543   *)
26544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26545 for as_dir in $PATH
26546 do
26547   IFS=$as_save_IFS
26548   test -z "$as_dir" && as_dir=.
26549     for ac_exec_ext in '' $ac_executable_extensions; do
26550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26551     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26553     break 2
26554   fi
26555 done
26556   done
26557 IFS=$as_save_IFS
26558
26559   ;;
26560 esac
26561 fi
26562 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26563 if test -n "$ac_pt_PKG_CONFIG"; then
26564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26565 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26566 else
26567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26568 $as_echo "no" >&6; }
26569 fi
26570
26571   if test "x$ac_pt_PKG_CONFIG" = x; then
26572     PKG_CONFIG=""
26573   else
26574     case $cross_compiling:$ac_tool_warned in
26575 yes:)
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26578 ac_tool_warned=yes ;;
26579 esac
26580     PKG_CONFIG=$ac_pt_PKG_CONFIG
26581   fi
26582 else
26583   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26584 fi
26585
26586 fi
26587 if test -n "$PKG_CONFIG"; then
26588         _pkg_min_version=0.9.0
26589         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26590 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26591         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26592                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26593 $as_echo "yes" >&6; }
26594         else
26595                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26596 $as_echo "no" >&6; }
26597                 PKG_CONFIG=""
26598         fi
26599
26600 fi 6> /dev/null
26601
26602 pkg_failed=no
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26604 $as_echo_n "checking for Xinerama... " >&6; }
26605
26606 if test -n "$PKG_CONFIG"; then
26607     if test -n "$Xinerama_CFLAGS"; then
26608         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26609     else
26610         if test -n "$PKG_CONFIG" && \
26611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26612   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26613   ac_status=$?
26614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26615   test $ac_status = 0; }; then
26616   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26617 else
26618   pkg_failed=yes
26619 fi
26620     fi
26621 else
26622         pkg_failed=untried
26623 fi
26624 if test -n "$PKG_CONFIG"; then
26625     if test -n "$Xinerama_LIBS"; then
26626         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26627     else
26628         if test -n "$PKG_CONFIG" && \
26629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26630   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26631   ac_status=$?
26632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26633   test $ac_status = 0; }; then
26634   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26635 else
26636   pkg_failed=yes
26637 fi
26638     fi
26639 else
26640         pkg_failed=untried
26641 fi
26642
26643
26644
26645 if test $pkg_failed = yes; then
26646
26647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26648         _pkg_short_errors_supported=yes
26649 else
26650         _pkg_short_errors_supported=no
26651 fi
26652         if test $_pkg_short_errors_supported = yes; then
26653                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26654         else
26655                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26656         fi
26657         # Put the nasty error message in config.log where it belongs
26658         echo "$Xinerama_PKG_ERRORS" >&5
26659
26660
26661       if test "x$ac_find_libraries" = "x"; then
26662                 if test "xXineramaQueryScreens" != "x"; then
26663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26664 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26665 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26666   $as_echo_n "(cached) " >&6
26667 else
26668   ac_check_lib_save_LIBS=$LIBS
26669 LIBS="-lXinerama  $LIBS"
26670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26671 /* end confdefs.h.  */
26672
26673 /* Override any GCC internal prototype to avoid an error.
26674    Use char because int might match the return type of a GCC
26675    builtin and then its argument prototype would still apply.  */
26676 #ifdef __cplusplus
26677 extern "C"
26678 #endif
26679 char XineramaQueryScreens ();
26680 int
26681 main ()
26682 {
26683 return XineramaQueryScreens ();
26684   ;
26685   return 0;
26686 }
26687 _ACEOF
26688 if ac_fn_c_try_link "$LINENO"; then :
26689   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26690 else
26691   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26692 fi
26693 rm -f core conftest.err conftest.$ac_objext \
26694     conftest$ac_exeext conftest.$ac_ext
26695 LIBS=$ac_check_lib_save_LIBS
26696 fi
26697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26698 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26699 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26700   ac_find_libraries="std"
26701 fi
26702
26703         fi
26704       fi
26705
26706       if test "x$ac_find_libraries" = "x"; then
26707                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26708 $as_echo_n "checking elsewhere... " >&6; }
26709
26710   ac_find_libraries=
26711   for ac_dir in  $SEARCH_LIB
26712   do
26713     for ac_extension in a so sl dylib dll.a; do
26714       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26715         ac_find_libraries=$ac_dir
26716         break 2
26717       fi
26718     done
26719   done
26720
26721         if test "x$ac_find_libraries" != "x"; then
26722           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26723 $as_echo "yes" >&6; }
26724         else
26725           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26726 $as_echo "no" >&6; }
26727         fi
26728       fi
26729
26730 elif test $pkg_failed = untried; then
26731
26732       if test "x$ac_find_libraries" = "x"; then
26733                 if test "xXineramaQueryScreens" != "x"; then
26734           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26735 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26736 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26737   $as_echo_n "(cached) " >&6
26738 else
26739   ac_check_lib_save_LIBS=$LIBS
26740 LIBS="-lXinerama  $LIBS"
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h.  */
26743
26744 /* Override any GCC internal prototype to avoid an error.
26745    Use char because int might match the return type of a GCC
26746    builtin and then its argument prototype would still apply.  */
26747 #ifdef __cplusplus
26748 extern "C"
26749 #endif
26750 char XineramaQueryScreens ();
26751 int
26752 main ()
26753 {
26754 return XineramaQueryScreens ();
26755   ;
26756   return 0;
26757 }
26758 _ACEOF
26759 if ac_fn_c_try_link "$LINENO"; then :
26760   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26761 else
26762   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26763 fi
26764 rm -f core conftest.err conftest.$ac_objext \
26765     conftest$ac_exeext conftest.$ac_ext
26766 LIBS=$ac_check_lib_save_LIBS
26767 fi
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26769 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26770 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26771   ac_find_libraries="std"
26772 fi
26773
26774         fi
26775       fi
26776
26777       if test "x$ac_find_libraries" = "x"; then
26778                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26779 $as_echo_n "checking elsewhere... " >&6; }
26780
26781   ac_find_libraries=
26782   for ac_dir in  $SEARCH_LIB
26783   do
26784     for ac_extension in a so sl dylib dll.a; do
26785       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26786         ac_find_libraries=$ac_dir
26787         break 2
26788       fi
26789     done
26790   done
26791
26792         if test "x$ac_find_libraries" != "x"; then
26793           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26794 $as_echo "yes" >&6; }
26795         else
26796           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26797 $as_echo "no" >&6; }
26798         fi
26799       fi
26800
26801 else
26802         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26803         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26804         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26805 $as_echo "yes" >&6; }
26806
26807             ac_find_libraries="std"
26808
26809                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26810       eval fl_libs=\$Xinerama_LIBS
26811
26812                   for fl_path in $fl_libs
26813       do
26814         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26815                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26816         fi
26817       done
26818
26819 fi
26820
26821         if test "$ac_find_libraries" != "" ; then
26822             if test "$ac_find_libraries" != "std" ; then
26823
26824     if test "$ac_find_libraries" = "default location"; then
26825     ac_path_to_link=""
26826   else
26827     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26828     result=$?
26829     if test $result = 0; then
26830       ac_path_to_link=""
26831     else
26832       ac_path_to_link=" -L$ac_find_libraries"
26833     fi
26834   fi
26835
26836               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26837                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26838               fi
26839             fi
26840             USE_XINERAMA=1
26841             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26842         else
26843             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26844 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26845             wxUSE_DISPLAY="no"
26846         fi
26847     elif test "$wxUSE_MSW" = 1; then
26848                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26849 "
26850 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26851
26852 fi
26853
26854
26855     fi
26856 fi
26857
26858 if test "$wxUSE_DISPLAY" = "yes"; then
26859         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26860
26861   ac_find_libraries=
26862
26863     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26864
26865
26866 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26867         if test -n "$ac_tool_prefix"; then
26868   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26869 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26871 $as_echo_n "checking for $ac_word... " >&6; }
26872 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26873   $as_echo_n "(cached) " >&6
26874 else
26875   case $PKG_CONFIG in
26876   [\\/]* | ?:[\\/]*)
26877   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26878   ;;
26879   *)
26880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26881 for as_dir in $PATH
26882 do
26883   IFS=$as_save_IFS
26884   test -z "$as_dir" && as_dir=.
26885     for ac_exec_ext in '' $ac_executable_extensions; do
26886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26887     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26889     break 2
26890   fi
26891 done
26892   done
26893 IFS=$as_save_IFS
26894
26895   ;;
26896 esac
26897 fi
26898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26899 if test -n "$PKG_CONFIG"; then
26900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26901 $as_echo "$PKG_CONFIG" >&6; }
26902 else
26903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26905 fi
26906
26907
26908 fi
26909 if test -z "$ac_cv_path_PKG_CONFIG"; then
26910   ac_pt_PKG_CONFIG=$PKG_CONFIG
26911   # Extract the first word of "pkg-config", so it can be a program name with args.
26912 set dummy pkg-config; ac_word=$2
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26914 $as_echo_n "checking for $ac_word... " >&6; }
26915 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26916   $as_echo_n "(cached) " >&6
26917 else
26918   case $ac_pt_PKG_CONFIG in
26919   [\\/]* | ?:[\\/]*)
26920   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26921   ;;
26922   *)
26923   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26924 for as_dir in $PATH
26925 do
26926   IFS=$as_save_IFS
26927   test -z "$as_dir" && as_dir=.
26928     for ac_exec_ext in '' $ac_executable_extensions; do
26929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26930     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26932     break 2
26933   fi
26934 done
26935   done
26936 IFS=$as_save_IFS
26937
26938   ;;
26939 esac
26940 fi
26941 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26942 if test -n "$ac_pt_PKG_CONFIG"; then
26943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26944 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26945 else
26946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26947 $as_echo "no" >&6; }
26948 fi
26949
26950   if test "x$ac_pt_PKG_CONFIG" = x; then
26951     PKG_CONFIG=""
26952   else
26953     case $cross_compiling:$ac_tool_warned in
26954 yes:)
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26957 ac_tool_warned=yes ;;
26958 esac
26959     PKG_CONFIG=$ac_pt_PKG_CONFIG
26960   fi
26961 else
26962   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26963 fi
26964
26965 fi
26966 if test -n "$PKG_CONFIG"; then
26967         _pkg_min_version=0.9.0
26968         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26969 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26970         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26971                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26972 $as_echo "yes" >&6; }
26973         else
26974                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26975 $as_echo "no" >&6; }
26976                 PKG_CONFIG=""
26977         fi
26978
26979 fi 6> /dev/null
26980
26981 pkg_failed=no
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26983 $as_echo_n "checking for Xxf86vm... " >&6; }
26984
26985 if test -n "$PKG_CONFIG"; then
26986     if test -n "$Xxf86vm_CFLAGS"; then
26987         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26988     else
26989         if test -n "$PKG_CONFIG" && \
26990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26991   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26992   ac_status=$?
26993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26994   test $ac_status = 0; }; then
26995   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26996 else
26997   pkg_failed=yes
26998 fi
26999     fi
27000 else
27001         pkg_failed=untried
27002 fi
27003 if test -n "$PKG_CONFIG"; then
27004     if test -n "$Xxf86vm_LIBS"; then
27005         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27006     else
27007         if test -n "$PKG_CONFIG" && \
27008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27009   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27010   ac_status=$?
27011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27012   test $ac_status = 0; }; then
27013   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27014 else
27015   pkg_failed=yes
27016 fi
27017     fi
27018 else
27019         pkg_failed=untried
27020 fi
27021
27022
27023
27024 if test $pkg_failed = yes; then
27025
27026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27027         _pkg_short_errors_supported=yes
27028 else
27029         _pkg_short_errors_supported=no
27030 fi
27031         if test $_pkg_short_errors_supported = yes; then
27032                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27033         else
27034                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27035         fi
27036         # Put the nasty error message in config.log where it belongs
27037         echo "$Xxf86vm_PKG_ERRORS" >&5
27038
27039
27040       if test "x$ac_find_libraries" = "x"; then
27041                 if test "xXF86VidModeQueryExtension" != "x"; then
27042           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27043 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27044 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27045   $as_echo_n "(cached) " >&6
27046 else
27047   ac_check_lib_save_LIBS=$LIBS
27048 LIBS="-lXxf86vm  $LIBS"
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27050 /* end confdefs.h.  */
27051
27052 /* Override any GCC internal prototype to avoid an error.
27053    Use char because int might match the return type of a GCC
27054    builtin and then its argument prototype would still apply.  */
27055 #ifdef __cplusplus
27056 extern "C"
27057 #endif
27058 char XF86VidModeQueryExtension ();
27059 int
27060 main ()
27061 {
27062 return XF86VidModeQueryExtension ();
27063   ;
27064   return 0;
27065 }
27066 _ACEOF
27067 if ac_fn_c_try_link "$LINENO"; then :
27068   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27069 else
27070   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27071 fi
27072 rm -f core conftest.err conftest.$ac_objext \
27073     conftest$ac_exeext conftest.$ac_ext
27074 LIBS=$ac_check_lib_save_LIBS
27075 fi
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27077 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27078 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27079   ac_find_libraries="std"
27080 fi
27081
27082         fi
27083       fi
27084
27085       if test "x$ac_find_libraries" = "x"; then
27086                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27087 $as_echo_n "checking elsewhere... " >&6; }
27088
27089   ac_find_libraries=
27090   for ac_dir in  $SEARCH_LIB
27091   do
27092     for ac_extension in a so sl dylib dll.a; do
27093       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27094         ac_find_libraries=$ac_dir
27095         break 2
27096       fi
27097     done
27098   done
27099
27100         if test "x$ac_find_libraries" != "x"; then
27101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27102 $as_echo "yes" >&6; }
27103         else
27104           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27105 $as_echo "no" >&6; }
27106         fi
27107       fi
27108
27109 elif test $pkg_failed = untried; then
27110
27111       if test "x$ac_find_libraries" = "x"; then
27112                 if test "xXF86VidModeQueryExtension" != "x"; then
27113           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27114 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27115 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27116   $as_echo_n "(cached) " >&6
27117 else
27118   ac_check_lib_save_LIBS=$LIBS
27119 LIBS="-lXxf86vm  $LIBS"
27120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27121 /* end confdefs.h.  */
27122
27123 /* Override any GCC internal prototype to avoid an error.
27124    Use char because int might match the return type of a GCC
27125    builtin and then its argument prototype would still apply.  */
27126 #ifdef __cplusplus
27127 extern "C"
27128 #endif
27129 char XF86VidModeQueryExtension ();
27130 int
27131 main ()
27132 {
27133 return XF86VidModeQueryExtension ();
27134   ;
27135   return 0;
27136 }
27137 _ACEOF
27138 if ac_fn_c_try_link "$LINENO"; then :
27139   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27140 else
27141   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27142 fi
27143 rm -f core conftest.err conftest.$ac_objext \
27144     conftest$ac_exeext conftest.$ac_ext
27145 LIBS=$ac_check_lib_save_LIBS
27146 fi
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27148 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27149 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27150   ac_find_libraries="std"
27151 fi
27152
27153         fi
27154       fi
27155
27156       if test "x$ac_find_libraries" = "x"; then
27157                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27158 $as_echo_n "checking elsewhere... " >&6; }
27159
27160   ac_find_libraries=
27161   for ac_dir in  $SEARCH_LIB
27162   do
27163     for ac_extension in a so sl dylib dll.a; do
27164       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27165         ac_find_libraries=$ac_dir
27166         break 2
27167       fi
27168     done
27169   done
27170
27171         if test "x$ac_find_libraries" != "x"; then
27172           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27173 $as_echo "yes" >&6; }
27174         else
27175           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27176 $as_echo "no" >&6; }
27177         fi
27178       fi
27179
27180 else
27181         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27182         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27183         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27184 $as_echo "yes" >&6; }
27185
27186             ac_find_libraries="std"
27187
27188                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27189       eval fl_libs=\$Xxf86vm_LIBS
27190
27191                   for fl_path in $fl_libs
27192       do
27193         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27194                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27195         fi
27196       done
27197
27198 fi
27199
27200         if test "$ac_find_libraries" != "" ; then
27201             for ac_header in X11/extensions/xf86vmode.h
27202 do :
27203   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27204                                   #if HAVE_X11_XLIB_H
27205                                     #include <X11/Xlib.h>
27206                                   #endif
27207
27208 "
27209 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27210   cat >>confdefs.h <<_ACEOF
27211 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27212 _ACEOF
27213
27214                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27215
27216 fi
27217
27218 done
27219
27220         fi
27221     fi
27222 fi
27223
27224 if test "$wxUSE_DETECT_SM" = "yes"; then
27225     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27226
27227   ac_find_libraries=
27228
27229     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27230
27231
27232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27233         if test -n "$ac_tool_prefix"; then
27234   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27235 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27237 $as_echo_n "checking for $ac_word... " >&6; }
27238 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27239   $as_echo_n "(cached) " >&6
27240 else
27241   case $PKG_CONFIG in
27242   [\\/]* | ?:[\\/]*)
27243   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27244   ;;
27245   *)
27246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27247 for as_dir in $PATH
27248 do
27249   IFS=$as_save_IFS
27250   test -z "$as_dir" && as_dir=.
27251     for ac_exec_ext in '' $ac_executable_extensions; do
27252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27253     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27255     break 2
27256   fi
27257 done
27258   done
27259 IFS=$as_save_IFS
27260
27261   ;;
27262 esac
27263 fi
27264 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27265 if test -n "$PKG_CONFIG"; then
27266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27267 $as_echo "$PKG_CONFIG" >&6; }
27268 else
27269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27271 fi
27272
27273
27274 fi
27275 if test -z "$ac_cv_path_PKG_CONFIG"; then
27276   ac_pt_PKG_CONFIG=$PKG_CONFIG
27277   # Extract the first word of "pkg-config", so it can be a program name with args.
27278 set dummy pkg-config; ac_word=$2
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27280 $as_echo_n "checking for $ac_word... " >&6; }
27281 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27282   $as_echo_n "(cached) " >&6
27283 else
27284   case $ac_pt_PKG_CONFIG in
27285   [\\/]* | ?:[\\/]*)
27286   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27287   ;;
27288   *)
27289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27290 for as_dir in $PATH
27291 do
27292   IFS=$as_save_IFS
27293   test -z "$as_dir" && as_dir=.
27294     for ac_exec_ext in '' $ac_executable_extensions; do
27295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27296     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27298     break 2
27299   fi
27300 done
27301   done
27302 IFS=$as_save_IFS
27303
27304   ;;
27305 esac
27306 fi
27307 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27308 if test -n "$ac_pt_PKG_CONFIG"; then
27309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27310 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27311 else
27312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27313 $as_echo "no" >&6; }
27314 fi
27315
27316   if test "x$ac_pt_PKG_CONFIG" = x; then
27317     PKG_CONFIG=""
27318   else
27319     case $cross_compiling:$ac_tool_warned in
27320 yes:)
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27323 ac_tool_warned=yes ;;
27324 esac
27325     PKG_CONFIG=$ac_pt_PKG_CONFIG
27326   fi
27327 else
27328   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27329 fi
27330
27331 fi
27332 if test -n "$PKG_CONFIG"; then
27333         _pkg_min_version=0.9.0
27334         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27335 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27336         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27337                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27338 $as_echo "yes" >&6; }
27339         else
27340                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27341 $as_echo "no" >&6; }
27342                 PKG_CONFIG=""
27343         fi
27344
27345 fi 6> /dev/null
27346
27347 pkg_failed=no
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27349 $as_echo_n "checking for SM... " >&6; }
27350
27351 if test -n "$PKG_CONFIG"; then
27352     if test -n "$SM_CFLAGS"; then
27353         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27354     else
27355         if test -n "$PKG_CONFIG" && \
27356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27357   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27358   ac_status=$?
27359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27360   test $ac_status = 0; }; then
27361   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27362 else
27363   pkg_failed=yes
27364 fi
27365     fi
27366 else
27367         pkg_failed=untried
27368 fi
27369 if test -n "$PKG_CONFIG"; then
27370     if test -n "$SM_LIBS"; then
27371         pkg_cv_SM_LIBS="$SM_LIBS"
27372     else
27373         if test -n "$PKG_CONFIG" && \
27374     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27375   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27376   ac_status=$?
27377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27378   test $ac_status = 0; }; then
27379   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27380 else
27381   pkg_failed=yes
27382 fi
27383     fi
27384 else
27385         pkg_failed=untried
27386 fi
27387
27388
27389
27390 if test $pkg_failed = yes; then
27391
27392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27393         _pkg_short_errors_supported=yes
27394 else
27395         _pkg_short_errors_supported=no
27396 fi
27397         if test $_pkg_short_errors_supported = yes; then
27398                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27399         else
27400                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27401         fi
27402         # Put the nasty error message in config.log where it belongs
27403         echo "$SM_PKG_ERRORS" >&5
27404
27405
27406       if test "x$ac_find_libraries" = "x"; then
27407                 if test "xSmcOpenConnection" != "x"; then
27408           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27409 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27410 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27411   $as_echo_n "(cached) " >&6
27412 else
27413   ac_check_lib_save_LIBS=$LIBS
27414 LIBS="-lSM  $LIBS"
27415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27416 /* end confdefs.h.  */
27417
27418 /* Override any GCC internal prototype to avoid an error.
27419    Use char because int might match the return type of a GCC
27420    builtin and then its argument prototype would still apply.  */
27421 #ifdef __cplusplus
27422 extern "C"
27423 #endif
27424 char SmcOpenConnection ();
27425 int
27426 main ()
27427 {
27428 return SmcOpenConnection ();
27429   ;
27430   return 0;
27431 }
27432 _ACEOF
27433 if ac_fn_c_try_link "$LINENO"; then :
27434   ac_cv_lib_SM_SmcOpenConnection=yes
27435 else
27436   ac_cv_lib_SM_SmcOpenConnection=no
27437 fi
27438 rm -f core conftest.err conftest.$ac_objext \
27439     conftest$ac_exeext conftest.$ac_ext
27440 LIBS=$ac_check_lib_save_LIBS
27441 fi
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27443 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27444 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27445   ac_find_libraries="std"
27446 fi
27447
27448         fi
27449       fi
27450
27451       if test "x$ac_find_libraries" = "x"; then
27452                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27453 $as_echo_n "checking elsewhere... " >&6; }
27454
27455   ac_find_libraries=
27456   for ac_dir in  $SEARCH_LIB
27457   do
27458     for ac_extension in a so sl dylib dll.a; do
27459       if test -f "$ac_dir/libSM.$ac_extension"; then
27460         ac_find_libraries=$ac_dir
27461         break 2
27462       fi
27463     done
27464   done
27465
27466         if test "x$ac_find_libraries" != "x"; then
27467           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27468 $as_echo "yes" >&6; }
27469         else
27470           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27471 $as_echo "no" >&6; }
27472         fi
27473       fi
27474
27475 elif test $pkg_failed = untried; then
27476
27477       if test "x$ac_find_libraries" = "x"; then
27478                 if test "xSmcOpenConnection" != "x"; then
27479           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27480 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27481 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27482   $as_echo_n "(cached) " >&6
27483 else
27484   ac_check_lib_save_LIBS=$LIBS
27485 LIBS="-lSM  $LIBS"
27486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27487 /* end confdefs.h.  */
27488
27489 /* Override any GCC internal prototype to avoid an error.
27490    Use char because int might match the return type of a GCC
27491    builtin and then its argument prototype would still apply.  */
27492 #ifdef __cplusplus
27493 extern "C"
27494 #endif
27495 char SmcOpenConnection ();
27496 int
27497 main ()
27498 {
27499 return SmcOpenConnection ();
27500   ;
27501   return 0;
27502 }
27503 _ACEOF
27504 if ac_fn_c_try_link "$LINENO"; then :
27505   ac_cv_lib_SM_SmcOpenConnection=yes
27506 else
27507   ac_cv_lib_SM_SmcOpenConnection=no
27508 fi
27509 rm -f core conftest.err conftest.$ac_objext \
27510     conftest$ac_exeext conftest.$ac_ext
27511 LIBS=$ac_check_lib_save_LIBS
27512 fi
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27514 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27515 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27516   ac_find_libraries="std"
27517 fi
27518
27519         fi
27520       fi
27521
27522       if test "x$ac_find_libraries" = "x"; then
27523                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27524 $as_echo_n "checking elsewhere... " >&6; }
27525
27526   ac_find_libraries=
27527   for ac_dir in  $SEARCH_LIB
27528   do
27529     for ac_extension in a so sl dylib dll.a; do
27530       if test -f "$ac_dir/libSM.$ac_extension"; then
27531         ac_find_libraries=$ac_dir
27532         break 2
27533       fi
27534     done
27535   done
27536
27537         if test "x$ac_find_libraries" != "x"; then
27538           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27539 $as_echo "yes" >&6; }
27540         else
27541           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27542 $as_echo "no" >&6; }
27543         fi
27544       fi
27545
27546 else
27547         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27548         SM_LIBS=$pkg_cv_SM_LIBS
27549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27550 $as_echo "yes" >&6; }
27551
27552             ac_find_libraries="std"
27553
27554                                                 eval ac_find_cflags=\$SM_CFLAGS
27555       eval fl_libs=\$SM_LIBS
27556
27557                   for fl_path in $fl_libs
27558       do
27559         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27560                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27561         fi
27562       done
27563
27564 fi
27565
27566         if test "$ac_find_libraries" != "" ; then
27567             if test "$ac_find_libraries" != "std" ; then
27568
27569     if test "$ac_find_libraries" = "default location"; then
27570     ac_path_to_link=""
27571   else
27572     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27573     result=$?
27574     if test $result = 0; then
27575       ac_path_to_link=""
27576     else
27577       ac_path_to_link=" -L$ac_find_libraries"
27578     fi
27579   fi
27580
27581               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27582                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27583               fi
27584             fi
27585             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27586         else
27587             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27588 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27589             wxUSE_DETECT_SM="no"
27590         fi
27591     else
27592         wxUSE_DETECT_SM="no"
27593     fi
27594 fi
27595
27596
27597
27598 USE_OPENGL=0
27599 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27600
27601
27602     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27603         OPENGL_LIBS="-framework OpenGL -framework AGL"
27604     elif test "$wxUSE_MSW" = 1; then
27605         OPENGL_LIBS="-lopengl32 -lglu32"
27606     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27607
27608                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27609 $as_echo_n "checking for OpenGL headers... " >&6; }
27610
27611 ac_find_includes=
27612 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27613   do
27614     if test -f "$ac_dir/GL/gl.h"; then
27615       ac_find_includes=$ac_dir
27616       break
27617     fi
27618   done
27619
27620         if test "$ac_find_includes" != "" ; then
27621             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27622 $as_echo "found in $ac_find_includes" >&6; }
27623
27624     if test "x$ac_find_includes" = "x/usr/include"; then
27625     ac_path_to_include=""
27626   else
27627     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27628     result=$?
27629     if test $result = 0; then
27630       ac_path_to_include=""
27631     else
27632       ac_path_to_include=" -I$ac_find_includes"
27633     fi
27634   fi
27635
27636             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27637         else
27638             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27639 $as_echo "not found" >&6; }
27640         fi
27641
27642         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27643 "
27644 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27645
27646             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27647 "
27648 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27649
27650                 found_gl=0
27651
27652
27653   ac_find_libraries=
27654
27655     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27656
27657
27658 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27659         if test -n "$ac_tool_prefix"; then
27660   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27661 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27663 $as_echo_n "checking for $ac_word... " >&6; }
27664 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27665   $as_echo_n "(cached) " >&6
27666 else
27667   case $PKG_CONFIG in
27668   [\\/]* | ?:[\\/]*)
27669   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27670   ;;
27671   *)
27672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27673 for as_dir in $PATH
27674 do
27675   IFS=$as_save_IFS
27676   test -z "$as_dir" && as_dir=.
27677     for ac_exec_ext in '' $ac_executable_extensions; do
27678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27679     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27681     break 2
27682   fi
27683 done
27684   done
27685 IFS=$as_save_IFS
27686
27687   ;;
27688 esac
27689 fi
27690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27691 if test -n "$PKG_CONFIG"; then
27692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27693 $as_echo "$PKG_CONFIG" >&6; }
27694 else
27695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27697 fi
27698
27699
27700 fi
27701 if test -z "$ac_cv_path_PKG_CONFIG"; then
27702   ac_pt_PKG_CONFIG=$PKG_CONFIG
27703   # Extract the first word of "pkg-config", so it can be a program name with args.
27704 set dummy pkg-config; ac_word=$2
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27706 $as_echo_n "checking for $ac_word... " >&6; }
27707 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27708   $as_echo_n "(cached) " >&6
27709 else
27710   case $ac_pt_PKG_CONFIG in
27711   [\\/]* | ?:[\\/]*)
27712   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27713   ;;
27714   *)
27715   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27716 for as_dir in $PATH
27717 do
27718   IFS=$as_save_IFS
27719   test -z "$as_dir" && as_dir=.
27720     for ac_exec_ext in '' $ac_executable_extensions; do
27721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27722     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27724     break 2
27725   fi
27726 done
27727   done
27728 IFS=$as_save_IFS
27729
27730   ;;
27731 esac
27732 fi
27733 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27734 if test -n "$ac_pt_PKG_CONFIG"; then
27735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27736 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27737 else
27738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27739 $as_echo "no" >&6; }
27740 fi
27741
27742   if test "x$ac_pt_PKG_CONFIG" = x; then
27743     PKG_CONFIG=""
27744   else
27745     case $cross_compiling:$ac_tool_warned in
27746 yes:)
27747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27749 ac_tool_warned=yes ;;
27750 esac
27751     PKG_CONFIG=$ac_pt_PKG_CONFIG
27752   fi
27753 else
27754   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27755 fi
27756
27757 fi
27758 if test -n "$PKG_CONFIG"; then
27759         _pkg_min_version=0.9.0
27760         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27761 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27762         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27763                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27764 $as_echo "yes" >&6; }
27765         else
27766                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27767 $as_echo "no" >&6; }
27768                 PKG_CONFIG=""
27769         fi
27770
27771 fi 6> /dev/null
27772
27773 pkg_failed=no
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27775 $as_echo_n "checking for GL... " >&6; }
27776
27777 if test -n "$PKG_CONFIG"; then
27778     if test -n "$GL_CFLAGS"; then
27779         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27780     else
27781         if test -n "$PKG_CONFIG" && \
27782     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27783   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27784   ac_status=$?
27785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27786   test $ac_status = 0; }; then
27787   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27788 else
27789   pkg_failed=yes
27790 fi
27791     fi
27792 else
27793         pkg_failed=untried
27794 fi
27795 if test -n "$PKG_CONFIG"; then
27796     if test -n "$GL_LIBS"; then
27797         pkg_cv_GL_LIBS="$GL_LIBS"
27798     else
27799         if test -n "$PKG_CONFIG" && \
27800     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27801   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27802   ac_status=$?
27803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27804   test $ac_status = 0; }; then
27805   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27806 else
27807   pkg_failed=yes
27808 fi
27809     fi
27810 else
27811         pkg_failed=untried
27812 fi
27813
27814
27815
27816 if test $pkg_failed = yes; then
27817
27818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27819         _pkg_short_errors_supported=yes
27820 else
27821         _pkg_short_errors_supported=no
27822 fi
27823         if test $_pkg_short_errors_supported = yes; then
27824                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27825         else
27826                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27827         fi
27828         # Put the nasty error message in config.log where it belongs
27829         echo "$GL_PKG_ERRORS" >&5
27830
27831
27832       if test "x$ac_find_libraries" = "x"; then
27833                 if test "xglBegin" != "x"; then
27834           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27835 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27836 if ${ac_cv_lib_GL_glBegin+:} false; then :
27837   $as_echo_n "(cached) " >&6
27838 else
27839   ac_check_lib_save_LIBS=$LIBS
27840 LIBS="-lGL  $LIBS"
27841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27842 /* end confdefs.h.  */
27843
27844 /* Override any GCC internal prototype to avoid an error.
27845    Use char because int might match the return type of a GCC
27846    builtin and then its argument prototype would still apply.  */
27847 #ifdef __cplusplus
27848 extern "C"
27849 #endif
27850 char glBegin ();
27851 int
27852 main ()
27853 {
27854 return glBegin ();
27855   ;
27856   return 0;
27857 }
27858 _ACEOF
27859 if ac_fn_c_try_link "$LINENO"; then :
27860   ac_cv_lib_GL_glBegin=yes
27861 else
27862   ac_cv_lib_GL_glBegin=no
27863 fi
27864 rm -f core conftest.err conftest.$ac_objext \
27865     conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27867 fi
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27869 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27870 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27871   ac_find_libraries="std"
27872 fi
27873
27874         fi
27875       fi
27876
27877       if test "x$ac_find_libraries" = "x"; then
27878                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27879 $as_echo_n "checking elsewhere... " >&6; }
27880
27881   ac_find_libraries=
27882   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27883   do
27884     for ac_extension in a so sl dylib dll.a; do
27885       if test -f "$ac_dir/libGL.$ac_extension"; then
27886         ac_find_libraries=$ac_dir
27887         break 2
27888       fi
27889     done
27890   done
27891
27892         if test "x$ac_find_libraries" != "x"; then
27893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27894 $as_echo "yes" >&6; }
27895         else
27896           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27897 $as_echo "no" >&6; }
27898         fi
27899       fi
27900
27901 elif test $pkg_failed = untried; then
27902
27903       if test "x$ac_find_libraries" = "x"; then
27904                 if test "xglBegin" != "x"; then
27905           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27906 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27907 if ${ac_cv_lib_GL_glBegin+:} false; then :
27908   $as_echo_n "(cached) " >&6
27909 else
27910   ac_check_lib_save_LIBS=$LIBS
27911 LIBS="-lGL  $LIBS"
27912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h.  */
27914
27915 /* Override any GCC internal prototype to avoid an error.
27916    Use char because int might match the return type of a GCC
27917    builtin and then its argument prototype would still apply.  */
27918 #ifdef __cplusplus
27919 extern "C"
27920 #endif
27921 char glBegin ();
27922 int
27923 main ()
27924 {
27925 return glBegin ();
27926   ;
27927   return 0;
27928 }
27929 _ACEOF
27930 if ac_fn_c_try_link "$LINENO"; then :
27931   ac_cv_lib_GL_glBegin=yes
27932 else
27933   ac_cv_lib_GL_glBegin=no
27934 fi
27935 rm -f core conftest.err conftest.$ac_objext \
27936     conftest$ac_exeext conftest.$ac_ext
27937 LIBS=$ac_check_lib_save_LIBS
27938 fi
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27940 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27941 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27942   ac_find_libraries="std"
27943 fi
27944
27945         fi
27946       fi
27947
27948       if test "x$ac_find_libraries" = "x"; then
27949                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27950 $as_echo_n "checking elsewhere... " >&6; }
27951
27952   ac_find_libraries=
27953   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27954   do
27955     for ac_extension in a so sl dylib dll.a; do
27956       if test -f "$ac_dir/libGL.$ac_extension"; then
27957         ac_find_libraries=$ac_dir
27958         break 2
27959       fi
27960     done
27961   done
27962
27963         if test "x$ac_find_libraries" != "x"; then
27964           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27965 $as_echo "yes" >&6; }
27966         else
27967           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27968 $as_echo "no" >&6; }
27969         fi
27970       fi
27971
27972 else
27973         GL_CFLAGS=$pkg_cv_GL_CFLAGS
27974         GL_LIBS=$pkg_cv_GL_LIBS
27975         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27976 $as_echo "yes" >&6; }
27977
27978             ac_find_libraries="std"
27979
27980                                                 eval ac_find_cflags=\$GL_CFLAGS
27981       eval fl_libs=\$GL_LIBS
27982
27983                   for fl_path in $fl_libs
27984       do
27985         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27986                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27987         fi
27988       done
27989
27990 fi
27991
27992                 if test "$ac_find_libraries" != "" ; then
27993                     if test "$ac_find_libraries" != "std" ; then
27994
27995     if test "$ac_find_libraries" = "default location"; then
27996     ac_path_to_link=""
27997   else
27998     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27999     result=$?
28000     if test $result = 0; then
28001       ac_path_to_link=""
28002     else
28003       ac_path_to_link=" -L$ac_find_libraries"
28004     fi
28005   fi
28006
28007                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28008                         LDFLAGS_GL="$ac_path_to_link"
28009                       fi
28010                     fi
28011
28012
28013   ac_find_libraries=
28014
28015     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28016
28017
28018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28019         if test -n "$ac_tool_prefix"; then
28020   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28021 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28023 $as_echo_n "checking for $ac_word... " >&6; }
28024 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28025   $as_echo_n "(cached) " >&6
28026 else
28027   case $PKG_CONFIG in
28028   [\\/]* | ?:[\\/]*)
28029   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28030   ;;
28031   *)
28032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28033 for as_dir in $PATH
28034 do
28035   IFS=$as_save_IFS
28036   test -z "$as_dir" && as_dir=.
28037     for ac_exec_ext in '' $ac_executable_extensions; do
28038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28039     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28041     break 2
28042   fi
28043 done
28044   done
28045 IFS=$as_save_IFS
28046
28047   ;;
28048 esac
28049 fi
28050 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28051 if test -n "$PKG_CONFIG"; then
28052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28053 $as_echo "$PKG_CONFIG" >&6; }
28054 else
28055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28057 fi
28058
28059
28060 fi
28061 if test -z "$ac_cv_path_PKG_CONFIG"; then
28062   ac_pt_PKG_CONFIG=$PKG_CONFIG
28063   # Extract the first word of "pkg-config", so it can be a program name with args.
28064 set dummy pkg-config; ac_word=$2
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28066 $as_echo_n "checking for $ac_word... " >&6; }
28067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28068   $as_echo_n "(cached) " >&6
28069 else
28070   case $ac_pt_PKG_CONFIG in
28071   [\\/]* | ?:[\\/]*)
28072   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28073   ;;
28074   *)
28075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28076 for as_dir in $PATH
28077 do
28078   IFS=$as_save_IFS
28079   test -z "$as_dir" && as_dir=.
28080     for ac_exec_ext in '' $ac_executable_extensions; do
28081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28082     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28084     break 2
28085   fi
28086 done
28087   done
28088 IFS=$as_save_IFS
28089
28090   ;;
28091 esac
28092 fi
28093 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28094 if test -n "$ac_pt_PKG_CONFIG"; then
28095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28097 else
28098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28099 $as_echo "no" >&6; }
28100 fi
28101
28102   if test "x$ac_pt_PKG_CONFIG" = x; then
28103     PKG_CONFIG=""
28104   else
28105     case $cross_compiling:$ac_tool_warned in
28106 yes:)
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28109 ac_tool_warned=yes ;;
28110 esac
28111     PKG_CONFIG=$ac_pt_PKG_CONFIG
28112   fi
28113 else
28114   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28115 fi
28116
28117 fi
28118 if test -n "$PKG_CONFIG"; then
28119         _pkg_min_version=0.9.0
28120         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28122         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28123                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28124 $as_echo "yes" >&6; }
28125         else
28126                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28127 $as_echo "no" >&6; }
28128                 PKG_CONFIG=""
28129         fi
28130
28131 fi 6> /dev/null
28132
28133 pkg_failed=no
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28135 $as_echo_n "checking for GLU... " >&6; }
28136
28137 if test -n "$PKG_CONFIG"; then
28138     if test -n "$GLU_CFLAGS"; then
28139         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28140     else
28141         if test -n "$PKG_CONFIG" && \
28142     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28143   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28144   ac_status=$?
28145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28146   test $ac_status = 0; }; then
28147   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28148 else
28149   pkg_failed=yes
28150 fi
28151     fi
28152 else
28153         pkg_failed=untried
28154 fi
28155 if test -n "$PKG_CONFIG"; then
28156     if test -n "$GLU_LIBS"; then
28157         pkg_cv_GLU_LIBS="$GLU_LIBS"
28158     else
28159         if test -n "$PKG_CONFIG" && \
28160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28161   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28162   ac_status=$?
28163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28164   test $ac_status = 0; }; then
28165   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28166 else
28167   pkg_failed=yes
28168 fi
28169     fi
28170 else
28171         pkg_failed=untried
28172 fi
28173
28174
28175
28176 if test $pkg_failed = yes; then
28177
28178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28179         _pkg_short_errors_supported=yes
28180 else
28181         _pkg_short_errors_supported=no
28182 fi
28183         if test $_pkg_short_errors_supported = yes; then
28184                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28185         else
28186                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28187         fi
28188         # Put the nasty error message in config.log where it belongs
28189         echo "$GLU_PKG_ERRORS" >&5
28190
28191
28192       if test "x$ac_find_libraries" = "x"; then
28193                 if test "xgluBeginCurve" != "x"; then
28194           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28195 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28196 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28197   $as_echo_n "(cached) " >&6
28198 else
28199   ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lGLU  $LIBS"
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h.  */
28203
28204 /* Override any GCC internal prototype to avoid an error.
28205    Use char because int might match the return type of a GCC
28206    builtin and then its argument prototype would still apply.  */
28207 #ifdef __cplusplus
28208 extern "C"
28209 #endif
28210 char gluBeginCurve ();
28211 int
28212 main ()
28213 {
28214 return gluBeginCurve ();
28215   ;
28216   return 0;
28217 }
28218 _ACEOF
28219 if ac_fn_c_try_link "$LINENO"; then :
28220   ac_cv_lib_GLU_gluBeginCurve=yes
28221 else
28222   ac_cv_lib_GLU_gluBeginCurve=no
28223 fi
28224 rm -f core conftest.err conftest.$ac_objext \
28225     conftest$ac_exeext conftest.$ac_ext
28226 LIBS=$ac_check_lib_save_LIBS
28227 fi
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28229 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28230 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28231   ac_find_libraries="std"
28232 fi
28233
28234         fi
28235       fi
28236
28237       if test "x$ac_find_libraries" = "x"; then
28238                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28239 $as_echo_n "checking elsewhere... " >&6; }
28240
28241   ac_find_libraries=
28242   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28243   do
28244     for ac_extension in a so sl dylib dll.a; do
28245       if test -f "$ac_dir/libGLU.$ac_extension"; then
28246         ac_find_libraries=$ac_dir
28247         break 2
28248       fi
28249     done
28250   done
28251
28252         if test "x$ac_find_libraries" != "x"; then
28253           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28254 $as_echo "yes" >&6; }
28255         else
28256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28257 $as_echo "no" >&6; }
28258         fi
28259       fi
28260
28261 elif test $pkg_failed = untried; then
28262
28263       if test "x$ac_find_libraries" = "x"; then
28264                 if test "xgluBeginCurve" != "x"; then
28265           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28266 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28267 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28268   $as_echo_n "(cached) " >&6
28269 else
28270   ac_check_lib_save_LIBS=$LIBS
28271 LIBS="-lGLU  $LIBS"
28272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28273 /* end confdefs.h.  */
28274
28275 /* Override any GCC internal prototype to avoid an error.
28276    Use char because int might match the return type of a GCC
28277    builtin and then its argument prototype would still apply.  */
28278 #ifdef __cplusplus
28279 extern "C"
28280 #endif
28281 char gluBeginCurve ();
28282 int
28283 main ()
28284 {
28285 return gluBeginCurve ();
28286   ;
28287   return 0;
28288 }
28289 _ACEOF
28290 if ac_fn_c_try_link "$LINENO"; then :
28291   ac_cv_lib_GLU_gluBeginCurve=yes
28292 else
28293   ac_cv_lib_GLU_gluBeginCurve=no
28294 fi
28295 rm -f core conftest.err conftest.$ac_objext \
28296     conftest$ac_exeext conftest.$ac_ext
28297 LIBS=$ac_check_lib_save_LIBS
28298 fi
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28300 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28301 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28302   ac_find_libraries="std"
28303 fi
28304
28305         fi
28306       fi
28307
28308       if test "x$ac_find_libraries" = "x"; then
28309                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28310 $as_echo_n "checking elsewhere... " >&6; }
28311
28312   ac_find_libraries=
28313   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28314   do
28315     for ac_extension in a so sl dylib dll.a; do
28316       if test -f "$ac_dir/libGLU.$ac_extension"; then
28317         ac_find_libraries=$ac_dir
28318         break 2
28319       fi
28320     done
28321   done
28322
28323         if test "x$ac_find_libraries" != "x"; then
28324           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28325 $as_echo "yes" >&6; }
28326         else
28327           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28328 $as_echo "no" >&6; }
28329         fi
28330       fi
28331
28332 else
28333         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28334         GLU_LIBS=$pkg_cv_GLU_LIBS
28335         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28336 $as_echo "yes" >&6; }
28337
28338             ac_find_libraries="std"
28339
28340                                                 eval ac_find_cflags=\$GLU_CFLAGS
28341       eval fl_libs=\$GLU_LIBS
28342
28343                   for fl_path in $fl_libs
28344       do
28345         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28346                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28347         fi
28348       done
28349
28350 fi
28351
28352                     if test "$ac_find_libraries" != "" ; then
28353                       if test "$ac_find_libraries" != "std" ; then
28354
28355     if test "$ac_find_libraries" = "default location"; then
28356     ac_path_to_link=""
28357   else
28358     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28359     result=$?
28360     if test $result = 0; then
28361       ac_path_to_link=""
28362     else
28363       ac_path_to_link=" -L$ac_find_libraries"
28364     fi
28365   fi
28366
28367                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28368                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28369                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28370                         fi
28371                       fi
28372
28373                         found_gl=1
28374                         OPENGL_LIBS="-lGL -lGLU"
28375                     fi
28376                 fi
28377
28378                 if test "$found_gl" != 1; then
28379
28380   ac_find_libraries=
28381
28382     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28383
28384
28385 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28386         if test -n "$ac_tool_prefix"; then
28387   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28388 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28390 $as_echo_n "checking for $ac_word... " >&6; }
28391 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28392   $as_echo_n "(cached) " >&6
28393 else
28394   case $PKG_CONFIG in
28395   [\\/]* | ?:[\\/]*)
28396   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28397   ;;
28398   *)
28399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28400 for as_dir in $PATH
28401 do
28402   IFS=$as_save_IFS
28403   test -z "$as_dir" && as_dir=.
28404     for ac_exec_ext in '' $ac_executable_extensions; do
28405   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28406     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28408     break 2
28409   fi
28410 done
28411   done
28412 IFS=$as_save_IFS
28413
28414   ;;
28415 esac
28416 fi
28417 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28418 if test -n "$PKG_CONFIG"; then
28419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28420 $as_echo "$PKG_CONFIG" >&6; }
28421 else
28422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28424 fi
28425
28426
28427 fi
28428 if test -z "$ac_cv_path_PKG_CONFIG"; then
28429   ac_pt_PKG_CONFIG=$PKG_CONFIG
28430   # Extract the first word of "pkg-config", so it can be a program name with args.
28431 set dummy pkg-config; ac_word=$2
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28433 $as_echo_n "checking for $ac_word... " >&6; }
28434 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28435   $as_echo_n "(cached) " >&6
28436 else
28437   case $ac_pt_PKG_CONFIG in
28438   [\\/]* | ?:[\\/]*)
28439   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28440   ;;
28441   *)
28442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28443 for as_dir in $PATH
28444 do
28445   IFS=$as_save_IFS
28446   test -z "$as_dir" && as_dir=.
28447     for ac_exec_ext in '' $ac_executable_extensions; do
28448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28449     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28451     break 2
28452   fi
28453 done
28454   done
28455 IFS=$as_save_IFS
28456
28457   ;;
28458 esac
28459 fi
28460 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28461 if test -n "$ac_pt_PKG_CONFIG"; then
28462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28463 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28464 else
28465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28466 $as_echo "no" >&6; }
28467 fi
28468
28469   if test "x$ac_pt_PKG_CONFIG" = x; then
28470     PKG_CONFIG=""
28471   else
28472     case $cross_compiling:$ac_tool_warned in
28473 yes:)
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28476 ac_tool_warned=yes ;;
28477 esac
28478     PKG_CONFIG=$ac_pt_PKG_CONFIG
28479   fi
28480 else
28481   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28482 fi
28483
28484 fi
28485 if test -n "$PKG_CONFIG"; then
28486         _pkg_min_version=0.9.0
28487         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28488 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28489         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28490                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28491 $as_echo "yes" >&6; }
28492         else
28493                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28494 $as_echo "no" >&6; }
28495                 PKG_CONFIG=""
28496         fi
28497
28498 fi 6> /dev/null
28499
28500 pkg_failed=no
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28502 $as_echo_n "checking for MesaGL... " >&6; }
28503
28504 if test -n "$PKG_CONFIG"; then
28505     if test -n "$MesaGL_CFLAGS"; then
28506         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28507     else
28508         if test -n "$PKG_CONFIG" && \
28509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28510   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28511   ac_status=$?
28512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28513   test $ac_status = 0; }; then
28514   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28515 else
28516   pkg_failed=yes
28517 fi
28518     fi
28519 else
28520         pkg_failed=untried
28521 fi
28522 if test -n "$PKG_CONFIG"; then
28523     if test -n "$MesaGL_LIBS"; then
28524         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28525     else
28526         if test -n "$PKG_CONFIG" && \
28527     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28528   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28529   ac_status=$?
28530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28531   test $ac_status = 0; }; then
28532   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28533 else
28534   pkg_failed=yes
28535 fi
28536     fi
28537 else
28538         pkg_failed=untried
28539 fi
28540
28541
28542
28543 if test $pkg_failed = yes; then
28544
28545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28546         _pkg_short_errors_supported=yes
28547 else
28548         _pkg_short_errors_supported=no
28549 fi
28550         if test $_pkg_short_errors_supported = yes; then
28551                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28552         else
28553                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28554         fi
28555         # Put the nasty error message in config.log where it belongs
28556         echo "$MesaGL_PKG_ERRORS" >&5
28557
28558
28559       if test "x$ac_find_libraries" = "x"; then
28560                 if test "xglEnable" != "x"; then
28561           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28562 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28563 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28564   $as_echo_n "(cached) " >&6
28565 else
28566   ac_check_lib_save_LIBS=$LIBS
28567 LIBS="-lMesaGL  $LIBS"
28568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h.  */
28570
28571 /* Override any GCC internal prototype to avoid an error.
28572    Use char because int might match the return type of a GCC
28573    builtin and then its argument prototype would still apply.  */
28574 #ifdef __cplusplus
28575 extern "C"
28576 #endif
28577 char glEnable ();
28578 int
28579 main ()
28580 {
28581 return glEnable ();
28582   ;
28583   return 0;
28584 }
28585 _ACEOF
28586 if ac_fn_c_try_link "$LINENO"; then :
28587   ac_cv_lib_MesaGL_glEnable=yes
28588 else
28589   ac_cv_lib_MesaGL_glEnable=no
28590 fi
28591 rm -f core conftest.err conftest.$ac_objext \
28592     conftest$ac_exeext conftest.$ac_ext
28593 LIBS=$ac_check_lib_save_LIBS
28594 fi
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28596 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28597 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28598   ac_find_libraries="std"
28599 fi
28600
28601         fi
28602       fi
28603
28604       if test "x$ac_find_libraries" = "x"; then
28605                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28606 $as_echo_n "checking elsewhere... " >&6; }
28607
28608   ac_find_libraries=
28609   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28610   do
28611     for ac_extension in a so sl dylib dll.a; do
28612       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28613         ac_find_libraries=$ac_dir
28614         break 2
28615       fi
28616     done
28617   done
28618
28619         if test "x$ac_find_libraries" != "x"; then
28620           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28621 $as_echo "yes" >&6; }
28622         else
28623           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28624 $as_echo "no" >&6; }
28625         fi
28626       fi
28627
28628 elif test $pkg_failed = untried; then
28629
28630       if test "x$ac_find_libraries" = "x"; then
28631                 if test "xglEnable" != "x"; then
28632           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28633 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28634 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28635   $as_echo_n "(cached) " >&6
28636 else
28637   ac_check_lib_save_LIBS=$LIBS
28638 LIBS="-lMesaGL  $LIBS"
28639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28640 /* end confdefs.h.  */
28641
28642 /* Override any GCC internal prototype to avoid an error.
28643    Use char because int might match the return type of a GCC
28644    builtin and then its argument prototype would still apply.  */
28645 #ifdef __cplusplus
28646 extern "C"
28647 #endif
28648 char glEnable ();
28649 int
28650 main ()
28651 {
28652 return glEnable ();
28653   ;
28654   return 0;
28655 }
28656 _ACEOF
28657 if ac_fn_c_try_link "$LINENO"; then :
28658   ac_cv_lib_MesaGL_glEnable=yes
28659 else
28660   ac_cv_lib_MesaGL_glEnable=no
28661 fi
28662 rm -f core conftest.err conftest.$ac_objext \
28663     conftest$ac_exeext conftest.$ac_ext
28664 LIBS=$ac_check_lib_save_LIBS
28665 fi
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28667 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28668 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28669   ac_find_libraries="std"
28670 fi
28671
28672         fi
28673       fi
28674
28675       if test "x$ac_find_libraries" = "x"; then
28676                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28677 $as_echo_n "checking elsewhere... " >&6; }
28678
28679   ac_find_libraries=
28680   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28681   do
28682     for ac_extension in a so sl dylib dll.a; do
28683       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28684         ac_find_libraries=$ac_dir
28685         break 2
28686       fi
28687     done
28688   done
28689
28690         if test "x$ac_find_libraries" != "x"; then
28691           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28692 $as_echo "yes" >&6; }
28693         else
28694           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28695 $as_echo "no" >&6; }
28696         fi
28697       fi
28698
28699 else
28700         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28701         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28702         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28703 $as_echo "yes" >&6; }
28704
28705             ac_find_libraries="std"
28706
28707                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28708       eval fl_libs=\$MesaGL_LIBS
28709
28710                   for fl_path in $fl_libs
28711       do
28712         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28713                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28714         fi
28715       done
28716
28717 fi
28718
28719                     if test "$ac_find_libraries" != "" ; then
28720                       if test "$ac_find_libraries" != "std" ; then
28721
28722     if test "$ac_find_libraries" = "default location"; then
28723     ac_path_to_link=""
28724   else
28725     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28726     result=$?
28727     if test $result = 0; then
28728       ac_path_to_link=""
28729     else
28730       ac_path_to_link=" -L$ac_find_libraries"
28731     fi
28732   fi
28733
28734                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28735                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28736                         fi
28737                       fi
28738                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28739                     fi
28740                 fi
28741
28742 fi
28743
28744
28745
28746 fi
28747
28748
28749
28750         if test "x$OPENGL_LIBS" = "x"; then
28751             if test "$wxUSE_OPENGL" = "yes"; then
28752                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28753             else
28754                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28755 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28756                 wxUSE_OPENGL=no
28757                 USE_OPENGL=0
28758             fi
28759         fi
28760     else
28761         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28762 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28763         wxUSE_OPENGL="no"
28764     fi
28765
28766     if test "$wxUSE_OPENGL" = "auto"; then
28767                                 wxUSE_OPENGL=yes
28768     fi
28769
28770     if test "$wxUSE_OPENGL" = "yes"; then
28771         USE_OPENGL=1
28772         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28773
28774         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28775
28776         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28777     fi
28778 fi
28779
28780
28781 if test -n "$TOOLKIT" ; then
28782     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28783 fi
28784
28785
28786
28787 if test "$wxUSE_SHARED" = "yes"; then
28788     case "${host}" in
28789       *-pc-msdosdjgpp )
28790                 wxUSE_SHARED=no
28791         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28792 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28793       ;;
28794     esac
28795 fi
28796
28797 if test "$wxUSE_SHARED" = "yes"; then
28798
28799
28800     case "${host}" in
28801         *-*-cygwin* | *-*-mingw* )
28802                                                                                                 wx_cv_version_script=no
28803             ;;
28804
28805         *)
28806             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28807 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28808 if ${wx_cv_version_script+:} false; then :
28809   $as_echo_n "(cached) " >&6
28810 else
28811
28812                 echo "VER_1 { *; };" >conftest.sym
28813                 echo "int main() { return 0; }" >conftest.cpp
28814
28815                 if { ac_try='
28816                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28817                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28818   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28819   (eval $ac_try) 2>&5
28820   ac_status=$?
28821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28822   test $ac_status = 0; }; } ; then
28823                   if test -s conftest.stderr ; then
28824                       wx_cv_version_script=no
28825                   else
28826                       wx_cv_version_script=yes
28827                   fi
28828                 else
28829                   wx_cv_version_script=no
28830                 fi
28831
28832                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28833                 then
28834                   echo "struct B { virtual ~B() { } }; \
28835                         struct D : public B { }; \
28836                         void F() { D d; }" > conftest.cpp
28837
28838                   if { ac_try='
28839                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28840                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28841   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28842   (eval $ac_try) 2>&5
28843   ac_status=$?
28844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28845   test $ac_status = 0; }; } &&
28846                      { ac_try='
28847                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28848                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28849   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28850   (eval $ac_try) 2>&5
28851   ac_status=$?
28852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28853   test $ac_status = 0; }; }
28854                   then
28855                     if { ac_try='
28856                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28857                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28858   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28859   (eval $ac_try) 2>&5
28860   ac_status=$?
28861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28862   test $ac_status = 0; }; }
28863                     then
28864                       wx_cv_version_script=yes
28865                     else
28866                       wx_cv_version_script=no
28867                     fi
28868                   fi
28869                 fi
28870
28871                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28872                 rm -f conftest1.output conftest2.output conftest3.output
28873
28874 fi
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28876 $as_echo "$wx_cv_version_script" >&6; }
28877
28878             if test $wx_cv_version_script = yes ; then
28879                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28880             fi
28881             ;;
28882     esac
28883
28884
28885             if test "$wxUSE_VISIBILITY" != "no"; then
28886
28887
28888   if test -n "$GCC"; then
28889     CFLAGS_VISIBILITY="-fvisibility=hidden"
28890     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28892 $as_echo_n "checking for symbols visibility support... " >&6; }
28893     if ${wx_cv_cc_visibility+:} false; then :
28894   $as_echo_n "(cached) " >&6
28895 else
28896
28897       wx_save_CXXFLAGS="$CXXFLAGS"
28898       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28899       ac_ext=cpp
28900 ac_cpp='$CXXCPP $CPPFLAGS'
28901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28904
28905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28906 /* end confdefs.h.  */
28907
28908          /* we need gcc >= 4.0, older versions with visibility support
28909             didn't have class visibility: */
28910          #if defined(__GNUC__) && __GNUC__ < 4
28911          error this gcc is too old;
28912          #endif
28913
28914          /* visibility only makes sense for ELF shared libs: */
28915          #if !defined(__ELF__) && !defined(__APPLE__)
28916          error this platform has no visibility;
28917          #endif
28918
28919          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28920          #if defined(__clang__)
28921          clang compiler is still broken w.r.t. visibility;
28922          #endif
28923
28924          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28925          extern __attribute__((__visibility__("default"))) int exportedvar;
28926          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28927          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28928          class __attribute__((__visibility__("default"))) Foo {
28929            Foo() {}
28930          };
28931
28932 int
28933 main ()
28934 {
28935
28936   ;
28937   return 0;
28938 }
28939 _ACEOF
28940 if ac_fn_cxx_try_compile "$LINENO"; then :
28941   wx_cv_cc_visibility=yes
28942 else
28943   wx_cv_cc_visibility=no
28944 fi
28945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28946       ac_ext=c
28947 ac_cpp='$CPP $CPPFLAGS'
28948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28951
28952       CXXFLAGS="$wx_save_CXXFLAGS"
28953 fi
28954
28955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28956 $as_echo "$wx_cv_cc_visibility" >&6; }
28957     if test $wx_cv_cc_visibility = yes; then
28958                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28959 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28960       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28961   $as_echo_n "(cached) " >&6
28962 else
28963
28964         wx_save_CXXFLAGS="$CXXFLAGS"
28965         wx_save_LDFLAGS="$LDFLAGS"
28966         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28967         LDFLAGS="$LDFLAGS -shared -fPIC"
28968         ac_ext=cpp
28969 ac_cpp='$CXXCPP $CPPFLAGS'
28970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28973
28974         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28975 /* end confdefs.h.  */
28976
28977             #include <string>
28978
28979 int
28980 main ()
28981 {
28982
28983             std::string s("hello");
28984             return s.length();
28985
28986   ;
28987   return 0;
28988 }
28989 _ACEOF
28990 if ac_fn_cxx_try_link "$LINENO"; then :
28991   wx_cv_cc_broken_libstdcxx_visibility=no
28992 else
28993   wx_cv_cc_broken_libstdcxx_visibility=yes
28994 fi
28995 rm -f core conftest.err conftest.$ac_objext \
28996     conftest$ac_exeext conftest.$ac_ext
28997         ac_ext=c
28998 ac_cpp='$CPP $CPPFLAGS'
28999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29002
29003         CXXFLAGS="$wx_save_CXXFLAGS"
29004         LDFLAGS="$wx_save_LDFLAGS"
29005 fi
29006
29007       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29008 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29009
29010       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29011         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29012 $as_echo_n "checking whether we can work around it... " >&6; }
29013         if ${wx_cv_cc_visibility_workaround+:} false; then :
29014   $as_echo_n "(cached) " >&6
29015 else
29016
29017           ac_ext=cpp
29018 ac_cpp='$CXXCPP $CPPFLAGS'
29019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29022
29023           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h.  */
29025
29026               #pragma GCC visibility push(default)
29027               #include <string>
29028               #pragma GCC visibility pop
29029
29030 int
29031 main ()
29032 {
29033
29034               std::string s("hello");
29035               return s.length();
29036
29037   ;
29038   return 0;
29039 }
29040 _ACEOF
29041 if ac_fn_cxx_try_link "$LINENO"; then :
29042   wx_cv_cc_visibility_workaround=no
29043 else
29044   wx_cv_cc_visibility_workaround=yes
29045 fi
29046 rm -f core conftest.err conftest.$ac_objext \
29047     conftest$ac_exeext conftest.$ac_ext
29048           ac_ext=c
29049 ac_cpp='$CPP $CPPFLAGS'
29050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29053
29054
29055 fi
29056
29057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29058 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29059
29060         if test $wx_cv_cc_visibility_workaround = no; then
29061                     wx_cv_cc_visibility=no
29062         fi
29063       fi
29064     fi
29065
29066     if test $wx_cv_cc_visibility = yes; then
29067       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29068
29069       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29070         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29071
29072       fi
29073     else
29074       CFLAGS_VISIBILITY=""
29075       CXXFLAGS_VISIBILITY=""
29076     fi
29077
29078
29079   fi
29080
29081     fi
29082
29083         if test "x$SUNCXX" = xyes; then
29084         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29085         WXCONFIG_RPATH="-R\$libdir"
29086     else
29087     case "${host}" in
29088       *-*-linux* | *-*-gnu* )
29089         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29090         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29091         ;;
29092
29093       *-*-solaris2* )
29094
29095                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29096
29097                         saveLdflags="$LDFLAGS"
29098         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29099         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29100 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29101         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29102 /* end confdefs.h.  */
29103
29104 int
29105 main ()
29106 {
29107
29108   ;
29109   return 0;
29110 }
29111 _ACEOF
29112 if ac_fn_c_try_link "$LINENO"; then :
29113
29114                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29115 $as_echo "yes" >&6; }
29116                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29117                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29118
29119 else
29120
29121                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29122 $as_echo "no" >&6; }
29123                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29124 $as_echo_n "checking if the linker accepts -R... " >&6; }
29125                 LDFLAGS="$saveLdflags -Wl,-R,/"
29126                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h.  */
29128
29129 int
29130 main ()
29131 {
29132
29133   ;
29134   return 0;
29135 }
29136 _ACEOF
29137 if ac_fn_c_try_link "$LINENO"; then :
29138
29139                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29140 $as_echo "yes" >&6; }
29141                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29142                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29143
29144 else
29145
29146                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29147 $as_echo "no" >&6; }
29148
29149 fi
29150 rm -f core conftest.err conftest.$ac_objext \
29151     conftest$ac_exeext conftest.$ac_ext
29152
29153 fi
29154 rm -f core conftest.err conftest.$ac_objext \
29155     conftest$ac_exeext conftest.$ac_ext
29156         LDFLAGS="$saveLdflags"
29157       ;;
29158
29159       *-*-darwin* )
29160         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29161         if test "$install_name_tool" -a -x "$install_name_tool"; then
29162             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29163             cat <<EOF >change-install-names
29164 #!/bin/sh
29165 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29166 for i in \${libnames} ; do
29167     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29168     for dep in \${libnames} ; do
29169         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29170     done
29171 done
29172 EOF
29173             chmod +x change-install-names
29174             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29175         fi
29176
29177                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29178       ;;
29179
29180       *-*-cygwin* | *-*-mingw32* )
29181         ;;
29182
29183       *-*-hpux* )
29184         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29185         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29186         ;;
29187
29188     esac
29189     fi
29190
29191             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29192
29193     if test $wxUSE_RPATH = "no"; then
29194         SAMPLES_RPATH_FLAG=''
29195         DYLIB_PATH_POSTLINK=''
29196         WXCONFIG_RPATH=''
29197     fi
29198
29199     SHARED=1
29200
29201 else
29202
29203     config_linkage_component="-static"
29204     SHARED=0
29205
29206 fi
29207
29208
29209 UNICODE=0
29210 lib_unicode_suffix=
29211 WX_CHARTYPE="ansi"
29212 if test "$wxUSE_UNICODE" = "yes"; then
29213     lib_unicode_suffix=u
29214     WX_CHARTYPE="unicode"
29215     UNICODE=1
29216 fi
29217
29218 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29219 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29220
29221 DEBUG_INFO=0
29222 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29223     DEBUG_INFO=1
29224 fi
29225
29226 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29227
29228 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29229
29230 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29231
29232
29233 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29234     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29235 else
29236     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29237 fi
29238 if test "${TOOLKIT_DIR}" = "os2"; then
29239     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29240 else
29241     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29242 fi
29243
29244
29245
29246 if test "$wxUSE_OLD_COCOA" = 1; then
29247
29248     ac_ext=c
29249 ac_cpp='$CPP $CPPFLAGS'
29250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29253
29254 ac_ext=m
29255
29256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29257 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29258     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h.  */
29260 #include <AppKit/NSEvent.h>
29261 #include <CoreFoundation/CoreFoundation.h>
29262
29263 int
29264 main ()
29265 {
29266
29267   ;
29268   return 0;
29269 }
29270 _ACEOF
29271 if ac_fn_c_try_compile "$LINENO"; then :
29272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29273 $as_echo "no" >&6; }
29274 else
29275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29276 $as_echo "yes" >&6; }
29277         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29278 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29279         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29280 /* end confdefs.h.  */
29281 #define __Point__ 1
29282 #include <AppKit/NSEvent.h>
29283 #include <CoreFoundation/CoreFoundation.h>
29284
29285 int
29286 main ()
29287 {
29288
29289   ;
29290   return 0;
29291 }
29292 _ACEOF
29293 if ac_fn_c_try_compile "$LINENO"; then :
29294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29295 $as_echo "yes" >&6; }
29296             $as_echo "#define __Point__ 1" >>confdefs.h
29297
29298
29299 else
29300   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29302 as_fn_error $? "no
29303 See \`config.log' for more details" "$LINENO" 5; }
29304
29305 fi
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307
29308 fi
29309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29310     ac_ext=c
29311 ac_cpp='$CPP $CPPFLAGS'
29312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29315
29316 fi
29317
29318
29319 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29320 if test "x$ac_cv_type_mode_t" = xyes; then :
29321
29322 else
29323
29324 cat >>confdefs.h <<_ACEOF
29325 #define mode_t int
29326 _ACEOF
29327
29328 fi
29329
29330 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29331 if test "x$ac_cv_type_off_t" = xyes; then :
29332
29333 else
29334
29335 cat >>confdefs.h <<_ACEOF
29336 #define off_t long int
29337 _ACEOF
29338
29339 fi
29340
29341 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29342 if test "x$ac_cv_type_pid_t" = xyes; then :
29343
29344 else
29345
29346 cat >>confdefs.h <<_ACEOF
29347 #define pid_t int
29348 _ACEOF
29349
29350 fi
29351
29352 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29353 if test "x$ac_cv_type_size_t" = xyes; then :
29354
29355 else
29356
29357 cat >>confdefs.h <<_ACEOF
29358 #define size_t unsigned int
29359 _ACEOF
29360
29361 fi
29362
29363
29364 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29365 if test "x$ac_cv_type_ssize_t" = xyes; then :
29366
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_SSIZE_T 1
29369 _ACEOF
29370
29371
29372 fi
29373
29374
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29380  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29381 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29382 if ${wx_cv_size_t_is_uint+:} false; then :
29383   $as_echo_n "(cached) " >&6
29384 else
29385
29386                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29387 /* end confdefs.h.  */
29388 #include <stddef.h>
29389 int
29390 main ()
29391 {
29392
29393             return 0; }
29394
29395             struct Foo { void foo(size_t); void foo(unsigned int); };
29396
29397             int bar() {
29398
29399   ;
29400   return 0;
29401 }
29402 _ACEOF
29403 if ac_fn_cxx_try_compile "$LINENO"; then :
29404   wx_cv_size_t_is_uint=no
29405 else
29406   wx_cv_size_t_is_uint=yes
29407
29408 fi
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410
29411
29412 fi
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29414 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29415
29416 if test "$wx_cv_size_t_is_uint" = "yes"; then
29417     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29418
29419 else
29420     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29421 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29422 if ${wx_cv_size_t_is_ulong+:} false; then :
29423   $as_echo_n "(cached) " >&6
29424 else
29425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h.  */
29427 #include <stddef.h>
29428 int
29429 main ()
29430 {
29431
29432                 return 0; }
29433
29434                 struct Foo { void foo(size_t); void foo(unsigned long); };
29435
29436                 int bar() {
29437
29438   ;
29439   return 0;
29440 }
29441 _ACEOF
29442 if ac_fn_cxx_try_compile "$LINENO"; then :
29443   wx_cv_size_t_is_ulong=no
29444 else
29445   wx_cv_size_t_is_ulong=yes
29446
29447 fi
29448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29449
29450 fi
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29452 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29453
29454     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29455         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29456
29457     fi
29458 fi
29459
29460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29461 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29462 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29463   $as_echo_n "(cached) " >&6
29464 else
29465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29466 /* end confdefs.h.  */
29467 #include <wchar.h>
29468 int
29469 main ()
29470 {
29471
29472             return 0; }
29473
29474             struct Foo { void foo(wchar_t);
29475                          void foo(unsigned short);
29476                          void foo(unsigned int);
29477                          void foo(unsigned long); };
29478
29479             int bar() {
29480
29481   ;
29482   return 0;
29483 }
29484 _ACEOF
29485 if ac_fn_cxx_try_compile "$LINENO"; then :
29486   wx_cv_wchar_t_is_separate_type=yes
29487 else
29488   wx_cv_wchar_t_is_separate_type=no
29489
29490 fi
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492
29493 fi
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29495 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29496
29497 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29498     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29499
29500 else
29501     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29502
29503 fi
29504
29505 ac_ext=c
29506 ac_cpp='$CPP $CPPFLAGS'
29507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510
29511
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29513 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29514 if ${wx_cv_struct_pw_gecos+:} false; then :
29515   $as_echo_n "(cached) " >&6
29516 else
29517
29518         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29519 /* end confdefs.h.  */
29520 #include <pwd.h>
29521 int
29522 main ()
29523 {
29524
29525                 char *p;
29526                 struct passwd *pw;
29527                 p = pw->pw_gecos;
29528
29529   ;
29530   return 0;
29531 }
29532 _ACEOF
29533 if ac_fn_c_try_compile "$LINENO"; then :
29534
29535                 wx_cv_struct_pw_gecos=yes
29536
29537 else
29538
29539                 wx_cv_struct_pw_gecos=no
29540
29541
29542 fi
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544
29545
29546 fi
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29548 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29549
29550 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29551     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29552
29553 fi
29554
29555
29556 WCSLEN_FOUND=0
29557 WCHAR_LINK=
29558 for ac_func in wcslen
29559 do :
29560   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29561 if test "x$ac_cv_func_wcslen" = xyes; then :
29562   cat >>confdefs.h <<_ACEOF
29563 #define HAVE_WCSLEN 1
29564 _ACEOF
29565  WCSLEN_FOUND=1
29566 fi
29567 done
29568
29569
29570 if test "$WCSLEN_FOUND" = 0; then
29571     if test "$TOOLKIT" = "MSW"; then
29572         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29573 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29574 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29575   $as_echo_n "(cached) " >&6
29576 else
29577   ac_check_lib_save_LIBS=$LIBS
29578 LIBS="-lmsvcrt  $LIBS"
29579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29580 /* end confdefs.h.  */
29581
29582 /* Override any GCC internal prototype to avoid an error.
29583    Use char because int might match the return type of a GCC
29584    builtin and then its argument prototype would still apply.  */
29585 #ifdef __cplusplus
29586 extern "C"
29587 #endif
29588 char wcslen ();
29589 int
29590 main ()
29591 {
29592 return wcslen ();
29593   ;
29594   return 0;
29595 }
29596 _ACEOF
29597 if ac_fn_c_try_link "$LINENO"; then :
29598   ac_cv_lib_msvcrt_wcslen=yes
29599 else
29600   ac_cv_lib_msvcrt_wcslen=no
29601 fi
29602 rm -f core conftest.err conftest.$ac_objext \
29603     conftest$ac_exeext conftest.$ac_ext
29604 LIBS=$ac_check_lib_save_LIBS
29605 fi
29606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29607 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29608 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29609   WCHAR_OK=1
29610 fi
29611
29612     else
29613         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29614 $as_echo_n "checking for wcslen in -lw... " >&6; }
29615 if ${ac_cv_lib_w_wcslen+:} false; then :
29616   $as_echo_n "(cached) " >&6
29617 else
29618   ac_check_lib_save_LIBS=$LIBS
29619 LIBS="-lw  $LIBS"
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h.  */
29622
29623 /* Override any GCC internal prototype to avoid an error.
29624    Use char because int might match the return type of a GCC
29625    builtin and then its argument prototype would still apply.  */
29626 #ifdef __cplusplus
29627 extern "C"
29628 #endif
29629 char wcslen ();
29630 int
29631 main ()
29632 {
29633 return wcslen ();
29634   ;
29635   return 0;
29636 }
29637 _ACEOF
29638 if ac_fn_c_try_link "$LINENO"; then :
29639   ac_cv_lib_w_wcslen=yes
29640 else
29641   ac_cv_lib_w_wcslen=no
29642 fi
29643 rm -f core conftest.err conftest.$ac_objext \
29644     conftest$ac_exeext conftest.$ac_ext
29645 LIBS=$ac_check_lib_save_LIBS
29646 fi
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29648 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29649 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29650
29651                         WCHAR_LINK=" -lw"
29652                         WCSLEN_FOUND=1
29653
29654 fi
29655
29656     fi
29657 fi
29658
29659 if test "$WCSLEN_FOUND" = 1; then
29660     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29661
29662 fi
29663
29664 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29665 do :
29666   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29668 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29669   cat >>confdefs.h <<_ACEOF
29670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29671 _ACEOF
29672
29673 fi
29674 done
29675
29676
29677 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29678     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29679 fi
29680
29681 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29682 "
29683 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29684
29685 cat >>confdefs.h <<_ACEOF
29686 #define HAVE_MBSTATE_T 1
29687 _ACEOF
29688
29689 for ac_func in wcsrtombs
29690 do :
29691   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29692 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29693   cat >>confdefs.h <<_ACEOF
29694 #define HAVE_WCSRTOMBS 1
29695 _ACEOF
29696
29697 fi
29698 done
29699
29700 fi
29701
29702
29703 for ac_func in snprintf vsnprintf vsscanf
29704 do :
29705   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29708   cat >>confdefs.h <<_ACEOF
29709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29710 _ACEOF
29711
29712 fi
29713 done
29714
29715
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721
29722 if test "$ac_cv_func_vsnprintf" = "yes"; then
29723         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29724 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29725 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29726   $as_echo_n "(cached) " >&6
29727 else
29728
29729                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h.  */
29731
29732                     #include <stdio.h>
29733                     #include <stdarg.h>
29734
29735 int
29736 main ()
29737 {
29738
29739                     char *buf;
29740                     va_list ap;
29741                     vsnprintf(buf, 10u, "%s", ap);
29742
29743   ;
29744   return 0;
29745 }
29746 _ACEOF
29747 if ac_fn_cxx_try_compile "$LINENO"; then :
29748   wx_cv_func_vsnprintf_decl=yes
29749 else
29750   wx_cv_func_vsnprintf_decl=no
29751
29752 fi
29753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29754
29755
29756 fi
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29758 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29759
29760     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29761         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29762
29763
29764                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29765 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29766 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29767   $as_echo_n "(cached) " >&6
29768 else
29769
29770                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h.  */
29772
29773                         #include <stdio.h>
29774                         #include <stdarg.h>
29775                         #ifdef __MSL__
29776                         #if __MSL__ >= 0x6000
29777                         namespace std {}
29778                         using namespace std;
29779                         #endif
29780                         #endif
29781
29782 int
29783 main ()
29784 {
29785
29786                         char *buf;
29787                         va_list ap;
29788                         const char *fmt = "%s";
29789                         vsnprintf(buf, 10u, fmt, ap);
29790
29791   ;
29792   return 0;
29793 }
29794 _ACEOF
29795 if ac_fn_cxx_try_compile "$LINENO"; then :
29796   wx_cv_func_broken_vsnprintf_decl=no
29797 else
29798   wx_cv_func_broken_vsnprintf_decl=yes
29799
29800 fi
29801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29802
29803
29804 fi
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29806 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29807
29808         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29809             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29810
29811         fi
29812     fi
29813 fi
29814
29815 if test "$ac_cv_func_snprintf" = "yes"; then
29816     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29817 $as_echo_n "checking for snprintf declaration... " >&6; }
29818 if ${wx_cv_func_snprintf_decl+:} false; then :
29819   $as_echo_n "(cached) " >&6
29820 else
29821
29822             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h.  */
29824
29825                     #include <stdio.h>
29826                     #include <stdarg.h>
29827                     #ifdef __MSL__
29828                     #if __MSL__ >= 0x6000
29829                     namespace std {}
29830                     using namespace std;
29831                     #endif
29832                     #endif
29833
29834 int
29835 main ()
29836 {
29837
29838                     char *buf;
29839                     snprintf(buf, 10u, "%s", "wx");
29840
29841   ;
29842   return 0;
29843 }
29844 _ACEOF
29845 if ac_fn_cxx_try_compile "$LINENO"; then :
29846   wx_cv_func_snprintf_decl=yes
29847 else
29848   wx_cv_func_snprintf_decl=no
29849
29850 fi
29851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29852
29853
29854 fi
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29856 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29857
29858     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29859         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29860
29861     fi
29862
29863     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29864
29865                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29866 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29867 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29868   $as_echo_n "(cached) " >&6
29869 else
29870
29871                 if test "$cross_compiling" = yes; then :
29872
29873                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29874 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29875 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29877                         wx_cv_func_snprintf_pos_params=no
29878
29879
29880 else
29881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h.  */
29883
29884                         #include <stdio.h>
29885
29886                         int main (void)
29887                         {
29888                             char buffer[128];
29889                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29890                             if (strcmp ("2 3 1", buffer) == 0)
29891                                 exit (0);
29892                             exit (1);
29893                         }
29894
29895 _ACEOF
29896 if ac_fn_cxx_try_run "$LINENO"; then :
29897   wx_cv_func_snprintf_pos_params=no
29898 else
29899   wx_cv_func_snprintf_pos_params=yes
29900 fi
29901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29902   conftest.$ac_objext conftest.beam conftest.$ac_ext
29903 fi
29904
29905
29906
29907 fi
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29909 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29910
29911         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29912             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29913
29914         fi
29915     fi
29916 fi
29917
29918 if test "$ac_cv_func_vsscanf" = "yes"; then
29919     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29920 $as_echo_n "checking for vsscanf declaration... " >&6; }
29921 if ${wx_cv_func_vsscanf_decl+:} false; then :
29922   $as_echo_n "(cached) " >&6
29923 else
29924
29925             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h.  */
29927
29928                     #include <stdio.h>
29929                     #include <stdarg.h>
29930                     #ifdef __MSL__
29931                     #if __MSL__ >= 0x6000
29932                     namespace std {}
29933                     using namespace std;
29934                     #endif
29935                     #endif
29936
29937 int
29938 main ()
29939 {
29940
29941                     char *buf;
29942                     va_list args;
29943                     vsscanf(buf, "%s", args);
29944
29945   ;
29946   return 0;
29947 }
29948 _ACEOF
29949 if ac_fn_cxx_try_compile "$LINENO"; then :
29950   wx_cv_func_vsscanf_decl=yes
29951 else
29952   wx_cv_func_vsscanf_decl=no
29953
29954 fi
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956
29957
29958 fi
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29960 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29961
29962     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29963         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29964
29965     fi
29966 fi
29967 ac_ext=c
29968 ac_cpp='$CPP $CPPFLAGS'
29969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29972
29973
29974 if test "$wxUSE_UNICODE" = yes; then
29975
29976             wchar_headers="#include <stdio.h>
29977 #include <wchar.h>"
29978     case "${host}" in
29979         *-*-solaris2* )
29980             for ac_header in widec.h
29981 do :
29982   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29983 "
29984 if test "x$ac_cv_header_widec_h" = xyes; then :
29985   cat >>confdefs.h <<_ACEOF
29986 #define HAVE_WIDEC_H 1
29987 _ACEOF
29988
29989 fi
29990
29991 done
29992
29993             if test "$ac_cv_header_widec_h" = "yes"; then
29994                 wchar_headers="$wchar_headers
29995 #include <widec.h>"
29996             fi
29997     esac
29998
29999
30000   for wx_func in putws fputws wprintf vswprintf vswscanf
30001   do
30002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30003 $as_echo_n "checking for $wx_func... " >&6; }
30004 if eval \${wx_cv_func_$wx_func+:} false; then :
30005   $as_echo_n "(cached) " >&6
30006 else
30007
30008         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h.  */
30010
30011
30012                 $wchar_headers
30013                 $ac_includes_default
30014
30015 int
30016 main ()
30017 {
30018
30019                 #ifndef $wx_func
30020                   &$wx_func;
30021                 #endif
30022
30023
30024   ;
30025   return 0;
30026 }
30027
30028 _ACEOF
30029 if ac_fn_c_try_link "$LINENO"; then :
30030   eval wx_cv_func_$wx_func=yes
30031 else
30032   eval wx_cv_func_$wx_func=no
30033 fi
30034 rm -f core conftest.err conftest.$ac_objext \
30035     conftest$ac_exeext conftest.$ac_ext
30036
30037 fi
30038 eval ac_res=\$wx_cv_func_$wx_func
30039                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30040 $as_echo "$ac_res" >&6; }
30041
30042     if eval test \$wx_cv_func_$wx_func = yes
30043     then
30044       cat >>confdefs.h <<_ACEOF
30045 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30046 _ACEOF
30047
30048
30049     else
30050       :
30051
30052     fi
30053   done
30054
30055
30056                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30057 $as_echo_n "checking for _vsnwprintf... " >&6; }
30058     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h.  */
30060 #include <wchar.h>
30061 int
30062 main ()
30063 {
30064 &_vsnwprintf;
30065   ;
30066   return 0;
30067 }
30068 _ACEOF
30069 if ac_fn_c_try_compile "$LINENO"; then :
30070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30071 $as_echo "yes" >&6; }
30072                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30073
30074 else
30075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30076 $as_echo "no" >&6; }
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30079 fi
30080
30081 if test "$wxUSE_FILE" = "yes"; then
30082
30083   for wx_func in fsync
30084   do
30085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30086 $as_echo_n "checking for $wx_func... " >&6; }
30087 if eval \${wx_cv_func_$wx_func+:} false; then :
30088   $as_echo_n "(cached) " >&6
30089 else
30090
30091         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30092 /* end confdefs.h.  */
30093
30094
30095
30096                 $ac_includes_default
30097
30098 int
30099 main ()
30100 {
30101
30102                 #ifndef $wx_func
30103                   &$wx_func;
30104                 #endif
30105
30106
30107   ;
30108   return 0;
30109 }
30110
30111 _ACEOF
30112 if ac_fn_c_try_link "$LINENO"; then :
30113   eval wx_cv_func_$wx_func=yes
30114 else
30115   eval wx_cv_func_$wx_func=no
30116 fi
30117 rm -f core conftest.err conftest.$ac_objext \
30118     conftest$ac_exeext conftest.$ac_ext
30119
30120 fi
30121 eval ac_res=\$wx_cv_func_$wx_func
30122                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30123 $as_echo "$ac_res" >&6; }
30124
30125     if eval test \$wx_cv_func_$wx_func = yes
30126     then
30127       cat >>confdefs.h <<_ACEOF
30128 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30129 _ACEOF
30130
30131
30132     else
30133       :
30134
30135     fi
30136   done
30137
30138 fi
30139
30140 ac_ext=cpp
30141 ac_cpp='$CXXCPP $CPPFLAGS'
30142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30145
30146
30147   for wx_func in round
30148   do
30149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30150 $as_echo_n "checking for $wx_func... " >&6; }
30151 if eval \${wx_cv_func_$wx_func+:} false; then :
30152   $as_echo_n "(cached) " >&6
30153 else
30154
30155         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30156 /* end confdefs.h.  */
30157
30158
30159                 #include <math.h>
30160                 $ac_includes_default
30161
30162 int
30163 main ()
30164 {
30165
30166                 #ifndef $wx_func
30167                   &$wx_func;
30168                 #endif
30169
30170
30171   ;
30172   return 0;
30173 }
30174
30175 _ACEOF
30176 if ac_fn_cxx_try_link "$LINENO"; then :
30177   eval wx_cv_func_$wx_func=yes
30178 else
30179   eval wx_cv_func_$wx_func=no
30180 fi
30181 rm -f core conftest.err conftest.$ac_objext \
30182     conftest$ac_exeext conftest.$ac_ext
30183
30184 fi
30185 eval ac_res=\$wx_cv_func_$wx_func
30186                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30187 $as_echo "$ac_res" >&6; }
30188
30189     if eval test \$wx_cv_func_$wx_func = yes
30190     then
30191       cat >>confdefs.h <<_ACEOF
30192 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30193 _ACEOF
30194
30195
30196     else
30197       :
30198
30199     fi
30200   done
30201
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207
30208
30209 if test "$TOOLKIT" != "MSW"; then
30210
30211 if test "$wxUSE_LIBICONV" != "no" ; then
30212
30213
30214
30215 # Check whether --with-libiconv-prefix was given.
30216 if test "${with_libiconv_prefix+set}" = set; then :
30217   withval=$with_libiconv_prefix;
30218     for dir in `echo "$withval" | tr : ' '`; do
30219       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30220       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30221     done
30222
30223 fi
30224
30225
30226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30227 $as_echo_n "checking for iconv... " >&6; }
30228 if ${am_cv_func_iconv+:} false; then :
30229   $as_echo_n "(cached) " >&6
30230 else
30231
30232     am_cv_func_iconv="no, consider installing GNU libiconv"
30233     am_cv_lib_iconv=no
30234     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h.  */
30236 #include <stdlib.h>
30237 #include <iconv.h>
30238 int
30239 main ()
30240 {
30241 iconv_t cd = iconv_open("","");
30242        iconv(cd,NULL,NULL,NULL,NULL);
30243        iconv_close(cd);
30244   ;
30245   return 0;
30246 }
30247 _ACEOF
30248 if ac_fn_c_try_link "$LINENO"; then :
30249   am_cv_func_iconv=yes
30250 fi
30251 rm -f core conftest.err conftest.$ac_objext \
30252     conftest$ac_exeext conftest.$ac_ext
30253     if test "$am_cv_func_iconv" != yes; then
30254       am_save_LIBS="$LIBS"
30255       LIBS="$LIBS -liconv"
30256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30257 /* end confdefs.h.  */
30258 #include <stdlib.h>
30259 #include <iconv.h>
30260 int
30261 main ()
30262 {
30263 iconv_t cd = iconv_open("","");
30264          iconv(cd,NULL,NULL,NULL,NULL);
30265          iconv_close(cd);
30266   ;
30267   return 0;
30268 }
30269 _ACEOF
30270 if ac_fn_c_try_link "$LINENO"; then :
30271   am_cv_lib_iconv=yes
30272         am_cv_func_iconv=yes
30273 fi
30274 rm -f core conftest.err conftest.$ac_objext \
30275     conftest$ac_exeext conftest.$ac_ext
30276       LIBS="$am_save_LIBS"
30277     fi
30278
30279 fi
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30281 $as_echo "$am_cv_func_iconv" >&6; }
30282   if test "$am_cv_func_iconv" = yes; then
30283
30284 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30285
30286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30287 $as_echo_n "checking if iconv needs const... " >&6; }
30288 if ${wx_cv_func_iconv_const+:} false; then :
30289   $as_echo_n "(cached) " >&6
30290 else
30291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30292 /* end confdefs.h.  */
30293
30294 #include <stdlib.h>
30295 #include <iconv.h>
30296 extern
30297 #ifdef __cplusplus
30298 "C"
30299 #endif
30300 #if defined(__STDC__) || defined(__cplusplus)
30301 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30302 #else
30303 size_t iconv();
30304 #endif
30305
30306 int
30307 main ()
30308 {
30309
30310   ;
30311   return 0;
30312 }
30313 _ACEOF
30314 if ac_fn_c_try_compile "$LINENO"; then :
30315   wx_cv_func_iconv_const="no"
30316 else
30317   wx_cv_func_iconv_const="yes"
30318
30319 fi
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321
30322 fi
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30324 $as_echo "$wx_cv_func_iconv_const" >&6; }
30325
30326     iconv_const=
30327     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30328         iconv_const="const"
30329     fi
30330
30331
30332 cat >>confdefs.h <<_ACEOF
30333 #define ICONV_CONST $iconv_const
30334 _ACEOF
30335
30336   fi
30337   LIBICONV=
30338   if test "$am_cv_lib_iconv" = yes; then
30339     LIBICONV="-liconv"
30340   fi
30341
30342
30343     LIBS="$LIBICONV $LIBS"
30344 fi
30345
30346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30347     for ac_func in sigaction
30348 do :
30349   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30350 if test "x$ac_cv_func_sigaction" = xyes; then :
30351   cat >>confdefs.h <<_ACEOF
30352 #define HAVE_SIGACTION 1
30353 _ACEOF
30354
30355 fi
30356 done
30357
30358
30359     if test "$ac_cv_func_sigaction" = "no"; then
30360         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30361 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30362         wxUSE_ON_FATAL_EXCEPTION=no
30363     fi
30364
30365     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30366       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30367 $as_echo_n "checking for sa_handler type... " >&6; }
30368 if ${wx_cv_type_sa_handler+:} false; then :
30369   $as_echo_n "(cached) " >&6
30370 else
30371
30372                 ac_ext=cpp
30373 ac_cpp='$CXXCPP $CPPFLAGS'
30374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30377
30378         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30379 /* end confdefs.h.  */
30380 #include <signal.h>
30381 int
30382 main ()
30383 {
30384
30385                         extern void testSigHandler(int);
30386
30387                         struct sigaction sa;
30388                         sa.sa_handler = testSigHandler;
30389
30390   ;
30391   return 0;
30392 }
30393 _ACEOF
30394 if ac_fn_cxx_try_compile "$LINENO"; then :
30395
30396                         wx_cv_type_sa_handler=int
30397
30398 else
30399
30400                         wx_cv_type_sa_handler=void
30401
30402 fi
30403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30404         ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30409
30410
30411 fi
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30413 $as_echo "$wx_cv_type_sa_handler" >&6; }
30414
30415       cat >>confdefs.h <<_ACEOF
30416 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30417 _ACEOF
30418
30419     fi
30420 fi
30421
30422 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30424 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30425 if ${wx_cv_func_backtrace+:} false; then :
30426   $as_echo_n "(cached) " >&6
30427 else
30428
30429             ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h.  */
30437 #include <execinfo.h>
30438 int
30439 main ()
30440 {
30441
30442                     void *trace[1];
30443                     char **messages;
30444
30445                     backtrace(trace, 1);
30446                     messages = backtrace_symbols(trace, 1);
30447
30448   ;
30449   return 0;
30450 }
30451 _ACEOF
30452 if ac_fn_cxx_try_compile "$LINENO"; then :
30453   wx_cv_func_backtrace=yes
30454 else
30455   wx_cv_func_backtrace=no
30456
30457 fi
30458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30459             ac_ext=c
30460 ac_cpp='$CPP $CPPFLAGS'
30461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464
30465
30466
30467 fi
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30469 $as_echo "$wx_cv_func_backtrace" >&6; }
30470
30471
30472     if test "$wx_cv_func_backtrace" = "no"; then
30473         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30474 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30475         wxUSE_STACKWALKER=no
30476     else
30477         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30478 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30479 if ${wx_cv_func_cxa_demangle+:} false; then :
30480   $as_echo_n "(cached) " >&6
30481 else
30482
30483                 ac_ext=cpp
30484 ac_cpp='$CXXCPP $CPPFLAGS'
30485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30488
30489                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30490 /* end confdefs.h.  */
30491 #include <cxxabi.h>
30492 int
30493 main ()
30494 {
30495
30496                         int rc;
30497                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30498
30499   ;
30500   return 0;
30501 }
30502 _ACEOF
30503 if ac_fn_cxx_try_link "$LINENO"; then :
30504   wx_cv_func_cxa_demangle=yes
30505 else
30506   wx_cv_func_cxa_demangle=no
30507
30508 fi
30509 rm -f core conftest.err conftest.$ac_objext \
30510     conftest$ac_exeext conftest.$ac_ext
30511                 ac_ext=c
30512 ac_cpp='$CPP $CPPFLAGS'
30513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30516
30517
30518
30519 fi
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30521 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30522
30523         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30524             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30525
30526         fi
30527     fi
30528 fi
30529
30530 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30531     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30532 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30533     wxUSE_STACKWALKER=no
30534 fi
30535
30536
30537 for ac_func in mkstemp mktemp
30538 do :
30539   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30542   cat >>confdefs.h <<_ACEOF
30543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30544 _ACEOF
30545  break
30546 fi
30547 done
30548
30549
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30551 $as_echo_n "checking for statfs... " >&6; }
30552 if ${wx_cv_func_statfs+:} false; then :
30553   $as_echo_n "(cached) " >&6
30554 else
30555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30556 /* end confdefs.h.  */
30557
30558              #if defined(__BSD__)
30559              #include <sys/param.h>
30560              #include <sys/mount.h>
30561              #else
30562              #include <sys/vfs.h>
30563              #endif
30564
30565 int
30566 main ()
30567 {
30568
30569              long l;
30570              struct statfs fs;
30571              statfs("/", &fs);
30572              l = fs.f_bsize;
30573              l += fs.f_blocks;
30574              l += fs.f_bavail;
30575
30576   ;
30577   return 0;
30578 }
30579 _ACEOF
30580 if ac_fn_c_try_compile "$LINENO"; then :
30581   wx_cv_func_statfs=yes
30582 else
30583   wx_cv_func_statfs=no
30584
30585 fi
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587
30588 fi
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30590 $as_echo "$wx_cv_func_statfs" >&6; }
30591
30592 if test "$wx_cv_func_statfs" = "yes"; then
30593         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30594 $as_echo_n "checking for statfs declaration... " >&6; }
30595 if ${wx_cv_func_statfs_decl+:} false; then :
30596   $as_echo_n "(cached) " >&6
30597 else
30598   ac_ext=cpp
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30603
30604         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30605 /* end confdefs.h.  */
30606
30607                  #if defined(__BSD__)
30608                  #include <sys/param.h>
30609                  #include <sys/mount.h>
30610                  #else
30611                  #include <sys/vfs.h>
30612                  #endif
30613
30614 int
30615 main ()
30616 {
30617
30618                 struct statfs fs;
30619                 statfs("", &fs);
30620
30621   ;
30622   return 0;
30623 }
30624 _ACEOF
30625 if ac_fn_cxx_try_compile "$LINENO"; then :
30626   wx_cv_func_statfs_decl=yes
30627 else
30628   wx_cv_func_statfs_decl=no
30629
30630 fi
30631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30632         ac_ext=c
30633 ac_cpp='$CPP $CPPFLAGS'
30634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30637
30638
30639 fi
30640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30641 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30642
30643     if test "$wx_cv_func_statfs_decl" = "yes"; then
30644         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30645
30646     fi
30647
30648     wx_cv_type_statvfs_t="struct statfs"
30649     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30650
30651 else
30652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30653 $as_echo_n "checking for statvfs... " >&6; }
30654 if ${wx_cv_func_statvfs+:} false; then :
30655   $as_echo_n "(cached) " >&6
30656 else
30657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30658 /* end confdefs.h.  */
30659
30660                 #include <stddef.h>
30661                 #include <sys/statvfs.h>
30662
30663 int
30664 main ()
30665 {
30666
30667                 statvfs("/", NULL);
30668
30669   ;
30670   return 0;
30671 }
30672 _ACEOF
30673 if ac_fn_c_try_compile "$LINENO"; then :
30674   wx_cv_func_statvfs=yes
30675 else
30676   wx_cv_func_statvfs=no
30677
30678 fi
30679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30680
30681 fi
30682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30683 $as_echo "$wx_cv_func_statvfs" >&6; }
30684
30685     if test "$wx_cv_func_statvfs" = "yes"; then
30686                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30687 $as_echo_n "checking for statvfs argument type... " >&6; }
30688 if ${wx_cv_type_statvfs_t+:} false; then :
30689   $as_echo_n "(cached) " >&6
30690 else
30691   ac_ext=cpp
30692 ac_cpp='$CXXCPP $CPPFLAGS'
30693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30696
30697             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30698 /* end confdefs.h.  */
30699
30700                     #include <sys/statvfs.h>
30701
30702 int
30703 main ()
30704 {
30705
30706                     long l;
30707                     statvfs_t fs;
30708                     statvfs("/", &fs);
30709                     l = fs.f_bsize;
30710                     l += fs.f_blocks;
30711                     l += fs.f_bavail;
30712
30713   ;
30714   return 0;
30715 }
30716 _ACEOF
30717 if ac_fn_cxx_try_compile "$LINENO"; then :
30718   wx_cv_type_statvfs_t=statvfs_t
30719 else
30720
30721                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h.  */
30723
30724                             #include <sys/statvfs.h>
30725
30726 int
30727 main ()
30728 {
30729
30730                             long l;
30731                             struct statvfs fs;
30732                             statvfs("/", &fs);
30733                             l = fs.f_bsize;
30734                             l += fs.f_blocks;
30735                             l += fs.f_bavail;
30736
30737   ;
30738   return 0;
30739 }
30740 _ACEOF
30741 if ac_fn_cxx_try_compile "$LINENO"; then :
30742   wx_cv_type_statvfs_t="struct statvfs"
30743 else
30744   wx_cv_type_statvfs_t="unknown"
30745
30746 fi
30747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30748
30749
30750 fi
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752             ac_ext=c
30753 ac_cpp='$CPP $CPPFLAGS'
30754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30757
30758
30759 fi
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30761 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30762
30763         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30764             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30765
30766         fi
30767     else
30768                 wx_cv_type_statvfs_t="unknown"
30769     fi
30770 fi
30771
30772 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30773     cat >>confdefs.h <<_ACEOF
30774 #define WX_STATFS_T $wx_cv_type_statvfs_t
30775 _ACEOF
30776
30777 else
30778     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30779 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30780 fi
30781
30782 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30783     for ac_func in fcntl flock
30784 do :
30785   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30788   cat >>confdefs.h <<_ACEOF
30789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30790 _ACEOF
30791  break
30792 fi
30793 done
30794
30795
30796     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30797         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30798 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30799         wxUSE_SNGLINST_CHECKER=no
30800     fi
30801 fi
30802
30803 for ac_func in setenv putenv
30804 do :
30805   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30807 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30808   cat >>confdefs.h <<_ACEOF
30809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30810 _ACEOF
30811  break
30812 fi
30813 done
30814
30815 if test "$ac_cv_func_setenv" = "yes"; then
30816     for ac_func in unsetenv
30817 do :
30818   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30819 if test "x$ac_cv_func_unsetenv" = xyes; then :
30820   cat >>confdefs.h <<_ACEOF
30821 #define HAVE_UNSETENV 1
30822 _ACEOF
30823
30824 fi
30825 done
30826
30827 fi
30828
30829 HAVE_SOME_SLEEP_FUNC=0
30830 if test "$USE_BEOS" = 1; then
30831             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30832
30833     HAVE_SOME_SLEEP_FUNC=1
30834 fi
30835
30836 if test "$USE_DARWIN" = 1; then
30837             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30838
30839     HAVE_SOME_SLEEP_FUNC=1
30840 fi
30841
30842 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30843         POSIX4_LINK=
30844     for ac_func in nanosleep
30845 do :
30846   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30847 if test "x$ac_cv_func_nanosleep" = xyes; then :
30848   cat >>confdefs.h <<_ACEOF
30849 #define HAVE_NANOSLEEP 1
30850 _ACEOF
30851  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30852
30853 else
30854
30855             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30856 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30857 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30858   $as_echo_n "(cached) " >&6
30859 else
30860   ac_check_lib_save_LIBS=$LIBS
30861 LIBS="-lposix4  $LIBS"
30862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30863 /* end confdefs.h.  */
30864
30865 /* Override any GCC internal prototype to avoid an error.
30866    Use char because int might match the return type of a GCC
30867    builtin and then its argument prototype would still apply.  */
30868 #ifdef __cplusplus
30869 extern "C"
30870 #endif
30871 char nanosleep ();
30872 int
30873 main ()
30874 {
30875 return nanosleep ();
30876   ;
30877   return 0;
30878 }
30879 _ACEOF
30880 if ac_fn_c_try_link "$LINENO"; then :
30881   ac_cv_lib_posix4_nanosleep=yes
30882 else
30883   ac_cv_lib_posix4_nanosleep=no
30884 fi
30885 rm -f core conftest.err conftest.$ac_objext \
30886     conftest$ac_exeext conftest.$ac_ext
30887 LIBS=$ac_check_lib_save_LIBS
30888 fi
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30890 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30891 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30892
30893                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30894
30895                     POSIX4_LINK=" -lposix4"
30896
30897 else
30898
30899
30900   for wx_func in usleep
30901   do
30902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30903 $as_echo_n "checking for $wx_func... " >&6; }
30904 if eval \${wx_cv_func_$wx_func+:} false; then :
30905   $as_echo_n "(cached) " >&6
30906 else
30907
30908         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h.  */
30910
30911
30912
30913                 $ac_includes_default
30914
30915 int
30916 main ()
30917 {
30918
30919                 #ifndef $wx_func
30920                   &$wx_func;
30921                 #endif
30922
30923
30924   ;
30925   return 0;
30926 }
30927
30928 _ACEOF
30929 if ac_fn_c_try_link "$LINENO"; then :
30930   eval wx_cv_func_$wx_func=yes
30931 else
30932   eval wx_cv_func_$wx_func=no
30933 fi
30934 rm -f core conftest.err conftest.$ac_objext \
30935     conftest$ac_exeext conftest.$ac_ext
30936
30937 fi
30938 eval ac_res=\$wx_cv_func_$wx_func
30939                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30940 $as_echo "$ac_res" >&6; }
30941
30942     if eval test \$wx_cv_func_$wx_func = yes
30943     then
30944       cat >>confdefs.h <<_ACEOF
30945 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30946 _ACEOF
30947
30948
30949     else
30950       :
30951       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30952 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30953
30954     fi
30955   done
30956
30957
30958
30959 fi
30960
30961
30962
30963 fi
30964 done
30965
30966 fi
30967
30968
30969   for wx_func in uname
30970   do
30971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30972 $as_echo_n "checking for $wx_func... " >&6; }
30973 if eval \${wx_cv_func_$wx_func+:} false; then :
30974   $as_echo_n "(cached) " >&6
30975 else
30976
30977         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30978 /* end confdefs.h.  */
30979
30980
30981                 #include <sys/utsname.h>
30982                 $ac_includes_default
30983
30984 int
30985 main ()
30986 {
30987
30988                 #ifndef $wx_func
30989                   &$wx_func;
30990                 #endif
30991
30992
30993   ;
30994   return 0;
30995 }
30996
30997 _ACEOF
30998 if ac_fn_c_try_link "$LINENO"; then :
30999   eval wx_cv_func_$wx_func=yes
31000 else
31001   eval wx_cv_func_$wx_func=no
31002 fi
31003 rm -f core conftest.err conftest.$ac_objext \
31004     conftest$ac_exeext conftest.$ac_ext
31005
31006 fi
31007 eval ac_res=\$wx_cv_func_$wx_func
31008                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31009 $as_echo "$ac_res" >&6; }
31010
31011     if eval test \$wx_cv_func_$wx_func = yes
31012     then
31013       cat >>confdefs.h <<_ACEOF
31014 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31015 _ACEOF
31016
31017
31018     else
31019       :
31020
31021     fi
31022   done
31023
31024 if test "$wx_cv_func_uname" != yes; then
31025
31026   for wx_func in gethostname
31027   do
31028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31029 $as_echo_n "checking for $wx_func... " >&6; }
31030 if eval \${wx_cv_func_$wx_func+:} false; then :
31031   $as_echo_n "(cached) " >&6
31032 else
31033
31034         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h.  */
31036
31037
31038
31039                 $ac_includes_default
31040
31041 int
31042 main ()
31043 {
31044
31045                 #ifndef $wx_func
31046                   &$wx_func;
31047                 #endif
31048
31049
31050   ;
31051   return 0;
31052 }
31053
31054 _ACEOF
31055 if ac_fn_c_try_link "$LINENO"; then :
31056   eval wx_cv_func_$wx_func=yes
31057 else
31058   eval wx_cv_func_$wx_func=no
31059 fi
31060 rm -f core conftest.err conftest.$ac_objext \
31061     conftest$ac_exeext conftest.$ac_ext
31062
31063 fi
31064 eval ac_res=\$wx_cv_func_$wx_func
31065                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31066 $as_echo "$ac_res" >&6; }
31067
31068     if eval test \$wx_cv_func_$wx_func = yes
31069     then
31070       cat >>confdefs.h <<_ACEOF
31071 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31072 _ACEOF
31073
31074
31075     else
31076       :
31077
31078     fi
31079   done
31080
31081 fi
31082
31083
31084   for wx_func in strtok_r
31085   do
31086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31087 $as_echo_n "checking for $wx_func... " >&6; }
31088 if eval \${wx_cv_func_$wx_func+:} false; then :
31089   $as_echo_n "(cached) " >&6
31090 else
31091
31092         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h.  */
31094
31095
31096                 #define _REENTRANT
31097                 $ac_includes_default
31098
31099 int
31100 main ()
31101 {
31102
31103                 #ifndef $wx_func
31104                   &$wx_func;
31105                 #endif
31106
31107
31108   ;
31109   return 0;
31110 }
31111
31112 _ACEOF
31113 if ac_fn_c_try_link "$LINENO"; then :
31114   eval wx_cv_func_$wx_func=yes
31115 else
31116   eval wx_cv_func_$wx_func=no
31117 fi
31118 rm -f core conftest.err conftest.$ac_objext \
31119     conftest$ac_exeext conftest.$ac_ext
31120
31121 fi
31122 eval ac_res=\$wx_cv_func_$wx_func
31123                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31124 $as_echo "$ac_res" >&6; }
31125
31126     if eval test \$wx_cv_func_$wx_func = yes
31127     then
31128       cat >>confdefs.h <<_ACEOF
31129 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31130 _ACEOF
31131
31132
31133     else
31134       :
31135
31136     fi
31137   done
31138
31139
31140 INET_LINK=
31141 for ac_func in inet_addr
31142 do :
31143   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31144 if test "x$ac_cv_func_inet_addr" = xyes; then :
31145   cat >>confdefs.h <<_ACEOF
31146 #define HAVE_INET_ADDR 1
31147 _ACEOF
31148  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31149
31150 else
31151
31152         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31153 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31154 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31155   $as_echo_n "(cached) " >&6
31156 else
31157   ac_check_lib_save_LIBS=$LIBS
31158 LIBS="-lnsl  $LIBS"
31159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h.  */
31161
31162 /* Override any GCC internal prototype to avoid an error.
31163    Use char because int might match the return type of a GCC
31164    builtin and then its argument prototype would still apply.  */
31165 #ifdef __cplusplus
31166 extern "C"
31167 #endif
31168 char inet_addr ();
31169 int
31170 main ()
31171 {
31172 return inet_addr ();
31173   ;
31174   return 0;
31175 }
31176 _ACEOF
31177 if ac_fn_c_try_link "$LINENO"; then :
31178   ac_cv_lib_nsl_inet_addr=yes
31179 else
31180   ac_cv_lib_nsl_inet_addr=no
31181 fi
31182 rm -f core conftest.err conftest.$ac_objext \
31183     conftest$ac_exeext conftest.$ac_ext
31184 LIBS=$ac_check_lib_save_LIBS
31185 fi
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31187 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31188 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31189   INET_LINK="nsl"
31190 else
31191
31192                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31193 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31194 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31195   $as_echo_n "(cached) " >&6
31196 else
31197   ac_check_lib_save_LIBS=$LIBS
31198 LIBS="-lresolv  $LIBS"
31199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31200 /* end confdefs.h.  */
31201
31202 /* Override any GCC internal prototype to avoid an error.
31203    Use char because int might match the return type of a GCC
31204    builtin and then its argument prototype would still apply.  */
31205 #ifdef __cplusplus
31206 extern "C"
31207 #endif
31208 char inet_addr ();
31209 int
31210 main ()
31211 {
31212 return inet_addr ();
31213   ;
31214   return 0;
31215 }
31216 _ACEOF
31217 if ac_fn_c_try_link "$LINENO"; then :
31218   ac_cv_lib_resolv_inet_addr=yes
31219 else
31220   ac_cv_lib_resolv_inet_addr=no
31221 fi
31222 rm -f core conftest.err conftest.$ac_objext \
31223     conftest$ac_exeext conftest.$ac_ext
31224 LIBS=$ac_check_lib_save_LIBS
31225 fi
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31227 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31228 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31229   INET_LINK="resolv"
31230 else
31231
31232                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31233 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31234 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31235   $as_echo_n "(cached) " >&6
31236 else
31237   ac_check_lib_save_LIBS=$LIBS
31238 LIBS="-lsocket  $LIBS"
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h.  */
31241
31242 /* Override any GCC internal prototype to avoid an error.
31243    Use char because int might match the return type of a GCC
31244    builtin and then its argument prototype would still apply.  */
31245 #ifdef __cplusplus
31246 extern "C"
31247 #endif
31248 char inet_addr ();
31249 int
31250 main ()
31251 {
31252 return inet_addr ();
31253   ;
31254   return 0;
31255 }
31256 _ACEOF
31257 if ac_fn_c_try_link "$LINENO"; then :
31258   ac_cv_lib_socket_inet_addr=yes
31259 else
31260   ac_cv_lib_socket_inet_addr=no
31261 fi
31262 rm -f core conftest.err conftest.$ac_objext \
31263     conftest$ac_exeext conftest.$ac_ext
31264 LIBS=$ac_check_lib_save_LIBS
31265 fi
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31267 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31268 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31269   INET_LINK="socket"
31270
31271 fi
31272
31273
31274
31275 fi
31276
31277
31278
31279 fi
31280
31281
31282
31283 fi
31284 done
31285
31286
31287 for ac_func in inet_aton
31288 do :
31289   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31290 if test "x$ac_cv_func_inet_aton" = xyes; then :
31291   cat >>confdefs.h <<_ACEOF
31292 #define HAVE_INET_ATON 1
31293 _ACEOF
31294  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31295
31296 else
31297
31298                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31300 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31301 if eval \${$as_ac_Lib+:} false; then :
31302   $as_echo_n "(cached) " >&6
31303 else
31304   ac_check_lib_save_LIBS=$LIBS
31305 LIBS="-l$INET_LINK  $LIBS"
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h.  */
31308
31309 /* Override any GCC internal prototype to avoid an error.
31310    Use char because int might match the return type of a GCC
31311    builtin and then its argument prototype would still apply.  */
31312 #ifdef __cplusplus
31313 extern "C"
31314 #endif
31315 char inet_aton ();
31316 int
31317 main ()
31318 {
31319 return inet_aton ();
31320   ;
31321   return 0;
31322 }
31323 _ACEOF
31324 if ac_fn_c_try_link "$LINENO"; then :
31325   eval "$as_ac_Lib=yes"
31326 else
31327   eval "$as_ac_Lib=no"
31328 fi
31329 rm -f core conftest.err conftest.$ac_objext \
31330     conftest$ac_exeext conftest.$ac_ext
31331 LIBS=$ac_check_lib_save_LIBS
31332 fi
31333 eval ac_res=\$$as_ac_Lib
31334                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31335 $as_echo "$ac_res" >&6; }
31336 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31337   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31338
31339 fi
31340
31341
31342 fi
31343 done
31344
31345
31346 if test "x$INET_LINK" != "x"; then
31347     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31348
31349     INET_LINK=" -l$INET_LINK"
31350 fi
31351
31352
31353   for wx_func in fdopen
31354   do
31355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31356 $as_echo_n "checking for $wx_func... " >&6; }
31357 if eval \${wx_cv_func_$wx_func+:} false; then :
31358   $as_echo_n "(cached) " >&6
31359 else
31360
31361         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h.  */
31363
31364
31365
31366                 $ac_includes_default
31367
31368 int
31369 main ()
31370 {
31371
31372                 #ifndef $wx_func
31373                   &$wx_func;
31374                 #endif
31375
31376
31377   ;
31378   return 0;
31379 }
31380
31381 _ACEOF
31382 if ac_fn_c_try_link "$LINENO"; then :
31383   eval wx_cv_func_$wx_func=yes
31384 else
31385   eval wx_cv_func_$wx_func=no
31386 fi
31387 rm -f core conftest.err conftest.$ac_objext \
31388     conftest$ac_exeext conftest.$ac_ext
31389
31390 fi
31391 eval ac_res=\$wx_cv_func_$wx_func
31392                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31393 $as_echo "$ac_res" >&6; }
31394
31395     if eval test \$wx_cv_func_$wx_func = yes
31396     then
31397       cat >>confdefs.h <<_ACEOF
31398 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31399 _ACEOF
31400
31401
31402     else
31403       :
31404
31405     fi
31406   done
31407
31408
31409 if test "$wxUSE_TARSTREAM" = "yes"; then
31410
31411   for wx_func in sysconf
31412   do
31413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31414 $as_echo_n "checking for $wx_func... " >&6; }
31415 if eval \${wx_cv_func_$wx_func+:} false; then :
31416   $as_echo_n "(cached) " >&6
31417 else
31418
31419         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h.  */
31421
31422
31423
31424                 $ac_includes_default
31425
31426 int
31427 main ()
31428 {
31429
31430                 #ifndef $wx_func
31431                   &$wx_func;
31432                 #endif
31433
31434
31435   ;
31436   return 0;
31437 }
31438
31439 _ACEOF
31440 if ac_fn_c_try_link "$LINENO"; then :
31441   eval wx_cv_func_$wx_func=yes
31442 else
31443   eval wx_cv_func_$wx_func=no
31444 fi
31445 rm -f core conftest.err conftest.$ac_objext \
31446     conftest$ac_exeext conftest.$ac_ext
31447
31448 fi
31449 eval ac_res=\$wx_cv_func_$wx_func
31450                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31451 $as_echo "$ac_res" >&6; }
31452
31453     if eval test \$wx_cv_func_$wx_func = yes
31454     then
31455       cat >>confdefs.h <<_ACEOF
31456 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31457 _ACEOF
31458
31459
31460     else
31461       :
31462
31463     fi
31464   done
31465
31466
31467
31468   for wx_func in getpwuid_r
31469   do
31470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31471 $as_echo_n "checking for $wx_func... " >&6; }
31472 if eval \${wx_cv_func_$wx_func+:} false; then :
31473   $as_echo_n "(cached) " >&6
31474 else
31475
31476         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31477 /* end confdefs.h.  */
31478
31479
31480
31481                     #define _REENTRANT
31482                     #include <pwd.h>
31483
31484                 $ac_includes_default
31485
31486 int
31487 main ()
31488 {
31489
31490                 #ifndef $wx_func
31491                   &$wx_func;
31492                 #endif
31493
31494                     struct passwd pw, *ppw;
31495                     char buf[1024];
31496                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31497
31498
31499   ;
31500   return 0;
31501 }
31502
31503 _ACEOF
31504 if ac_fn_c_try_link "$LINENO"; then :
31505   eval wx_cv_func_$wx_func=yes
31506 else
31507   eval wx_cv_func_$wx_func=no
31508 fi
31509 rm -f core conftest.err conftest.$ac_objext \
31510     conftest$ac_exeext conftest.$ac_ext
31511
31512 fi
31513 eval ac_res=\$wx_cv_func_$wx_func
31514                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31515 $as_echo "$ac_res" >&6; }
31516
31517     if eval test \$wx_cv_func_$wx_func = yes
31518     then
31519       cat >>confdefs.h <<_ACEOF
31520 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31521 _ACEOF
31522
31523
31524     else
31525       :
31526
31527     fi
31528   done
31529
31530
31531
31532   for wx_func in getgrgid_r
31533   do
31534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31535 $as_echo_n "checking for $wx_func... " >&6; }
31536 if eval \${wx_cv_func_$wx_func+:} false; then :
31537   $as_echo_n "(cached) " >&6
31538 else
31539
31540         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h.  */
31542
31543
31544
31545                     #define _REENTRANT
31546                     #include <grp.h>
31547
31548                 $ac_includes_default
31549
31550 int
31551 main ()
31552 {
31553
31554                 #ifndef $wx_func
31555                   &$wx_func;
31556                 #endif
31557
31558                     struct group grp, *pgrp;
31559                     char buf[1024];
31560                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31561
31562
31563   ;
31564   return 0;
31565 }
31566
31567 _ACEOF
31568 if ac_fn_c_try_link "$LINENO"; then :
31569   eval wx_cv_func_$wx_func=yes
31570 else
31571   eval wx_cv_func_$wx_func=no
31572 fi
31573 rm -f core conftest.err conftest.$ac_objext \
31574     conftest$ac_exeext conftest.$ac_ext
31575
31576 fi
31577 eval ac_res=\$wx_cv_func_$wx_func
31578                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31579 $as_echo "$ac_res" >&6; }
31580
31581     if eval test \$wx_cv_func_$wx_func = yes
31582     then
31583       cat >>confdefs.h <<_ACEOF
31584 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31585 _ACEOF
31586
31587
31588     else
31589       :
31590
31591     fi
31592   done
31593
31594 fi
31595
31596 fi
31597
31598
31599
31600 cat >confcache <<\_ACEOF
31601 # This file is a shell script that caches the results of configure
31602 # tests run on this system so they can be shared between configure
31603 # scripts and configure runs, see configure's option --config-cache.
31604 # It is not useful on other systems.  If it contains results you don't
31605 # want to keep, you may remove or edit it.
31606 #
31607 # config.status only pays attention to the cache file if you give it
31608 # the --recheck option to rerun configure.
31609 #
31610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31612 # following values.
31613
31614 _ACEOF
31615
31616 # The following way of writing the cache mishandles newlines in values,
31617 # but we know of no workaround that is simple, portable, and efficient.
31618 # So, we kill variables containing newlines.
31619 # Ultrix sh set writes to stderr and can't be redirected directly,
31620 # and sets the high bit in the cache file unless we assign to the vars.
31621 (
31622   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31623     eval ac_val=\$$ac_var
31624     case $ac_val in #(
31625     *${as_nl}*)
31626       case $ac_var in #(
31627       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31628 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31629       esac
31630       case $ac_var in #(
31631       _ | IFS | as_nl) ;; #(
31632       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31633       *) { eval $ac_var=; unset $ac_var;} ;;
31634       esac ;;
31635     esac
31636   done
31637
31638   (set) 2>&1 |
31639     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31640     *${as_nl}ac_space=\ *)
31641       # `set' does not quote correctly, so add quotes: double-quote
31642       # substitution turns \\\\ into \\, and sed turns \\ into \.
31643       sed -n \
31644         "s/'/'\\\\''/g;
31645           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31646       ;; #(
31647     *)
31648       # `set' quotes correctly as required by POSIX, so do not add quotes.
31649       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31650       ;;
31651     esac |
31652     sort
31653 ) |
31654   sed '
31655      /^ac_cv_env_/b end
31656      t clear
31657      :clear
31658      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31659      t end
31660      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31661      :end' >>confcache
31662 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31663   if test -w "$cache_file"; then
31664     if test "x$cache_file" != "x/dev/null"; then
31665       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31666 $as_echo "$as_me: updating cache $cache_file" >&6;}
31667       if test ! -f "$cache_file" || test -h "$cache_file"; then
31668         cat confcache >"$cache_file"
31669       else
31670         case $cache_file in #(
31671         */* | ?:*)
31672           mv -f confcache "$cache_file"$$ &&
31673           mv -f "$cache_file"$$ "$cache_file" ;; #(
31674         *)
31675           mv -f confcache "$cache_file" ;;
31676         esac
31677       fi
31678     fi
31679   else
31680     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31681 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31682   fi
31683 fi
31684 rm -f confcache
31685
31686
31687 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31688
31689
31690     THREADS_LINK=
31691     THREADS_CFLAGS=
31692
31693     if test "$wxUSE_THREADS" = "yes" ; then
31694         if test "$USE_BEOS" = 1; then
31695             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31696 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31697             wxUSE_THREADS="no"
31698         fi
31699     fi
31700
31701     if test "$wxUSE_THREADS" = "yes" ; then
31702
31703
31704                                 THREAD_OPTS="-pthread"
31705         if test "x$SUNCXX" = xyes; then
31706             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31707         fi
31708
31709         case "${host}" in
31710           *-*-solaris2* | *-*-sunos4* )
31711                 if test "x$GCC" = "xyes"; then
31712                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31713                 fi
31714                 ;;
31715           *-*-freebsd*)
31716                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31717                 ;;
31718           *-*-darwin* | *-*-cygwin* )
31719                                                 THREAD_OPTS=""
31720                 ;;
31721           *-*-aix*)
31722                                 THREAD_OPTS="pthreads"
31723                 ;;
31724           *-hp-hpux* )
31725                 if test "x$GCC" = "xyes"; then
31726                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31727                         THREAD_OPTS=""
31728                 else
31729                                                             THREAD_OPTS="-mt"
31730                 fi
31731                 ;;
31732
31733           *-*-irix* )
31734                                                                 if test "x$GCC" = "xyes"; then
31735                     THREAD_OPTS=""
31736                 fi
31737                 ;;
31738
31739           *-*-qnx*)
31740                                                 THREAD_OPTS=""
31741                 ;;
31742
31743           *-*-*UnixWare*)
31744                                 if test "x$GCC" != "xyes"; then
31745                     THREAD_OPTS="-Ethread"
31746                 fi
31747                 ;;
31748         esac
31749
31750         case "${host}" in
31751             *-*-qnx*)
31752                                                                 THREAD_OPTS="none pthread"
31753                 ;;
31754
31755             *)
31756                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31757                 ;;
31758         esac
31759
31760                 THREADS_OK=no
31761         for flag in $THREAD_OPTS; do
31762             case $flag in
31763                 none)
31764                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31765 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31766                     ;;
31767
31768                 -*)
31769                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31770 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31771                     THREADS_CFLAGS="$flag"
31772                     ;;
31773
31774                 *)
31775                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31776 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31777                     THREADS_LINK="-l$flag"
31778                     ;;
31779               esac
31780
31781               save_LIBS="$LIBS"
31782               save_CFLAGS="$CFLAGS"
31783               LIBS="$THREADS_LINK $LIBS"
31784               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31785
31786               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31787 /* end confdefs.h.  */
31788 #include <pthread.h>
31789 int
31790 main ()
31791 {
31792 pthread_create(0,0,0,0);
31793   ;
31794   return 0;
31795 }
31796 _ACEOF
31797 if ac_fn_c_try_link "$LINENO"; then :
31798   THREADS_OK=yes
31799 fi
31800 rm -f core conftest.err conftest.$ac_objext \
31801     conftest$ac_exeext conftest.$ac_ext
31802
31803               LIBS="$save_LIBS"
31804               CFLAGS="$save_CFLAGS"
31805
31806               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31807 $as_echo "$THREADS_OK" >&6; }
31808               if test "x$THREADS_OK" = "xyes"; then
31809                       break;
31810               fi
31811
31812               THREADS_LINK=""
31813               THREADS_CFLAGS=""
31814       done
31815
31816       if test "x$THREADS_OK" != "xyes"; then
31817           wxUSE_THREADS=no
31818           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31819 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31820       else
31821                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31822           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31823           LIBS="$THREADS_LINK $LIBS"
31824
31825           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31826 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31827           flag=no
31828           case "${host}" in
31829             *-aix*)
31830                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31831                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31832                 flag="-D_THREAD_SAFE"
31833                 ;;
31834             *-freebsd*)
31835                 flag="-D_THREAD_SAFE"
31836                 ;;
31837             *-hp-hpux* )
31838                 flag="-D_REENTRANT"
31839                 if test "x$GCC" != "xyes"; then
31840                                         flag="$flag -D_RWSTD_MULTI_THREAD"
31841                 fi
31842                 ;;
31843             *solaris* | alpha*-osf*)
31844                 flag="-D_REENTRANT"
31845                 ;;
31846           esac
31847           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31848 $as_echo "${flag}" >&6; }
31849           if test "x$flag" != xno; then
31850               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31851           fi
31852
31853                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31854       fi
31855     fi
31856
31857         if test "$wxUSE_THREADS" = "yes" ; then
31858         for ac_func in pthread_setconcurrency
31859 do :
31860   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31861 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31862   cat >>confdefs.h <<_ACEOF
31863 #define HAVE_PTHREAD_SETCONCURRENCY 1
31864 _ACEOF
31865  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31866
31867 else
31868
31869                 for ac_func in thr_setconcurrency
31870 do :
31871   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31872 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31873   cat >>confdefs.h <<_ACEOF
31874 #define HAVE_THR_SETCONCURRENCY 1
31875 _ACEOF
31876  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31877
31878 else
31879   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31880 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31881 fi
31882 done
31883
31884
31885 fi
31886 done
31887
31888
31889                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31890 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31891 if ${wx_cv_func_pthread_cleanup+:} false; then :
31892   $as_echo_n "(cached) " >&6
31893 else
31894
31895                                 ac_ext=cpp
31896 ac_cpp='$CXXCPP $CPPFLAGS'
31897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31900
31901         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31902 /* end confdefs.h.  */
31903 #include <pthread.h>
31904                void ThreadCleanupFunc(void *p);
31905
31906 int
31907 main ()
31908 {
31909
31910                 void *p;
31911                 pthread_cleanup_push(ThreadCleanupFunc, p);
31912                 pthread_cleanup_pop(0);
31913
31914   ;
31915   return 0;
31916 }
31917 _ACEOF
31918 if ac_fn_cxx_try_compile "$LINENO"; then :
31919
31920                wx_cv_func_pthread_cleanup=yes
31921
31922 else
31923
31924                wx_cv_func_pthread_cleanup=no
31925
31926
31927 fi
31928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31929         ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31934
31935
31936 fi
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31938 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31939       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31940         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31941
31942       fi
31943
31944       for ac_header in sched.h
31945 do :
31946   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31947 "
31948 if test "x$ac_cv_header_sched_h" = xyes; then :
31949   cat >>confdefs.h <<_ACEOF
31950 #define HAVE_SCHED_H 1
31951 _ACEOF
31952
31953 fi
31954
31955 done
31956
31957       if test "$ac_cv_header_sched_h" = "yes"; then
31958           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31959 if test "x$ac_cv_func_sched_yield" = xyes; then :
31960   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31961
31962 else
31963
31964                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31965 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31966 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31967   $as_echo_n "(cached) " >&6
31968 else
31969   ac_check_lib_save_LIBS=$LIBS
31970 LIBS="-lposix4  $LIBS"
31971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31972 /* end confdefs.h.  */
31973
31974 /* Override any GCC internal prototype to avoid an error.
31975    Use char because int might match the return type of a GCC
31976    builtin and then its argument prototype would still apply.  */
31977 #ifdef __cplusplus
31978 extern "C"
31979 #endif
31980 char sched_yield ();
31981 int
31982 main ()
31983 {
31984 return sched_yield ();
31985   ;
31986   return 0;
31987 }
31988 _ACEOF
31989 if ac_fn_c_try_link "$LINENO"; then :
31990   ac_cv_lib_posix4_sched_yield=yes
31991 else
31992   ac_cv_lib_posix4_sched_yield=no
31993 fi
31994 rm -f core conftest.err conftest.$ac_objext \
31995     conftest$ac_exeext conftest.$ac_ext
31996 LIBS=$ac_check_lib_save_LIBS
31997 fi
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31999 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32000 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32001   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32002  POSIX4_LINK=" -lposix4"
32003 else
32004   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32005 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32006
32007 fi
32008
32009
32010
32011 fi
32012
32013       fi
32014
32015                                           HAVE_PRIOR_FUNCS=0
32016       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32017 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32018   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32019 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32020   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32021 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32022   HAVE_PRIOR_FUNCS=1
32023 else
32024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32025 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32026 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32027   $as_echo_n "(cached) " >&6
32028 else
32029   ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-lposix4  $LIBS"
32031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32032 /* end confdefs.h.  */
32033
32034 /* Override any GCC internal prototype to avoid an error.
32035    Use char because int might match the return type of a GCC
32036    builtin and then its argument prototype would still apply.  */
32037 #ifdef __cplusplus
32038 extern "C"
32039 #endif
32040 char sched_get_priority_max ();
32041 int
32042 main ()
32043 {
32044 return sched_get_priority_max ();
32045   ;
32046   return 0;
32047 }
32048 _ACEOF
32049 if ac_fn_c_try_link "$LINENO"; then :
32050   ac_cv_lib_posix4_sched_get_priority_max=yes
32051 else
32052   ac_cv_lib_posix4_sched_get_priority_max=no
32053 fi
32054 rm -f core conftest.err conftest.$ac_objext \
32055     conftest$ac_exeext conftest.$ac_ext
32056 LIBS=$ac_check_lib_save_LIBS
32057 fi
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32059 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32060 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32061
32062                                 HAVE_PRIOR_FUNCS=1
32063                                 POSIX4_LINK=" -lposix4"
32064
32065 fi
32066
32067
32068 fi
32069
32070
32071 fi
32072
32073
32074 fi
32075
32076
32077       if test "$HAVE_PRIOR_FUNCS" = 1; then
32078         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32079
32080       else
32081         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32082 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32083       fi
32084
32085       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32086 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32087   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32088
32089 else
32090   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32091 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32092 fi
32093
32094
32095       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32096 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32097   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32098
32099 else
32100   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32101 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32102 fi
32103
32104
32105       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32106 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32107   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32108
32109 fi
32110
32111
32112
32113       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32114 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32115 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32116   $as_echo_n "(cached) " >&6
32117 else
32118
32119         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h.  */
32121 #include <pthread.h>
32122 int
32123 main ()
32124 {
32125
32126                pthread_mutexattr_t attr;
32127                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32128
32129   ;
32130   return 0;
32131 }
32132 _ACEOF
32133 if ac_fn_c_try_compile "$LINENO"; then :
32134   wx_cv_type_pthread_mutexattr_t=yes
32135 else
32136   wx_cv_type_pthread_mutexattr_t=no
32137
32138 fi
32139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32140
32141 fi
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32143 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32144
32145       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32146         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32147
32148
32149                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32150 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32151 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32152   $as_echo_n "(cached) " >&6
32153 else
32154
32155                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32156 /* end confdefs.h.  */
32157 #include <pthread.h>
32158 int
32159 main ()
32160 {
32161
32162                                pthread_mutexattr_t attr;
32163                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32164
32165   ;
32166   return 0;
32167 }
32168 _ACEOF
32169 if ac_fn_c_try_compile "$LINENO"; then :
32170   wx_cv_func_pthread_mutexattr_settype_decl=yes
32171 else
32172   wx_cv_func_pthread_mutexattr_settype_decl=no
32173
32174 fi
32175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32176
32177 fi
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32179 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32180         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32181             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32182
32183         fi
32184       else
32185                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32186 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32187 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32188   $as_echo_n "(cached) " >&6
32189 else
32190
32191             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32192 /* end confdefs.h.  */
32193 #include <pthread.h>
32194 int
32195 main ()
32196 {
32197
32198                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32199
32200   ;
32201   return 0;
32202 }
32203 _ACEOF
32204 if ac_fn_c_try_compile "$LINENO"; then :
32205
32206                     wx_cv_type_pthread_rec_mutex_init=yes
32207
32208 else
32209
32210                     wx_cv_type_pthread_rec_mutex_init=no
32211
32212
32213 fi
32214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32215
32216 fi
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32218 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32219         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32220           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32221
32222         else
32223                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32224 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32225         fi
32226       fi
32227
32228       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32229           if test "$USE_NETBSD" = 1; then
32230               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32231 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32232               wxUSE_COMPILER_TLS=no
32233           else
32234               wxUSE_COMPILER_TLS=yes
32235           fi
32236       fi
32237
32238       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32239                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32240 $as_echo_n "checking for __thread keyword... " >&6; }
32241 if ${wx_cv_cc___thread+:} false; then :
32242   $as_echo_n "(cached) " >&6
32243 else
32244
32245                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32246 /* end confdefs.h.  */
32247 #include <pthread.h>
32248 int
32249 main ()
32250 {
32251
32252                           static __thread int n = 0;
32253                           static __thread int *p = 0;
32254
32255   ;
32256   return 0;
32257 }
32258 _ACEOF
32259 if ac_fn_c_try_compile "$LINENO"; then :
32260   wx_cv_cc___thread=yes
32261 else
32262   wx_cv_cc___thread=no
32263
32264 fi
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266
32267
32268 fi
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32270 $as_echo "$wx_cv_cc___thread" >&6; }
32271
32272           if test "$wx_cv_cc___thread" = "yes"; then
32273
32274   GXX_VERSION=""
32275
32276
32277
32278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32279 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32280
32281   if  test "x$GCC" = "xyes" ; then :
32282
32283     if  test -z "" ; then :
32284
32285       ax_gcc_option_test="int main()
32286 {
32287         return 0;
32288 }"
32289
32290 else
32291
32292       ax_gcc_option_test=""
32293
32294 fi
32295
32296     # Dump the test program to file
32297     cat <<EOF > conftest.c
32298 $ax_gcc_option_test
32299 EOF
32300
32301     # Dump back the file to the log, useful for debugging purposes
32302     { ac_try='cat conftest.c 1>&5'
32303   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32304   (eval $ac_try) 2>&5
32305   ac_status=$?
32306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32307   test $ac_status = 0; }; }
32308
32309     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32310   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32311   (eval $ac_try) 2>&5
32312   ac_status=$?
32313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32314   test $ac_status = 0; }; } ; then :
32315
32316                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32317 $as_echo "yes" >&6; }
32318
32319     ax_gcc_version_option=yes
32320
32321
32322 else
32323
32324                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32325 $as_echo "no" >&6; }
32326
32327     ax_gcc_version_option=no
32328
32329
32330 fi
32331
32332 else
32333
32334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32335 $as_echo "no gcc available" >&6; }
32336
32337 fi
32338
32339   if test "x$GXX" = "xyes"; then :
32340
32341     if test "x$ax_gxx_version_option" != "no"; then :
32342
32343       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32344 $as_echo_n "checking gxx version... " >&6; }
32345 if ${ax_cv_gxx_version+:} false; then :
32346   $as_echo_n "(cached) " >&6
32347 else
32348
32349         ax_cv_gxx_version="`$CXX -dumpversion`"
32350         if test "x$ax_cv_gxx_version" = "x"; then :
32351
32352           ax_cv_gxx_version=""
32353
32354 fi
32355
32356 fi
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32358 $as_echo "$ax_cv_gxx_version" >&6; }
32359       GXX_VERSION=$ax_cv_gxx_version
32360
32361 fi
32362
32363 fi
32364
32365
32366               if test -n "$ax_cv_gxx_version"; then
32367                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32368 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32369                   case "$ax_cv_gxx_version" in
32370                     1.* | 2.* | 3.* )
32371                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32372 $as_echo "no, it's broken" >&6; }
32373                         wx_cv_cc___thread=no
32374                         ;;
32375                     *)
32376                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32377 $as_echo "yes, it works" >&6; }
32378                         ;;
32379                   esac
32380               fi
32381           fi
32382
32383           if test "$wx_cv_cc___thread" = "yes"; then
32384             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32385
32386           fi
32387         fi
32388     fi
32389
32390 else
32391     if test "$wxUSE_THREADS" = "yes" ; then
32392       case "${host}" in
32393         x86_64-*-mingw32* )
32394         ;;
32395         *-*-mingw32* )
32396                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32397 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32398 if ${wx_cv_cflags_mthread+:} false; then :
32399   $as_echo_n "(cached) " >&6
32400 else
32401
32402                     CFLAGS_OLD="$CFLAGS"
32403                     CFLAGS="-mthreads $CFLAGS"
32404                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32405 /* end confdefs.h.  */
32406
32407 int
32408 main ()
32409 {
32410
32411   ;
32412   return 0;
32413 }
32414 _ACEOF
32415 if ac_fn_c_try_compile "$LINENO"; then :
32416   wx_cv_cflags_mthread=yes
32417 else
32418   wx_cv_cflags_mthread=no
32419
32420 fi
32421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32422
32423
32424 fi
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32426 $as_echo "$wx_cv_cflags_mthread" >&6; }
32427
32428             if test "$wx_cv_cflags_mthread" = "yes"; then
32429                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32430                 LDFLAGS="$LDFLAGS -mthreads"
32431             else
32432                                 CFLAGS="$CFLAGS_OLD"
32433             fi
32434         ;;
32435         *-pc-os2*emx )
32436             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32437             LDFLAGS="$LDFLAGS -Zmt"
32438         ;;
32439       esac
32440     fi
32441 fi
32442
32443 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32444 if test "x$ac_cv_func_localtime_r" = xyes; then :
32445    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32446
32447 fi
32448
32449 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32450 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32451    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32452
32453 fi
32454
32455
32456
32457
32458     ac_ext=c
32459 ac_cpp='$CPP $CPPFLAGS'
32460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463
32464     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32465 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32466
32467     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32468   $as_echo_n "(cached) " >&6
32469 else
32470
32471
32472 ################################################################
32473
32474 ac_cv_func_which_gethostbyname_r=unknown
32475
32476 #
32477 # ONE ARGUMENT (sanity check)
32478 #
32479
32480 # This should fail, as there is no variant of gethostbyname_r() that takes
32481 # a single argument. If it actually compiles, then we can assume that
32482 # netdb.h is not declaring the function, and the compiler is thereby
32483 # assuming an implicit prototype. In which case, we're out of luck.
32484 #
32485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32486 /* end confdefs.h.  */
32487 #include <netdb.h>
32488 int
32489 main ()
32490 {
32491
32492             char *name = "www.gnu.org";
32493             (void)gethostbyname_r(name) /* ; */
32494
32495
32496   ;
32497   return 0;
32498 }
32499 _ACEOF
32500 if ac_fn_c_try_compile "$LINENO"; then :
32501   ac_cv_func_which_gethostbyname_r=no
32502
32503 fi
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505
32506 #
32507 # SIX ARGUMENTS
32508 # (e.g. Linux)
32509 #
32510
32511 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32512
32513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32514 /* end confdefs.h.  */
32515 #include <netdb.h>
32516 int
32517 main ()
32518 {
32519
32520             char *name = "www.gnu.org";
32521             struct hostent ret, *retp;
32522             char buf[1024];
32523             int buflen = 1024;
32524             int my_h_errno;
32525             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32526
32527
32528   ;
32529   return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_c_try_compile "$LINENO"; then :
32533   ac_cv_func_which_gethostbyname_r=six
32534
32535 fi
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537
32538 fi
32539
32540 #
32541 # FIVE ARGUMENTS
32542 # (e.g. Solaris)
32543 #
32544
32545 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32546
32547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32548 /* end confdefs.h.  */
32549 #include <netdb.h>
32550 int
32551 main ()
32552 {
32553
32554             char *name = "www.gnu.org";
32555             struct hostent ret;
32556             char buf[1024];
32557             int buflen = 1024;
32558             int my_h_errno;
32559             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32560
32561
32562   ;
32563   return 0;
32564 }
32565 _ACEOF
32566 if ac_fn_c_try_compile "$LINENO"; then :
32567   ac_cv_func_which_gethostbyname_r=five
32568
32569 fi
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571
32572 fi
32573
32574 #
32575 # THREE ARGUMENTS
32576 # (e.g. AIX, HP-UX, Tru64)
32577 #
32578
32579 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32580
32581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32582 /* end confdefs.h.  */
32583 #include <netdb.h>
32584 int
32585 main ()
32586 {
32587
32588             char *name = "www.gnu.org";
32589             struct hostent ret;
32590             struct hostent_data data;
32591             (void)gethostbyname_r(name, &ret, &data) /* ; */
32592
32593
32594   ;
32595   return 0;
32596 }
32597 _ACEOF
32598 if ac_fn_c_try_compile "$LINENO"; then :
32599   ac_cv_func_which_gethostbyname_r=three
32600
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603
32604 fi
32605
32606 ################################################################
32607
32608
32609 fi
32610
32611 case "$ac_cv_func_which_gethostbyname_r" in
32612     three)
32613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32614 $as_echo "three" >&6; }
32615     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32616
32617     ;;
32618
32619     five)
32620     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32621 $as_echo "five" >&6; }
32622     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32623
32624     ;;
32625
32626     six)
32627     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32628 $as_echo "six" >&6; }
32629     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32630
32631     ;;
32632
32633     no)
32634     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32635 $as_echo "cannot find function declaration in netdb.h" >&6; }
32636     ;;
32637
32638     unknown)
32639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32640 $as_echo "can't tell" >&6; }
32641     ;;
32642
32643     *)
32644     as_fn_error $? "internal error" "$LINENO" 5
32645     ;;
32646 esac
32647
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653
32654
32655
32656       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32657               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32658           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32659 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32660    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32661
32662 fi
32663
32664       fi
32665
32666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32667 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32668 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32669   $as_echo_n "(cached) " >&6
32670 else
32671
32672                 ac_ext=cpp
32673 ac_cpp='$CXXCPP $CPPFLAGS'
32674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32677
32678
32679         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32680 /* end confdefs.h.  */
32681 #include <netdb.h>
32682 int
32683 main ()
32684 {
32685
32686                 char *name;
32687                 char *proto;
32688                 struct servent *se, *res;
32689                 char buffer[2048];
32690                 int buflen = 2048;
32691                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32692
32693   ;
32694   return 0;
32695 }
32696 _ACEOF
32697 if ac_fn_cxx_try_compile "$LINENO"; then :
32698   ac_cv_func_which_getservbyname_r=six
32699 else
32700
32701                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32702 /* end confdefs.h.  */
32703 #include <netdb.h>
32704 int
32705 main ()
32706 {
32707
32708                         char *name;
32709                         char *proto;
32710                         struct servent *se;
32711                         char buffer[2048];
32712                         int buflen = 2048;
32713                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32714
32715   ;
32716   return 0;
32717 }
32718 _ACEOF
32719 if ac_fn_cxx_try_compile "$LINENO"; then :
32720   ac_cv_func_which_getservbyname_r=five
32721 else
32722
32723                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32724 /* end confdefs.h.  */
32725 #include <netdb.h>
32726 int
32727 main ()
32728 {
32729
32730                                 char *name;
32731                                 char *proto;
32732                                 struct servent *se;
32733                                 struct servent_data data;
32734                                 (void) getservbyname_r(name, proto, se, &data);
32735
32736   ;
32737   return 0;
32738 }
32739 _ACEOF
32740 if ac_fn_cxx_try_compile "$LINENO"; then :
32741   ac_cv_func_which_getservbyname_r=four
32742 else
32743   ac_cv_func_which_getservbyname_r=no
32744
32745 fi
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747
32748
32749 fi
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32751
32752
32753 fi
32754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32755         ac_ext=c
32756 ac_cpp='$CPP $CPPFLAGS'
32757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32760
32761
32762
32763 fi
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32765 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32766
32767 if test $ac_cv_func_which_getservbyname_r = six; then
32768   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32769
32770 elif test $ac_cv_func_which_getservbyname_r = five; then
32771   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32772
32773 elif test $ac_cv_func_which_getservbyname_r = four; then
32774   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32775
32776 fi
32777
32778
32779       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32780               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32781           for ac_func in getservbyname
32782 do :
32783   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32784 if test "x$ac_cv_func_getservbyname" = xyes; then :
32785   cat >>confdefs.h <<_ACEOF
32786 #define HAVE_GETSERVBYNAME 1
32787 _ACEOF
32788   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32789
32790 fi
32791 done
32792
32793       fi
32794
32795 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32796
32797
32798 if test "$wxUSE_THREADS" = "yes"; then
32799   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32800
32801
32802   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32803 else
32804       if test "$wx_cv_func_strtok_r" = "yes"; then
32805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32806 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32807     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32808         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32809         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32810 $as_echo "yes" >&6; }
32811     else
32812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32813 $as_echo "no" >&6; }
32814     fi
32815   fi
32816 fi
32817
32818 if test "$WXGTK3" = 1 ; then
32819     cat >>confdefs.h <<_ACEOF
32820 #define __WXGTK3__ 1
32821 _ACEOF
32822
32823     WXGTK2=1
32824 fi
32825 if test "$WXGTK2" = 1 ; then
32826   cat >>confdefs.h <<_ACEOF
32827 #define __WXGTK20__ $WXGTK2
32828 _ACEOF
32829
32830 fi
32831
32832 if test "$WXGTK127" = 1 ; then
32833   cat >>confdefs.h <<_ACEOF
32834 #define __WXGTK127__ $WXGTK127
32835 _ACEOF
32836
32837 fi
32838
32839 if test "$WXGPE" = 1 ; then
32840   cat >>confdefs.h <<_ACEOF
32841 #define __WXGPE__ $WXGPE
32842 _ACEOF
32843
32844 fi
32845
32846 DEBUG_CFLAGS=
32847 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32848                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32849 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32850 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32851     DEBUG_CFLAGS="-g"
32852 fi
32853
32854 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32855     wxUSE_DEBUG_INFO=yes
32856     if test "$GCC" = yes; then
32857         DEBUG_CFLAGS="-ggdb"
32858     fi
32859 fi
32860
32861 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32862     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32863
32864     if test "$wxUSE_GTK" = 1 ; then
32865         if test "$WXGTK2" = 1 ; then
32866             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32867         else
32868             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32869         fi
32870     fi
32871 fi
32872
32873 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32874     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32875
32876     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32877
32878     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32879
32880     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32881 fi
32882
32883 if test "$wxUSE_DMALLOC" = "yes" ; then
32884     DMALLOC_LIBS="-ldmallocthcxx"
32885 fi
32886
32887 PROFILE_FLAGS=
32888 if test "$wxUSE_PROFILE" = "yes" ; then
32889     PROFILE_FLAGS=" -pg"
32890 fi
32891
32892 if test "$GCC" = "yes" ; then
32893     if test "$wxUSE_NO_RTTI" = "yes" ; then
32894                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32895     fi
32896     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32897         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32898     fi
32899     if test "$wxUSE_PERMISSIVE" = "yes" ; then
32900         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32901     fi
32902
32903                                                 case "${host}" in
32904       powerpc*-*-aix* )
32905         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32906         ;;
32907       *-hppa* )
32908         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32909         ;;
32910     esac
32911 fi
32912
32913 OPTIMISE_CFLAGS=
32914 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32915                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32916 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32917 else
32918     if test "$wxUSE_OPTIMISE" = "no" ; then
32919         if test "$GCC" = yes ; then
32920                                     OPTIMISE_CFLAGS="-O0"
32921         fi
32922     else
32923         if test "$GCC" = yes ; then
32924             case "${host}" in
32925                 *-pc-os2_emx | *-pc-os2-emx )
32926                                                             OPTIMISE_CFLAGS="-O2"
32927                 ;;
32928                 *)
32929                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32930                 ;;
32931             esac
32932         else
32933             OPTIMISE_CFLAGS="-O"
32934         fi
32935     fi
32936 fi
32937
32938
32939 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32940     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32941
32942
32943     WXWIN_COMPATIBILITY_2_8="yes"
32944 fi
32945
32946 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32947     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32948
32949 fi
32950
32951
32952 if test "$wxUSE_GUI" = "yes"; then
32953     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32954
32955
32956                                             fi
32957
32958
32959 if test "$wxUSE_UNIX" = "yes"; then
32960   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32961
32962 fi
32963
32964
32965 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32966
32967     HAVE_DL_FUNCS=0
32968     HAVE_SHL_FUNCS=0
32969     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32970         if test "$USE_DOS" = 1; then
32971             HAVE_DL_FUNCS=0
32972         else
32973                                                 for ac_func in dlopen
32974 do :
32975   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32976 if test "x$ac_cv_func_dlopen" = xyes; then :
32977   cat >>confdefs.h <<_ACEOF
32978 #define HAVE_DLOPEN 1
32979 _ACEOF
32980
32981                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32982
32983                 HAVE_DL_FUNCS=1
32984
32985 else
32986
32987                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32988 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32989 if ${ac_cv_lib_dl_dlopen+:} false; then :
32990   $as_echo_n "(cached) " >&6
32991 else
32992   ac_check_lib_save_LIBS=$LIBS
32993 LIBS="-ldl  $LIBS"
32994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32995 /* end confdefs.h.  */
32996
32997 /* Override any GCC internal prototype to avoid an error.
32998    Use char because int might match the return type of a GCC
32999    builtin and then its argument prototype would still apply.  */
33000 #ifdef __cplusplus
33001 extern "C"
33002 #endif
33003 char dlopen ();
33004 int
33005 main ()
33006 {
33007 return dlopen ();
33008   ;
33009   return 0;
33010 }
33011 _ACEOF
33012 if ac_fn_c_try_link "$LINENO"; then :
33013   ac_cv_lib_dl_dlopen=yes
33014 else
33015   ac_cv_lib_dl_dlopen=no
33016 fi
33017 rm -f core conftest.err conftest.$ac_objext \
33018     conftest$ac_exeext conftest.$ac_ext
33019 LIBS=$ac_check_lib_save_LIBS
33020 fi
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33023 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33024
33025                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33026
33027                                 HAVE_DL_FUNCS=1
33028                                 DL_LINK=" -ldl$DL_LINK"
33029
33030 else
33031
33032                                 for ac_func in shl_load
33033 do :
33034   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33035 if test "x$ac_cv_func_shl_load" = xyes; then :
33036   cat >>confdefs.h <<_ACEOF
33037 #define HAVE_SHL_LOAD 1
33038 _ACEOF
33039
33040                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33041
33042                                                 HAVE_SHL_FUNCS=1
33043
33044 else
33045
33046                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33047 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33048 if ${ac_cv_lib_shl_load_dld+:} false; then :
33049   $as_echo_n "(cached) " >&6
33050 else
33051   ac_check_lib_save_LIBS=$LIBS
33052 LIBS="-lshl_load  $LIBS"
33053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33054 /* end confdefs.h.  */
33055
33056 /* Override any GCC internal prototype to avoid an error.
33057    Use char because int might match the return type of a GCC
33058    builtin and then its argument prototype would still apply.  */
33059 #ifdef __cplusplus
33060 extern "C"
33061 #endif
33062 char dld ();
33063 int
33064 main ()
33065 {
33066 return dld ();
33067   ;
33068   return 0;
33069 }
33070 _ACEOF
33071 if ac_fn_c_try_link "$LINENO"; then :
33072   ac_cv_lib_shl_load_dld=yes
33073 else
33074   ac_cv_lib_shl_load_dld=no
33075 fi
33076 rm -f core conftest.err conftest.$ac_objext \
33077     conftest$ac_exeext conftest.$ac_ext
33078 LIBS=$ac_check_lib_save_LIBS
33079 fi
33080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33081 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33082 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33083
33084                                                                 HAVE_SHL_FUNCS=1
33085                                                                 DL_LINK=" -ldld$DL_LINK"
33086
33087 fi
33088
33089
33090 fi
33091 done
33092
33093
33094 fi
33095
33096
33097 fi
33098 done
33099
33100
33101                         if test "$HAVE_DL_FUNCS" = 1; then
33102                 for ac_func in dlerror
33103 do :
33104   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33105 if test "x$ac_cv_func_dlerror" = xyes; then :
33106   cat >>confdefs.h <<_ACEOF
33107 #define HAVE_DLERROR 1
33108 _ACEOF
33109  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33110
33111 else
33112
33113                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33114 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33115 if ${ac_cv_lib_dl_dlerror+:} false; then :
33116   $as_echo_n "(cached) " >&6
33117 else
33118   ac_check_lib_save_LIBS=$LIBS
33119 LIBS="-ldl  $LIBS"
33120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33121 /* end confdefs.h.  */
33122
33123 /* Override any GCC internal prototype to avoid an error.
33124    Use char because int might match the return type of a GCC
33125    builtin and then its argument prototype would still apply.  */
33126 #ifdef __cplusplus
33127 extern "C"
33128 #endif
33129 char dlerror ();
33130 int
33131 main ()
33132 {
33133 return dlerror ();
33134   ;
33135   return 0;
33136 }
33137 _ACEOF
33138 if ac_fn_c_try_link "$LINENO"; then :
33139   ac_cv_lib_dl_dlerror=yes
33140 else
33141   ac_cv_lib_dl_dlerror=no
33142 fi
33143 rm -f core conftest.err conftest.$ac_objext \
33144     conftest$ac_exeext conftest.$ac_ext
33145 LIBS=$ac_check_lib_save_LIBS
33146 fi
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33148 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33149 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33150   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33151
33152 fi
33153
33154
33155
33156 fi
33157 done
33158
33159             fi
33160         fi
33161
33162                 if test "$USE_DARWIN" = 1; then
33163                         HAVE_DL_FUNCS=1
33164         fi
33165
33166         if test "$HAVE_DL_FUNCS" = 0; then
33167             if test "$HAVE_SHL_FUNCS" = 0; then
33168               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33169                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33170 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33171                   wxUSE_DYNAMIC_LOADER=no
33172                   wxUSE_DYNLIB_CLASS=no
33173               else
33174                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33175 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33176               fi
33177             fi
33178         fi
33179     fi
33180 fi
33181
33182 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33183     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33184
33185 fi
33186 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33187     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33188
33189 fi
33190
33191
33192
33193 if test "$wxUSE_PLUGINS" = "yes" ; then
33194     if test "$wxUSE_SHARED" = "no" ; then
33195         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33196 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33197         wxUSE_PLUGINS=no
33198     fi
33199     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33200         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33201 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33202         wxUSE_PLUGINS=no
33203     fi
33204     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33205         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33206 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33207         wxUSE_PLUGINS=no
33208     fi
33209     if test "$wxUSE_PLUGINS" = "yes" ; then
33210         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33211
33212     fi
33213 fi
33214
33215
33216 if test "$wxUSE_FSWATCHER" = "yes"; then
33217                 if test "$wxUSE_MSW" != "1"; then
33218         if test "$wxUSE_UNIX" = "yes"; then
33219             for ac_header in sys/inotify.h
33220 do :
33221   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33222 "
33223 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33224   cat >>confdefs.h <<_ACEOF
33225 #define HAVE_SYS_INOTIFY_H 1
33226 _ACEOF
33227
33228 fi
33229
33230 done
33231
33232             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33233                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33234
33235             else
33236                 for ac_header in sys/event.h
33237 do :
33238   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33239 "
33240 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33241   cat >>confdefs.h <<_ACEOF
33242 #define HAVE_SYS_EVENT_H 1
33243 _ACEOF
33244
33245 fi
33246
33247 done
33248
33249                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33250                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33251
33252                 else
33253                     wxUSE_FSWATCHER=no
33254                 fi
33255             fi
33256         else
33257             wxUSE_FSWATCHER=no
33258         fi
33259     else
33260         if test "$wxUSE_THREADS" != "yes"; then
33261             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33262 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33263             wxUSE_FSWATCHER=no
33264         fi
33265     fi
33266
33267     if test "$wxUSE_FSWATCHER" = "yes"; then
33268         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33269
33270         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33271     else
33272         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33273 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33274     fi
33275 fi
33276
33277
33278 if test "$wxUSE_STL" = "yes"; then
33279   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33280
33281 fi
33282
33283 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33284   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33285
33286 fi
33287
33288 if test "$wxUSE_ANY" = "yes"; then
33289     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33290
33291 fi
33292
33293 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33294   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33295
33296 fi
33297
33298 if test "$wxUSE_TIMER" = "yes"; then
33299   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33300
33301 fi
33302
33303 if test "$USE_UNIX" = 1 ; then
33304                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33305 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33306 if ${ac_cv_header_sys_soundcard+:} false; then :
33307   $as_echo_n "(cached) " >&6
33308 else
33309
33310         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33311 /* end confdefs.h.  */
33312
33313                 #include <sys/ioctl.h>
33314                 #include <sys/soundcard.h>
33315
33316 int
33317 main ()
33318 {
33319
33320                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33321
33322   ;
33323   return 0;
33324 }
33325 _ACEOF
33326 if ac_fn_c_try_link "$LINENO"; then :
33327   ac_cv_header_sys_soundcard=yes
33328 else
33329
33330                 saveLibs="$LIBS"
33331                 LIBS="$saveLibs -lossaudio"
33332                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h.  */
33334
33335                         #include <sys/ioctl.h>
33336                         #include <sys/soundcard.h>
33337
33338 int
33339 main ()
33340 {
33341
33342                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33343
33344   ;
33345   return 0;
33346 }
33347 _ACEOF
33348 if ac_fn_c_try_link "$LINENO"; then :
33349   ac_cv_header_sys_soundcard=yes
33350 else
33351
33352                         LIBS="$saveLibs"
33353                         ac_cv_header_sys_soundcard=no
33354
33355
33356 fi
33357 rm -f core conftest.err conftest.$ac_objext \
33358     conftest$ac_exeext conftest.$ac_ext
33359
33360
33361 fi
33362 rm -f core conftest.err conftest.$ac_objext \
33363     conftest$ac_exeext conftest.$ac_ext
33364
33365 fi
33366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33367 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33368
33369     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33370         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33371
33372     fi
33373 fi
33374
33375 WITH_PLUGIN_SDL=0
33376 if test "$wxUSE_SOUND" = "yes"; then
33377   if test "$USE_UNIX" = 1 ; then
33378     if test "$wxUSE_LIBSDL" != "no"; then
33379
33380 # Check whether --with-sdl-prefix was given.
33381 if test "${with_sdl_prefix+set}" = set; then :
33382   withval=$with_sdl_prefix; sdl_prefix="$withval"
33383 else
33384   sdl_prefix=""
33385 fi
33386
33387
33388 # Check whether --with-sdl-exec-prefix was given.
33389 if test "${with_sdl_exec_prefix+set}" = set; then :
33390   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33391 else
33392   sdl_exec_prefix=""
33393 fi
33394
33395 # Check whether --enable-sdltest was given.
33396 if test "${enable_sdltest+set}" = set; then :
33397   enableval=$enable_sdltest;
33398 else
33399   enable_sdltest=yes
33400 fi
33401
33402
33403   if test x$sdl_exec_prefix != x ; then
33404     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33405     if test x${SDL_CONFIG+set} != xset ; then
33406       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33407     fi
33408   fi
33409   if test x$sdl_prefix != x ; then
33410     sdl_args="$sdl_args --prefix=$sdl_prefix"
33411     if test x${SDL_CONFIG+set} != xset ; then
33412       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33413     fi
33414   fi
33415
33416   if test "x$prefix" != xNONE; then
33417     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33418   fi
33419   # Extract the first word of "sdl-config", so it can be a program name with args.
33420 set dummy sdl-config; ac_word=$2
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33422 $as_echo_n "checking for $ac_word... " >&6; }
33423 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33424   $as_echo_n "(cached) " >&6
33425 else
33426   case $SDL_CONFIG in
33427   [\\/]* | ?:[\\/]*)
33428   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33429   ;;
33430   *)
33431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33432 for as_dir in $PATH
33433 do
33434   IFS=$as_save_IFS
33435   test -z "$as_dir" && as_dir=.
33436     for ac_exec_ext in '' $ac_executable_extensions; do
33437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33438     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33440     break 2
33441   fi
33442 done
33443   done
33444 IFS=$as_save_IFS
33445
33446   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33447   ;;
33448 esac
33449 fi
33450 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33451 if test -n "$SDL_CONFIG"; then
33452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33453 $as_echo "$SDL_CONFIG" >&6; }
33454 else
33455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33456 $as_echo "no" >&6; }
33457 fi
33458
33459
33460   min_sdl_version=1.2.0
33461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33462 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33463   no_sdl=""
33464   if test "$SDL_CONFIG" = "no" ; then
33465     no_sdl=yes
33466   else
33467     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33468     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33469
33470     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33471            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33472     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33473            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33474     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33475            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33476     if test "x$enable_sdltest" = "xyes" ; then
33477       ac_save_CFLAGS="$CFLAGS"
33478       ac_save_CXXFLAGS="$CXXFLAGS"
33479       ac_save_LIBS="$LIBS"
33480       CFLAGS="$CFLAGS $SDL_CFLAGS"
33481       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33482       LIBS="$LIBS $SDL_LIBS"
33483       rm -f conf.sdltest
33484       if test "$cross_compiling" = yes; then :
33485   echo $ac_n "cross compiling; assumed OK... $ac_c"
33486 else
33487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h.  */
33489
33490 #include <stdio.h>
33491 #include <stdlib.h>
33492 #include <string.h>
33493 #include "SDL.h"
33494
33495 char*
33496 my_strdup (char *str)
33497 {
33498   char *new_str;
33499
33500   if (str)
33501     {
33502       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33503       strcpy (new_str, str);
33504     }
33505   else
33506     new_str = NULL;
33507
33508   return new_str;
33509 }
33510
33511 int main (int argc, char *argv[])
33512 {
33513   int major, minor, micro;
33514   char *tmp_version;
33515
33516   /* This hangs on some systems (?)
33517   system ("touch conf.sdltest");
33518   */
33519   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33520
33521   /* HP/UX 9 (%@#!) writes to sscanf strings */
33522   tmp_version = my_strdup("$min_sdl_version");
33523   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33524      printf("%s, bad version string\n", "$min_sdl_version");
33525      exit(1);
33526    }
33527
33528    if (($sdl_major_version > major) ||
33529       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33530       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33531     {
33532       return 0;
33533     }
33534   else
33535     {
33536       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33537       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33538       printf("*** best to upgrade to the required version.\n");
33539       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33540       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33541       printf("*** config.cache before re-running configure\n");
33542       return 1;
33543     }
33544 }
33545
33546
33547 _ACEOF
33548 if ac_fn_c_try_run "$LINENO"; then :
33549
33550 else
33551   no_sdl=yes
33552 fi
33553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33554   conftest.$ac_objext conftest.beam conftest.$ac_ext
33555 fi
33556
33557        CFLAGS="$ac_save_CFLAGS"
33558        CXXFLAGS="$ac_save_CXXFLAGS"
33559        LIBS="$ac_save_LIBS"
33560      fi
33561   fi
33562   if test "x$no_sdl" = x ; then
33563      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33564 $as_echo "yes" >&6; }
33565
33566                     EXTRALIBS_SDL="$SDL_LIBS"
33567                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33568                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33569                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33570
33571
33572   else
33573      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33574 $as_echo "no" >&6; }
33575      if test "$SDL_CONFIG" = "no" ; then
33576        echo "*** The sdl-config script installed by SDL could not be found"
33577        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33578        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33579        echo "*** full path to sdl-config."
33580      else
33581        if test -f conf.sdltest ; then
33582         :
33583        else
33584           echo "*** Could not run SDL test program, checking why..."
33585           CFLAGS="$CFLAGS $SDL_CFLAGS"
33586           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33587           LIBS="$LIBS $SDL_LIBS"
33588           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33589 /* end confdefs.h.  */
33590
33591 #include <stdio.h>
33592 #include "SDL.h"
33593
33594 int main(int argc, char *argv[])
33595 { return 0; }
33596 #undef  main
33597 #define main K_and_R_C_main
33598
33599 int
33600 main ()
33601 {
33602  return 0;
33603   ;
33604   return 0;
33605 }
33606 _ACEOF
33607 if ac_fn_c_try_link "$LINENO"; then :
33608    echo "*** The test program compiled, but did not run. This usually means"
33609           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33610           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33611           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33612           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33613           echo "*** is required on your system"
33614           echo "***"
33615           echo "*** If you have an old version installed, it is best to remove it, although"
33616           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33617 else
33618    echo "*** The test program failed to compile or link. See the file config.log for the"
33619           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33620           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33621           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33622 fi
33623 rm -f core conftest.err conftest.$ac_objext \
33624     conftest$ac_exeext conftest.$ac_ext
33625           CFLAGS="$ac_save_CFLAGS"
33626           CXXFLAGS="$ac_save_CXXFLAGS"
33627           LIBS="$ac_save_LIBS"
33628        fi
33629      fi
33630      SDL_CFLAGS=""
33631      SDL_LIBS=""
33632      wxUSE_LIBSDL="no"
33633   fi
33634
33635
33636   rm -f conf.sdltest
33637
33638       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33639         WITH_PLUGIN_SDL=1
33640       fi
33641     fi
33642   fi
33643 fi
33644
33645 if test "$wxUSE_SOUND" = "yes"; then
33646   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33647
33648   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33649 fi
33650
33651 if test "$WXGTK2" = 1; then
33652
33653
33654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33655         if test -n "$ac_tool_prefix"; then
33656   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33657 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33659 $as_echo_n "checking for $ac_word... " >&6; }
33660 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33661   $as_echo_n "(cached) " >&6
33662 else
33663   case $PKG_CONFIG in
33664   [\\/]* | ?:[\\/]*)
33665   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33666   ;;
33667   *)
33668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33669 for as_dir in $PATH
33670 do
33671   IFS=$as_save_IFS
33672   test -z "$as_dir" && as_dir=.
33673     for ac_exec_ext in '' $ac_executable_extensions; do
33674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33675     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33677     break 2
33678   fi
33679 done
33680   done
33681 IFS=$as_save_IFS
33682
33683   ;;
33684 esac
33685 fi
33686 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33687 if test -n "$PKG_CONFIG"; then
33688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33689 $as_echo "$PKG_CONFIG" >&6; }
33690 else
33691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33692 $as_echo "no" >&6; }
33693 fi
33694
33695
33696 fi
33697 if test -z "$ac_cv_path_PKG_CONFIG"; then
33698   ac_pt_PKG_CONFIG=$PKG_CONFIG
33699   # Extract the first word of "pkg-config", so it can be a program name with args.
33700 set dummy pkg-config; ac_word=$2
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33702 $as_echo_n "checking for $ac_word... " >&6; }
33703 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33704   $as_echo_n "(cached) " >&6
33705 else
33706   case $ac_pt_PKG_CONFIG in
33707   [\\/]* | ?:[\\/]*)
33708   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33709   ;;
33710   *)
33711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33712 for as_dir in $PATH
33713 do
33714   IFS=$as_save_IFS
33715   test -z "$as_dir" && as_dir=.
33716     for ac_exec_ext in '' $ac_executable_extensions; do
33717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33718     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33720     break 2
33721   fi
33722 done
33723   done
33724 IFS=$as_save_IFS
33725
33726   ;;
33727 esac
33728 fi
33729 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33730 if test -n "$ac_pt_PKG_CONFIG"; then
33731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33732 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33733 else
33734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33735 $as_echo "no" >&6; }
33736 fi
33737
33738   if test "x$ac_pt_PKG_CONFIG" = x; then
33739     PKG_CONFIG=""
33740   else
33741     case $cross_compiling:$ac_tool_warned in
33742 yes:)
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33745 ac_tool_warned=yes ;;
33746 esac
33747     PKG_CONFIG=$ac_pt_PKG_CONFIG
33748   fi
33749 else
33750   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33751 fi
33752
33753 fi
33754 if test -n "$PKG_CONFIG"; then
33755         _pkg_min_version=0.9.0
33756         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33757 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33758         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33759                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33760 $as_echo "yes" >&6; }
33761         else
33762                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33763 $as_echo "no" >&6; }
33764                 PKG_CONFIG=""
33765         fi
33766
33767 fi
33768
33769     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33770
33771         if test "$wxUSE_GTKPRINT" = "yes" ; then
33772             if test "$WXGTK3" = 1; then
33773                 gtk_unix_print="gtk+-unix-print-3.0"
33774             else
33775                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33776             fi
33777
33778 pkg_failed=no
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33780 $as_echo_n "checking for GTKPRINT... " >&6; }
33781
33782 if test -n "$PKG_CONFIG"; then
33783     if test -n "$GTKPRINT_CFLAGS"; then
33784         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33785     else
33786         if test -n "$PKG_CONFIG" && \
33787     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33788   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 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_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33793 else
33794   pkg_failed=yes
33795 fi
33796     fi
33797 else
33798         pkg_failed=untried
33799 fi
33800 if test -n "$PKG_CONFIG"; then
33801     if test -n "$GTKPRINT_LIBS"; then
33802         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33803     else
33804         if test -n "$PKG_CONFIG" && \
33805     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33806   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33807   ac_status=$?
33808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33809   test $ac_status = 0; }; then
33810   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33811 else
33812   pkg_failed=yes
33813 fi
33814     fi
33815 else
33816         pkg_failed=untried
33817 fi
33818
33819
33820
33821 if test $pkg_failed = yes; then
33822
33823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33824         _pkg_short_errors_supported=yes
33825 else
33826         _pkg_short_errors_supported=no
33827 fi
33828         if test $_pkg_short_errors_supported = yes; then
33829                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33830         else
33831                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33832         fi
33833         # Put the nasty error message in config.log where it belongs
33834         echo "$GTKPRINT_PKG_ERRORS" >&5
33835
33836
33837                         { $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
33838 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33839                         wxUSE_GTKPRINT="no"
33840
33841
33842 elif test $pkg_failed = untried; then
33843
33844                         { $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
33845 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33846                         wxUSE_GTKPRINT="no"
33847
33848
33849 else
33850         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33851         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33853 $as_echo "yes" >&6; }
33854
33855                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33856                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33857                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33858                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33859
33860
33861 fi
33862         fi
33863
33864         if test "$WXGTK3" = 1; then
33865             wxUSE_LIBGNOMEPRINT=no
33866         fi
33867
33868         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33869
33870
33871 pkg_failed=no
33872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33873 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33874
33875 if test -n "$PKG_CONFIG"; then
33876     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33877         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33878     else
33879         if test -n "$PKG_CONFIG" && \
33880     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33881   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33882   ac_status=$?
33883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33884   test $ac_status = 0; }; then
33885   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33886 else
33887   pkg_failed=yes
33888 fi
33889     fi
33890 else
33891         pkg_failed=untried
33892 fi
33893 if test -n "$PKG_CONFIG"; then
33894     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33895         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33896     else
33897         if test -n "$PKG_CONFIG" && \
33898     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33899   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33900   ac_status=$?
33901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33902   test $ac_status = 0; }; then
33903   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33904 else
33905   pkg_failed=yes
33906 fi
33907     fi
33908 else
33909         pkg_failed=untried
33910 fi
33911
33912
33913
33914 if test $pkg_failed = yes; then
33915
33916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33917         _pkg_short_errors_supported=yes
33918 else
33919         _pkg_short_errors_supported=no
33920 fi
33921         if test $_pkg_short_errors_supported = yes; then
33922                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33923         else
33924                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33925         fi
33926         # Put the nasty error message in config.log where it belongs
33927         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33928
33929
33930                         if test "$wxUSE_GTKPRINT" = yes; then
33931                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33932 $as_echo "no" >&6; }
33933                         else
33934                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33935 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33936                         fi
33937                         wxUSE_LIBGNOMEPRINT="no"
33938
33939
33940 elif test $pkg_failed = untried; then
33941
33942                         if test "$wxUSE_GTKPRINT" = yes; then
33943                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33944 $as_echo "no" >&6; }
33945                         else
33946                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33947 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33948                         fi
33949                         wxUSE_LIBGNOMEPRINT="no"
33950
33951
33952 else
33953         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33954         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33956 $as_echo "yes" >&6; }
33957
33958                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33959                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33960                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33961                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33962
33963
33964 fi
33965         fi
33966     fi
33967
33968     if test "$wxUSE_MIMETYPE" = "yes" ; then
33969         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33970
33971
33972 pkg_failed=no
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33974 $as_echo_n "checking for GNOMEVFS... " >&6; }
33975
33976 if test -n "$PKG_CONFIG"; then
33977     if test -n "$GNOMEVFS_CFLAGS"; then
33978         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33979     else
33980         if test -n "$PKG_CONFIG" && \
33981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33982   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33983   ac_status=$?
33984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33985   test $ac_status = 0; }; then
33986   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33987 else
33988   pkg_failed=yes
33989 fi
33990     fi
33991 else
33992         pkg_failed=untried
33993 fi
33994 if test -n "$PKG_CONFIG"; then
33995     if test -n "$GNOMEVFS_LIBS"; then
33996         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33997     else
33998         if test -n "$PKG_CONFIG" && \
33999     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34000   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34001   ac_status=$?
34002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34003   test $ac_status = 0; }; then
34004   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34005 else
34006   pkg_failed=yes
34007 fi
34008     fi
34009 else
34010         pkg_failed=untried
34011 fi
34012
34013
34014
34015 if test $pkg_failed = yes; then
34016
34017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34018         _pkg_short_errors_supported=yes
34019 else
34020         _pkg_short_errors_supported=no
34021 fi
34022         if test $_pkg_short_errors_supported = yes; then
34023                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34024         else
34025                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34026         fi
34027         # Put the nasty error message in config.log where it belongs
34028         echo "$GNOMEVFS_PKG_ERRORS" >&5
34029
34030
34031                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34032 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34033                         wxUSE_LIBGNOMEVFS="no"
34034
34035
34036 elif test $pkg_failed = untried; then
34037
34038                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34039 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34040                         wxUSE_LIBGNOMEVFS="no"
34041
34042
34043 else
34044         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34045         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34047 $as_echo "yes" >&6; }
34048
34049                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34050                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34051                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34052                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34053
34054
34055 fi
34056         fi
34057     fi
34058
34059     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34060         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34061             HAVE_LIBNOTIFY=0
34062
34063 pkg_failed=no
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34065 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34066
34067 if test -n "$PKG_CONFIG"; then
34068     if test -n "$LIBNOTIFY_CFLAGS"; then
34069         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34070     else
34071         if test -n "$PKG_CONFIG" && \
34072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34073   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34074   ac_status=$?
34075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34076   test $ac_status = 0; }; then
34077   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34078 else
34079   pkg_failed=yes
34080 fi
34081     fi
34082 else
34083         pkg_failed=untried
34084 fi
34085 if test -n "$PKG_CONFIG"; then
34086     if test -n "$LIBNOTIFY_LIBS"; then
34087         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34088     else
34089         if test -n "$PKG_CONFIG" && \
34090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34091   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34092   ac_status=$?
34093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34094   test $ac_status = 0; }; then
34095   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34096 else
34097   pkg_failed=yes
34098 fi
34099     fi
34100 else
34101         pkg_failed=untried
34102 fi
34103
34104
34105
34106 if test $pkg_failed = yes; then
34107
34108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34109         _pkg_short_errors_supported=yes
34110 else
34111         _pkg_short_errors_supported=no
34112 fi
34113         if test $_pkg_short_errors_supported = yes; then
34114                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34115         else
34116                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34117         fi
34118         # Put the nasty error message in config.log where it belongs
34119         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34120
34121
34122
34123 pkg_failed=no
34124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34125 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34126
34127 if test -n "$PKG_CONFIG"; then
34128     if test -n "$LIBNOTIFY_CFLAGS"; then
34129         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34130     else
34131         if test -n "$PKG_CONFIG" && \
34132     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34133   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34134   ac_status=$?
34135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34136   test $ac_status = 0; }; then
34137   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34138 else
34139   pkg_failed=yes
34140 fi
34141     fi
34142 else
34143         pkg_failed=untried
34144 fi
34145 if test -n "$PKG_CONFIG"; then
34146     if test -n "$LIBNOTIFY_LIBS"; then
34147         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34148     else
34149         if test -n "$PKG_CONFIG" && \
34150     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34151   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34152   ac_status=$?
34153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34154   test $ac_status = 0; }; then
34155   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34156 else
34157   pkg_failed=yes
34158 fi
34159     fi
34160 else
34161         pkg_failed=untried
34162 fi
34163
34164
34165
34166 if test $pkg_failed = yes; then
34167
34168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34169         _pkg_short_errors_supported=yes
34170 else
34171         _pkg_short_errors_supported=no
34172 fi
34173         if test $_pkg_short_errors_supported = yes; then
34174                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34175         else
34176                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34177         fi
34178         # Put the nasty error message in config.log where it belongs
34179         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34180
34181         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34182 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34183
34184 elif test $pkg_failed = untried; then
34185         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34186 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34187
34188 else
34189         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34190         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34191         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34192 $as_echo "yes" >&6; }
34193         HAVE_LIBNOTIFY=1
34194 fi
34195
34196
34197 elif test $pkg_failed = untried; then
34198
34199
34200 pkg_failed=no
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34202 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34203
34204 if test -n "$PKG_CONFIG"; then
34205     if test -n "$LIBNOTIFY_CFLAGS"; then
34206         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34207     else
34208         if test -n "$PKG_CONFIG" && \
34209     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34210   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34211   ac_status=$?
34212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34213   test $ac_status = 0; }; then
34214   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34215 else
34216   pkg_failed=yes
34217 fi
34218     fi
34219 else
34220         pkg_failed=untried
34221 fi
34222 if test -n "$PKG_CONFIG"; then
34223     if test -n "$LIBNOTIFY_LIBS"; then
34224         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34225     else
34226         if test -n "$PKG_CONFIG" && \
34227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34228   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34229   ac_status=$?
34230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34231   test $ac_status = 0; }; then
34232   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34233 else
34234   pkg_failed=yes
34235 fi
34236     fi
34237 else
34238         pkg_failed=untried
34239 fi
34240
34241
34242
34243 if test $pkg_failed = yes; then
34244
34245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34246         _pkg_short_errors_supported=yes
34247 else
34248         _pkg_short_errors_supported=no
34249 fi
34250         if test $_pkg_short_errors_supported = yes; then
34251                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34252         else
34253                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34254         fi
34255         # Put the nasty error message in config.log where it belongs
34256         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34257
34258         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34259 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34260
34261 elif test $pkg_failed = untried; then
34262         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34263 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34264
34265 else
34266         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34267         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34269 $as_echo "yes" >&6; }
34270         HAVE_LIBNOTIFY=1
34271 fi
34272
34273
34274 else
34275         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34276         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34278 $as_echo "yes" >&6; }
34279
34280                     HAVE_LIBNOTIFY=1
34281                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34282
34283
34284 fi
34285
34286             if test "$HAVE_LIBNOTIFY" = "1" ; then
34287                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34288                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34289                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34290                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34291
34292             fi
34293         fi
34294     fi
34295
34296     if test "$wxUSE_LIBHILDON" = "yes" ; then
34297
34298 pkg_failed=no
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34300 $as_echo_n "checking for HILDON... " >&6; }
34301
34302 if test -n "$PKG_CONFIG"; then
34303     if test -n "$HILDON_CFLAGS"; then
34304         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34305     else
34306         if test -n "$PKG_CONFIG" && \
34307     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34308   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34309   ac_status=$?
34310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34311   test $ac_status = 0; }; then
34312   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34313 else
34314   pkg_failed=yes
34315 fi
34316     fi
34317 else
34318         pkg_failed=untried
34319 fi
34320 if test -n "$PKG_CONFIG"; then
34321     if test -n "$HILDON_LIBS"; then
34322         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34323     else
34324         if test -n "$PKG_CONFIG" && \
34325     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34326   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34327   ac_status=$?
34328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34329   test $ac_status = 0; }; then
34330   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34331 else
34332   pkg_failed=yes
34333 fi
34334     fi
34335 else
34336         pkg_failed=untried
34337 fi
34338
34339
34340
34341 if test $pkg_failed = yes; then
34342
34343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34344         _pkg_short_errors_supported=yes
34345 else
34346         _pkg_short_errors_supported=no
34347 fi
34348         if test $_pkg_short_errors_supported = yes; then
34349                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34350         else
34351                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34352         fi
34353         # Put the nasty error message in config.log where it belongs
34354         echo "$HILDON_PKG_ERRORS" >&5
34355
34356
34357                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34358 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34359                         wxUSE_LIBHILDON="no"
34360                         ac_hildon_lgpl=0
34361
34362
34363 elif test $pkg_failed = untried; then
34364
34365                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34366 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34367                         wxUSE_LIBHILDON="no"
34368                         ac_hildon_lgpl=0
34369
34370
34371 else
34372         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34373         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34375 $as_echo "yes" >&6; }
34376
34377                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34378                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34379                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34380                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34381
34382                 ac_hildon_lgpl=1
34383
34384 fi
34385
34386         if test "$ac_hildon_lgpl" = 0 ; then
34387
34388 pkg_failed=no
34389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34390 $as_echo_n "checking for HILDON2... " >&6; }
34391
34392 if test -n "$PKG_CONFIG"; then
34393     if test -n "$HILDON2_CFLAGS"; then
34394         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34395     else
34396         if test -n "$PKG_CONFIG" && \
34397     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34398   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34399   ac_status=$?
34400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34401   test $ac_status = 0; }; then
34402   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34403 else
34404   pkg_failed=yes
34405 fi
34406     fi
34407 else
34408         pkg_failed=untried
34409 fi
34410 if test -n "$PKG_CONFIG"; then
34411     if test -n "$HILDON2_LIBS"; then
34412         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34413     else
34414         if test -n "$PKG_CONFIG" && \
34415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34416   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34417   ac_status=$?
34418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34419   test $ac_status = 0; }; then
34420   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34421 else
34422   pkg_failed=yes
34423 fi
34424     fi
34425 else
34426         pkg_failed=untried
34427 fi
34428
34429
34430
34431 if test $pkg_failed = yes; then
34432
34433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34434         _pkg_short_errors_supported=yes
34435 else
34436         _pkg_short_errors_supported=no
34437 fi
34438         if test $_pkg_short_errors_supported = yes; then
34439                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34440         else
34441                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34442         fi
34443         # Put the nasty error message in config.log where it belongs
34444         echo "$HILDON2_PKG_ERRORS" >&5
34445
34446
34447                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34448 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34449                             wxUSE_LIBHILDON2="no"
34450
34451
34452 elif test $pkg_failed = untried; then
34453
34454                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34455 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34456                             wxUSE_LIBHILDON2="no"
34457
34458
34459 else
34460         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34461         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34462         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34463 $as_echo "yes" >&6; }
34464
34465                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34466                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34467                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34468                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34469
34470
34471 fi
34472         fi
34473     fi
34474 fi
34475
34476 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34477   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34478
34479 fi
34480
34481 if test "$wxUSE_STOPWATCH" = "yes"; then
34482   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34483
34484 fi
34485
34486 if test "$wxUSE_DATETIME" = "yes"; then
34487   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34488
34489 fi
34490
34491 if test "$wxUSE_FILE" = "yes"; then
34492   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34493
34494 fi
34495
34496 if test "$wxUSE_FFILE" = "yes"; then
34497   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34498
34499 fi
34500
34501 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34502   if test "$wxUSE_STREAMS" != yes; then
34503     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34504 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34505     wxUSE_ARCHIVE_STREAMS=no
34506   else
34507     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34508
34509   fi
34510 fi
34511
34512 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34513   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34514     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34515 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34516   elif test "$wxUSE_ZLIB" = "no"; then
34517     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34518 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34519   else
34520     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34521
34522   fi
34523 fi
34524
34525 if test "$wxUSE_TARSTREAM" = "yes"; then
34526   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34527     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34528 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34529   else
34530     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34531
34532   fi
34533 fi
34534
34535 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34536   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34537
34538 fi
34539
34540 if test "$wxUSE_FILESYSTEM" = "yes"; then
34541   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34542     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34543 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34544     wxUSE_FILESYSTEM=no
34545   else
34546     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34547
34548   fi
34549 fi
34550
34551 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34552   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34553     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34554 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34555   else
34556     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34557
34558   fi
34559 fi
34560
34561 if test "$wxUSE_FS_ZIP" = "yes"; then
34562   if test "$wxUSE_FS_ARCHIVE" != yes; then
34563     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34564 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34565   else
34566     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34567
34568   fi
34569 fi
34570
34571 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34572   if test "$USE_UNIX" != 1; then
34573     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34574 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34575     wxUSE_ON_FATAL_EXCEPTION=no
34576   else
34577     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34578
34579   fi
34580 fi
34581
34582 if test "$wxUSE_STACKWALKER" = "yes"; then
34583     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34584
34585 fi
34586
34587 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34588     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34589         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34590 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34591         wxUSE_DEBUGREPORT=no
34592     else
34593         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34594
34595         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34596             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34597         fi
34598     fi
34599 fi
34600
34601 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34602   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34603
34604 fi
34605
34606 if test "$wxUSE_BUSYINFO" = "yes"; then
34607   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34608
34609 fi
34610
34611 if test "$wxUSE_HOTKEY" = "yes"; then
34612   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34613     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34614 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34615     wxUSE_HOTKEY=no
34616   fi
34617 elif test "$wxUSE_HOTKEY" = "auto"; then
34618   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34619     wxUSE_HOTKEY=yes
34620   fi
34621 fi
34622 if test "$wxUSE_HOTKEY" = "yes"; then
34623   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34624
34625 fi
34626
34627 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34628   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34629
34630 fi
34631
34632 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34633   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34634
34635 fi
34636
34637 if test "$wxUSE_STD_STRING" = "yes"; then
34638   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34639
34640 fi
34641
34642 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34643   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34644
34645 fi
34646
34647 if test "$wxUSE_STDPATHS" = "yes"; then
34648   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34649
34650 fi
34651
34652 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34653     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34654
34655 fi
34656
34657 if test "$wxUSE_TEXTFILE" = "yes"; then
34658   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34660 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34661   else
34662     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34663
34664   fi
34665 fi
34666
34667 if test "$wxUSE_CONFIG" = "yes" ; then
34668   if test "$wxUSE_TEXTFILE" != "yes"; then
34669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34670 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34671   else
34672     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34673
34674     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34675
34676     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34677   fi
34678 fi
34679
34680 if test "$wxUSE_INTL" = "yes" ; then
34681   if test "$wxUSE_FILE" != "yes"; then
34682     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34683 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34684   else
34685     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34686
34687     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34688     GUIDIST="$GUIDIST INTL_DIST"
34689   fi
34690 fi
34691
34692 if test "$wxUSE_XLOCALE" = "yes" ; then
34693     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34694
34695     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34696                     #include <locale.h>
34697 "
34698 if test "x$ac_cv_type_locale_t" = xyes; then :
34699
34700 cat >>confdefs.h <<_ACEOF
34701 #define HAVE_LOCALE_T 1
34702 _ACEOF
34703
34704
34705 fi
34706
34707 fi
34708
34709 if test "$wxUSE_LOG" = "yes"; then
34710   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34711
34712
34713     if test "$wxUSE_LOGGUI" = "yes"; then
34714       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34715
34716     fi
34717
34718     if test "$wxUSE_LOGWINDOW" = "yes"; then
34719       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34720
34721     fi
34722
34723     if test "$wxUSE_LOGDIALOG" = "yes"; then
34724       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34725
34726     fi
34727
34728         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34729 fi
34730
34731 if test "$wxUSE_LONGLONG" = "yes"; then
34732   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34733
34734 fi
34735
34736 if test "$wxUSE_GEOMETRY" = "yes"; then
34737   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34738
34739 fi
34740
34741 if test "$wxUSE_BASE64" = "yes"; then
34742   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34743
34744 fi
34745
34746 if test "$wxUSE_STREAMS" = "yes" ; then
34747   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34748
34749 fi
34750
34751 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34752   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34753
34754 fi
34755
34756 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34757   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34758
34759 fi
34760
34761
34762 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34763     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34764
34765
34766     if test "$wxUSE_UNIX" = "yes"; then
34767         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34768             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34769
34770         fi
34771
34772         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34773             for ac_header in sys/epoll.h
34774 do :
34775   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34776 "
34777 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34778   cat >>confdefs.h <<_ACEOF
34779 #define HAVE_SYS_EPOLL_H 1
34780 _ACEOF
34781
34782 fi
34783
34784 done
34785
34786             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34787                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34788
34789             else
34790                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34791 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34792             fi
34793         fi
34794     fi
34795 fi
34796
34797
34798 for ac_func in gettimeofday ftime
34799 do :
34800   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34803   cat >>confdefs.h <<_ACEOF
34804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34805 _ACEOF
34806  break
34807 fi
34808 done
34809
34810
34811 if test "$ac_cv_func_gettimeofday" = "yes"; then
34812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34813 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34814 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34815   $as_echo_n "(cached) " >&6
34816 else
34817
34818                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34819 /* end confdefs.h.  */
34820
34821                 #include <sys/time.h>
34822                 #include <unistd.h>
34823
34824 int
34825 main ()
34826 {
34827
34828                 struct timeval tv;
34829                 gettimeofday(&tv, NULL);
34830
34831   ;
34832   return 0;
34833 }
34834 _ACEOF
34835 if ac_fn_c_try_compile "$LINENO"; then :
34836   wx_cv_func_gettimeofday_has_2_args=yes
34837 else
34838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34839 /* end confdefs.h.  */
34840
34841                     #include <sys/time.h>
34842                     #include <unistd.h>
34843
34844 int
34845 main ()
34846 {
34847
34848                     struct timeval tv;
34849                     gettimeofday(&tv);
34850
34851   ;
34852   return 0;
34853 }
34854 _ACEOF
34855 if ac_fn_c_try_compile "$LINENO"; then :
34856   wx_cv_func_gettimeofday_has_2_args=no
34857 else
34858
34859                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34860 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34861                     wx_cv_func_gettimeofday_has_2_args=unknown
34862
34863
34864 fi
34865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34866
34867 fi
34868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34869
34870 fi
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34872 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34873
34874     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34875         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34876
34877     fi
34878 fi
34879
34880 if test "$wxUSE_DATETIME" = "yes"; then
34881             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34882 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34883 if ${wx_cv_var_timezone+:} false; then :
34884   $as_echo_n "(cached) " >&6
34885 else
34886
34887                         ac_ext=cpp
34888 ac_cpp='$CXXCPP $CPPFLAGS'
34889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34892
34893                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34894 /* end confdefs.h.  */
34895
34896                                 #include <time.h>
34897
34898 int
34899 main ()
34900 {
34901
34902                                 int tz;
34903                                 tz = timezone;
34904
34905   ;
34906   return 0;
34907 }
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910
34911                                 wx_cv_var_timezone=timezone
34912
34913 else
34914
34915                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34916 /* end confdefs.h.  */
34917
34918                                         #include <time.h>
34919
34920 int
34921 main ()
34922 {
34923
34924                                         int tz;
34925                                         tz = _timezone;
34926
34927   ;
34928   return 0;
34929 }
34930 _ACEOF
34931 if ac_fn_cxx_try_compile "$LINENO"; then :
34932
34933                                         wx_cv_var_timezone=_timezone
34934
34935 else
34936
34937                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34938 /* end confdefs.h.  */
34939
34940                                                 #include <time.h>
34941
34942 int
34943 main ()
34944 {
34945
34946                                                 int tz;
34947                                                 tz = __timezone;
34948
34949   ;
34950   return 0;
34951 }
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954
34955                                                 wx_cv_var_timezone=__timezone
34956
34957 else
34958
34959                                                 if test "$USE_DOS" = 0 ; then
34960                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34961 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34962                                                 fi
34963
34964
34965 fi
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967
34968
34969 fi
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971
34972
34973 fi
34974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975                         ac_ext=c
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34980
34981
34982
34983 fi
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34985 $as_echo "$wx_cv_var_timezone" >&6; }
34986
34987         if test "x$wx_cv_var_timezone" != x ; then
34988         cat >>confdefs.h <<_ACEOF
34989 #define WX_TIMEZONE $wx_cv_var_timezone
34990 _ACEOF
34991
34992     fi
34993
34994         for ac_func in localtime
34995 do :
34996   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34997 if test "x$ac_cv_func_localtime" = xyes; then :
34998   cat >>confdefs.h <<_ACEOF
34999 #define HAVE_LOCALTIME 1
35000 _ACEOF
35001
35002 fi
35003 done
35004
35005
35006     if test "$ac_cv_func_localtime" = "yes"; then
35007         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35008 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35009 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35010   $as_echo_n "(cached) " >&6
35011 else
35012
35013             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35014 /* end confdefs.h.  */
35015
35016                     #include <time.h>
35017
35018 int
35019 main ()
35020 {
35021
35022                     struct tm tm;
35023                     tm.tm_gmtoff++;
35024
35025   ;
35026   return 0;
35027 }
35028 _ACEOF
35029 if ac_fn_c_try_compile "$LINENO"; then :
35030
35031                     wx_cv_struct_tm_has_gmtoff=yes
35032
35033 else
35034   wx_cv_struct_tm_has_gmtoff=no
35035
35036 fi
35037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35038
35039 fi
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35041 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35042     fi
35043
35044     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35045         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35046
35047     fi
35048
35049     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35050 fi
35051
35052
35053 if test "$wxUSE_SOCKETS" = "yes"; then
35054         if test "$TOOLKIT" != "MSW"; then
35055                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35056 if test "x$ac_cv_func_socket" = xyes; then :
35057
35058 else
35059
35060                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35061 $as_echo_n "checking for socket in -lsocket... " >&6; }
35062 if ${ac_cv_lib_socket_socket+:} false; then :
35063   $as_echo_n "(cached) " >&6
35064 else
35065   ac_check_lib_save_LIBS=$LIBS
35066 LIBS="-lsocket  $LIBS"
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h.  */
35069
35070 /* Override any GCC internal prototype to avoid an error.
35071    Use char because int might match the return type of a GCC
35072    builtin and then its argument prototype would still apply.  */
35073 #ifdef __cplusplus
35074 extern "C"
35075 #endif
35076 char socket ();
35077 int
35078 main ()
35079 {
35080 return socket ();
35081   ;
35082   return 0;
35083 }
35084 _ACEOF
35085 if ac_fn_c_try_link "$LINENO"; then :
35086   ac_cv_lib_socket_socket=yes
35087 else
35088   ac_cv_lib_socket_socket=no
35089 fi
35090 rm -f core conftest.err conftest.$ac_objext \
35091     conftest$ac_exeext conftest.$ac_ext
35092 LIBS=$ac_check_lib_save_LIBS
35093 fi
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35095 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35096 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35097   if test "$INET_LINK" != " -lsocket"; then
35098                         INET_LINK="$INET_LINK -lsocket"
35099                     fi
35100 else
35101
35102                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35103 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35104                         wxUSE_SOCKETS=no
35105
35106
35107 fi
35108
35109
35110
35111 fi
35112
35113     fi
35114 fi
35115
35116 if test "$wxUSE_SOCKETS" = "yes" ; then
35117                 if test "$TOOLKIT" != "MSW"; then
35118                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35119 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35120 if ${wx_cv_type_getsockname3+:} false; then :
35121   $as_echo_n "(cached) " >&6
35122 else
35123
35124                 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129
35130                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h.  */
35132
35133                         #include <sys/types.h>
35134                         #include <sys/socket.h>
35135
35136 int
35137 main ()
35138 {
35139
35140                         socklen_t len;
35141                         getsockname(0, 0, &len);
35142
35143   ;
35144   return 0;
35145 }
35146 _ACEOF
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148   wx_cv_type_getsockname3=socklen_t
35149 else
35150
35151                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35152                         if test "$GCC" = yes ; then
35153                             CFLAGS="-Werror $CFLAGS"
35154                         fi
35155
35156                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35157 /* end confdefs.h.  */
35158
35159                                 #include <sys/types.h>
35160                                 #include <sys/socket.h>
35161
35162 int
35163 main ()
35164 {
35165
35166                                 size_t len;
35167                                 getsockname(0, 0, &len);
35168
35169   ;
35170   return 0;
35171 }
35172 _ACEOF
35173 if ac_fn_cxx_try_compile "$LINENO"; then :
35174   wx_cv_type_getsockname3=size_t
35175 else
35176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35177 /* end confdefs.h.  */
35178
35179                                     #include <sys/types.h>
35180                                     #include <sys/socket.h>
35181
35182 int
35183 main ()
35184 {
35185
35186                                     int len;
35187                                     getsockname(0, 0, &len);
35188
35189   ;
35190   return 0;
35191 }
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194   wx_cv_type_getsockname3=int
35195 else
35196   wx_cv_type_getsockname3=unknown
35197
35198 fi
35199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35200
35201 fi
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203
35204                         CFLAGS="$CFLAGS_OLD"
35205
35206
35207 fi
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209                 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214
35215
35216 fi
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35218 $as_echo "$wx_cv_type_getsockname3" >&6; }
35219
35220         if test "$wx_cv_type_getsockname3" = "unknown"; then
35221             wxUSE_SOCKETS=no
35222             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35223 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35224         else
35225             cat >>confdefs.h <<_ACEOF
35226 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35227 _ACEOF
35228
35229         fi
35230                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35231 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35232 if ${wx_cv_type_getsockopt5+:} false; then :
35233   $as_echo_n "(cached) " >&6
35234 else
35235
35236                                                                                                 ac_ext=cpp
35237 ac_cpp='$CXXCPP $CPPFLAGS'
35238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35241
35242                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35243 /* end confdefs.h.  */
35244
35245                         #include <sys/types.h>
35246                         #include <sys/socket.h>
35247
35248 int
35249 main ()
35250 {
35251
35252                         socklen_t len;
35253                         getsockopt(0, 0, 0, 0, &len);
35254
35255   ;
35256   return 0;
35257 }
35258 _ACEOF
35259 if ac_fn_cxx_try_compile "$LINENO"; then :
35260   wx_cv_type_getsockopt5=socklen_t
35261 else
35262
35263                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35264 /* end confdefs.h.  */
35265
35266                                 #include <sys/types.h>
35267                                 #include <sys/socket.h>
35268
35269 int
35270 main ()
35271 {
35272
35273                                 size_t len;
35274                                 getsockopt(0, 0, 0, 0, &len);
35275
35276   ;
35277   return 0;
35278 }
35279 _ACEOF
35280 if ac_fn_cxx_try_compile "$LINENO"; then :
35281   wx_cv_type_getsockopt5=size_t
35282 else
35283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35284 /* end confdefs.h.  */
35285
35286                                     #include <sys/types.h>
35287                                     #include <sys/socket.h>
35288
35289 int
35290 main ()
35291 {
35292
35293                                     int len;
35294                                     getsockopt(0, 0, 0, 0, &len);
35295
35296   ;
35297   return 0;
35298 }
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301   wx_cv_type_getsockopt5=int
35302 else
35303   wx_cv_type_getsockopt5=unknown
35304
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307
35308 fi
35309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35310
35311
35312 fi
35313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35314                 ac_ext=c
35315 ac_cpp='$CPP $CPPFLAGS'
35316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35319
35320
35321 fi
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35323 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35324
35325         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35326             wxUSE_SOCKETS=no
35327             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35328 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35329         else
35330             cat >>confdefs.h <<_ACEOF
35331 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35332 _ACEOF
35333
35334         fi
35335     fi
35336 fi
35337
35338 if test "$wxUSE_SOCKETS" = "yes" ; then
35339     if test "$wxUSE_IPV6" = "yes"; then
35340         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35341 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35342 if ${wx_cv_type_sockaddr_in6+:} false; then :
35343   $as_echo_n "(cached) " >&6
35344 else
35345
35346                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35347 /* end confdefs.h.  */
35348
35349                         #include <sys/types.h>
35350                         #include <sys/socket.h>
35351                         #include <netinet/in.h>
35352
35353 int
35354 main ()
35355 {
35356
35357                         struct sockaddr_in6 sa6;
35358
35359   ;
35360   return 0;
35361 }
35362 _ACEOF
35363 if ac_fn_c_try_compile "$LINENO"; then :
35364   wx_cv_type_sockaddr_in6=yes
35365 else
35366   wx_cv_type_sockaddr_in6=no
35367
35368 fi
35369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35370
35371
35372 fi
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35374 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35375
35376         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35377             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35378
35379         else
35380             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35381 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35382         fi
35383     fi
35384
35385     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35386
35387     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35388 fi
35389
35390 if test "$wxUSE_PROTOCOL" = "yes"; then
35391     if test "$wxUSE_SOCKETS" != "yes"; then
35392         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35393 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35394         wxUSE_PROTOCOL=no
35395     fi
35396 fi
35397
35398 if test "$wxUSE_PROTOCOL" = "yes"; then
35399     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35400
35401
35402     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35403         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35404
35405     fi
35406     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35407         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35408
35409     fi
35410     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35411         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35412
35413     fi
35414 else
35415     if test "$wxUSE_FS_INET" = "yes"; then
35416         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35417 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35418         wxUSE_FS_INET="no"
35419     fi
35420 fi
35421
35422 if test "$wxUSE_URL" = "yes"; then
35423     if test "$wxUSE_PROTOCOL" != "yes"; then
35424         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35425 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35426         wxUSE_URL=no
35427     fi
35428     if test "$wxUSE_URL" = "yes"; then
35429         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35430
35431     fi
35432 fi
35433
35434 if test "$wxUSE_VARIANT" = "yes"; then
35435     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35436
35437 fi
35438
35439 if test "$wxUSE_FS_INET" = "yes"; then
35440   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35441
35442 fi
35443
35444
35445 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35446     wxUSE_JOYSTICK=no
35447
35448         if test "$TOOLKIT" = "MSW"; then
35449         wxUSE_JOYSTICK=yes
35450
35451         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35452         if test "$USE_DARWIN" = 1; then
35453                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35454 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35455             ac_ext=cpp
35456 ac_cpp='$CXXCPP $CPPFLAGS'
35457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35460
35461             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35462 /* end confdefs.h.  */
35463  #include <IOKit/hid/IOHIDLib.h>
35464 int
35465 main ()
35466 {
35467  IOHIDQueueInterface *qi = NULL;
35468                               IOHIDCallbackFunction cb = NULL;
35469                               qi->setEventCallout(NULL, cb, NULL, NULL);
35470   ;
35471   return 0;
35472 }
35473 _ACEOF
35474 if ac_fn_cxx_try_compile "$LINENO"; then :
35475    wxUSE_JOYSTICK=yes
35476
35477 fi
35478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35479             ac_ext=c
35480 ac_cpp='$CPP $CPPFLAGS'
35481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35484
35485             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35486 $as_echo "$wxUSE_JOYSTICK" >&6; }
35487         fi
35488
35489         else
35490                                                         for ac_header in linux/joystick.h
35491 do :
35492   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35493 "
35494 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35495   cat >>confdefs.h <<_ACEOF
35496 #define HAVE_LINUX_JOYSTICK_H 1
35497 _ACEOF
35498  wxUSE_JOYSTICK=yes
35499 fi
35500
35501 done
35502
35503     fi
35504
35505     if test "$wxUSE_JOYSTICK" = "yes"; then
35506         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35507
35508         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35509     else
35510         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35511 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35512     fi
35513 fi
35514
35515
35516
35517 if test "$wxUSE_FONTENUM" = "yes" ; then
35518   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35519
35520 fi
35521
35522 if test "$wxUSE_FONTMAP" = "yes" ; then
35523   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35524
35525 fi
35526
35527 if test "$wxUSE_UNICODE" = "yes" ; then
35528   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35529
35530
35531   if test "$USE_WIN32" != 1; then
35532       wxUSE_UNICODE_MSLU=no
35533   fi
35534
35535   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35536         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35537 $as_echo_n "checking for main in -lunicows... " >&6; }
35538 if ${ac_cv_lib_unicows_main+:} false; then :
35539   $as_echo_n "(cached) " >&6
35540 else
35541   ac_check_lib_save_LIBS=$LIBS
35542 LIBS="-lunicows  $LIBS"
35543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35544 /* end confdefs.h.  */
35545
35546
35547 int
35548 main ()
35549 {
35550 return main ();
35551   ;
35552   return 0;
35553 }
35554 _ACEOF
35555 if ac_fn_c_try_link "$LINENO"; then :
35556   ac_cv_lib_unicows_main=yes
35557 else
35558   ac_cv_lib_unicows_main=no
35559 fi
35560 rm -f core conftest.err conftest.$ac_objext \
35561     conftest$ac_exeext conftest.$ac_ext
35562 LIBS=$ac_check_lib_save_LIBS
35563 fi
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35565 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35566 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35567
35568                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35569
35570
35571 else
35572
35573                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35574                              Applications will only run on Windows NT/2000/XP!" >&5
35575 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35576                              Applications will only run on Windows NT/2000/XP!" >&2;}
35577                 wxUSE_UNICODE_MSLU=no
35578
35579 fi
35580
35581     fi
35582 fi
35583
35584 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35585     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35586
35587
35588     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35589         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35590
35591     fi
35592 fi
35593
35594
35595 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35596     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35597
35598     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35599 fi
35600
35601 if test "$wxUSE_MDI" = "yes"; then
35602     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35603
35604
35605     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35606         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35607
35608         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35609     fi
35610 fi
35611
35612 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35613     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35614
35615     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35616 fi
35617
35618 if test "$wxUSE_HELP" = "yes"; then
35619     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35620
35621     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35622
35623     if test "$wxUSE_MSW" = 1; then
35624       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35625         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35626
35627       fi
35628     fi
35629
35630     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35631       if test "$wxUSE_HTML" = "yes"; then
35632         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35633
35634       else
35635         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35636 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35637         wxUSE_WXHTML_HELP=no
35638       fi
35639     fi
35640 fi
35641
35642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35643     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35644
35645     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35646 fi
35647
35648 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35649   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35650
35651 fi
35652
35653 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35654
35655
35656 if test "$wxUSE_SVG" = "yes"; then
35657     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35658
35659 fi
35660
35661
35662 if test "$wxUSE_METAFILE" = "yes"; then
35663     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35664         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35665 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35666         wxUSE_METAFILE=no
35667     fi
35668 elif test "$wxUSE_METAFILE" = "auto"; then
35669     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35670         wxUSE_METAFILE=yes
35671     fi
35672 fi
35673
35674 if test "$wxUSE_METAFILE" = "yes"; then
35675     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35676
35677     if test "$wxUSE_MSW" = 1; then
35678                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35679
35680     fi
35681 fi
35682
35683
35684 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35685                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35686                           -o "$wxUSE_OLE"     = "yes" \
35687                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35688     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35689 "
35690 if test "x$ac_cv_header_ole2_h" = xyes; then :
35691
35692 fi
35693
35694
35695
35696     if test "$ac_cv_header_ole2_h" = "yes" ; then
35697         if test "$GCC" = yes ; then
35698             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35699 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35700             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h.  */
35702 #include <windows.h>
35703                             #include <ole2.h>
35704 int
35705 main ()
35706 {
35707
35708   ;
35709   return 0;
35710 }
35711 _ACEOF
35712 if ac_fn_c_try_compile "$LINENO"; then :
35713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35714 $as_echo "no" >&6; }
35715 else
35716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35717 $as_echo "yes" >&6; }
35718                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35719 fi
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35722             if test "$wxUSE_OLE" = "yes" ; then
35723                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35724
35725                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35726
35727                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35728
35729                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35730             fi
35731         fi
35732
35733                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35734             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35735
35736         fi
35737     else
35738         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35739 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35740
35741         wxUSE_CLIPBOARD=no
35742         wxUSE_DRAG_AND_DROP=no
35743         wxUSE_DATAOBJ=no
35744         wxUSE_OLE=no
35745     fi
35746 fi
35747
35748 if test "$wxUSE_IPC" = "yes"; then
35749     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35750         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35751 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35752         wxUSE_IPC=no
35753     fi
35754
35755     if test "$wxUSE_IPC" = "yes"; then
35756         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35757
35758         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35759     fi
35760 fi
35761
35762 if test "$wxUSE_DATAOBJ" = "yes"; then
35763     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35764
35765 else
35766     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35767 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35768     wxUSE_CLIPBOARD=no
35769     wxUSE_DRAG_AND_DROP=no
35770 fi
35771
35772 if test "$wxUSE_CLIPBOARD" = "yes"; then
35773     if test "$wxUSE_DFB" = 1; then
35774         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35775 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35776         wxUSE_CLIPBOARD=no
35777     fi
35778
35779     if test "$wxUSE_CLIPBOARD" = "yes"; then
35780         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35781
35782     fi
35783 fi
35784
35785 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35786     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35787         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35788 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35789         wxUSE_DRAG_AND_DROP=no
35790     fi
35791
35792     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35793         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35794
35795     fi
35796
35797 fi
35798
35799 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35800     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35801 fi
35802
35803 if test "$wxUSE_CLIPBOARD" = "yes"; then
35804     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35805 fi
35806
35807 if test "$wxUSE_SPLINES" = "yes" ; then
35808   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35809
35810 fi
35811
35812 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35813   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35814
35815 fi
35816
35817 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35818     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35819
35820     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35821 fi
35822
35823 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35824     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35825
35826 fi
35827
35828
35829 USES_CONTROLS=0
35830 if test "$wxUSE_CONTROLS" = "yes"; then
35831   USES_CONTROLS=1
35832 fi
35833
35834 if test "$wxUSE_MARKUP" = "yes"; then
35835   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35836
35837 fi
35838
35839 if test "$wxUSE_ACCEL" = "yes"; then
35840   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35841
35842   USES_CONTROLS=1
35843 fi
35844
35845 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35846   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35847
35848   USES_CONTROLS=1
35849   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35850 fi
35851
35852 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35853   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35854
35855 fi
35856
35857 if test "$wxUSE_BUTTON" = "yes"; then
35858   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35859
35860   USES_CONTROLS=1
35861 fi
35862
35863 if test "$wxUSE_BMPBUTTON" = "yes"; then
35864   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35865
35866   USES_CONTROLS=1
35867 fi
35868
35869 if test "$wxUSE_CALCTRL" = "yes"; then
35870   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35871
35872   USES_CONTROLS=1
35873   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35874 fi
35875
35876 if test "$wxUSE_CARET" = "yes"; then
35877   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35878
35879   USES_CONTROLS=1
35880   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35881 fi
35882
35883 if test "$wxUSE_COLLPANE" = "yes"; then
35884     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35885
35886     USES_CONTROLS=1
35887     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35888 fi
35889
35890 if test "$wxUSE_COMBOBOX" = "yes"; then
35891   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35892
35893   USES_CONTROLS=1
35894 fi
35895
35896 if test "$wxUSE_COMBOCTRL" = "yes"; then
35897   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35898
35899   USES_CONTROLS=1
35900 fi
35901
35902 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35903   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35904
35905   USES_CONTROLS=1
35906 fi
35907
35908 if test "$wxUSE_CHOICE" = "yes"; then
35909   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35910
35911   USES_CONTROLS=1
35912 fi
35913
35914 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35915     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35916
35917     USES_CONTROLS=1
35918 fi
35919
35920 if test "$wxUSE_CHECKBOX" = "yes"; then
35921   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35922
35923   USES_CONTROLS=1
35924 fi
35925
35926 if test "$wxUSE_CHECKLST" = "yes"; then
35927   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35928
35929   USES_CONTROLS=1
35930 fi
35931
35932 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35933   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35934
35935   USES_CONTROLS=1
35936 fi
35937
35938 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35939   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35940
35941   USES_CONTROLS=1
35942 fi
35943
35944 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35945   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35946
35947   USES_CONTROLS=1
35948 fi
35949
35950 if test "$wxUSE_FILECTRL" = "yes"; then
35951   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35952
35953   USES_CONTROLS=1
35954 fi
35955
35956 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35957   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35958
35959   USES_CONTROLS=1
35960 fi
35961
35962 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35963   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35964
35965   USES_CONTROLS=1
35966 fi
35967
35968 if test "$wxUSE_DISPLAY" = "yes"; then
35969     if test "$wxUSE_DFB" = 1; then
35970         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35971 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35972         wxUSE_DISPLAY=no
35973     else
35974         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35975
35976         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35977     fi
35978 fi
35979
35980 if test "$wxUSE_DETECT_SM" = "yes"; then
35981     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35982
35983 fi
35984
35985 if test "$wxUSE_GAUGE" = "yes"; then
35986   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35987
35988   USES_CONTROLS=1
35989 fi
35990
35991 if test "$wxUSE_GRID" = "yes"; then
35992   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35993
35994   USES_CONTROLS=1
35995   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35996 fi
35997
35998 if test "$wxUSE_HEADERCTRL" = "yes"; then
35999   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36000
36001   USES_CONTROLS=1
36002 fi
36003
36004 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36005   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36006
36007   USES_CONTROLS=1
36008 fi
36009
36010 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36011   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36012
36013   USES_CONTROLS=1
36014 fi
36015
36016 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36017   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36018
36019   USES_CONTROLS=1
36020   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36021 fi
36022
36023 if test "$wxUSE_IMAGLIST" = "yes"; then
36024     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36025
36026 fi
36027
36028 if test "$wxUSE_INFOBAR" = "yes"; then
36029     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36030
36031 fi
36032
36033 if test "$wxUSE_LISTBOOK" = "yes"; then
36034     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36035
36036     USES_CONTROLS=1
36037 fi
36038
36039 if test "$wxUSE_LISTBOX" = "yes"; then
36040     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36041
36042     USES_CONTROLS=1
36043 fi
36044
36045 if test "$wxUSE_LISTCTRL" = "yes"; then
36046     if test "$wxUSE_IMAGLIST" = "yes"; then
36047         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36048
36049         USES_CONTROLS=1
36050         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36051     else
36052         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36053 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36054     fi
36055 fi
36056
36057 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36058     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36059
36060     USES_CONTROLS=1
36061 fi
36062
36063 if test "$wxUSE_NOTEBOOK" = "yes"; then
36064     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36065
36066     USES_CONTROLS=1
36067     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36068 fi
36069
36070 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36071     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36072
36073 fi
36074
36075 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36076   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36077
36078   USES_CONTROLS=1
36079   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36080 fi
36081
36082 if test "$wxUSE_RADIOBOX" = "yes"; then
36083     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36084
36085     USES_CONTROLS=1
36086 fi
36087
36088 if test "$wxUSE_RADIOBTN" = "yes"; then
36089     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36090
36091     USES_CONTROLS=1
36092 fi
36093
36094 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36095     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36096
36097 fi
36098
36099 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36100     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36101
36102 fi
36103
36104 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36105     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36106
36107 fi
36108
36109 if test "$wxUSE_SASH" = "yes"; then
36110     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36111
36112     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36113 fi
36114
36115 if test "$wxUSE_SCROLLBAR" = "yes"; then
36116     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36117
36118     USES_CONTROLS=1
36119     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36120 fi
36121
36122 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36123     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36124
36125     USES_CONTROLS=1
36126 fi
36127
36128 if test "$wxUSE_SLIDER" = "yes"; then
36129     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36130
36131     USES_CONTROLS=1
36132 fi
36133
36134 if test "$wxUSE_SPINBTN" = "yes"; then
36135     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36136
36137     USES_CONTROLS=1
36138 fi
36139
36140 if test "$wxUSE_SPINCTRL" = "yes"; then
36141     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36142
36143     USES_CONTROLS=1
36144 fi
36145
36146 if test "$wxUSE_SPLITTER" = "yes"; then
36147     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36148
36149     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36150 fi
36151
36152 if test "$wxUSE_STATBMP" = "yes"; then
36153     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36154
36155     USES_CONTROLS=1
36156 fi
36157
36158 if test "$wxUSE_STATBOX" = "yes"; then
36159     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36160
36161     USES_CONTROLS=1
36162 fi
36163
36164 if test "$wxUSE_STATTEXT" = "yes"; then
36165     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36166
36167     USES_CONTROLS=1
36168 fi
36169
36170 if test "$wxUSE_STATLINE" = "yes"; then
36171     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36172
36173     USES_CONTROLS=1
36174 fi
36175
36176 if test "$wxUSE_STATUSBAR" = "yes"; then
36177         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36178
36179     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36180
36181     USES_CONTROLS=1
36182
36183     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36184 fi
36185
36186 if test "$wxUSE_TEXTCTRL" = "yes"; then
36187     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36188
36189     USES_CONTROLS=1
36190     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36191
36192             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36193
36194     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36195
36196 fi
36197
36198 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36199   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36200
36201   USES_CONTROLS=1
36202 fi
36203
36204 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36205     if test "$wxUSE_OLD_COCOA" = 1 ; then
36206         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36207 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36208         wxUSE_TOGGLEBTN=no
36209     fi
36210
36211     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36212         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36213
36214         USES_CONTROLS=1
36215     fi
36216 fi
36217
36218 if test "$wxUSE_TOOLBAR" = "yes"; then
36219     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36220
36221     USES_CONTROLS=1
36222
36223     if test "$wxUSE_UNIVERSAL" = "yes"; then
36224         wxUSE_TOOLBAR_NATIVE="no"
36225     else
36226         wxUSE_TOOLBAR_NATIVE="yes"
36227         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36228
36229     fi
36230
36231     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36232 fi
36233
36234 if test "$wxUSE_TOOLTIPS" = "yes"; then
36235     if test "$wxUSE_MOTIF" = 1; then
36236         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36237 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36238     else
36239         if test "$wxUSE_UNIVERSAL" = "yes"; then
36240             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36241 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36242         else
36243             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36244
36245         fi
36246     fi
36247 fi
36248
36249 if test "$wxUSE_TREEBOOK" = "yes"; then
36250     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36251
36252     USES_CONTROLS=1
36253 fi
36254
36255 if test "$wxUSE_TOOLBOOK" = "yes"; then
36256     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36257
36258     USES_CONTROLS=1
36259 fi
36260
36261 if test "$wxUSE_TREECTRL" = "yes"; then
36262     if test "$wxUSE_IMAGLIST" = "yes"; then
36263         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36264
36265         USES_CONTROLS=1
36266         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36267     else
36268         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36269 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36270     fi
36271 fi
36272
36273 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36274     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36275
36276     USES_CONTROLS=1
36277     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36278 fi
36279
36280 if test "$wxUSE_POPUPWIN" = "yes"; then
36281     if test "$wxUSE_OLD_COCOA" = 1 ; then
36282         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36283 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36284     else
36285         if test "$wxUSE_PM" = 1; then
36286             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36287 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36288         else
36289             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36290
36291             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36292
36293             USES_CONTROLS=1
36294         fi
36295     fi
36296 fi
36297
36298 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36299     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36300         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36301 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36302     else
36303         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36304
36305         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36306     fi
36307 fi
36308
36309 if test "$wxUSE_TIPWINDOW" = "yes"; then
36310     if test "$wxUSE_PM" = 1; then
36311         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36312 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36313     else
36314         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36315
36316     fi
36317 fi
36318
36319 if test "$USES_CONTROLS" = 1; then
36320     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36321
36322 fi
36323
36324
36325 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36326     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36327
36328     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36329 fi
36330
36331 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36332     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36333
36334 fi
36335
36336 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36337             if test "$wxUSE_GTK" != 1; then
36338                 if test "$wxUSE_LIBPNG" != no -a \
36339                 "$wxUSE_IMAGE" = yes -a \
36340                 "$wxUSE_STREAMS" = yes; then
36341             wxUSE_ARTPROVIDER_TANGO="yes"
36342         fi
36343     fi
36344 fi
36345
36346 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36347     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36348
36349 fi
36350
36351 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36352     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36353
36354     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36355 fi
36356
36357 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36358     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36359         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36360 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36361     else
36362         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36363
36364         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36365     fi
36366 fi
36367
36368 USE_HTML=0
36369 if test "$wxUSE_HTML" = "yes"; then
36370     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36371
36372     USE_HTML=1
36373     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36374 fi
36375 if test "$wxUSE_WEBKIT" = "yes"; then
36376     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36377         old_CPPFLAGS="$CPPFLAGS"
36378         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36379         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36380                            #include <Carbon/Carbon.h>
36381                            #include <WebKit/WebKit.h>
36382
36383 "
36384 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36385
36386                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36387
36388                            WEBKIT_LINK="-framework WebKit"
36389
36390 else
36391
36392                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36393 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36394                            wxUSE_WEBKIT=no
36395
36396 fi
36397
36398
36399         CPPFLAGS="$old_CPPFLAGS"
36400     elif test "$wxUSE_OLD_COCOA" = 1; then
36401         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36402
36403     else
36404         wxUSE_WEBKIT=no
36405     fi
36406     if test "$wxUSE_WEBKIT" = "yes"; then
36407         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36408     fi
36409 fi
36410
36411 USE_XRC=0
36412 if test "$wxUSE_XRC" = "yes"; then
36413     if test "$wxUSE_XML" != "yes"; then
36414         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36415 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36416         wxUSE_XRC=no
36417     else
36418         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36419
36420         USE_XRC=1
36421         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36422     fi
36423 fi
36424
36425 USE_AUI=0
36426 if test "$wxUSE_AUI" = "yes"; then
36427    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36428
36429    USE_AUI=1
36430    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36431 fi
36432
36433 USE_PROPGRID=0
36434 if test "$wxUSE_PROPGRID" = "yes"; then
36435    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36436
36437    USE_PROPGRID=1
36438    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36439 fi
36440
36441 USE_RIBBON=0
36442 if test "$wxUSE_RIBBON" = "yes"; then
36443    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36444
36445    USE_RIBBON=1
36446    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36447 fi
36448
36449 USE_STC=0
36450 if test "$wxUSE_STC" = "yes"; then
36451    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36452
36453    USE_STC=1
36454    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36455
36456       # Extract the first word of "python", so it can be a program name with args.
36457 set dummy python; ac_word=$2
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36459 $as_echo_n "checking for $ac_word... " >&6; }
36460 if ${ac_cv_path_PYTHON+:} false; then :
36461   $as_echo_n "(cached) " >&6
36462 else
36463   case $PYTHON in
36464   [\\/]* | ?:[\\/]*)
36465   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36466   ;;
36467   *)
36468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36469 for as_dir in $PATH
36470 do
36471   IFS=$as_save_IFS
36472   test -z "$as_dir" && as_dir=.
36473     for ac_exec_ext in '' $ac_executable_extensions; do
36474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36475     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36477     break 2
36478   fi
36479 done
36480   done
36481 IFS=$as_save_IFS
36482
36483   ;;
36484 esac
36485 fi
36486 PYTHON=$ac_cv_path_PYTHON
36487 if test -n "$PYTHON"; then
36488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36489 $as_echo "$PYTHON" >&6; }
36490 else
36491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36492 $as_echo "no" >&6; }
36493 fi
36494
36495
36496    if test "x$PYTHON" = "x"; then
36497      COND_PYTHON="#"
36498    fi
36499
36500 fi
36501
36502 if test "$wxUSE_MENUS" = "yes"; then
36503     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36504
36505     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36506 fi
36507
36508 if test "$wxUSE_MIMETYPE" = "yes"; then
36509     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36510
36511 fi
36512
36513 if test "$wxUSE_MINIFRAME" = "yes"; then
36514     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36515
36516 fi
36517
36518 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36519     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36520
36521 fi
36522
36523 if test "$wxUSE_TASKBARICON" = "yes"; then
36524     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36525
36526                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36527
36528     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36529 fi
36530
36531
36532 if test "$wxUSE_VALIDATORS" = "yes"; then
36533     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36534
36535     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36536 fi
36537
36538 if test "$wxUSE_PALETTE" = "yes" ; then
36539     if test "$wxUSE_DFB" = 1; then
36540         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36541 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36542         wxUSE_PALETTE=no
36543     else
36544         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36545
36546     fi
36547 fi
36548
36549 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36550     LIBS=" -lunicows $LIBS"
36551 fi
36552
36553 USE_RICHTEXT=0
36554 if test "$wxUSE_RICHTEXT" = "yes"; then
36555     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36556
36557     USE_RICHTEXT=1
36558     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36559 fi
36560
36561 if test "$wxUSE_WEBVIEW" = "yes"; then
36562     USE_WEBVIEW_WEBKIT=0
36563     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36564         if test "$wxUSE_GTK" = 1; then
36565             webkitgtk=webkit-1.0
36566             if test "$WXGTK3" = 1; then
36567                 webkitgtk=webkitgtk-3.0
36568             fi
36569
36570 pkg_failed=no
36571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36572 $as_echo_n "checking for WEBKIT... " >&6; }
36573
36574 if test -n "$PKG_CONFIG"; then
36575     if test -n "$WEBKIT_CFLAGS"; then
36576         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36577     else
36578         if test -n "$PKG_CONFIG" && \
36579     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36580   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36581   ac_status=$?
36582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36583   test $ac_status = 0; }; then
36584   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36585 else
36586   pkg_failed=yes
36587 fi
36588     fi
36589 else
36590         pkg_failed=untried
36591 fi
36592 if test -n "$PKG_CONFIG"; then
36593     if test -n "$WEBKIT_LIBS"; then
36594         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36595     else
36596         if test -n "$PKG_CONFIG" && \
36597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36598   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36599   ac_status=$?
36600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36601   test $ac_status = 0; }; then
36602   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36603 else
36604   pkg_failed=yes
36605 fi
36606     fi
36607 else
36608         pkg_failed=untried
36609 fi
36610
36611
36612
36613 if test $pkg_failed = yes; then
36614
36615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36616         _pkg_short_errors_supported=yes
36617 else
36618         _pkg_short_errors_supported=no
36619 fi
36620         if test $_pkg_short_errors_supported = yes; then
36621                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36622         else
36623                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36624         fi
36625         # Put the nasty error message in config.log where it belongs
36626         echo "$WEBKIT_PKG_ERRORS" >&5
36627
36628
36629                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36630 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36631
36632 elif test $pkg_failed = untried; then
36633
36634                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36635 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36636
36637 else
36638         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36639         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36640         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36641 $as_echo "yes" >&6; }
36642
36643                                 USE_WEBVIEW_WEBKIT=1
36644                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36645                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36646
36647 fi
36648         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36649                                     old_CPPFLAGS="$CPPFLAGS"
36650             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36651             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36652                                 #include <Carbon/Carbon.h>
36653                                 #include <WebKit/WebKit.h>
36654
36655 "
36656 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36657
36658                                 USE_WEBVIEW_WEBKIT=1
36659                                 WEBKIT_LINK="-framework WebKit"
36660
36661 else
36662
36663                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36664 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36665
36666 fi
36667
36668
36669             CPPFLAGS="$old_CPPFLAGS"
36670         fi
36671     fi
36672
36673     wxUSE_WEBVIEW="no"
36674     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36675         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36676             wxUSE_WEBVIEW="yes"
36677             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36678
36679         else
36680             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36681 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36682         fi
36683     elif test "$wxUSE_MSW" = 1; then
36684         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36685                                     wxUSE_WEBVIEW="yes"
36686             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36687
36688         fi
36689     fi
36690 fi
36691
36692 if test "$wxUSE_WEBVIEW" = "yes"; then
36693     USE_WEBVIEW=1
36694     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36695
36696     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36697 else
36698     USE_WEBVIEW=0
36699 fi
36700
36701
36702 if test "$wxUSE_IMAGE" = "yes" ; then
36703     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36704
36705
36706     if test "$wxUSE_GIF" = "yes" ; then
36707       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36708
36709     fi
36710
36711     if test "$wxUSE_PCX" = "yes" ; then
36712       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36713
36714     fi
36715
36716     if test "$wxUSE_TGA" = "yes" ; then
36717       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36718
36719     fi
36720
36721     if test "$wxUSE_IFF" = "yes" ; then
36722       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36723
36724     fi
36725
36726     if test "$wxUSE_PNM" = "yes" ; then
36727       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36728
36729     fi
36730
36731     if test "$wxUSE_XPM" = "yes" ; then
36732       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36733
36734     fi
36735
36736     if test "$wxUSE_ICO_CUR" = "yes" ; then
36737       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36738
36739     fi
36740 fi
36741
36742
36743 if test "$wxUSE_ABOUTDLG" = "yes"; then
36744     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36745
36746 fi
36747
36748 if test "$wxUSE_CHOICEDLG" = "yes"; then
36749     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36750
36751 fi
36752
36753 if test "$wxUSE_COLOURDLG" = "yes"; then
36754     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36755
36756 fi
36757
36758 if test "$wxUSE_FILEDLG" = "yes"; then
36759     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36760
36761 fi
36762
36763 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36764     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36765
36766 fi
36767
36768 if test "$wxUSE_FONTDLG" = "yes"; then
36769     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36770
36771 fi
36772
36773 if test "$wxUSE_DIRDLG" = "yes"; then
36774     if test "$wxUSE_TREECTRL" != "yes"; then
36775         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36776 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36777     else
36778         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36779
36780     fi
36781 fi
36782
36783 if test "$wxUSE_MSGDLG" = "yes"; then
36784     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36785
36786 fi
36787
36788 if test "$wxUSE_NUMBERDLG" = "yes"; then
36789     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36790
36791 fi
36792
36793 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36794     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36795
36796 fi
36797
36798 if test "$wxUSE_SPLASH" = "yes"; then
36799     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36800
36801     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36802 fi
36803
36804 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36805     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36806
36807 fi
36808
36809 if test "$wxUSE_TEXTDLG" = "yes"; then
36810     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36811
36812 fi
36813
36814 if test "$wxUSE_WIZARDDLG" = "yes"; then
36815     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36816
36817     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36818 fi
36819
36820
36821 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36822     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36823         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36824
36825     fi
36826 fi
36827
36828
36829 if test "$wxUSE_MSW" = 1 ; then
36830
36831     if test "$wxUSE_DC_CACHEING" = "yes"; then
36832         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36833
36834     fi
36835
36836     if test "$wxUSE_DIB" = "yes"; then
36837         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36838
36839     fi
36840
36841     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36842         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36843
36844     fi
36845
36846     if test "$wxUSE_UXTHEME" = "yes"; then
36847         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36848
36849     fi
36850
36851 fi
36852
36853 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36854     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36855
36856 fi
36857
36858 if test "$USE_WIN32" = 1 ; then
36859     if test "$wxUSE_INICONF" = "yes"; then
36860         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36861
36862     fi
36863
36864     if test "$wxUSE_REGKEY" = "yes"; then
36865         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36866
36867     fi
36868 fi
36869
36870
36871 if test "$wxUSE_MAC" = 1; then
36872     wxUSE_GRAPHICS_CONTEXT="yes"
36873 fi
36874
36875 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36876     wx_has_graphics=0
36877     if test "$wxUSE_MSW" = 1; then
36878         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36879 $as_echo_n "checking if GDI+ is available... " >&6; }
36880 if ${wx_cv_lib_gdiplus+:} false; then :
36881   $as_echo_n "(cached) " >&6
36882 else
36883
36884                                                 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36889
36890                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h.  */
36892 #include <windows.h>
36893                      #include <gdiplus.h>
36894 int
36895 main ()
36896 {
36897
36898                         using namespace Gdiplus;
36899
36900   ;
36901   return 0;
36902 }
36903 _ACEOF
36904 if ac_fn_cxx_try_compile "$LINENO"; then :
36905   wx_cv_lib_gdiplus=yes
36906 else
36907   wx_cv_lib_gdiplus=no
36908
36909 fi
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911                 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36916
36917
36918
36919 fi
36920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36921 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36922         if test "$wx_cv_lib_gdiplus" = "yes"; then
36923             wx_has_graphics=1
36924         fi
36925     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36926
36927 pkg_failed=no
36928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36929 $as_echo_n "checking for CAIRO... " >&6; }
36930
36931 if test -n "$PKG_CONFIG"; then
36932     if test -n "$CAIRO_CFLAGS"; then
36933         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36934     else
36935         if test -n "$PKG_CONFIG" && \
36936     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36937   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36938   ac_status=$?
36939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36940   test $ac_status = 0; }; then
36941   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36942 else
36943   pkg_failed=yes
36944 fi
36945     fi
36946 else
36947         pkg_failed=untried
36948 fi
36949 if test -n "$PKG_CONFIG"; then
36950     if test -n "$CAIRO_LIBS"; then
36951         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36952     else
36953         if test -n "$PKG_CONFIG" && \
36954     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36955   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36956   ac_status=$?
36957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36958   test $ac_status = 0; }; then
36959   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36960 else
36961   pkg_failed=yes
36962 fi
36963     fi
36964 else
36965         pkg_failed=untried
36966 fi
36967
36968
36969
36970 if test $pkg_failed = yes; then
36971
36972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36973         _pkg_short_errors_supported=yes
36974 else
36975         _pkg_short_errors_supported=no
36976 fi
36977         if test $_pkg_short_errors_supported = yes; then
36978                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36979         else
36980                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36981         fi
36982         # Put the nasty error message in config.log where it belongs
36983         echo "$CAIRO_PKG_ERRORS" >&5
36984
36985         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36986 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36987
36988 elif test $pkg_failed = untried; then
36989         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36990 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36991
36992 else
36993         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36994         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36996 $as_echo "yes" >&6; }
36997         wx_has_graphics=1
36998 fi
36999         if test "$wx_has_graphics" = 1; then
37000                                                 save_LIBS="$LIBS"
37001             LIBS="$LIBS $CAIRO_LIBS"
37002             for ac_func in cairo_push_group
37003 do :
37004   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37005 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37006   cat >>confdefs.h <<_ACEOF
37007 #define HAVE_CAIRO_PUSH_GROUP 1
37008 _ACEOF
37009
37010 fi
37011 done
37012
37013             LIBS="$save_LIBS"
37014             if test "$ac_cv_func_cairo_push_group" = "no"; then
37015                 wx_has_graphics=0
37016                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37017 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37018             else
37019                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37020
37021
37022                                                 if test "$wxUSE_GTK" != 1; then
37023                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37024                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37025                 fi
37026             fi
37027         fi
37028     else
37029                 wx_has_graphics=1
37030     fi
37031
37032     if test "$wx_has_graphics" = 1; then
37033         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37034
37035     else
37036         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37037 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37038     fi
37039 fi
37040
37041
37042 USE_MEDIA=0
37043
37044 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37045     USE_MEDIA=1
37046
37047                 if test "$wxUSE_GTK" = 1; then
37048         wxUSE_GSTREAMER="no"
37049
37050                                                                 GST_VERSION_MAJOR=0
37051         GST_VERSION_MINOR=10
37052         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37053
37054         if test "$wxUSE_GSTREAMER8" = "no"; then
37055
37056 pkg_failed=no
37057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37058 $as_echo_n "checking for GST... " >&6; }
37059
37060 if test -n "$PKG_CONFIG"; then
37061     if test -n "$GST_CFLAGS"; then
37062         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37063     else
37064         if test -n "$PKG_CONFIG" && \
37065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37066   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37067   ac_status=$?
37068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37069   test $ac_status = 0; }; then
37070   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37071 else
37072   pkg_failed=yes
37073 fi
37074     fi
37075 else
37076         pkg_failed=untried
37077 fi
37078 if test -n "$PKG_CONFIG"; then
37079     if test -n "$GST_LIBS"; then
37080         pkg_cv_GST_LIBS="$GST_LIBS"
37081     else
37082         if test -n "$PKG_CONFIG" && \
37083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37084   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37085   ac_status=$?
37086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37087   test $ac_status = 0; }; then
37088   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37089 else
37090   pkg_failed=yes
37091 fi
37092     fi
37093 else
37094         pkg_failed=untried
37095 fi
37096
37097
37098
37099 if test $pkg_failed = yes; then
37100
37101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37102         _pkg_short_errors_supported=yes
37103 else
37104         _pkg_short_errors_supported=no
37105 fi
37106         if test $_pkg_short_errors_supported = yes; then
37107                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37108         else
37109                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37110         fi
37111         # Put the nasty error message in config.log where it belongs
37112         echo "$GST_PKG_ERRORS" >&5
37113
37114
37115                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37116 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37117                     GST_VERSION_MINOR=8
37118
37119
37120 elif test $pkg_failed = untried; then
37121
37122                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37123 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37124                     GST_VERSION_MINOR=8
37125
37126
37127 else
37128         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37129         GST_LIBS=$pkg_cv_GST_LIBS
37130         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37131 $as_echo "yes" >&6; }
37132
37133                     wxUSE_GSTREAMER="yes"
37134                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37135
37136 fi
37137         else
37138                         GST_VERSION_MINOR=8
37139         fi
37140
37141         if test $GST_VERSION_MINOR = "8"; then
37142             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37143
37144 pkg_failed=no
37145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37146 $as_echo_n "checking for GST... " >&6; }
37147
37148 if test -n "$PKG_CONFIG"; then
37149     if test -n "$GST_CFLAGS"; then
37150         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37151     else
37152         if test -n "$PKG_CONFIG" && \
37153     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37154   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37155   ac_status=$?
37156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37157   test $ac_status = 0; }; then
37158   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37159 else
37160   pkg_failed=yes
37161 fi
37162     fi
37163 else
37164         pkg_failed=untried
37165 fi
37166 if test -n "$PKG_CONFIG"; then
37167     if test -n "$GST_LIBS"; then
37168         pkg_cv_GST_LIBS="$GST_LIBS"
37169     else
37170         if test -n "$PKG_CONFIG" && \
37171     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37172   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37173   ac_status=$?
37174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37175   test $ac_status = 0; }; then
37176   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37177 else
37178   pkg_failed=yes
37179 fi
37180     fi
37181 else
37182         pkg_failed=untried
37183 fi
37184
37185
37186
37187 if test $pkg_failed = yes; then
37188
37189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37190         _pkg_short_errors_supported=yes
37191 else
37192         _pkg_short_errors_supported=no
37193 fi
37194         if test $_pkg_short_errors_supported = yes; then
37195                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37196         else
37197                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37198         fi
37199         # Put the nasty error message in config.log where it belongs
37200         echo "$GST_PKG_ERRORS" >&5
37201
37202
37203                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37204 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37205
37206 elif test $pkg_failed = untried; then
37207
37208                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37209 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37210
37211 else
37212         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37213         GST_LIBS=$pkg_cv_GST_LIBS
37214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37215 $as_echo "yes" >&6; }
37216         wxUSE_GSTREAMER="yes"
37217 fi
37218         fi
37219
37220
37221         if test "$wxUSE_GSTREAMER" = "yes"; then
37222             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37223             EXTRALIBS_MEDIA="$GST_LIBS"
37224
37225             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37226
37227         else
37228             USE_MEDIA=0
37229         fi
37230
37231     elif test "$wxUSE_MAC" = 1; then
37232                            GST_LIBS="-framework QTKit"
37233     fi
37234
37235     if test $USE_MEDIA = 1; then
37236         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37237         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37238
37239     else
37240         if test "$wxUSE_MEDIACTRL" = "yes"; then
37241             as_fn_error $? "GStreamer not available" "$LINENO" 5
37242         else
37243                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37244 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37245         fi
37246     fi
37247 fi
37248
37249
37250 if test "$cross_compiling" != "no"; then
37251         OSINFO="\"$host\""
37252 else
37253         OSINFO=`uname -s -r -m`
37254     OSINFO="\"$OSINFO\""
37255 fi
37256
37257 cat >>confdefs.h <<_ACEOF
37258 #define WXWIN_OS_DESCRIPTION $OSINFO
37259 _ACEOF
37260
37261
37262
37263 if test "x$prefix" != "xNONE"; then
37264     wxPREFIX=$prefix
37265 else
37266     wxPREFIX=$ac_default_prefix
37267 fi
37268
37269 cat >>confdefs.h <<_ACEOF
37270 #define wxINSTALL_PREFIX "$wxPREFIX"
37271 _ACEOF
37272
37273
37274
37275
37276 STD_BASE_LIBS="base"
37277 STD_GUI_LIBS=""
37278 BUILT_WX_LIBS="base"
37279 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37280
37281 if test "$wxUSE_SOCKETS" = "yes" ; then
37282     STD_BASE_LIBS="net $STD_BASE_LIBS"
37283     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37284 fi
37285 if test "$wxUSE_XML" = "yes" ; then
37286     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37287     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37288 fi
37289
37290 if test "$wxUSE_GUI" = "yes"; then
37291     STD_GUI_LIBS="adv core"
37292     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37293
37294     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37295         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37296         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37297     fi
37298     if test "$wxUSE_HTML" = "yes" ; then
37299         STD_GUI_LIBS="html $STD_GUI_LIBS"
37300         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37301     fi
37302     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37303         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37304     fi
37305     if test "$wxUSE_OPENGL" = "yes" ; then
37306         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37307     fi
37308     if test "$wxUSE_AUI" = "yes" ; then
37309         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37310     fi
37311     if test "$wxUSE_PROPGRID" = "yes" ; then
37312         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37313     fi
37314     if test "$wxUSE_RIBBON" = "yes" ; then
37315         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37316     fi
37317     if test "$wxUSE_RICHTEXT" = "yes" ; then
37318         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37319     fi
37320     if test "$wxUSE_STC" = "yes" ; then
37321         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37322     fi
37323     if test "$wxUSE_WEBVIEW" = "yes" ; then
37324         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37325         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37326     fi
37327     if test "$wxUSE_XRC" = "yes" ; then
37328         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37329         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37330     fi
37331 fi
37332
37333
37334
37335
37336
37337
37338
37339 EXTRA_FRAMEWORKS=
37340 if test "$wxUSE_MAC" = 1 ; then
37341     if test "$USE_DARWIN" = 1; then
37342         if test "$wxUSE_OSX_IPHONE" = 1; then
37343             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37344         else
37345             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37346
37347
37348             if test "$cross_compiling" != "no"; then
37349                                                                                                 wx_cv_target_x86_64=no
37350             else
37351                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37352 $as_echo_n "checking if we target only x86_64... " >&6; }
37353 if ${wx_cv_target_x86_64+:} false; then :
37354   $as_echo_n "(cached) " >&6
37355 else
37356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37357 /* end confdefs.h.  */
37358 int main() { return 0; }
37359 _ACEOF
37360 if ac_fn_c_try_link "$LINENO"; then :
37361   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37362                             wx_cv_target_x86_64=no
37363                         else
37364                             wx_cv_target_x86_64=yes
37365                         fi
37366
37367 fi
37368 rm -f core conftest.err conftest.$ac_objext \
37369     conftest$ac_exeext conftest.$ac_ext
37370
37371 fi
37372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37373 $as_echo "$wx_cv_target_x86_64" >&6; }
37374             fi
37375
37376             if test "$wx_cv_target_x86_64" != "yes"; then
37377                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37378             fi
37379         fi
37380     fi
37381 fi
37382 if test "$wxUSE_OLD_COCOA" = 1 ; then
37383     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37384     if test "$wxUSE_MEDIACTRL" = "yes"; then
37385         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37386     fi
37387 fi
37388 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37389     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37390 fi
37391
37392 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37393 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37394
37395 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37396
37397 if test "$wxUSE_GUI" = "yes"; then
37398
37399
37400         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37401                      erase event exec font image minimal render \
37402                      shaped svg taborder vscroll widgets wrapsizer"
37403
37404     if test "$wxUSE_MONOLITHIC" != "yes"; then
37405         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37406     fi
37407     if test "$TOOLKIT" = "MSW"; then
37408         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37409         if test "$wxUSE_UNIVERSAL" != "yes"; then
37410             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37411         fi
37412     fi
37413     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37414         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37415     fi
37416 else
37417     SAMPLES_SUBDIRS="console"
37418     if test "$wxUSE_SOCKETS" = "yes" ; then
37419         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37420     fi
37421     if test "$wxUSE_IPC" = "yes" ; then
37422         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37423     fi
37424 fi
37425
37426
37427 if test "x$INTELCC" = "xyes" ; then
37428                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37429 elif test "$GCC" = yes ; then
37430     CWARNINGS="-Wall -Wundef"
37431 fi
37432
37433 if test "x$INTELCXX" = "xyes" ; then
37434                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37435 elif test "$GXX" = yes ; then
37436     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37437     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37438 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37439 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37440   $as_echo_n "(cached) " >&6
37441 else
37442   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37443
37444  ac_ext=cpp
37445 ac_cpp='$CXXCPP $CPPFLAGS'
37446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37449
37450  ac_save_CXXFLAGS="$CXXFLAGS"
37451 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37452 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37453    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37454 /* end confdefs.h.  */
37455
37456 int
37457 main ()
37458 {
37459 return 0;
37460   ;
37461   return 0;
37462 }
37463 _ACEOF
37464 if ac_fn_cxx_try_compile "$LINENO"; then :
37465   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37466 fi
37467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37468 done
37469  CXXFLAGS="$ac_save_CXXFLAGS"
37470  ac_ext=c
37471 ac_cpp='$CPP $CPPFLAGS'
37472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475
37476
37477 fi
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37479 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37480 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37481      .ok|.ok,*)  ;;
37482    .|.no|.no,*)  ;;
37483    *)
37484    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37485    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37486   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37487   ac_status=$?
37488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37489   test $ac_status = 0; }
37490    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37491   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37492   ac_status=$?
37493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37494   test $ac_status = 0; }
37495                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37496    fi
37497  ;;
37498 esac
37499
37500
37501                     if test "$wxUSE_MAC" = 1 ; then
37502         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37503     fi
37504 fi
37505
37506
37507 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37508 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37509
37510
37511 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37512  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37513  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37514  $CPPFLAGS `
37515
37516 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37517 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37518 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37519 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37520 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37521
37522 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37523
37524
37525 if test "x$MWCC" = "xyes"; then
37526
37527             CC="$CC -cwd source -I-"
37528     CXX="$CXX -cwd source -I-"
37529 fi
37530
37531
37532 LIBS=`echo $LIBS`
37533 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37534 EXTRALIBS_XML="$EXPAT_LINK"
37535 EXTRALIBS_HTML="$MSPACK_LINK"
37536 EXTRALIBS_MEDIA="$GST_LIBS"
37537 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37538 if test "$wxUSE_GUI" = "yes"; then
37539     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37540 fi
37541 if test "$wxUSE_OPENGL" = "yes"; then
37542     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37543 fi
37544
37545 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37546
37547 WXCONFIG_LIBS="$LIBS"
37548
37549 if test "$wxUSE_REGEX" = "builtin" ; then
37550     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37551 fi
37552 if test "$wxUSE_EXPAT" = "builtin" ; then
37553     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37554 fi
37555 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37556     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37557 fi
37558 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37559     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37560 fi
37561 if test "$wxUSE_LIBPNG" = "builtin" ; then
37562     wxconfig_3rdparty="png $wxconfig_3rdparty"
37563 fi
37564 if test "$wxUSE_ZLIB" = "builtin" ; then
37565     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37566 fi
37567
37568 for i in $wxconfig_3rdparty ; do
37569     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37570 done
37571
37572
37573 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37574     WXUNIV=1
37575
37576     case "$wxUNIV_THEMES" in
37577         ''|all)
37578             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37579
37580             ;;
37581
37582         *)
37583             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37584                 cat >>confdefs.h <<_ACEOF
37585 #define wxUSE_THEME_$t 1
37586 _ACEOF
37587
37588             done
37589     esac
37590 else
37591     WXUNIV=0
37592 fi
37593
37594
37595
37596
37597
37598
37599
37600
37601 if test $wxUSE_MONOLITHIC = "yes" ; then
37602     MONOLITHIC=1
37603 else
37604     MONOLITHIC=0
37605 fi
37606
37607 if test $wxUSE_PLUGINS = "yes" ; then
37608     USE_PLUGINS=1
37609 else
37610     USE_PLUGINS=0
37611 fi
37612
37613 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37614     USE_QA=1
37615 else
37616     USE_QA=0
37617 fi
37618
37619 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37620     OFFICIAL_BUILD=1
37621 else
37622     OFFICIAL_BUILD=0
37623 fi
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658 case "$TOOLKIT" in
37659     GTK)
37660         TOOLKIT_DESC="GTK+"
37661         if test "$WXGTK2" = 1; then
37662             if test "$WXGTK3" = 1; then
37663                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37664             else
37665                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37666             fi
37667             if test "$wxUSE_GTKPRINT" = "yes" ; then
37668                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37669             fi
37670             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37671                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37672             fi
37673             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37674                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37675             fi
37676             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37677                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37678             fi
37679             if test "$wxUSE_LIBHILDON" = "yes"; then
37680                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37681             fi
37682             if test "$wxUSE_LIBHILDON2" = "yes"; then
37683                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37684             fi
37685
37686             if test "$TOOLKIT_EXTRA" != ""; then
37687                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37688             fi
37689         fi
37690         ;;
37691
37692     ?*)
37693         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37694         ;;
37695
37696     *)
37697         TOOLKIT_DESC="base only"
37698         ;;
37699 esac
37700
37701 if test "$wxUSE_WINE" = "yes"; then
37702     BAKEFILE_FORCE_PLATFORM=win32
37703 fi
37704
37705 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37706 then
37707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37708 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37709 if ${wx_cv_gcc_pch_bug+:} false; then :
37710   $as_echo_n "(cached) " >&6
37711 else
37712
37713             echo '#include <stdio.h>
37714                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37715
37716             echo '#include "conftest.h"
37717                   int main()
37718                   {
37719                      printf("%ls", test_var);
37720                      return 0;
37721                   }' > conftest.cpp
37722
37723             wx_cv_gcc_pch_bug="pch not supported"
37724
37725             if $CXX conftest.h >/dev/null 2>&1
37726             then
37727                 wx_cv_gcc_pch_bug=
37728
37729                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37730                 then
37731                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37732                         grep awidetest >/dev/null
37733                     then
37734                         wx_cv_gcc_pch_bug=no
37735                     else
37736                         wx_cv_gcc_pch_bug=yes
37737                     fi
37738                 fi
37739             fi
37740
37741             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37742
37743 fi
37744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37745 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37746
37747     if test "$wx_cv_gcc_pch_bug" = yes; then
37748                         bk_use_pch=no
37749     fi
37750 fi
37751
37752 # Find a good install program.  We prefer a C program (faster),
37753 # so one script is as good as another.  But avoid the broken or
37754 # incompatible versions:
37755 # SysV /etc/install, /usr/sbin/install
37756 # SunOS /usr/etc/install
37757 # IRIX /sbin/install
37758 # AIX /bin/install
37759 # AmigaOS /C/install, which installs bootblocks on floppy discs
37760 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37761 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37762 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37763 # OS/2's system install, which has a completely different semantic
37764 # ./install, which can be erroneously created by make from ./install.sh.
37765 # Reject install programs that cannot install multiple files.
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37767 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37768 if test -z "$INSTALL"; then
37769 if ${ac_cv_path_install+:} false; then :
37770   $as_echo_n "(cached) " >&6
37771 else
37772   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37773 for as_dir in $PATH
37774 do
37775   IFS=$as_save_IFS
37776   test -z "$as_dir" && as_dir=.
37777     # Account for people who put trailing slashes in PATH elements.
37778 case $as_dir/ in #((
37779   ./ | .// | /[cC]/* | \
37780   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37781   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37782   /usr/ucb/* ) ;;
37783   *)
37784     # OSF1 and SCO ODT 3.0 have their own names for install.
37785     # Don't use installbsd from OSF since it installs stuff as root
37786     # by default.
37787     for ac_prog in ginstall scoinst install; do
37788       for ac_exec_ext in '' $ac_executable_extensions; do
37789         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37790           if test $ac_prog = install &&
37791             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37792             # AIX install.  It has an incompatible calling convention.
37793             :
37794           elif test $ac_prog = install &&
37795             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37796             # program-specific install script used by HP pwplus--don't use.
37797             :
37798           else
37799             rm -rf conftest.one conftest.two conftest.dir
37800             echo one > conftest.one
37801             echo two > conftest.two
37802             mkdir conftest.dir
37803             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37804               test -s conftest.one && test -s conftest.two &&
37805               test -s conftest.dir/conftest.one &&
37806               test -s conftest.dir/conftest.two
37807             then
37808               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37809               break 3
37810             fi
37811           fi
37812         fi
37813       done
37814     done
37815     ;;
37816 esac
37817
37818   done
37819 IFS=$as_save_IFS
37820
37821 rm -rf conftest.one conftest.two conftest.dir
37822
37823 fi
37824   if test "${ac_cv_path_install+set}" = set; then
37825     INSTALL=$ac_cv_path_install
37826   else
37827     # As a last resort, use the slow shell script.  Don't cache a
37828     # value for INSTALL within a source directory, because that will
37829     # break other packages using the cache if that directory is
37830     # removed, or if the value is a relative name.
37831     INSTALL=$ac_install_sh
37832   fi
37833 fi
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37835 $as_echo "$INSTALL" >&6; }
37836
37837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37838 # It thinks the first close brace ends the variable substitution.
37839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37840
37841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37842
37843 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37844
37845
37846
37847
37848
37849
37850
37851     if test "x$BAKEFILE_HOST" = "x"; then
37852                if test "x${host}" = "x" ; then
37853                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37854                fi
37855
37856         BAKEFILE_HOST="${host}"
37857     fi
37858
37859     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37860
37861     if test -n "$ac_tool_prefix"; then
37862   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37863 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37865 $as_echo_n "checking for $ac_word... " >&6; }
37866 if ${ac_cv_prog_RANLIB+:} false; then :
37867   $as_echo_n "(cached) " >&6
37868 else
37869   if test -n "$RANLIB"; then
37870   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37871 else
37872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37873 for as_dir in $PATH
37874 do
37875   IFS=$as_save_IFS
37876   test -z "$as_dir" && as_dir=.
37877     for ac_exec_ext in '' $ac_executable_extensions; do
37878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37879     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37881     break 2
37882   fi
37883 done
37884   done
37885 IFS=$as_save_IFS
37886
37887 fi
37888 fi
37889 RANLIB=$ac_cv_prog_RANLIB
37890 if test -n "$RANLIB"; then
37891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37892 $as_echo "$RANLIB" >&6; }
37893 else
37894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37895 $as_echo "no" >&6; }
37896 fi
37897
37898
37899 fi
37900 if test -z "$ac_cv_prog_RANLIB"; then
37901   ac_ct_RANLIB=$RANLIB
37902   # Extract the first word of "ranlib", so it can be a program name with args.
37903 set dummy ranlib; ac_word=$2
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37905 $as_echo_n "checking for $ac_word... " >&6; }
37906 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37907   $as_echo_n "(cached) " >&6
37908 else
37909   if test -n "$ac_ct_RANLIB"; then
37910   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37911 else
37912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37913 for as_dir in $PATH
37914 do
37915   IFS=$as_save_IFS
37916   test -z "$as_dir" && as_dir=.
37917     for ac_exec_ext in '' $ac_executable_extensions; do
37918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37919     ac_cv_prog_ac_ct_RANLIB="ranlib"
37920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37921     break 2
37922   fi
37923 done
37924   done
37925 IFS=$as_save_IFS
37926
37927 fi
37928 fi
37929 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37930 if test -n "$ac_ct_RANLIB"; then
37931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37932 $as_echo "$ac_ct_RANLIB" >&6; }
37933 else
37934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37935 $as_echo "no" >&6; }
37936 fi
37937
37938   if test "x$ac_ct_RANLIB" = x; then
37939     RANLIB=":"
37940   else
37941     case $cross_compiling:$ac_tool_warned in
37942 yes:)
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37945 ac_tool_warned=yes ;;
37946 esac
37947     RANLIB=$ac_ct_RANLIB
37948   fi
37949 else
37950   RANLIB="$ac_cv_prog_RANLIB"
37951 fi
37952
37953
37954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37955 $as_echo_n "checking whether ln -s works... " >&6; }
37956 LN_S=$as_ln_s
37957 if test "$LN_S" = "ln -s"; then
37958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37959 $as_echo "yes" >&6; }
37960 else
37961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37962 $as_echo "no, using $LN_S" >&6; }
37963 fi
37964
37965
37966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37967 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37968 set x ${MAKE-make}
37969 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37970 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37971   $as_echo_n "(cached) " >&6
37972 else
37973   cat >conftest.make <<\_ACEOF
37974 SHELL = /bin/sh
37975 all:
37976         @echo '@@@%%%=$(MAKE)=@@@%%%'
37977 _ACEOF
37978 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37979 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37980   *@@@%%%=?*=@@@%%%*)
37981     eval ac_cv_prog_make_${ac_make}_set=yes;;
37982   *)
37983     eval ac_cv_prog_make_${ac_make}_set=no;;
37984 esac
37985 rm -f conftest.make
37986 fi
37987 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37989 $as_echo "yes" >&6; }
37990   SET_MAKE=
37991 else
37992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37993 $as_echo "no" >&6; }
37994   SET_MAKE="MAKE=${MAKE-make}"
37995 fi
37996
37997
37998
37999     if test "x$SUNCXX" = "xyes"; then
38000                                 AR=$CXX
38001         AROPTIONS="-xar -o"
38002
38003     elif test "x$SGICC" = "xyes"; then
38004                 AR=$CXX
38005         AROPTIONS="-ar -o"
38006
38007     else
38008         if test -n "$ac_tool_prefix"; then
38009   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38010 set dummy ${ac_tool_prefix}ar; ac_word=$2
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38012 $as_echo_n "checking for $ac_word... " >&6; }
38013 if ${ac_cv_prog_AR+:} false; then :
38014   $as_echo_n "(cached) " >&6
38015 else
38016   if test -n "$AR"; then
38017   ac_cv_prog_AR="$AR" # Let the user override the test.
38018 else
38019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38020 for as_dir in $PATH
38021 do
38022   IFS=$as_save_IFS
38023   test -z "$as_dir" && as_dir=.
38024     for ac_exec_ext in '' $ac_executable_extensions; do
38025   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38026     ac_cv_prog_AR="${ac_tool_prefix}ar"
38027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38028     break 2
38029   fi
38030 done
38031   done
38032 IFS=$as_save_IFS
38033
38034 fi
38035 fi
38036 AR=$ac_cv_prog_AR
38037 if test -n "$AR"; then
38038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38039 $as_echo "$AR" >&6; }
38040 else
38041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38042 $as_echo "no" >&6; }
38043 fi
38044
38045
38046 fi
38047 if test -z "$ac_cv_prog_AR"; then
38048   ac_ct_AR=$AR
38049   # Extract the first word of "ar", so it can be a program name with args.
38050 set dummy ar; ac_word=$2
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38052 $as_echo_n "checking for $ac_word... " >&6; }
38053 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38054   $as_echo_n "(cached) " >&6
38055 else
38056   if test -n "$ac_ct_AR"; then
38057   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38058 else
38059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38060 for as_dir in $PATH
38061 do
38062   IFS=$as_save_IFS
38063   test -z "$as_dir" && as_dir=.
38064     for ac_exec_ext in '' $ac_executable_extensions; do
38065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38066     ac_cv_prog_ac_ct_AR="ar"
38067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38068     break 2
38069   fi
38070 done
38071   done
38072 IFS=$as_save_IFS
38073
38074 fi
38075 fi
38076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38077 if test -n "$ac_ct_AR"; then
38078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38079 $as_echo "$ac_ct_AR" >&6; }
38080 else
38081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38082 $as_echo "no" >&6; }
38083 fi
38084
38085   if test "x$ac_ct_AR" = x; then
38086     AR="ar"
38087   else
38088     case $cross_compiling:$ac_tool_warned in
38089 yes:)
38090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38092 ac_tool_warned=yes ;;
38093 esac
38094     AR=$ac_ct_AR
38095   fi
38096 else
38097   AR="$ac_cv_prog_AR"
38098 fi
38099
38100         AROPTIONS=rcu
38101     fi
38102
38103
38104     if test -n "$ac_tool_prefix"; then
38105   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38106 set dummy ${ac_tool_prefix}strip; ac_word=$2
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38108 $as_echo_n "checking for $ac_word... " >&6; }
38109 if ${ac_cv_prog_STRIP+:} false; then :
38110   $as_echo_n "(cached) " >&6
38111 else
38112   if test -n "$STRIP"; then
38113   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38114 else
38115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38116 for as_dir in $PATH
38117 do
38118   IFS=$as_save_IFS
38119   test -z "$as_dir" && as_dir=.
38120     for ac_exec_ext in '' $ac_executable_extensions; do
38121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38122     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38124     break 2
38125   fi
38126 done
38127   done
38128 IFS=$as_save_IFS
38129
38130 fi
38131 fi
38132 STRIP=$ac_cv_prog_STRIP
38133 if test -n "$STRIP"; then
38134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38135 $as_echo "$STRIP" >&6; }
38136 else
38137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38138 $as_echo "no" >&6; }
38139 fi
38140
38141
38142 fi
38143 if test -z "$ac_cv_prog_STRIP"; then
38144   ac_ct_STRIP=$STRIP
38145   # Extract the first word of "strip", so it can be a program name with args.
38146 set dummy strip; ac_word=$2
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38148 $as_echo_n "checking for $ac_word... " >&6; }
38149 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38150   $as_echo_n "(cached) " >&6
38151 else
38152   if test -n "$ac_ct_STRIP"; then
38153   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38154 else
38155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38156 for as_dir in $PATH
38157 do
38158   IFS=$as_save_IFS
38159   test -z "$as_dir" && as_dir=.
38160     for ac_exec_ext in '' $ac_executable_extensions; do
38161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38162     ac_cv_prog_ac_ct_STRIP="strip"
38163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38164     break 2
38165   fi
38166 done
38167   done
38168 IFS=$as_save_IFS
38169
38170 fi
38171 fi
38172 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38173 if test -n "$ac_ct_STRIP"; then
38174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38175 $as_echo "$ac_ct_STRIP" >&6; }
38176 else
38177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38178 $as_echo "no" >&6; }
38179 fi
38180
38181   if test "x$ac_ct_STRIP" = x; then
38182     STRIP=":"
38183   else
38184     case $cross_compiling:$ac_tool_warned in
38185 yes:)
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38188 ac_tool_warned=yes ;;
38189 esac
38190     STRIP=$ac_ct_STRIP
38191   fi
38192 else
38193   STRIP="$ac_cv_prog_STRIP"
38194 fi
38195
38196     if test -n "$ac_tool_prefix"; then
38197   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38198 set dummy ${ac_tool_prefix}nm; ac_word=$2
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38200 $as_echo_n "checking for $ac_word... " >&6; }
38201 if ${ac_cv_prog_NM+:} false; then :
38202   $as_echo_n "(cached) " >&6
38203 else
38204   if test -n "$NM"; then
38205   ac_cv_prog_NM="$NM" # Let the user override the test.
38206 else
38207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38208 for as_dir in $PATH
38209 do
38210   IFS=$as_save_IFS
38211   test -z "$as_dir" && as_dir=.
38212     for ac_exec_ext in '' $ac_executable_extensions; do
38213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38214     ac_cv_prog_NM="${ac_tool_prefix}nm"
38215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38216     break 2
38217   fi
38218 done
38219   done
38220 IFS=$as_save_IFS
38221
38222 fi
38223 fi
38224 NM=$ac_cv_prog_NM
38225 if test -n "$NM"; then
38226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38227 $as_echo "$NM" >&6; }
38228 else
38229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38230 $as_echo "no" >&6; }
38231 fi
38232
38233
38234 fi
38235 if test -z "$ac_cv_prog_NM"; then
38236   ac_ct_NM=$NM
38237   # Extract the first word of "nm", so it can be a program name with args.
38238 set dummy nm; ac_word=$2
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38240 $as_echo_n "checking for $ac_word... " >&6; }
38241 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38242   $as_echo_n "(cached) " >&6
38243 else
38244   if test -n "$ac_ct_NM"; then
38245   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38246 else
38247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38248 for as_dir in $PATH
38249 do
38250   IFS=$as_save_IFS
38251   test -z "$as_dir" && as_dir=.
38252     for ac_exec_ext in '' $ac_executable_extensions; do
38253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38254     ac_cv_prog_ac_ct_NM="nm"
38255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38256     break 2
38257   fi
38258 done
38259   done
38260 IFS=$as_save_IFS
38261
38262 fi
38263 fi
38264 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38265 if test -n "$ac_ct_NM"; then
38266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38267 $as_echo "$ac_ct_NM" >&6; }
38268 else
38269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38270 $as_echo "no" >&6; }
38271 fi
38272
38273   if test "x$ac_ct_NM" = x; then
38274     NM=":"
38275   else
38276     case $cross_compiling:$ac_tool_warned in
38277 yes:)
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38280 ac_tool_warned=yes ;;
38281 esac
38282     NM=$ac_ct_NM
38283   fi
38284 else
38285   NM="$ac_cv_prog_NM"
38286 fi
38287
38288
38289         INSTALL_DIR="mkdir -p"
38290
38291
38292     LDFLAGS_GUI=
38293     case ${BAKEFILE_HOST} in
38294         *-*-cygwin* | *-*-mingw32* )
38295         LDFLAGS_GUI="-mwindows"
38296     esac
38297
38298
38299     fi
38300
38301         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38302 $as_echo_n "checking if make is GNU make... " >&6; }
38303 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38304   $as_echo_n "(cached) " >&6
38305 else
38306
38307         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38308                 egrep -s GNU > /dev/null); then
38309             bakefile_cv_prog_makeisgnu="yes"
38310         else
38311             bakefile_cv_prog_makeisgnu="no"
38312         fi
38313
38314 fi
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38316 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38317
38318     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38319         IF_GNU_MAKE=""
38320     else
38321         IF_GNU_MAKE="#"
38322     fi
38323
38324
38325
38326     PLATFORM_UNIX=0
38327     PLATFORM_WIN32=0
38328     PLATFORM_MSDOS=0
38329     PLATFORM_MAC=0
38330     PLATFORM_MACOS=0
38331     PLATFORM_MACOSX=0
38332     PLATFORM_OS2=0
38333     PLATFORM_BEOS=0
38334
38335     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38336         case "${BAKEFILE_HOST}" in
38337             *-*-mingw32* )
38338                 PLATFORM_WIN32=1
38339             ;;
38340             *-pc-msdosdjgpp )
38341                 PLATFORM_MSDOS=1
38342             ;;
38343             *-pc-os2_emx | *-pc-os2-emx )
38344                 PLATFORM_OS2=1
38345             ;;
38346             *-*-darwin* )
38347                 PLATFORM_MAC=1
38348                 PLATFORM_MACOSX=1
38349             ;;
38350             *-*-beos* )
38351                 PLATFORM_BEOS=1
38352             ;;
38353             powerpc-apple-macos* )
38354                 PLATFORM_MAC=1
38355                 PLATFORM_MACOS=1
38356             ;;
38357             * )
38358                 PLATFORM_UNIX=1
38359             ;;
38360         esac
38361     else
38362         case "$BAKEFILE_FORCE_PLATFORM" in
38363             win32 )
38364                 PLATFORM_WIN32=1
38365             ;;
38366             msdos )
38367                 PLATFORM_MSDOS=1
38368             ;;
38369             os2 )
38370                 PLATFORM_OS2=1
38371             ;;
38372             darwin )
38373                 PLATFORM_MAC=1
38374                 PLATFORM_MACOSX=1
38375             ;;
38376             unix )
38377                 PLATFORM_UNIX=1
38378             ;;
38379             beos )
38380                 PLATFORM_BEOS=1
38381             ;;
38382             * )
38383                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38384             ;;
38385         esac
38386     fi
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398     # Check whether --enable-omf was given.
38399 if test "${enable_omf+set}" = set; then :
38400   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38401 fi
38402
38403
38404     case "${BAKEFILE_HOST}" in
38405       *-*-darwin* )
38406                         if test "x$GCC" = "xyes"; then
38407             CFLAGS="$CFLAGS -fno-common"
38408             CXXFLAGS="$CXXFLAGS -fno-common"
38409         fi
38410         if test "x$XLCC" = "xyes"; then
38411             CFLAGS="$CFLAGS -qnocommon"
38412             CXXFLAGS="$CXXFLAGS -qnocommon"
38413         fi
38414         ;;
38415
38416       *-pc-os2_emx | *-pc-os2-emx )
38417         if test "x$bk_os2_use_omf" = "xyes" ; then
38418             AR=emxomfar
38419             RANLIB=:
38420             LDFLAGS="-Zomf $LDFLAGS"
38421             CFLAGS="-Zomf $CFLAGS"
38422             CXXFLAGS="-Zomf $CXXFLAGS"
38423             OS2_LIBEXT="lib"
38424         else
38425             OS2_LIBEXT="a"
38426         fi
38427         ;;
38428
38429       i*86-*-beos* )
38430         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38431         ;;
38432     esac
38433
38434
38435     SO_SUFFIX="so"
38436     SO_SUFFIX_MODULE="so"
38437     EXEEXT=""
38438     LIBPREFIX="lib"
38439     LIBEXT=".a"
38440     DLLPREFIX="lib"
38441     DLLPREFIX_MODULE=""
38442     DLLIMP_SUFFIX=""
38443     dlldir="$libdir"
38444
38445     case "${BAKEFILE_HOST}" in
38446                         ia64-hp-hpux* )
38447         ;;
38448         *-hp-hpux* )
38449             SO_SUFFIX="sl"
38450             SO_SUFFIX_MODULE="sl"
38451         ;;
38452         *-*-aix* )
38453                                                                         SO_SUFFIX="a"
38454             SO_SUFFIX_MODULE="a"
38455         ;;
38456         *-*-cygwin* )
38457             SO_SUFFIX="dll"
38458             SO_SUFFIX_MODULE="dll"
38459             DLLIMP_SUFFIX="dll.a"
38460             EXEEXT=".exe"
38461             DLLPREFIX="cyg"
38462             dlldir="$bindir"
38463         ;;
38464         *-*-mingw32* )
38465             SO_SUFFIX="dll"
38466             SO_SUFFIX_MODULE="dll"
38467             DLLIMP_SUFFIX="dll.a"
38468             EXEEXT=".exe"
38469             DLLPREFIX=""
38470             dlldir="$bindir"
38471         ;;
38472         *-pc-msdosdjgpp )
38473             EXEEXT=".exe"
38474             DLLPREFIX=""
38475             dlldir="$bindir"
38476         ;;
38477         *-pc-os2_emx | *-pc-os2-emx )
38478             SO_SUFFIX="dll"
38479             SO_SUFFIX_MODULE="dll"
38480             DLLIMP_SUFFIX=$OS2_LIBEXT
38481             EXEEXT=".exe"
38482             DLLPREFIX=""
38483             LIBPREFIX=""
38484             LIBEXT=".$OS2_LIBEXT"
38485             dlldir="$bindir"
38486         ;;
38487         *-*-darwin* )
38488             SO_SUFFIX="dylib"
38489             SO_SUFFIX_MODULE="bundle"
38490         ;;
38491     esac
38492
38493     if test "x$DLLIMP_SUFFIX" = "x" ; then
38494         DLLIMP_SUFFIX="$SO_SUFFIX"
38495     fi
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508         PIC_FLAG=""
38509     if test "x$GCC" = "xyes"; then
38510                 PIC_FLAG="-fPIC"
38511     fi
38512
38513         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38514     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38515     WINDOWS_IMPLIB=0
38516
38517     case "${BAKEFILE_HOST}" in
38518       *-hp-hpux* )
38519                 if test "x$GCC" != "xyes"; then
38520                         LDFLAGS="$LDFLAGS -L/usr/lib"
38521
38522             SHARED_LD_CC="${CC} -b -o"
38523             SHARED_LD_CXX="${CXX} -b -o"
38524             PIC_FLAG="+Z"
38525         fi
38526       ;;
38527
38528       *-*-linux* )
38529                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38530             PIC_FLAG="-KPIC"
38531         elif test "x$SUNCXX" = "xyes"; then
38532             SHARED_LD_CC="${CC} -G -o"
38533             SHARED_LD_CXX="${CXX} -G -o"
38534             PIC_FLAG="-KPIC"
38535         fi
38536       ;;
38537
38538       *-*-solaris2* )
38539         if test "x$SUNCXX" = xyes ; then
38540             SHARED_LD_CC="${CC} -G -o"
38541             SHARED_LD_CXX="${CXX} -G -o"
38542             PIC_FLAG="-KPIC"
38543         fi
38544       ;;
38545
38546       *-*-darwin* )
38547
38548 D='$'
38549 cat <<EOF >shared-ld-sh
38550 #!/bin/sh
38551 #-----------------------------------------------------------------------------
38552 #-- Name:        distrib/mac/shared-ld-sh
38553 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38554 #-- Author:      Gilles Depeyrot
38555 #-- Copyright:   (c) 2002 Gilles Depeyrot
38556 #-- Licence:     any use permitted
38557 #-----------------------------------------------------------------------------
38558
38559 verbose=0
38560 args=""
38561 objects=""
38562 linking_flag="-dynamiclib"
38563 ldargs="-r -keep_private_externs -nostdlib"
38564
38565 if test "x${D}CXX" = "x"; then
38566     CXX="c++"
38567 fi
38568
38569 while test ${D}# -gt 0; do
38570     case ${D}1 in
38571
38572        -v)
38573         verbose=1
38574         ;;
38575
38576        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38577         # collect these options and values
38578         args="${D}{args} ${D}1 ${D}2"
38579         shift
38580         ;;
38581
38582        -arch|-isysroot)
38583         # collect these options and values
38584         ldargs="${D}{ldargs} ${D}1 ${D}2"
38585         shift
38586         ;;
38587
38588        -s|-Wl,*)
38589         # collect these load args
38590         ldargs="${D}{ldargs} ${D}1"
38591         ;;
38592
38593        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38594         # collect these options
38595         args="${D}{args} ${D}1"
38596         ;;
38597
38598        -dynamiclib|-bundle)
38599         linking_flag="${D}1"
38600         ;;
38601
38602        -*)
38603         echo "shared-ld: unhandled option '${D}1'"
38604         exit 1
38605         ;;
38606
38607         *.o | *.a | *.dylib)
38608         # collect object files
38609         objects="${D}{objects} ${D}1"
38610         ;;
38611
38612         *)
38613         echo "shared-ld: unhandled argument '${D}1'"
38614         exit 1
38615         ;;
38616
38617     esac
38618     shift
38619 done
38620
38621 status=0
38622
38623 #
38624 # Link one module containing all the others
38625 #
38626 if test ${D}{verbose} = 1; then
38627     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38628 fi
38629 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38630 status=${D}?
38631
38632 #
38633 # Link the shared library from the single module created, but only if the
38634 # previous command didn't fail:
38635 #
38636 if test ${D}{status} = 0; then
38637     if test ${D}{verbose} = 1; then
38638         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38639     fi
38640     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38641     status=${D}?
38642 fi
38643
38644 #
38645 # Remove intermediate module
38646 #
38647 rm -f master.${D}${D}.o
38648
38649 exit ${D}status
38650 EOF
38651
38652         chmod +x shared-ld-sh
38653
38654         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38655         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38656
38657
38658                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38659 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38660 if ${bakefile_cv_gcc31+:} false; then :
38661   $as_echo_n "(cached) " >&6
38662 else
38663
38664            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38665 /* end confdefs.h.  */
38666
38667 int
38668 main ()
38669 {
38670
38671                    #if (__GNUC__ < 3) || \
38672                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38673                        This is old gcc
38674                    #endif
38675
38676   ;
38677   return 0;
38678 }
38679 _ACEOF
38680 if ac_fn_c_try_compile "$LINENO"; then :
38681
38682                    bakefile_cv_gcc31=yes
38683
38684 else
38685
38686                    bakefile_cv_gcc31=no
38687
38688
38689 fi
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691
38692 fi
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38694 $as_echo "$bakefile_cv_gcc31" >&6; }
38695         if test "$bakefile_cv_gcc31" = "no"; then
38696                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38697             SHARED_LD_CXX="$SHARED_LD_CC"
38698         else
38699                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38700             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38701         fi
38702
38703         if test "x$GCC" == "xyes"; then
38704             PIC_FLAG="-dynamic -fPIC"
38705         fi
38706         if test "x$XLCC" = "xyes"; then
38707             PIC_FLAG="-dynamic -DPIC"
38708         fi
38709       ;;
38710
38711       *-*-aix* )
38712         if test "x$GCC" = "xyes"; then
38713                                                             PIC_FLAG=""
38714
38715                                                                                     case "${BAKEFILE_HOST}" in
38716                 *-*-aix5* )
38717                     LD_EXPFULL="-Wl,-bexpfull"
38718                     ;;
38719             esac
38720
38721             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38722             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38723         else
38724                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38725 set dummy makeC++SharedLib; ac_word=$2
38726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38727 $as_echo_n "checking for $ac_word... " >&6; }
38728 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38729   $as_echo_n "(cached) " >&6
38730 else
38731   if test -n "$AIX_CXX_LD"; then
38732   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38733 else
38734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38735 for as_dir in $PATH
38736 do
38737   IFS=$as_save_IFS
38738   test -z "$as_dir" && as_dir=.
38739     for ac_exec_ext in '' $ac_executable_extensions; do
38740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38741     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38743     break 2
38744   fi
38745 done
38746   done
38747 IFS=$as_save_IFS
38748
38749   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38750 fi
38751 fi
38752 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38753 if test -n "$AIX_CXX_LD"; then
38754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38755 $as_echo "$AIX_CXX_LD" >&6; }
38756 else
38757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38758 $as_echo "no" >&6; }
38759 fi
38760
38761
38762             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38763             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38764         fi
38765       ;;
38766
38767       *-*-beos* )
38768                         SHARED_LD_CC="${LD} -nostart -o"
38769         SHARED_LD_CXX="${LD} -nostart -o"
38770       ;;
38771
38772       *-*-irix* )
38773                 if test "x$GCC" != "xyes"; then
38774             PIC_FLAG="-KPIC"
38775         fi
38776       ;;
38777
38778       *-*-cygwin* | *-*-mingw32* )
38779         PIC_FLAG=""
38780         SHARED_LD_CC="\$(CC) -shared -o"
38781         SHARED_LD_CXX="\$(CXX) -shared -o"
38782         WINDOWS_IMPLIB=1
38783       ;;
38784
38785       *-pc-os2_emx | *-pc-os2-emx )
38786         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38787         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38788         PIC_FLAG=""
38789
38790 D='$'
38791 cat <<EOF >dllar.sh
38792 #!/bin/sh
38793 #
38794 # dllar - a tool to build both a .dll and an .a file
38795 # from a set of object (.o) files for EMX/OS2.
38796 #
38797 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38798 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38799 #
38800 #  This script will accept a set of files on the command line.
38801 #  All the public symbols from the .o files will be exported into
38802 #  a .DEF file, then linker will be run (through gcc) against them to
38803 #  build a shared library consisting of all given .o files. All libraries
38804 #  (.a) will be first decompressed into component .o files then act as
38805 #  described above. You can optionally give a description (-d "description")
38806 #  which will be put into .DLL. To see the list of accepted options (as well
38807 #  as command-line format) simply run this program without options. The .DLL
38808 #  is built to be imported by name (there is no guarantee that new versions
38809 #  of the library you build will have same ordinals for same symbols).
38810 #
38811 #  dllar is free software; you can redistribute it and/or modify
38812 #  it under the terms of the GNU General Public License as published by
38813 #  the Free Software Foundation; either version 2, or (at your option)
38814 #  any later version.
38815 #
38816 #  dllar is distributed in the hope that it will be useful,
38817 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38818 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38819 #  GNU General Public License for more details.
38820 #
38821 #  You should have received a copy of the GNU General Public License
38822 #  along with dllar; see the file COPYING.  If not, write to the Free
38823 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38824 #  02111-1307, USA.
38825
38826 # To successfuly run this program you will need:
38827 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38828 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38829 #  - gcc
38830 #    (used to build the .dll)
38831 #  - emxexp
38832 #    (used to create .def file from .o files)
38833 #  - emximp
38834 #    (used to create .a file from .def file)
38835 #  - GNU text utilites (cat, sort, uniq)
38836 #    used to process emxexp output
38837 #  - GNU file utilities (mv, rm)
38838 #  - GNU sed
38839 #  - lxlite (optional, see flag below)
38840 #    (used for general .dll cleanup)
38841 #
38842
38843 flag_USE_LXLITE=1;
38844
38845 #
38846 # helper functions
38847 # basnam, variant of basename, which does _not_ remove the path, _iff_
38848 #                              second argument (suffix to remove) is given
38849 basnam(){
38850     case ${D}# in
38851     1)
38852         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38853         ;;
38854     2)
38855         echo ${D}1 | sed 's/'${D}2'${D}//'
38856         ;;
38857     *)
38858         echo "error in basnam ${D}*"
38859         exit 8
38860         ;;
38861     esac
38862 }
38863
38864 # Cleanup temporary files and output
38865 CleanUp() {
38866     cd ${D}curDir
38867     for i in ${D}inputFiles ; do
38868         case ${D}i in
38869         *!)
38870             rm -rf \`basnam ${D}i !\`
38871             ;;
38872         *)
38873             ;;
38874         esac
38875     done
38876
38877     # Kill result in case of failure as there is just to many stupid make/nmake
38878     # things out there which doesn't do this.
38879     if [ ${D}# -eq 0 ]; then
38880         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38881     fi
38882 }
38883
38884 # Print usage and exit script with rc=1.
38885 PrintHelp() {
38886  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38887  echo '       [-name-mangler-script script.sh]'
38888  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38889  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
38890  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38891  echo '       [*.o] [*.a]'
38892  echo '*> "output_file" should have no extension.'
38893  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
38894  echo '   The import library name is derived from this and is set to "name".a,'
38895  echo '   unless overridden by -import'
38896  echo '*> "importlib_name" should have no extension.'
38897  echo '   If it has the .o, or .a extension, it is automatically removed.'
38898  echo '   This name is used as the import library name and may be longer and'
38899  echo '   more descriptive than the DLL name which has to follow the old '
38900  echo '   8.3 convention of FAT.'
38901  echo '*> "script.sh may be given to override the output_file name by a'
38902  echo '   different name. It is mainly useful if the regular make process'
38903  echo '   of some package does not take into account OS/2 restriction of'
38904  echo '   DLL name lengths. It takes the importlib name as input and is'
38905  echo '   supposed to procude a shorter name as output. The script should'
38906  echo '   expect to get importlib_name without extension and should produce'
38907  echo '   a (max.) 8 letter name without extension.'
38908  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
38909  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38910  echo '   These flags will be put at the start of GCC command line.'
38911  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38912  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38913  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38914  echo '   If the last character of a symbol is "*", all symbols beginning'
38915  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38916  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38917  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38918  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38919  echo '   C runtime DLLs.'
38920  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38921  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38922  echo '   unchanged to GCC at the end of command line.'
38923  echo '*> If you create a DLL from a library and you do not specify -o,'
38924  echo '   the basename for DLL and import library will be set to library name,'
38925  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
38926  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38927  echo '   library will be renamed into gcc_s.a.'
38928  echo '--------'
38929  echo 'Example:'
38930  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38931  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38932  CleanUp
38933  exit 1
38934 }
38935
38936 # Execute a command.
38937 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38938 # @Uses    Whatever CleanUp() uses.
38939 doCommand() {
38940     echo "${D}*"
38941     eval ${D}*
38942     rcCmd=${D}?
38943
38944     if [ ${D}rcCmd -ne 0 ]; then
38945         echo "command failed, exit code="${D}rcCmd
38946         CleanUp
38947         exit ${D}rcCmd
38948     fi
38949 }
38950
38951 # main routine
38952 # setup globals
38953 cmdLine=${D}*
38954 outFile=""
38955 outimpFile=""
38956 inputFiles=""
38957 renameScript=""
38958 description=""
38959 CC=gcc.exe
38960 CFLAGS="-s -Zcrtdll"
38961 EXTRA_CFLAGS=""
38962 EXPORT_BY_ORDINALS=0
38963 exclude_symbols=""
38964 library_flags=""
38965 curDir=\`pwd\`
38966 curDirS=curDir
38967 case ${D}curDirS in
38968 */)
38969   ;;
38970 *)
38971   curDirS=${D}{curDirS}"/"
38972   ;;
38973 esac
38974 # Parse commandline
38975 libsToLink=0
38976 omfLinking=0
38977 while [ ${D}1 ]; do
38978     case ${D}1 in
38979     -ord*)
38980         EXPORT_BY_ORDINALS=1;
38981         ;;
38982     -o*)
38983         shift
38984         outFile=${D}1
38985         ;;
38986     -i*)
38987         shift
38988         outimpFile=${D}1
38989         ;;
38990     -name-mangler-script)
38991         shift
38992         renameScript=${D}1
38993         ;;
38994     -d*)
38995         shift
38996         description=${D}1
38997         ;;
38998     -f*)
38999         shift
39000         CFLAGS=${D}1
39001         ;;
39002     -c*)
39003         shift
39004         CC=${D}1
39005         ;;
39006     -h*)
39007         PrintHelp
39008         ;;
39009     -ex*)
39010         shift
39011         exclude_symbols=${D}{exclude_symbols}${D}1" "
39012         ;;
39013     -libf*)
39014         shift
39015         library_flags=${D}{library_flags}${D}1" "
39016         ;;
39017     -nocrt*)
39018         CFLAGS="-s"
39019         ;;
39020     -nolxl*)
39021         flag_USE_LXLITE=0
39022         ;;
39023     -* | /*)
39024         case ${D}1 in
39025         -L* | -l*)
39026             libsToLink=1
39027             ;;
39028         -Zomf)
39029             omfLinking=1
39030             ;;
39031         *)
39032             ;;
39033         esac
39034         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39035         ;;
39036     *.dll)
39037         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39038         if [ ${D}omfLinking -eq 1 ]; then
39039             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39040         else
39041             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39042         fi
39043         ;;
39044     *)
39045         found=0;
39046         if [ ${D}libsToLink -ne 0 ]; then
39047             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39048         else
39049             for file in ${D}1 ; do
39050                 if [ -f ${D}file ]; then
39051                     inputFiles="${D}{inputFiles} ${D}file"
39052                     found=1
39053                 fi
39054             done
39055             if [ ${D}found -eq 0 ]; then
39056                 echo "ERROR: No file(s) found: "${D}1
39057                 exit 8
39058             fi
39059         fi
39060       ;;
39061     esac
39062     shift
39063 done # iterate cmdline words
39064
39065 #
39066 if [ -z "${D}inputFiles" ]; then
39067     echo "dllar: no input files"
39068     PrintHelp
39069 fi
39070
39071 # Now extract all .o files from .a files
39072 newInputFiles=""
39073 for file in ${D}inputFiles ; do
39074     case ${D}file in
39075     *.a | *.lib)
39076         case ${D}file in
39077         *.a)
39078             suffix=".a"
39079             AR="ar"
39080             ;;
39081         *.lib)
39082             suffix=".lib"
39083             AR="emxomfar"
39084             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39085             ;;
39086         *)
39087             ;;
39088         esac
39089         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39090         mkdir ${D}dirname
39091         if [ ${D}? -ne 0 ]; then
39092             echo "Failed to create subdirectory ./${D}dirname"
39093             CleanUp
39094             exit 8;
39095         fi
39096         # Append '!' to indicate archive
39097         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39098         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39099         cd ${D}curDir
39100         found=0;
39101         for subfile in ${D}dirname/*.o* ; do
39102             if [ -f ${D}subfile ]; then
39103                 found=1
39104                 if [ -s ${D}subfile ]; then
39105                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39106                     newInputFiles="${D}newInputFiles ${D}subfile"
39107                 fi
39108             fi
39109         done
39110         if [ ${D}found -eq 0 ]; then
39111             echo "WARNING: there are no files in archive \\'${D}file\\'"
39112         fi
39113         ;;
39114     *)
39115         newInputFiles="${D}{newInputFiles} ${D}file"
39116         ;;
39117     esac
39118 done
39119 inputFiles="${D}newInputFiles"
39120
39121 # Output filename(s).
39122 do_backup=0;
39123 if [ -z ${D}outFile ]; then
39124     do_backup=1;
39125     set outFile ${D}inputFiles; outFile=${D}2
39126 fi
39127
39128 # If it is an archive, remove the '!' and the '_%' suffixes
39129 case ${D}outFile in
39130 *_%!)
39131     outFile=\`basnam ${D}outFile _%!\`
39132     ;;
39133 *)
39134     ;;
39135 esac
39136 case ${D}outFile in
39137 *.dll)
39138     outFile=\`basnam ${D}outFile .dll\`
39139     ;;
39140 *.DLL)
39141     outFile=\`basnam ${D}outFile .DLL\`
39142     ;;
39143 *.o)
39144     outFile=\`basnam ${D}outFile .o\`
39145     ;;
39146 *.obj)
39147     outFile=\`basnam ${D}outFile .obj\`
39148     ;;
39149 *.a)
39150     outFile=\`basnam ${D}outFile .a\`
39151     ;;
39152 *.lib)
39153     outFile=\`basnam ${D}outFile .lib\`
39154     ;;
39155 *)
39156     ;;
39157 esac
39158 case ${D}outimpFile in
39159 *.a)
39160     outimpFile=\`basnam ${D}outimpFile .a\`
39161     ;;
39162 *.lib)
39163     outimpFile=\`basnam ${D}outimpFile .lib\`
39164     ;;
39165 *)
39166     ;;
39167 esac
39168 if [ -z ${D}outimpFile ]; then
39169     outimpFile=${D}outFile
39170 fi
39171 defFile="${D}{outFile}.def"
39172 arcFile="${D}{outimpFile}.a"
39173 arcFile2="${D}{outimpFile}.lib"
39174
39175 #create ${D}dllFile as something matching 8.3 restrictions,
39176 if [ -z ${D}renameScript ] ; then
39177     dllFile="${D}outFile"
39178 else
39179     dllFile=\`${D}renameScript ${D}outimpFile\`
39180 fi
39181
39182 if [ ${D}do_backup -ne 0 ] ; then
39183     if [ -f ${D}arcFile ] ; then
39184         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39185     fi
39186     if [ -f ${D}arcFile2 ] ; then
39187         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39188     fi
39189 fi
39190
39191 # Extract public symbols from all the object files.
39192 tmpdefFile=${D}{defFile}_%
39193 rm -f ${D}tmpdefFile
39194 for file in ${D}inputFiles ; do
39195     case ${D}file in
39196     *!)
39197         ;;
39198     *)
39199         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39200         ;;
39201     esac
39202 done
39203
39204 # Create the def file.
39205 rm -f ${D}defFile
39206 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39207 dllFile="${D}{dllFile}.dll"
39208 if [ ! -z ${D}description ]; then
39209     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39210 fi
39211 echo "EXPORTS" >> ${D}defFile
39212
39213 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39214 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39215
39216 # Checks if the export is ok or not.
39217 for word in ${D}exclude_symbols; do
39218     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39219     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39220 done
39221
39222
39223 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39224     sed "=" < ${D}tmpdefFile | \\
39225     sed '
39226       N
39227       : loop
39228       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39229       t loop
39230     ' > ${D}{tmpdefFile}%
39231     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39232 else
39233     rm -f ${D}{tmpdefFile}%
39234 fi
39235 cat ${D}tmpdefFile >> ${D}defFile
39236 rm -f ${D}tmpdefFile
39237
39238 # Do linking, create implib, and apply lxlite.
39239 gccCmdl="";
39240 for file in ${D}inputFiles ; do
39241     case ${D}file in
39242     *!)
39243         ;;
39244     *)
39245         gccCmdl="${D}gccCmdl ${D}file"
39246         ;;
39247     esac
39248 done
39249 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39250 touch "${D}{outFile}.dll"
39251
39252 doCommand "emximp -o ${D}arcFile ${D}defFile"
39253 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39254     add_flags="";
39255     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39256         add_flags="-ynd"
39257     fi
39258     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39259 fi
39260 doCommand "emxomf -s -l ${D}arcFile"
39261
39262 # Successful exit.
39263 CleanUp 1
39264 exit 0
39265 EOF
39266
39267         chmod +x dllar.sh
39268       ;;
39269
39270       powerpc-apple-macos* | \
39271       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39272       *-*-mirbsd* | \
39273       *-*-sunos4* | \
39274       *-*-osf* | \
39275       *-*-dgux5* | \
39276       *-*-sysv5* | \
39277       *-pc-msdosdjgpp )
39278               ;;
39279
39280       *)
39281         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39282     esac
39283
39284     if test "x$PIC_FLAG" != "x" ; then
39285         PIC_FLAG="$PIC_FLAG -DPIC"
39286     fi
39287
39288     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39289         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39290     fi
39291     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39292         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39293     fi
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303     USE_SOVERSION=0
39304     USE_SOVERLINUX=0
39305     USE_SOVERSOLARIS=0
39306     USE_SOVERCYGWIN=0
39307     USE_SOTWOSYMLINKS=0
39308     USE_MACVERSION=0
39309     SONAME_FLAG=
39310
39311     case "${BAKEFILE_HOST}" in
39312       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39313       *-*-k*bsd*-gnu | *-*-mirbsd* )
39314         if test "x$SUNCXX" = "xyes"; then
39315             SONAME_FLAG="-h "
39316         else
39317             SONAME_FLAG="-Wl,-soname,"
39318         fi
39319         USE_SOVERSION=1
39320         USE_SOVERLINUX=1
39321         USE_SOTWOSYMLINKS=1
39322       ;;
39323
39324       *-*-solaris2* )
39325         SONAME_FLAG="-h "
39326         USE_SOVERSION=1
39327         USE_SOVERSOLARIS=1
39328       ;;
39329
39330       *-*-darwin* )
39331         USE_MACVERSION=1
39332         USE_SOVERSION=1
39333         USE_SOTWOSYMLINKS=1
39334       ;;
39335
39336       *-*-cygwin* )
39337         USE_SOVERSION=1
39338         USE_SOVERCYGWIN=1
39339       ;;
39340     esac
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351     # Check whether --enable-dependency-tracking was given.
39352 if test "${enable_dependency_tracking+set}" = set; then :
39353   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39354 fi
39355
39356
39357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39358 $as_echo_n "checking for dependency tracking method... " >&6; }
39359
39360     BK_DEPS=""
39361     if test "x$bk_use_trackdeps" = "xno" ; then
39362         DEPS_TRACKING=0
39363         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39364 $as_echo "disabled" >&6; }
39365     else
39366         DEPS_TRACKING=1
39367
39368         if test "x$GCC" = "xyes"; then
39369             DEPSMODE=gcc
39370             DEPSFLAG="-MMD"
39371             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39372 $as_echo "gcc" >&6; }
39373         elif test "x$MWCC" = "xyes"; then
39374             DEPSMODE=mwcc
39375             DEPSFLAG="-MM"
39376             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39377 $as_echo "mwcc" >&6; }
39378         elif test "x$SUNCC" = "xyes"; then
39379             DEPSMODE=unixcc
39380             DEPSFLAG="-xM1"
39381             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39382 $as_echo "Sun cc" >&6; }
39383         elif test "x$SGICC" = "xyes"; then
39384             DEPSMODE=unixcc
39385             DEPSFLAG="-M"
39386             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39387 $as_echo "SGI cc" >&6; }
39388         elif test "x$HPCC" = "xyes"; then
39389             DEPSMODE=unixcc
39390             DEPSFLAG="+make"
39391             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39392 $as_echo "HP cc" >&6; }
39393         elif test "x$COMPAQCC" = "xyes"; then
39394             DEPSMODE=gcc
39395             DEPSFLAG="-MD"
39396             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39397 $as_echo "Compaq cc" >&6; }
39398         else
39399             DEPS_TRACKING=0
39400             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39401 $as_echo "none" >&6; }
39402         fi
39403
39404         if test $DEPS_TRACKING = 1 ; then
39405
39406 D='$'
39407 cat <<EOF >bk-deps
39408 #!/bin/sh
39409
39410 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39411 # script. It is used to track C/C++ files dependencies in portable way.
39412 #
39413 # Permission is given to use this file in any way.
39414
39415 DEPSMODE=${DEPSMODE}
39416 DEPSFLAG="${DEPSFLAG}"
39417 DEPSDIRBASE=.deps
39418
39419 if test ${D}DEPSMODE = gcc ; then
39420     ${D}* ${D}{DEPSFLAG}
39421     status=${D}?
39422
39423     # determine location of created files:
39424     while test ${D}# -gt 0; do
39425         case "${D}1" in
39426             -o )
39427                 shift
39428                 objfile=${D}1
39429             ;;
39430             -* )
39431             ;;
39432             * )
39433                 srcfile=${D}1
39434             ;;
39435         esac
39436         shift
39437     done
39438     objfilebase=\`basename ${D}objfile\`
39439     builddir=\`dirname ${D}objfile\`
39440     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39441     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39442     depsdir=${D}builddir/${D}DEPSDIRBASE
39443     mkdir -p ${D}depsdir
39444
39445     # if the compiler failed, we're done:
39446     if test ${D}{status} != 0 ; then
39447         rm -f ${D}depfile
39448         exit ${D}{status}
39449     fi
39450
39451     # move created file to the location we want it in:
39452     if test -f ${D}depfile ; then
39453         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39454         rm -f ${D}depfile
39455     else
39456         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39457         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39458         if test ! -f ${D}depfile ; then
39459             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39460             depfile="${D}objfile.d"
39461         fi
39462         if test -f ${D}depfile ; then
39463             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39464             rm -f ${D}depfile
39465         fi
39466     fi
39467     exit 0
39468
39469 elif test ${D}DEPSMODE = mwcc ; then
39470     ${D}* || exit ${D}?
39471     # Run mwcc again with -MM and redirect into the dep file we want
39472     # NOTE: We can't use shift here because we need ${D}* to be valid
39473     prevarg=
39474     for arg in ${D}* ; do
39475         if test "${D}prevarg" = "-o"; then
39476             objfile=${D}arg
39477         else
39478             case "${D}arg" in
39479                 -* )
39480                 ;;
39481                 * )
39482                     srcfile=${D}arg
39483                 ;;
39484             esac
39485         fi
39486         prevarg="${D}arg"
39487     done
39488
39489     objfilebase=\`basename ${D}objfile\`
39490     builddir=\`dirname ${D}objfile\`
39491     depsdir=${D}builddir/${D}DEPSDIRBASE
39492     mkdir -p ${D}depsdir
39493
39494     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39495     exit 0
39496
39497 elif test ${D}DEPSMODE = unixcc; then
39498     ${D}* || exit ${D}?
39499     # Run compiler again with deps flag and redirect into the dep file.
39500     # It doesn't work if the '-o FILE' option is used, but without it the
39501     # dependency file will contain the wrong name for the object. So it is
39502     # removed from the command line, and the dep file is fixed with sed.
39503     cmd=""
39504     while test ${D}# -gt 0; do
39505         case "${D}1" in
39506             -o )
39507                 shift
39508                 objfile=${D}1
39509             ;;
39510             * )
39511                 eval arg${D}#=\\${D}1
39512                 cmd="${D}cmd \\${D}arg${D}#"
39513             ;;
39514         esac
39515         shift
39516     done
39517
39518     objfilebase=\`basename ${D}objfile\`
39519     builddir=\`dirname ${D}objfile\`
39520     depsdir=${D}builddir/${D}DEPSDIRBASE
39521     mkdir -p ${D}depsdir
39522
39523     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39524     exit 0
39525
39526 else
39527     ${D}*
39528     exit ${D}?
39529 fi
39530 EOF
39531
39532             chmod +x bk-deps
39533                                     BK_DEPS="`pwd`/bk-deps"
39534         fi
39535     fi
39536
39537
39538
39539
39540
39541     case ${BAKEFILE_HOST} in
39542         *-*-cygwin* | *-*-mingw32* )
39543                         if test -n "$ac_tool_prefix"; then
39544   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39545 set dummy ${ac_tool_prefix}windres; ac_word=$2
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39547 $as_echo_n "checking for $ac_word... " >&6; }
39548 if ${ac_cv_prog_WINDRES+:} false; then :
39549   $as_echo_n "(cached) " >&6
39550 else
39551   if test -n "$WINDRES"; then
39552   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39553 else
39554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39555 for as_dir in $PATH
39556 do
39557   IFS=$as_save_IFS
39558   test -z "$as_dir" && as_dir=.
39559     for ac_exec_ext in '' $ac_executable_extensions; do
39560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39561     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39563     break 2
39564   fi
39565 done
39566   done
39567 IFS=$as_save_IFS
39568
39569 fi
39570 fi
39571 WINDRES=$ac_cv_prog_WINDRES
39572 if test -n "$WINDRES"; then
39573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39574 $as_echo "$WINDRES" >&6; }
39575 else
39576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39577 $as_echo "no" >&6; }
39578 fi
39579
39580
39581 fi
39582 if test -z "$ac_cv_prog_WINDRES"; then
39583   ac_ct_WINDRES=$WINDRES
39584   # Extract the first word of "windres", so it can be a program name with args.
39585 set dummy windres; ac_word=$2
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39587 $as_echo_n "checking for $ac_word... " >&6; }
39588 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39589   $as_echo_n "(cached) " >&6
39590 else
39591   if test -n "$ac_ct_WINDRES"; then
39592   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39593 else
39594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39595 for as_dir in $PATH
39596 do
39597   IFS=$as_save_IFS
39598   test -z "$as_dir" && as_dir=.
39599     for ac_exec_ext in '' $ac_executable_extensions; do
39600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39601     ac_cv_prog_ac_ct_WINDRES="windres"
39602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39603     break 2
39604   fi
39605 done
39606   done
39607 IFS=$as_save_IFS
39608
39609 fi
39610 fi
39611 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39612 if test -n "$ac_ct_WINDRES"; then
39613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39614 $as_echo "$ac_ct_WINDRES" >&6; }
39615 else
39616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39617 $as_echo "no" >&6; }
39618 fi
39619
39620   if test "x$ac_ct_WINDRES" = x; then
39621     WINDRES=""
39622   else
39623     case $cross_compiling:$ac_tool_warned in
39624 yes:)
39625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39627 ac_tool_warned=yes ;;
39628 esac
39629     WINDRES=$ac_ct_WINDRES
39630   fi
39631 else
39632   WINDRES="$ac_cv_prog_WINDRES"
39633 fi
39634
39635          ;;
39636
39637       *-*-darwin* | powerpc-apple-macos* )
39638             # Extract the first word of "Rez", so it can be a program name with args.
39639 set dummy Rez; ac_word=$2
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39641 $as_echo_n "checking for $ac_word... " >&6; }
39642 if ${ac_cv_prog_REZ+:} false; then :
39643   $as_echo_n "(cached) " >&6
39644 else
39645   if test -n "$REZ"; then
39646   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39647 else
39648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39649 for as_dir in $PATH
39650 do
39651   IFS=$as_save_IFS
39652   test -z "$as_dir" && as_dir=.
39653     for ac_exec_ext in '' $ac_executable_extensions; do
39654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39655     ac_cv_prog_REZ="Rez"
39656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39657     break 2
39658   fi
39659 done
39660   done
39661 IFS=$as_save_IFS
39662
39663   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39664 fi
39665 fi
39666 REZ=$ac_cv_prog_REZ
39667 if test -n "$REZ"; then
39668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39669 $as_echo "$REZ" >&6; }
39670 else
39671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39672 $as_echo "no" >&6; }
39673 fi
39674
39675
39676             # Extract the first word of "SetFile", so it can be a program name with args.
39677 set dummy SetFile; ac_word=$2
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39679 $as_echo_n "checking for $ac_word... " >&6; }
39680 if ${ac_cv_prog_SETFILE+:} false; then :
39681   $as_echo_n "(cached) " >&6
39682 else
39683   if test -n "$SETFILE"; then
39684   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39685 else
39686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39687 for as_dir in $PATH
39688 do
39689   IFS=$as_save_IFS
39690   test -z "$as_dir" && as_dir=.
39691     for ac_exec_ext in '' $ac_executable_extensions; do
39692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39693     ac_cv_prog_SETFILE="SetFile"
39694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39695     break 2
39696   fi
39697 done
39698   done
39699 IFS=$as_save_IFS
39700
39701   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39702 fi
39703 fi
39704 SETFILE=$ac_cv_prog_SETFILE
39705 if test -n "$SETFILE"; then
39706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39707 $as_echo "$SETFILE" >&6; }
39708 else
39709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39710 $as_echo "no" >&6; }
39711 fi
39712
39713
39714         ;;
39715     esac
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39726
39727
39728 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39729
39730
39731
39732     # Check whether --enable-precomp-headers was given.
39733 if test "${enable_precomp_headers+set}" = set; then :
39734   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39735 fi
39736
39737
39738     GCC_PCH=0
39739     ICC_PCH=0
39740     USE_PCH=0
39741     BK_MAKE_PCH=""
39742
39743     case ${BAKEFILE_HOST} in
39744         *-*-cygwin* )
39745                                                 bk_use_pch="no"
39746             ;;
39747     esac
39748
39749     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39750         if test "x$GCC" = "xyes"; then
39751                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39752 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39753             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39754 /* end confdefs.h.  */
39755
39756 int
39757 main ()
39758 {
39759
39760                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39761                         There is no PCH support
39762                     #endif
39763                     #if (__GNUC__ < 3)
39764                         There is no PCH support
39765                     #endif
39766                     #if (__GNUC__ == 3) && \
39767                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39768                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39769                        ( defined(__INTEL_COMPILER) )
39770                         There is no PCH support
39771                     #endif
39772
39773   ;
39774   return 0;
39775 }
39776 _ACEOF
39777 if ac_fn_c_try_compile "$LINENO"; then :
39778
39779                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39780 $as_echo "yes" >&6; }
39781                     GCC_PCH=1
39782
39783 else
39784
39785                     if test "$INTELCXX8" = "yes"; then
39786                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39787 $as_echo "yes" >&6; }
39788                         ICC_PCH=1
39789                         if test "$INTELCXX10" = "yes"; then
39790                             ICC_PCH_CREATE_SWITCH="-pch-create"
39791                             ICC_PCH_USE_SWITCH="-pch-use"
39792                         else
39793                             ICC_PCH_CREATE_SWITCH="-create-pch"
39794                             ICC_PCH_USE_SWITCH="-use-pch"
39795                         fi
39796                     else
39797                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39798 $as_echo "no" >&6; }
39799                     fi
39800
39801 fi
39802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39803             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39804                 USE_PCH=1
39805
39806 D='$'
39807 cat <<EOF >bk-make-pch
39808 #!/bin/sh
39809
39810 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39811 # script. It is used to generated precompiled headers.
39812 #
39813 # Permission is given to use this file in any way.
39814
39815 outfile="${D}{1}"
39816 header="${D}{2}"
39817 shift
39818 shift
39819
39820 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39821
39822 compiler=""
39823 headerfile=""
39824
39825 while test ${D}{#} -gt 0; do
39826     add_to_cmdline=1
39827     case "${D}{1}" in
39828         -I* )
39829             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39830             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39831                 headerfile="${D}{incdir}/${D}{header}"
39832             fi
39833         ;;
39834         -use-pch|-use_pch|-pch-use )
39835             shift
39836             add_to_cmdline=0
39837         ;;
39838     esac
39839     if test ${D}add_to_cmdline = 1 ; then
39840         compiler="${D}{compiler} ${D}{1}"
39841     fi
39842     shift
39843 done
39844
39845 if test "x${D}{headerfile}" = "x" ; then
39846     echo "error: can't find header ${D}{header} in include paths" >&2
39847 else
39848     if test -f ${D}{outfile} ; then
39849         rm -f ${D}{outfile}
39850     else
39851         mkdir -p \`dirname ${D}{outfile}\`
39852     fi
39853     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39854     mkdir -p ${D}{builddir}/.deps
39855     if test "x${GCC_PCH}" = "x1" ; then
39856         # can do this because gcc is >= 3.4:
39857         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39858     elif test "x${ICC_PCH}" = "x1" ; then
39859         filename=pch_gen-${D}${D}
39860         file=${D}{filename}.c
39861         dfile=${D}{filename}.d
39862         cat > ${D}file <<EOT
39863 #include "${D}header"
39864 EOT
39865         # using -MF icc complains about differing command lines in creation/use
39866         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39867           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39868           rm -f ${D}file ${D}dfile ${D}{filename}.o
39869     fi
39870     exit ${D}{?}
39871 fi
39872 EOF
39873
39874                 chmod +x bk-make-pch
39875                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
39876             fi
39877         fi
39878     fi
39879
39880
39881
39882
39883
39884
39885
39886     COND_BUILD_DEBUG="#"
39887     if test "x$BUILD" = "xdebug" ; then
39888         COND_BUILD_DEBUG=""
39889     fi
39890
39891     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39892     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39893         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39894     fi
39895
39896     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39897     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39898         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39899     fi
39900
39901     COND_BUILD_DEBUG_UNICODE_0="#"
39902     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39903         COND_BUILD_DEBUG_UNICODE_0=""
39904     fi
39905
39906     COND_BUILD_DEBUG_UNICODE_1="#"
39907     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39908         COND_BUILD_DEBUG_UNICODE_1=""
39909     fi
39910
39911     COND_BUILD_RELEASE="#"
39912     if test "x$BUILD" = "xrelease" ; then
39913         COND_BUILD_RELEASE=""
39914     fi
39915
39916     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39917     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39918         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39919     fi
39920
39921     COND_BUILD_RELEASE_UNICODE_0="#"
39922     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39923         COND_BUILD_RELEASE_UNICODE_0=""
39924     fi
39925
39926     COND_BUILD_RELEASE_UNICODE_1="#"
39927     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39928         COND_BUILD_RELEASE_UNICODE_1=""
39929     fi
39930
39931     COND_BUILD_debug="#"
39932     if test "x$BUILD" = "xdebug" ; then
39933         COND_BUILD_debug=""
39934     fi
39935
39936     COND_BUILD_debug_DEBUG_FLAG_default="#"
39937     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39938         COND_BUILD_debug_DEBUG_FLAG_default=""
39939     fi
39940
39941     COND_BUILD_debug_DEBUG_INFO_default="#"
39942     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39943         COND_BUILD_debug_DEBUG_INFO_default=""
39944     fi
39945
39946     COND_BUILD_debug_UNICODE_0="#"
39947     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39948         COND_BUILD_debug_UNICODE_0=""
39949     fi
39950
39951     COND_BUILD_debug_UNICODE_1="#"
39952     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39953         COND_BUILD_debug_UNICODE_1=""
39954     fi
39955
39956     COND_BUILD_release="#"
39957     if test "x$BUILD" = "xrelease" ; then
39958         COND_BUILD_release=""
39959     fi
39960
39961     COND_BUILD_release_DEBUG_INFO_default="#"
39962     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39963         COND_BUILD_release_DEBUG_INFO_default=""
39964     fi
39965
39966     COND_BUILD_release_UNICODE_0="#"
39967     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39968         COND_BUILD_release_UNICODE_0=""
39969     fi
39970
39971     COND_BUILD_release_UNICODE_1="#"
39972     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39973         COND_BUILD_release_UNICODE_1=""
39974     fi
39975
39976     COND_DEBUG_FLAG_0="#"
39977     if test "x$DEBUG_FLAG" = "x0" ; then
39978         COND_DEBUG_FLAG_0=""
39979     fi
39980
39981     COND_DEBUG_FLAG_1="#"
39982     if test "x$DEBUG_FLAG" = "x1" ; then
39983         COND_DEBUG_FLAG_1=""
39984     fi
39985
39986     COND_DEBUG_INFO_0="#"
39987     if test "x$DEBUG_INFO" = "x0" ; then
39988         COND_DEBUG_INFO_0=""
39989     fi
39990
39991     COND_DEBUG_INFO_1="#"
39992     if test "x$DEBUG_INFO" = "x1" ; then
39993         COND_DEBUG_INFO_1=""
39994     fi
39995
39996     COND_DEPS_TRACKING_0="#"
39997     if test "x$DEPS_TRACKING" = "x0" ; then
39998         COND_DEPS_TRACKING_0=""
39999     fi
40000
40001     COND_DEPS_TRACKING_1="#"
40002     if test "x$DEPS_TRACKING" = "x1" ; then
40003         COND_DEPS_TRACKING_1=""
40004     fi
40005
40006     COND_GCC_PCH_1="#"
40007     if test "x$GCC_PCH" = "x1" ; then
40008         COND_GCC_PCH_1=""
40009     fi
40010
40011     COND_ICC_PCH_1="#"
40012     if test "x$ICC_PCH" = "x1" ; then
40013         COND_ICC_PCH_1=""
40014     fi
40015
40016     COND_MONOLITHIC_0="#"
40017     if test "x$MONOLITHIC" = "x0" ; then
40018         COND_MONOLITHIC_0=""
40019     fi
40020
40021     COND_MONOLITHIC_0_SHARED_0="#"
40022     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40023         COND_MONOLITHIC_0_SHARED_0=""
40024     fi
40025
40026     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40027     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40028         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40029     fi
40030
40031     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40032     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40033         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40034     fi
40035
40036     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40037     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40038         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40039     fi
40040
40041     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40042     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40043         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40044     fi
40045
40046     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40047     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40048         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40049     fi
40050
40051     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40052     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40053         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40054     fi
40055
40056     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40057     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40058         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40059     fi
40060
40061     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40062     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40063         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40064     fi
40065
40066     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40067     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40068         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40069     fi
40070
40071     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40072     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40073         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40074     fi
40075
40076     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40077     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40078         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40079     fi
40080
40081     COND_MONOLITHIC_0_SHARED_1="#"
40082     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40083         COND_MONOLITHIC_0_SHARED_1=""
40084     fi
40085
40086     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40087     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40088         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40089     fi
40090
40091     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40092     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40093         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40094     fi
40095
40096     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40097     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40098         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40099     fi
40100
40101     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40102     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40103         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40104     fi
40105
40106     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40107     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40108         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40109     fi
40110
40111     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40112     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40113         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40114     fi
40115
40116     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40117     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40118         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40119     fi
40120
40121     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40122     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40123         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40124     fi
40125
40126     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40127     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40128         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40129     fi
40130
40131     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40132     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40133         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40134     fi
40135
40136     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40137     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40138         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40139     fi
40140
40141     COND_MONOLITHIC_0_USE_AUI_1="#"
40142     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40143         COND_MONOLITHIC_0_USE_AUI_1=""
40144     fi
40145
40146     COND_MONOLITHIC_0_USE_GUI_1="#"
40147     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40148         COND_MONOLITHIC_0_USE_GUI_1=""
40149     fi
40150
40151     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40152     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40153         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40154     fi
40155
40156     COND_MONOLITHIC_0_USE_HTML_1="#"
40157     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40158         COND_MONOLITHIC_0_USE_HTML_1=""
40159     fi
40160
40161     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40162     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40163         COND_MONOLITHIC_0_USE_MEDIA_1=""
40164     fi
40165
40166     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40167     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40168         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40169     fi
40170
40171     COND_MONOLITHIC_0_USE_QA_1="#"
40172     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40173         COND_MONOLITHIC_0_USE_QA_1=""
40174     fi
40175
40176     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40177     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40178         COND_MONOLITHIC_0_USE_RIBBON_1=""
40179     fi
40180
40181     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40182     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40183         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40184     fi
40185
40186     COND_MONOLITHIC_0_USE_STC_1="#"
40187     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40188         COND_MONOLITHIC_0_USE_STC_1=""
40189     fi
40190
40191     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40192     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40193         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40194     fi
40195
40196     COND_MONOLITHIC_0_USE_XRC_1="#"
40197     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40198         COND_MONOLITHIC_0_USE_XRC_1=""
40199     fi
40200
40201     COND_MONOLITHIC_1="#"
40202     if test "x$MONOLITHIC" = "x1" ; then
40203         COND_MONOLITHIC_1=""
40204     fi
40205
40206     COND_MONOLITHIC_1_SHARED_0="#"
40207     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40208         COND_MONOLITHIC_1_SHARED_0=""
40209     fi
40210
40211     COND_MONOLITHIC_1_SHARED_1="#"
40212     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40213         COND_MONOLITHIC_1_SHARED_1=""
40214     fi
40215
40216     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40217     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40218         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40219     fi
40220
40221     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40222     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40223         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40224     fi
40225
40226     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40227     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40228         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40229     fi
40230
40231     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40232     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40233         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40234     fi
40235
40236     COND_PLATFORM_MACOSX_1="#"
40237     if test "x$PLATFORM_MACOSX" = "x1" ; then
40238         COND_PLATFORM_MACOSX_1=""
40239     fi
40240
40241     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40242     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40243         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40244     fi
40245
40246     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40247     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40248         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40249     fi
40250
40251     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40252     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40253         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40254     fi
40255
40256     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40257     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40258         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40259     fi
40260
40261     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40262     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40263         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40264     fi
40265
40266     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40267     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40268         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40269     fi
40270
40271     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40272     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40273         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40274     fi
40275
40276     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40277     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40278         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40279     fi
40280
40281     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40282     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40283         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40284     fi
40285
40286     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40287     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40288         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40289     fi
40290
40291     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40292     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40293         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40294     fi
40295
40296     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40297     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40298         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40299     fi
40300
40301     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40302     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40303         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40304     fi
40305
40306     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40307     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40308         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40309     fi
40310
40311     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40312     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40313         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40314     fi
40315
40316     COND_PLATFORM_MACOS_1="#"
40317     if test "x$PLATFORM_MACOS" = "x1" ; then
40318         COND_PLATFORM_MACOS_1=""
40319     fi
40320
40321     COND_PLATFORM_MAC_0="#"
40322     if test "x$PLATFORM_MAC" = "x0" ; then
40323         COND_PLATFORM_MAC_0=""
40324     fi
40325
40326     COND_PLATFORM_MAC_1="#"
40327     if test "x$PLATFORM_MAC" = "x1" ; then
40328         COND_PLATFORM_MAC_1=""
40329     fi
40330
40331     COND_PLATFORM_MSDOS_0="#"
40332     if test "x$PLATFORM_MSDOS" = "x0" ; then
40333         COND_PLATFORM_MSDOS_0=""
40334     fi
40335
40336     COND_PLATFORM_MSDOS_1="#"
40337     if test "x$PLATFORM_MSDOS" = "x1" ; then
40338         COND_PLATFORM_MSDOS_1=""
40339     fi
40340
40341     COND_PLATFORM_OS2_1="#"
40342     if test "x$PLATFORM_OS2" = "x1" ; then
40343         COND_PLATFORM_OS2_1=""
40344     fi
40345
40346     COND_PLATFORM_UNIX_0="#"
40347     if test "x$PLATFORM_UNIX" = "x0" ; then
40348         COND_PLATFORM_UNIX_0=""
40349     fi
40350
40351     COND_PLATFORM_UNIX_1="#"
40352     if test "x$PLATFORM_UNIX" = "x1" ; then
40353         COND_PLATFORM_UNIX_1=""
40354     fi
40355
40356     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40357     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40358         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40359     fi
40360
40361     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40362     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40363         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40364     fi
40365
40366     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40367     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40368         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40369     fi
40370
40371     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40372     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40373         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40374     fi
40375
40376     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40377     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40378         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40379     fi
40380
40381     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40382     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40383         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40384     fi
40385
40386     COND_PLATFORM_WIN32_0="#"
40387     if test "x$PLATFORM_WIN32" = "x0" ; then
40388         COND_PLATFORM_WIN32_0=""
40389     fi
40390
40391     COND_PLATFORM_WIN32_1="#"
40392     if test "x$PLATFORM_WIN32" = "x1" ; then
40393         COND_PLATFORM_WIN32_1=""
40394     fi
40395
40396     COND_PLATFORM_WIN32_1_SHARED_0="#"
40397     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40398         COND_PLATFORM_WIN32_1_SHARED_0=""
40399     fi
40400
40401     COND_SHARED_0="#"
40402     if test "x$SHARED" = "x0" ; then
40403         COND_SHARED_0=""
40404     fi
40405
40406     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40407     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40408         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40409     fi
40410
40411     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40412     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40413         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40414     fi
40415
40416     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40417     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40418         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40419     fi
40420
40421     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40422     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40423         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40424     fi
40425
40426     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40427     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40428         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40429     fi
40430
40431     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40432     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40433         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40434     fi
40435
40436     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40437     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40438         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40439     fi
40440
40441     COND_SHARED_0_USE_STC_1="#"
40442     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40443         COND_SHARED_0_USE_STC_1=""
40444     fi
40445
40446     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40447     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40448         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40449     fi
40450
40451     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40452     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40453         COND_SHARED_0_wxUSE_REGEX_builtin=""
40454     fi
40455
40456     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40457     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40458         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40459     fi
40460
40461     COND_SHARED_1="#"
40462     if test "x$SHARED" = "x1" ; then
40463         COND_SHARED_1=""
40464     fi
40465
40466     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40467     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40468         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40469     fi
40470
40471     COND_TOOLKIT_="#"
40472     if test "x$TOOLKIT" = "x" ; then
40473         COND_TOOLKIT_=""
40474     fi
40475
40476     COND_TOOLKIT_COCOA="#"
40477     if test "x$TOOLKIT" = "xCOCOA" ; then
40478         COND_TOOLKIT_COCOA=""
40479     fi
40480
40481     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40482     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40483         COND_TOOLKIT_COCOA_USE_GUI_1=""
40484     fi
40485
40486     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40487     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40488         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40489     fi
40490
40491     COND_TOOLKIT_DFB="#"
40492     if test "x$TOOLKIT" = "xDFB" ; then
40493         COND_TOOLKIT_DFB=""
40494     fi
40495
40496     COND_TOOLKIT_DFB_USE_GUI_1="#"
40497     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40498         COND_TOOLKIT_DFB_USE_GUI_1=""
40499     fi
40500
40501     COND_TOOLKIT_GTK="#"
40502     if test "x$TOOLKIT" = "xGTK" ; then
40503         COND_TOOLKIT_GTK=""
40504     fi
40505
40506     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40507     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40508         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40509     fi
40510
40511     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40512     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40513         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40514     fi
40515
40516     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40517     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40518         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40519     fi
40520
40521     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40522     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40523         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40524     fi
40525
40526     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40527     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40528         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40529     fi
40530
40531     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40532     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40533         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40534     fi
40535
40536     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40537     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40538         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40539     fi
40540
40541     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40542     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40543         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40544     fi
40545
40546     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40547     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40548         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40549     fi
40550
40551     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40552     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40553         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40554     fi
40555
40556     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40557     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40558         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40559     fi
40560
40561     COND_TOOLKIT_GTK_USE_GUI_1="#"
40562     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40563         COND_TOOLKIT_GTK_USE_GUI_1=""
40564     fi
40565
40566     COND_TOOLKIT_MAC="#"
40567     if test "x$TOOLKIT" = "xMAC" ; then
40568         COND_TOOLKIT_MAC=""
40569     fi
40570
40571     COND_TOOLKIT_MOTIF="#"
40572     if test "x$TOOLKIT" = "xMOTIF" ; then
40573         COND_TOOLKIT_MOTIF=""
40574     fi
40575
40576     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40577     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40578         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40579     fi
40580
40581     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40582     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40583         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40584     fi
40585
40586     COND_TOOLKIT_MSW="#"
40587     if test "x$TOOLKIT" = "xMSW" ; then
40588         COND_TOOLKIT_MSW=""
40589     fi
40590
40591     COND_TOOLKIT_MSW_USE_GUI_1="#"
40592     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40593         COND_TOOLKIT_MSW_USE_GUI_1=""
40594     fi
40595
40596     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40597     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40598         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40599     fi
40600
40601     COND_TOOLKIT_MSW_WXUNIV_0="#"
40602     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40603         COND_TOOLKIT_MSW_WXUNIV_0=""
40604     fi
40605
40606     COND_TOOLKIT_OSX_CARBON="#"
40607     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40608         COND_TOOLKIT_OSX_CARBON=""
40609     fi
40610
40611     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40612     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40613         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40614     fi
40615
40616     COND_TOOLKIT_OSX_COCOA="#"
40617     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40618         COND_TOOLKIT_OSX_COCOA=""
40619     fi
40620
40621     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40622     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40623         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40624     fi
40625
40626     COND_TOOLKIT_OSX_IPHONE="#"
40627     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40628         COND_TOOLKIT_OSX_IPHONE=""
40629     fi
40630
40631     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40632     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40633         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40634     fi
40635
40636     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40637     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40638         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40639     fi
40640
40641     COND_TOOLKIT_PM="#"
40642     if test "x$TOOLKIT" = "xPM" ; then
40643         COND_TOOLKIT_PM=""
40644     fi
40645
40646     COND_TOOLKIT_PM_USE_GUI_1="#"
40647     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40648         COND_TOOLKIT_PM_USE_GUI_1=""
40649     fi
40650
40651     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40652     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40653         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40654     fi
40655
40656     COND_TOOLKIT_WINCE="#"
40657     if test "x$TOOLKIT" = "xWINCE" ; then
40658         COND_TOOLKIT_WINCE=""
40659     fi
40660
40661     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40662     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40663         COND_TOOLKIT_WINCE_USE_GUI_1=""
40664     fi
40665
40666     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40667     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40668         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40669     fi
40670
40671     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40672     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40673         COND_TOOLKIT_WINCE_WXUNIV_0=""
40674     fi
40675
40676     COND_TOOLKIT_X11="#"
40677     if test "x$TOOLKIT" = "xX11" ; then
40678         COND_TOOLKIT_X11=""
40679     fi
40680
40681     COND_TOOLKIT_X11_USE_GUI_1="#"
40682     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40683         COND_TOOLKIT_X11_USE_GUI_1=""
40684     fi
40685
40686     COND_UNICODE_1="#"
40687     if test "x$UNICODE" = "x1" ; then
40688         COND_UNICODE_1=""
40689     fi
40690
40691     COND_USE_CAIRO_1="#"
40692     if test "x$USE_CAIRO" = "x1" ; then
40693         COND_USE_CAIRO_1=""
40694     fi
40695
40696     COND_USE_EXCEPTIONS_0="#"
40697     if test "x$USE_EXCEPTIONS" = "x0" ; then
40698         COND_USE_EXCEPTIONS_0=""
40699     fi
40700
40701     COND_USE_EXCEPTIONS_1="#"
40702     if test "x$USE_EXCEPTIONS" = "x1" ; then
40703         COND_USE_EXCEPTIONS_1=""
40704     fi
40705
40706     COND_USE_GUI_0="#"
40707     if test "x$USE_GUI" = "x0" ; then
40708         COND_USE_GUI_0=""
40709     fi
40710
40711     COND_USE_GUI_1="#"
40712     if test "x$USE_GUI" = "x1" ; then
40713         COND_USE_GUI_1=""
40714     fi
40715
40716     COND_USE_GUI_1_USE_OPENGL_1="#"
40717     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40718         COND_USE_GUI_1_USE_OPENGL_1=""
40719     fi
40720
40721     COND_USE_GUI_1_WXUNIV_0="#"
40722     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40723         COND_USE_GUI_1_WXUNIV_0=""
40724     fi
40725
40726     COND_USE_GUI_1_WXUNIV_1="#"
40727     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40728         COND_USE_GUI_1_WXUNIV_1=""
40729     fi
40730
40731     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40732     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40733         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40734     fi
40735
40736     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40737     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40738         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40739     fi
40740
40741     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40742     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40743         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40744     fi
40745
40746     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40747     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40748         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40749     fi
40750
40751     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40752     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40753         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40754     fi
40755
40756     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40757     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40758         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40759     fi
40760
40761     COND_USE_OPENGL_1="#"
40762     if test "x$USE_OPENGL" = "x1" ; then
40763         COND_USE_OPENGL_1=""
40764     fi
40765
40766     COND_USE_PCH_1="#"
40767     if test "x$USE_PCH" = "x1" ; then
40768         COND_USE_PCH_1=""
40769     fi
40770
40771     COND_USE_PLUGINS_0="#"
40772     if test "x$USE_PLUGINS" = "x0" ; then
40773         COND_USE_PLUGINS_0=""
40774     fi
40775
40776     COND_USE_RTTI_0="#"
40777     if test "x$USE_RTTI" = "x0" ; then
40778         COND_USE_RTTI_0=""
40779     fi
40780
40781     COND_USE_RTTI_1="#"
40782     if test "x$USE_RTTI" = "x1" ; then
40783         COND_USE_RTTI_1=""
40784     fi
40785
40786     COND_USE_SOTWOSYMLINKS_1="#"
40787     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40788         COND_USE_SOTWOSYMLINKS_1=""
40789     fi
40790
40791     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40792     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40793         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40794     fi
40795
40796     COND_USE_SOVERLINUX_1="#"
40797     if test "x$USE_SOVERLINUX" = "x1" ; then
40798         COND_USE_SOVERLINUX_1=""
40799     fi
40800
40801     COND_USE_SOVERSION_0="#"
40802     if test "x$USE_SOVERSION" = "x0" ; then
40803         COND_USE_SOVERSION_0=""
40804     fi
40805
40806     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40807     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40808         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40809     fi
40810
40811     COND_USE_SOVERSOLARIS_1="#"
40812     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40813         COND_USE_SOVERSOLARIS_1=""
40814     fi
40815
40816     COND_USE_STC_1="#"
40817     if test "x$USE_STC" = "x1" ; then
40818         COND_USE_STC_1=""
40819     fi
40820
40821     COND_USE_THREADS_0="#"
40822     if test "x$USE_THREADS" = "x0" ; then
40823         COND_USE_THREADS_0=""
40824     fi
40825
40826     COND_USE_THREADS_1="#"
40827     if test "x$USE_THREADS" = "x1" ; then
40828         COND_USE_THREADS_1=""
40829     fi
40830
40831     COND_USE_XRC_1="#"
40832     if test "x$USE_XRC" = "x1" ; then
40833         COND_USE_XRC_1=""
40834     fi
40835
40836     COND_WINDOWS_IMPLIB_1="#"
40837     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40838         COND_WINDOWS_IMPLIB_1=""
40839     fi
40840
40841     COND_WITH_PLUGIN_SDL_1="#"
40842     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40843         COND_WITH_PLUGIN_SDL_1=""
40844     fi
40845
40846     COND_WXUNIV_0="#"
40847     if test "x$WXUNIV" = "x0" ; then
40848         COND_WXUNIV_0=""
40849     fi
40850
40851     COND_WXUNIV_1="#"
40852     if test "x$WXUNIV" = "x1" ; then
40853         COND_WXUNIV_1=""
40854     fi
40855
40856     COND_WXUSE_EXPAT_BUILTIN="#"
40857     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40858         COND_WXUSE_EXPAT_BUILTIN=""
40859     fi
40860
40861     COND_WXUSE_LIBJPEG_BUILTIN="#"
40862     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40863         COND_WXUSE_LIBJPEG_BUILTIN=""
40864     fi
40865
40866     COND_WXUSE_LIBPNG_BUILTIN="#"
40867     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40868         COND_WXUSE_LIBPNG_BUILTIN=""
40869     fi
40870
40871     COND_WXUSE_LIBTIFF_BUILTIN="#"
40872     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40873         COND_WXUSE_LIBTIFF_BUILTIN=""
40874     fi
40875
40876     COND_WXUSE_REGEX_BUILTIN="#"
40877     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40878         COND_WXUSE_REGEX_BUILTIN=""
40879     fi
40880
40881     COND_WXUSE_ZLIB_BUILTIN="#"
40882     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40883         COND_WXUSE_ZLIB_BUILTIN=""
40884     fi
40885
40886     COND_wxUSE_EXPAT_builtin="#"
40887     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40888         COND_wxUSE_EXPAT_builtin=""
40889     fi
40890
40891     COND_wxUSE_LIBJPEG_builtin="#"
40892     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40893         COND_wxUSE_LIBJPEG_builtin=""
40894     fi
40895
40896     COND_wxUSE_LIBPNG_builtin="#"
40897     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40898         COND_wxUSE_LIBPNG_builtin=""
40899     fi
40900
40901     COND_wxUSE_LIBTIFF_builtin="#"
40902     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40903         COND_wxUSE_LIBTIFF_builtin=""
40904     fi
40905
40906     COND_wxUSE_REGEX_builtin="#"
40907     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40908         COND_wxUSE_REGEX_builtin=""
40909     fi
40910
40911     COND_wxUSE_ZLIB_builtin="#"
40912     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40913         COND_wxUSE_ZLIB_builtin=""
40914     fi
40915
40916
40917
40918     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40919         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
40920     fi
40921
40922     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40923         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
40924     fi
40925
40926
40927 case ${INSTALL} in
40928   /* ) # Absolute
40929      ;;
40930   ?:* ) # Drive letter, considered as absolute.
40931      ;;
40932   *)
40933      INSTALL=`pwd`/${INSTALL} ;;
40934 esac
40935
40936 if test "$wxUSE_GUI" = "yes"; then
40937
40938 if test "$wxUSE_MSW" = 1 ; then
40939     if test "x$WINDRES" = "x"; then
40940         as_fn_error $? "Required windres program not found" "$LINENO" 5
40941     fi
40942
40943     RESCOMP="$WINDRES"
40944 fi
40945
40946 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40947             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40948     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40949
40950         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40951
40952     # Extract the first word of "DeRez", so it can be a program name with args.
40953 set dummy DeRez; ac_word=$2
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40955 $as_echo_n "checking for $ac_word... " >&6; }
40956 if ${ac_cv_prog_DEREZ+:} false; then :
40957   $as_echo_n "(cached) " >&6
40958 else
40959   if test -n "$DEREZ"; then
40960   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40961 else
40962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40963 for as_dir in $PATH
40964 do
40965   IFS=$as_save_IFS
40966   test -z "$as_dir" && as_dir=.
40967     for ac_exec_ext in '' $ac_executable_extensions; do
40968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40969     ac_cv_prog_DEREZ="DeRez"
40970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40971     break 2
40972   fi
40973 done
40974   done
40975 IFS=$as_save_IFS
40976
40977   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40978 fi
40979 fi
40980 DEREZ=$ac_cv_prog_DEREZ
40981 if test -n "$DEREZ"; then
40982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40983 $as_echo "$DEREZ" >&6; }
40984 else
40985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40986 $as_echo "no" >&6; }
40987 fi
40988
40989
40990
40991     MACSETFILE="\$(SETFILE)"
40992
40993             if test "$wxUSE_OSX_CARBON" = 1; then
40994         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40995         RESCOMP="$REZ"
40996         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40997     else
40998         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40999         RESCOMP="cat /dev/null \| $REZ"
41000         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41001     fi
41002
41003 else
41004         MACSETFILE="@true"
41005
41006     if test "$wxUSE_PM" = 1; then
41007         RESCOMP="emxbind"
41008         WXCONFIG_RESFLAGS="-ep"
41009
41010                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41011     else
41012         POSTLINK_COMMAND="@true"
41013     fi
41014 fi
41015
41016 fi
41017
41018
41019 if test $GCC_PCH = 1
41020 then
41021     if test "$wx_cv_gcc_pch_bug" = yes; then
41022         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41023 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41024         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41025 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41026         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41027 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41028     fi
41029
41030     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41031     # the headers that benefit from precompilation are mostly C++ headers.
41032     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41033     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41034     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41035 fi
41036
41037
41038 if test "$wxUSE_MAC" = 1 ; then
41039     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41040         if test "x$disable_macosx_deps" = "xyes"; then
41041             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41042                 mv temp bk-deps
41043             chmod +x bk-deps
41044         fi
41045     fi
41046 fi
41047
41048 if test "$wxUSE_SHARED" = "yes"; then
41049                 case "${host}" in
41050       *-pc-os2_emx | *-pc-os2-emx )
41051         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41052         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41053         cp -p ${srcdir}/src/os2/dllnames.sh .
41054         cp -p ${srcdir}/src/os2/dllar.sh .
41055       ;;
41056     esac
41057 fi
41058 if test "$wxUSE_OMF" = "yes"; then
41059     case "${host}" in
41060       *-pc-os2_emx | *-pc-os2-emx )
41061         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41062         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41063         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41064       ;;
41065     esac
41066 fi
41067
41068 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41069
41070
41071 case "${host}" in
41072     *-*-solaris2* )
41073                         if test "$GCC" = yes; then
41074             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41075             LIBS=`echo $LIBS | sed 's/-mt//g'`
41076             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41077         fi
41078         ;;
41079
41080     *-*-linux* )
41081                         if test "x$SUNCXX" = xyes; then
41082             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41083             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41084             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41085         fi
41086         ;;
41087 esac
41088
41089 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41090 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41091 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41092 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41093
41094 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41156 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41157 set x ${MAKE-make}
41158 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41159 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41160   $as_echo_n "(cached) " >&6
41161 else
41162   cat >conftest.make <<\_ACEOF
41163 SHELL = /bin/sh
41164 all:
41165         @echo '@@@%%%=$(MAKE)=@@@%%%'
41166 _ACEOF
41167 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41168 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41169   *@@@%%%=?*=@@@%%%*)
41170     eval ac_cv_prog_make_${ac_make}_set=yes;;
41171   *)
41172     eval ac_cv_prog_make_${ac_make}_set=no;;
41173 esac
41174 rm -f conftest.make
41175 fi
41176 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41178 $as_echo "yes" >&6; }
41179   SET_MAKE=
41180 else
41181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41182 $as_echo "no" >&6; }
41183   SET_MAKE="MAKE=${MAKE-make}"
41184 fi
41185
41186
41187
41188 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41189
41190
41191 if test "$USE_WIN32" = 1; then
41192     ac_config_commands="$ac_config_commands rcdefs.h"
41193
41194 fi
41195
41196 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41197
41198
41199 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41200
41201
41202 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41203
41204
41205 if test "$wx_cv_version_script" = "yes"; then
41206     ac_config_files="$ac_config_files version-script"
41207
41208 fi
41209 ac_config_files="$ac_config_files Makefile"
41210
41211
41212 ac_config_commands="$ac_config_commands wx-config"
41213
41214
41215
41216 if test "$wxWITH_SUBDIRS" != "no"; then
41217 if test "$wxUSE_GUI" = "yes"; then
41218     SUBDIRS="samples demos utils"
41219 else
41220             SUBDIRS="samples utils"
41221 fi
41222
41223
41224
41225 # Check whether --with-cppunit-prefix was given.
41226 if test "${with_cppunit_prefix+set}" = set; then :
41227   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41228 else
41229   cppunit_config_prefix=""
41230 fi
41231
41232
41233 # Check whether --with-cppunit-exec-prefix was given.
41234 if test "${with_cppunit_exec_prefix+set}" = set; then :
41235   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41236 else
41237   cppunit_config_exec_prefix=""
41238 fi
41239
41240
41241   if test x$cppunit_config_exec_prefix != x ; then
41242      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41243      if test x${CPPUNIT_CONFIG+set} != xset ; then
41244         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41245      fi
41246   fi
41247   if test x$cppunit_config_prefix != x ; then
41248      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41249      if test x${CPPUNIT_CONFIG+set} != xset ; then
41250         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41251      fi
41252   fi
41253
41254   # Extract the first word of "cppunit-config", so it can be a program name with args.
41255 set dummy cppunit-config; ac_word=$2
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41257 $as_echo_n "checking for $ac_word... " >&6; }
41258 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41259   $as_echo_n "(cached) " >&6
41260 else
41261   case $CPPUNIT_CONFIG in
41262   [\\/]* | ?:[\\/]*)
41263   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41264   ;;
41265   *)
41266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41267 for as_dir in $PATH
41268 do
41269   IFS=$as_save_IFS
41270   test -z "$as_dir" && as_dir=.
41271     for ac_exec_ext in '' $ac_executable_extensions; do
41272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41273     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41275     break 2
41276   fi
41277 done
41278   done
41279 IFS=$as_save_IFS
41280
41281   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41282   ;;
41283 esac
41284 fi
41285 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41286 if test -n "$CPPUNIT_CONFIG"; then
41287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41288 $as_echo "$CPPUNIT_CONFIG" >&6; }
41289 else
41290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41291 $as_echo "no" >&6; }
41292 fi
41293
41294
41295   cppunit_version_min=1.8.0
41296
41297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41298 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41299   no_cppunit=""
41300   if test "$CPPUNIT_CONFIG" = "no" ; then
41301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41302 $as_echo "no" >&6; }
41303     no_cppunit=yes
41304   else
41305     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41306     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41307     cppunit_version=`$CPPUNIT_CONFIG --version`
41308
41309     cppunit_major_version=`echo $cppunit_version | \
41310            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41311     cppunit_minor_version=`echo $cppunit_version | \
41312            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41313     cppunit_micro_version=`echo $cppunit_version | \
41314            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41315
41316     cppunit_major_min=`echo $cppunit_version_min | \
41317            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41318     cppunit_minor_min=`echo $cppunit_version_min | \
41319            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41320     cppunit_micro_min=`echo $cppunit_version_min | \
41321            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41322
41323     cppunit_version_proper=`expr \
41324         $cppunit_major_version \> $cppunit_major_min \| \
41325         $cppunit_major_version \= $cppunit_major_min \& \
41326         $cppunit_minor_version \> $cppunit_minor_min \| \
41327         $cppunit_major_version \= $cppunit_major_min \& \
41328         $cppunit_minor_version \= $cppunit_minor_min \& \
41329         $cppunit_micro_version \>= $cppunit_micro_min `
41330
41331     if test "$cppunit_version_proper" = "1" ; then
41332       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41333 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41334     else
41335       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41336 $as_echo "no" >&6; }
41337       no_cppunit=yes
41338     fi
41339   fi
41340
41341   if test "x$no_cppunit" = x ; then
41342      SUBDIRS="$SUBDIRS tests"
41343   else
41344      CPPUNIT_CFLAGS=""
41345      CPPUNIT_LIBS=""
41346      :
41347   fi
41348
41349
41350
41351
41352
41353 for subdir in $SUBDIRS; do
41354     if test -d ${srcdir}/${subdir} ; then
41355         if test "$wxUSE_GUI" = "yes"; then
41356             if test ${subdir} = "samples"; then
41357                                                 makefiles="samples/Makefile.in $makefiles"
41358                 for sample in $SAMPLES_SUBDIRS; do
41359                     if test -d $srcdir/samples/$sample; then
41360                         makefiles="samples/$sample/Makefile.in $makefiles"
41361                     fi
41362                 done
41363             else
41364                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41365                 eval "disabled=\$$disabled_var"
41366                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41367                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41368             fi
41369         else
41370                                     if test ${subdir} = "samples"; then
41371                                                 makefiles="samples/Makefile.in $makefiles"
41372                 for sample in `echo $SAMPLES_SUBDIRS`; do
41373                     if test -d $srcdir/samples/$sample; then
41374                         makefiles="samples/$sample/Makefile.in $makefiles"
41375                     fi
41376                 done
41377             elif test ${subdir} = "utils"; then
41378                 makefiles=""
41379                 for util in ifacecheck ; do
41380                     if test -d $srcdir/utils/$util ; then
41381                         makefiles="utils/$util/src/Makefile.in \
41382                                    $makefiles"
41383                     fi
41384                 done
41385             else
41386                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41387             fi
41388         fi
41389
41390         for mkin in $makefiles ; do
41391             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41392             ac_config_files="$ac_config_files $mk"
41393
41394         done
41395     fi
41396 done
41397 fi
41398 cat >confcache <<\_ACEOF
41399 # This file is a shell script that caches the results of configure
41400 # tests run on this system so they can be shared between configure
41401 # scripts and configure runs, see configure's option --config-cache.
41402 # It is not useful on other systems.  If it contains results you don't
41403 # want to keep, you may remove or edit it.
41404 #
41405 # config.status only pays attention to the cache file if you give it
41406 # the --recheck option to rerun configure.
41407 #
41408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41410 # following values.
41411
41412 _ACEOF
41413
41414 # The following way of writing the cache mishandles newlines in values,
41415 # but we know of no workaround that is simple, portable, and efficient.
41416 # So, we kill variables containing newlines.
41417 # Ultrix sh set writes to stderr and can't be redirected directly,
41418 # and sets the high bit in the cache file unless we assign to the vars.
41419 (
41420   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41421     eval ac_val=\$$ac_var
41422     case $ac_val in #(
41423     *${as_nl}*)
41424       case $ac_var in #(
41425       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41427       esac
41428       case $ac_var in #(
41429       _ | IFS | as_nl) ;; #(
41430       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41431       *) { eval $ac_var=; unset $ac_var;} ;;
41432       esac ;;
41433     esac
41434   done
41435
41436   (set) 2>&1 |
41437     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41438     *${as_nl}ac_space=\ *)
41439       # `set' does not quote correctly, so add quotes: double-quote
41440       # substitution turns \\\\ into \\, and sed turns \\ into \.
41441       sed -n \
41442         "s/'/'\\\\''/g;
41443           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41444       ;; #(
41445     *)
41446       # `set' quotes correctly as required by POSIX, so do not add quotes.
41447       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41448       ;;
41449     esac |
41450     sort
41451 ) |
41452   sed '
41453      /^ac_cv_env_/b end
41454      t clear
41455      :clear
41456      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41457      t end
41458      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41459      :end' >>confcache
41460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41461   if test -w "$cache_file"; then
41462     if test "x$cache_file" != "x/dev/null"; then
41463       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41464 $as_echo "$as_me: updating cache $cache_file" >&6;}
41465       if test ! -f "$cache_file" || test -h "$cache_file"; then
41466         cat confcache >"$cache_file"
41467       else
41468         case $cache_file in #(
41469         */* | ?:*)
41470           mv -f confcache "$cache_file"$$ &&
41471           mv -f "$cache_file"$$ "$cache_file" ;; #(
41472         *)
41473           mv -f confcache "$cache_file" ;;
41474         esac
41475       fi
41476     fi
41477   else
41478     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41479 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41480   fi
41481 fi
41482 rm -f confcache
41483
41484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41485 # Let make expand exec_prefix.
41486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41487
41488 DEFS=-DHAVE_CONFIG_H
41489
41490 ac_libobjs=
41491 ac_ltlibobjs=
41492 U=
41493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41494   # 1. Remove the extension, and $U if already installed.
41495   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41496   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41497   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41498   #    will be set to the directory where LIBOBJS objects are built.
41499   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41500   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41501 done
41502 LIBOBJS=$ac_libobjs
41503
41504 LTLIBOBJS=$ac_ltlibobjs
41505
41506
41507
41508 : "${CONFIG_STATUS=./config.status}"
41509 ac_write_fail=0
41510 ac_clean_files_save=$ac_clean_files
41511 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41513 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41514 as_write_fail=0
41515 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41516 #! $SHELL
41517 # Generated by $as_me.
41518 # Run this file to recreate the current configuration.
41519 # Compiler output produced by configure, useful for debugging
41520 # configure, is in config.log if it exists.
41521
41522 debug=false
41523 ac_cs_recheck=false
41524 ac_cs_silent=false
41525
41526 SHELL=\${CONFIG_SHELL-$SHELL}
41527 export SHELL
41528 _ASEOF
41529 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41530 ## -------------------- ##
41531 ## M4sh Initialization. ##
41532 ## -------------------- ##
41533
41534 # Be more Bourne compatible
41535 DUALCASE=1; export DUALCASE # for MKS sh
41536 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41537   emulate sh
41538   NULLCMD=:
41539   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41540   # is contrary to our usage.  Disable this feature.
41541   alias -g '${1+"$@"}'='"$@"'
41542   setopt NO_GLOB_SUBST
41543 else
41544   case `(set -o) 2>/dev/null` in #(
41545   *posix*) :
41546     set -o posix ;; #(
41547   *) :
41548      ;;
41549 esac
41550 fi
41551
41552
41553 as_nl='
41554 '
41555 export as_nl
41556 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41557 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41560 # Prefer a ksh shell builtin over an external printf program on Solaris,
41561 # but without wasting forks for bash or zsh.
41562 if test -z "$BASH_VERSION$ZSH_VERSION" \
41563     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41564   as_echo='print -r --'
41565   as_echo_n='print -rn --'
41566 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41567   as_echo='printf %s\n'
41568   as_echo_n='printf %s'
41569 else
41570   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41571     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41572     as_echo_n='/usr/ucb/echo -n'
41573   else
41574     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41575     as_echo_n_body='eval
41576       arg=$1;
41577       case $arg in #(
41578       *"$as_nl"*)
41579         expr "X$arg" : "X\\(.*\\)$as_nl";
41580         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41581       esac;
41582       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41583     '
41584     export as_echo_n_body
41585     as_echo_n='sh -c $as_echo_n_body as_echo'
41586   fi
41587   export as_echo_body
41588   as_echo='sh -c $as_echo_body as_echo'
41589 fi
41590
41591 # The user is always right.
41592 if test "${PATH_SEPARATOR+set}" != set; then
41593   PATH_SEPARATOR=:
41594   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41595     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41596       PATH_SEPARATOR=';'
41597   }
41598 fi
41599
41600
41601 # IFS
41602 # We need space, tab and new line, in precisely that order.  Quoting is
41603 # there to prevent editors from complaining about space-tab.
41604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41605 # splitting by setting IFS to empty value.)
41606 IFS=" ""        $as_nl"
41607
41608 # Find who we are.  Look in the path if we contain no directory separator.
41609 as_myself=
41610 case $0 in #((
41611   *[\\/]* ) as_myself=$0 ;;
41612   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41613 for as_dir in $PATH
41614 do
41615   IFS=$as_save_IFS
41616   test -z "$as_dir" && as_dir=.
41617     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41618   done
41619 IFS=$as_save_IFS
41620
41621      ;;
41622 esac
41623 # We did not find ourselves, most probably we were run as `sh COMMAND'
41624 # in which case we are not to be found in the path.
41625 if test "x$as_myself" = x; then
41626   as_myself=$0
41627 fi
41628 if test ! -f "$as_myself"; then
41629   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41630   exit 1
41631 fi
41632
41633 # Unset variables that we do not need and which cause bugs (e.g. in
41634 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41635 # suppresses any "Segmentation fault" message there.  '((' could
41636 # trigger a bug in pdksh 5.2.14.
41637 for as_var in BASH_ENV ENV MAIL MAILPATH
41638 do eval test x\${$as_var+set} = xset \
41639   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41640 done
41641 PS1='$ '
41642 PS2='> '
41643 PS4='+ '
41644
41645 # NLS nuisances.
41646 LC_ALL=C
41647 export LC_ALL
41648 LANGUAGE=C
41649 export LANGUAGE
41650
41651 # CDPATH.
41652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41653
41654
41655 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41656 # ----------------------------------------
41657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41659 # script with STATUS, using 1 if that was 0.
41660 as_fn_error ()
41661 {
41662   as_status=$1; test $as_status -eq 0 && as_status=1
41663   if test "$4"; then
41664     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41665     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41666   fi
41667   $as_echo "$as_me: error: $2" >&2
41668   as_fn_exit $as_status
41669 } # as_fn_error
41670
41671
41672 # as_fn_set_status STATUS
41673 # -----------------------
41674 # Set $? to STATUS, without forking.
41675 as_fn_set_status ()
41676 {
41677   return $1
41678 } # as_fn_set_status
41679
41680 # as_fn_exit STATUS
41681 # -----------------
41682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41683 as_fn_exit ()
41684 {
41685   set +e
41686   as_fn_set_status $1
41687   exit $1
41688 } # as_fn_exit
41689
41690 # as_fn_unset VAR
41691 # ---------------
41692 # Portably unset VAR.
41693 as_fn_unset ()
41694 {
41695   { eval $1=; unset $1;}
41696 }
41697 as_unset=as_fn_unset
41698 # as_fn_append VAR VALUE
41699 # ----------------------
41700 # Append the text in VALUE to the end of the definition contained in VAR. Take
41701 # advantage of any shell optimizations that allow amortized linear growth over
41702 # repeated appends, instead of the typical quadratic growth present in naive
41703 # implementations.
41704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41705   eval 'as_fn_append ()
41706   {
41707     eval $1+=\$2
41708   }'
41709 else
41710   as_fn_append ()
41711   {
41712     eval $1=\$$1\$2
41713   }
41714 fi # as_fn_append
41715
41716 # as_fn_arith ARG...
41717 # ------------------
41718 # Perform arithmetic evaluation on the ARGs, and store the result in the
41719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41720 # must be portable across $(()) and expr.
41721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41722   eval 'as_fn_arith ()
41723   {
41724     as_val=$(( $* ))
41725   }'
41726 else
41727   as_fn_arith ()
41728   {
41729     as_val=`expr "$@" || test $? -eq 1`
41730   }
41731 fi # as_fn_arith
41732
41733
41734 if expr a : '\(a\)' >/dev/null 2>&1 &&
41735    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41736   as_expr=expr
41737 else
41738   as_expr=false
41739 fi
41740
41741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41742   as_basename=basename
41743 else
41744   as_basename=false
41745 fi
41746
41747 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41748   as_dirname=dirname
41749 else
41750   as_dirname=false
41751 fi
41752
41753 as_me=`$as_basename -- "$0" ||
41754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41755          X"$0" : 'X\(//\)$' \| \
41756          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41757 $as_echo X/"$0" |
41758     sed '/^.*\/\([^/][^/]*\)\/*$/{
41759             s//\1/
41760             q
41761           }
41762           /^X\/\(\/\/\)$/{
41763             s//\1/
41764             q
41765           }
41766           /^X\/\(\/\).*/{
41767             s//\1/
41768             q
41769           }
41770           s/.*/./; q'`
41771
41772 # Avoid depending upon Character Ranges.
41773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41776 as_cr_digits='0123456789'
41777 as_cr_alnum=$as_cr_Letters$as_cr_digits
41778
41779 ECHO_C= ECHO_N= ECHO_T=
41780 case `echo -n x` in #(((((
41781 -n*)
41782   case `echo 'xy\c'` in
41783   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41784   xy)  ECHO_C='\c';;
41785   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41786        ECHO_T=' ';;
41787   esac;;
41788 *)
41789   ECHO_N='-n';;
41790 esac
41791
41792 rm -f conf$$ conf$$.exe conf$$.file
41793 if test -d conf$$.dir; then
41794   rm -f conf$$.dir/conf$$.file
41795 else
41796   rm -f conf$$.dir
41797   mkdir conf$$.dir 2>/dev/null
41798 fi
41799 if (echo >conf$$.file) 2>/dev/null; then
41800   if ln -s conf$$.file conf$$ 2>/dev/null; then
41801     as_ln_s='ln -s'
41802     # ... but there are two gotchas:
41803     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41804     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41805     # In both cases, we have to default to `cp -pR'.
41806     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41807       as_ln_s='cp -pR'
41808   elif ln conf$$.file conf$$ 2>/dev/null; then
41809     as_ln_s=ln
41810   else
41811     as_ln_s='cp -pR'
41812   fi
41813 else
41814   as_ln_s='cp -pR'
41815 fi
41816 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41817 rmdir conf$$.dir 2>/dev/null
41818
41819
41820 # as_fn_mkdir_p
41821 # -------------
41822 # Create "$as_dir" as a directory, including parents if necessary.
41823 as_fn_mkdir_p ()
41824 {
41825
41826   case $as_dir in #(
41827   -*) as_dir=./$as_dir;;
41828   esac
41829   test -d "$as_dir" || eval $as_mkdir_p || {
41830     as_dirs=
41831     while :; do
41832       case $as_dir in #(
41833       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41834       *) as_qdir=$as_dir;;
41835       esac
41836       as_dirs="'$as_qdir' $as_dirs"
41837       as_dir=`$as_dirname -- "$as_dir" ||
41838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41839          X"$as_dir" : 'X\(//\)[^/]' \| \
41840          X"$as_dir" : 'X\(//\)$' \| \
41841          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41842 $as_echo X"$as_dir" |
41843     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41844             s//\1/
41845             q
41846           }
41847           /^X\(\/\/\)[^/].*/{
41848             s//\1/
41849             q
41850           }
41851           /^X\(\/\/\)$/{
41852             s//\1/
41853             q
41854           }
41855           /^X\(\/\).*/{
41856             s//\1/
41857             q
41858           }
41859           s/.*/./; q'`
41860       test -d "$as_dir" && break
41861     done
41862     test -z "$as_dirs" || eval "mkdir $as_dirs"
41863   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41864
41865
41866 } # as_fn_mkdir_p
41867 if mkdir -p . 2>/dev/null; then
41868   as_mkdir_p='mkdir -p "$as_dir"'
41869 else
41870   test -d ./-p && rmdir ./-p
41871   as_mkdir_p=false
41872 fi
41873
41874
41875 # as_fn_executable_p FILE
41876 # -----------------------
41877 # Test if FILE is an executable regular file.
41878 as_fn_executable_p ()
41879 {
41880   test -f "$1" && test -x "$1"
41881 } # as_fn_executable_p
41882 as_test_x='test -x'
41883 as_executable_p=as_fn_executable_p
41884
41885 # Sed expression to map a string onto a valid CPP name.
41886 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41887
41888 # Sed expression to map a string onto a valid variable name.
41889 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41890
41891
41892 exec 6>&1
41893 ## ----------------------------------- ##
41894 ## Main body of $CONFIG_STATUS script. ##
41895 ## ----------------------------------- ##
41896 _ASEOF
41897 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41898
41899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41900 # Save the log message, to keep $0 and so on meaningful, and to
41901 # report actual input values of CONFIG_FILES etc. instead of their
41902 # values after options handling.
41903 ac_log="
41904 This file was extended by wxWidgets $as_me 2.9.5, which was
41905 generated by GNU Autoconf 2.69.  Invocation command line was
41906
41907   CONFIG_FILES    = $CONFIG_FILES
41908   CONFIG_HEADERS  = $CONFIG_HEADERS
41909   CONFIG_LINKS    = $CONFIG_LINKS
41910   CONFIG_COMMANDS = $CONFIG_COMMANDS
41911   $ $0 $@
41912
41913 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41914 "
41915
41916 _ACEOF
41917
41918 case $ac_config_files in *"
41919 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41920 esac
41921
41922 case $ac_config_headers in *"
41923 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41924 esac
41925
41926
41927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41928 # Files that config.status was made for.
41929 config_files="$ac_config_files"
41930 config_headers="$ac_config_headers"
41931 config_commands="$ac_config_commands"
41932
41933 _ACEOF
41934
41935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41936 ac_cs_usage="\
41937 \`$as_me' instantiates files and other configuration actions
41938 from templates according to the current configuration.  Unless the files
41939 and actions are specified as TAGs, all are instantiated by default.
41940
41941 Usage: $0 [OPTION]... [TAG]...
41942
41943   -h, --help       print this help, then exit
41944   -V, --version    print version number and configuration settings, then exit
41945       --config     print configuration, then exit
41946   -q, --quiet, --silent
41947                    do not print progress messages
41948   -d, --debug      don't remove temporary files
41949       --recheck    update $as_me by reconfiguring in the same conditions
41950       --file=FILE[:TEMPLATE]
41951                    instantiate the configuration file FILE
41952       --header=FILE[:TEMPLATE]
41953                    instantiate the configuration header FILE
41954
41955 Configuration files:
41956 $config_files
41957
41958 Configuration headers:
41959 $config_headers
41960
41961 Configuration commands:
41962 $config_commands
41963
41964 Report bugs to <wx-dev@lists.wxwidgets.org>."
41965
41966 _ACEOF
41967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41968 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41969 ac_cs_version="\\
41970 wxWidgets config.status 2.9.5
41971 configured by $0, generated by GNU Autoconf 2.69,
41972   with options \\"\$ac_cs_config\\"
41973
41974 Copyright (C) 2012 Free Software Foundation, Inc.
41975 This config.status script is free software; the Free Software Foundation
41976 gives unlimited permission to copy, distribute and modify it."
41977
41978 ac_pwd='$ac_pwd'
41979 srcdir='$srcdir'
41980 INSTALL='$INSTALL'
41981 test -n "\$AWK" || AWK=awk
41982 _ACEOF
41983
41984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41985 # The default lists apply if the user does not specify any file.
41986 ac_need_defaults=:
41987 while test $# != 0
41988 do
41989   case $1 in
41990   --*=?*)
41991     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41992     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41993     ac_shift=:
41994     ;;
41995   --*=)
41996     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41997     ac_optarg=
41998     ac_shift=:
41999     ;;
42000   *)
42001     ac_option=$1
42002     ac_optarg=$2
42003     ac_shift=shift
42004     ;;
42005   esac
42006
42007   case $ac_option in
42008   # Handling of the options.
42009   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42010     ac_cs_recheck=: ;;
42011   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42012     $as_echo "$ac_cs_version"; exit ;;
42013   --config | --confi | --conf | --con | --co | --c )
42014     $as_echo "$ac_cs_config"; exit ;;
42015   --debug | --debu | --deb | --de | --d | -d )
42016     debug=: ;;
42017   --file | --fil | --fi | --f )
42018     $ac_shift
42019     case $ac_optarg in
42020     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42021     '') as_fn_error $? "missing file argument" ;;
42022     esac
42023     as_fn_append CONFIG_FILES " '$ac_optarg'"
42024     ac_need_defaults=false;;
42025   --header | --heade | --head | --hea )
42026     $ac_shift
42027     case $ac_optarg in
42028     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42029     esac
42030     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42031     ac_need_defaults=false;;
42032   --he | --h)
42033     # Conflict between --help and --header
42034     as_fn_error $? "ambiguous option: \`$1'
42035 Try \`$0 --help' for more information.";;
42036   --help | --hel | -h )
42037     $as_echo "$ac_cs_usage"; exit ;;
42038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42039   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42040     ac_cs_silent=: ;;
42041
42042   # This is an error.
42043   -*) as_fn_error $? "unrecognized option: \`$1'
42044 Try \`$0 --help' for more information." ;;
42045
42046   *) as_fn_append ac_config_targets " $1"
42047      ac_need_defaults=false ;;
42048
42049   esac
42050   shift
42051 done
42052
42053 ac_configure_extra_args=
42054
42055 if $ac_cs_silent; then
42056   exec 6>/dev/null
42057   ac_configure_extra_args="$ac_configure_extra_args --silent"
42058 fi
42059
42060 _ACEOF
42061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42062 if \$ac_cs_recheck; then
42063   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42064   shift
42065   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42066   CONFIG_SHELL='$SHELL'
42067   export CONFIG_SHELL
42068   exec "\$@"
42069 fi
42070
42071 _ACEOF
42072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42073 exec 5>>config.log
42074 {
42075   echo
42076   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42077 ## Running $as_me. ##
42078 _ASBOX
42079   $as_echo "$ac_log"
42080 } >&5
42081
42082 _ACEOF
42083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42084 #
42085 # INIT-COMMANDS
42086 #
42087
42088             CPP="$CPP"
42089             infile="$srcdir/include/wx/msw/genrcdefs.h"
42090             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42091
42092
42093  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42094  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42095  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42096                      LN_S="${LN_S}"
42097
42098
42099 _ACEOF
42100
42101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42102
42103 # Handling of arguments.
42104 for ac_config_target in $ac_config_targets
42105 do
42106   case $ac_config_target in
42107     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42108     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42109     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42110     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42111     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42112     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42113     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42114     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42115     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42116
42117   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42118   esac
42119 done
42120
42121
42122 # If the user did not use the arguments to specify the items to instantiate,
42123 # then the envvar interface is used.  Set only those that are not.
42124 # We use the long form for the default assignment because of an extremely
42125 # bizarre bug on SunOS 4.1.3.
42126 if $ac_need_defaults; then
42127   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42128   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42129   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42130 fi
42131
42132 # Have a temporary directory for convenience.  Make it in the build tree
42133 # simply because there is no reason against having it here, and in addition,
42134 # creating and moving files from /tmp can sometimes cause problems.
42135 # Hook for its removal unless debugging.
42136 # Note that there is a small window in which the directory will not be cleaned:
42137 # after its creation but before its name has been assigned to `$tmp'.
42138 $debug ||
42139 {
42140   tmp= ac_tmp=
42141   trap 'exit_status=$?
42142   : "${ac_tmp:=$tmp}"
42143   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42144 ' 0
42145   trap 'as_fn_exit 1' 1 2 13 15
42146 }
42147 # Create a (secure) tmp directory for tmp files.
42148
42149 {
42150   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42151   test -d "$tmp"
42152 }  ||
42153 {
42154   tmp=./conf$$-$RANDOM
42155   (umask 077 && mkdir "$tmp")
42156 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42157 ac_tmp=$tmp
42158
42159 # Set up the scripts for CONFIG_FILES section.
42160 # No need to generate them if there are no CONFIG_FILES.
42161 # This happens for instance with `./config.status config.h'.
42162 if test -n "$CONFIG_FILES"; then
42163
42164
42165 ac_cr=`echo X | tr X '\015'`
42166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42167 # But we know of no other shell where ac_cr would be empty at this
42168 # point, so we can use a bashism as a fallback.
42169 if test "x$ac_cr" = x; then
42170   eval ac_cr=\$\'\\r\'
42171 fi
42172 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42174   ac_cs_awk_cr='\\r'
42175 else
42176   ac_cs_awk_cr=$ac_cr
42177 fi
42178
42179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42180 _ACEOF
42181
42182
42183 {
42184   echo "cat >conf$$subs.awk <<_ACEOF" &&
42185   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42186   echo "_ACEOF"
42187 } >conf$$subs.sh ||
42188   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42190 ac_delim='%!_!# '
42191 for ac_last_try in false false false false false :; do
42192   . ./conf$$subs.sh ||
42193     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42194
42195   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42196   if test $ac_delim_n = $ac_delim_num; then
42197     break
42198   elif $ac_last_try; then
42199     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42200   else
42201     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42202   fi
42203 done
42204 rm -f conf$$subs.sh
42205
42206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42207 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42208 _ACEOF
42209 sed -n '
42210 h
42211 s/^/S["/; s/!.*/"]=/
42212 p
42213 g
42214 s/^[^!]*!//
42215 :repl
42216 t repl
42217 s/'"$ac_delim"'$//
42218 t delim
42219 :nl
42220 h
42221 s/\(.\{148\}\)..*/\1/
42222 t more1
42223 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42224 p
42225 n
42226 b repl
42227 :more1
42228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42229 p
42230 g
42231 s/.\{148\}//
42232 t nl
42233 :delim
42234 h
42235 s/\(.\{148\}\)..*/\1/
42236 t more2
42237 s/["\\]/\\&/g; s/^/"/; s/$/"/
42238 p
42239 b
42240 :more2
42241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42242 p
42243 g
42244 s/.\{148\}//
42245 t delim
42246 ' <conf$$subs.awk | sed '
42247 /^[^""]/{
42248   N
42249   s/\n//
42250 }
42251 ' >>$CONFIG_STATUS || ac_write_fail=1
42252 rm -f conf$$subs.awk
42253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42254 _ACAWK
42255 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42256   for (key in S) S_is_set[key] = 1
42257   FS = "\a"
42258
42259 }
42260 {
42261   line = $ 0
42262   nfields = split(line, field, "@")
42263   substed = 0
42264   len = length(field[1])
42265   for (i = 2; i < nfields; i++) {
42266     key = field[i]
42267     keylen = length(key)
42268     if (S_is_set[key]) {
42269       value = S[key]
42270       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42271       len += length(value) + length(field[++i])
42272       substed = 1
42273     } else
42274       len += 1 + keylen
42275   }
42276
42277   print line
42278 }
42279
42280 _ACAWK
42281 _ACEOF
42282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42283 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42284   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42285 else
42286   cat
42287 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42288   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42289 _ACEOF
42290
42291 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42292 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42293 # trailing colons and then remove the whole line if VPATH becomes empty
42294 # (actually we leave an empty line to preserve line numbers).
42295 if test "x$srcdir" = x.; then
42296   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42297 h
42298 s///
42299 s/^/:/
42300 s/[      ]*$/:/
42301 s/:\$(srcdir):/:/g
42302 s/:\${srcdir}:/:/g
42303 s/:@srcdir@:/:/g
42304 s/^:*//
42305 s/:*$//
42306 x
42307 s/\(=[   ]*\).*/\1/
42308 G
42309 s/\n//
42310 s/^[^=]*=[       ]*$//
42311 }'
42312 fi
42313
42314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42315 fi # test -n "$CONFIG_FILES"
42316
42317 # Set up the scripts for CONFIG_HEADERS section.
42318 # No need to generate them if there are no CONFIG_HEADERS.
42319 # This happens for instance with `./config.status Makefile'.
42320 if test -n "$CONFIG_HEADERS"; then
42321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42322 BEGIN {
42323 _ACEOF
42324
42325 # Transform confdefs.h into an awk script `defines.awk', embedded as
42326 # here-document in config.status, that substitutes the proper values into
42327 # config.h.in to produce config.h.
42328
42329 # Create a delimiter string that does not exist in confdefs.h, to ease
42330 # handling of long lines.
42331 ac_delim='%!_!# '
42332 for ac_last_try in false false :; do
42333   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42334   if test -z "$ac_tt"; then
42335     break
42336   elif $ac_last_try; then
42337     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42338   else
42339     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42340   fi
42341 done
42342
42343 # For the awk script, D is an array of macro values keyed by name,
42344 # likewise P contains macro parameters if any.  Preserve backslash
42345 # newline sequences.
42346
42347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42348 sed -n '
42349 s/.\{148\}/&'"$ac_delim"'/g
42350 t rset
42351 :rset
42352 s/^[     ]*#[    ]*define[       ][      ]*/ /
42353 t def
42354 d
42355 :def
42356 s/\\$//
42357 t bsnl
42358 s/["\\]/\\&/g
42359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42360 D["\1"]=" \3"/p
42361 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42362 d
42363 :bsnl
42364 s/["\\]/\\&/g
42365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42366 D["\1"]=" \3\\\\\\n"\\/p
42367 t cont
42368 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42369 t cont
42370 d
42371 :cont
42372 n
42373 s/.\{148\}/&'"$ac_delim"'/g
42374 t clear
42375 :clear
42376 s/\\$//
42377 t bsnlc
42378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42379 d
42380 :bsnlc
42381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42382 b cont
42383 ' <confdefs.h | sed '
42384 s/'"$ac_delim"'/"\\\
42385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42386
42387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42388   for (key in D) D_is_set[key] = 1
42389   FS = "\a"
42390 }
42391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42392   line = \$ 0
42393   split(line, arg, " ")
42394   if (arg[1] == "#") {
42395     defundef = arg[2]
42396     mac1 = arg[3]
42397   } else {
42398     defundef = substr(arg[1], 2)
42399     mac1 = arg[2]
42400   }
42401   split(mac1, mac2, "(") #)
42402   macro = mac2[1]
42403   prefix = substr(line, 1, index(line, defundef) - 1)
42404   if (D_is_set[macro]) {
42405     # Preserve the white space surrounding the "#".
42406     print prefix "define", macro P[macro] D[macro]
42407     next
42408   } else {
42409     # Replace #undef with comments.  This is necessary, for example,
42410     # in the case of _POSIX_SOURCE, which is predefined and required
42411     # on some systems where configure will not decide to define it.
42412     if (defundef == "undef") {
42413       print "/*", prefix defundef, macro, "*/"
42414       next
42415     }
42416   }
42417 }
42418 { print }
42419 _ACAWK
42420 _ACEOF
42421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42422   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42423 fi # test -n "$CONFIG_HEADERS"
42424
42425
42426 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42427 shift
42428 for ac_tag
42429 do
42430   case $ac_tag in
42431   :[FHLC]) ac_mode=$ac_tag; continue;;
42432   esac
42433   case $ac_mode$ac_tag in
42434   :[FHL]*:*);;
42435   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42436   :[FH]-) ac_tag=-:-;;
42437   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42438   esac
42439   ac_save_IFS=$IFS
42440   IFS=:
42441   set x $ac_tag
42442   IFS=$ac_save_IFS
42443   shift
42444   ac_file=$1
42445   shift
42446
42447   case $ac_mode in
42448   :L) ac_source=$1;;
42449   :[FH])
42450     ac_file_inputs=
42451     for ac_f
42452     do
42453       case $ac_f in
42454       -) ac_f="$ac_tmp/stdin";;
42455       *) # Look for the file first in the build tree, then in the source tree
42456          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42457          # because $ac_f cannot contain `:'.
42458          test -f "$ac_f" ||
42459            case $ac_f in
42460            [\\/$]*) false;;
42461            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42462            esac ||
42463            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42464       esac
42465       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42466       as_fn_append ac_file_inputs " '$ac_f'"
42467     done
42468
42469     # Let's still pretend it is `configure' which instantiates (i.e., don't
42470     # use $as_me), people would be surprised to read:
42471     #    /* config.h.  Generated by config.status.  */
42472     configure_input='Generated from '`
42473           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42474         `' by configure.'
42475     if test x"$ac_file" != x-; then
42476       configure_input="$ac_file.  $configure_input"
42477       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42478 $as_echo "$as_me: creating $ac_file" >&6;}
42479     fi
42480     # Neutralize special characters interpreted by sed in replacement strings.
42481     case $configure_input in #(
42482     *\&* | *\|* | *\\* )
42483        ac_sed_conf_input=`$as_echo "$configure_input" |
42484        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42485     *) ac_sed_conf_input=$configure_input;;
42486     esac
42487
42488     case $ac_tag in
42489     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42490       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42491     esac
42492     ;;
42493   esac
42494
42495   ac_dir=`$as_dirname -- "$ac_file" ||
42496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42497          X"$ac_file" : 'X\(//\)[^/]' \| \
42498          X"$ac_file" : 'X\(//\)$' \| \
42499          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42500 $as_echo X"$ac_file" |
42501     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42502             s//\1/
42503             q
42504           }
42505           /^X\(\/\/\)[^/].*/{
42506             s//\1/
42507             q
42508           }
42509           /^X\(\/\/\)$/{
42510             s//\1/
42511             q
42512           }
42513           /^X\(\/\).*/{
42514             s//\1/
42515             q
42516           }
42517           s/.*/./; q'`
42518   as_dir="$ac_dir"; as_fn_mkdir_p
42519   ac_builddir=.
42520
42521 case "$ac_dir" in
42522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42523 *)
42524   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42525   # A ".." for each directory in $ac_dir_suffix.
42526   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42527   case $ac_top_builddir_sub in
42528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42530   esac ;;
42531 esac
42532 ac_abs_top_builddir=$ac_pwd
42533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42534 # for backward compatibility:
42535 ac_top_builddir=$ac_top_build_prefix
42536
42537 case $srcdir in
42538   .)  # We are building in place.
42539     ac_srcdir=.
42540     ac_top_srcdir=$ac_top_builddir_sub
42541     ac_abs_top_srcdir=$ac_pwd ;;
42542   [\\/]* | ?:[\\/]* )  # Absolute name.
42543     ac_srcdir=$srcdir$ac_dir_suffix;
42544     ac_top_srcdir=$srcdir
42545     ac_abs_top_srcdir=$srcdir ;;
42546   *) # Relative name.
42547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42548     ac_top_srcdir=$ac_top_build_prefix$srcdir
42549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42550 esac
42551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42552
42553
42554   case $ac_mode in
42555   :F)
42556   #
42557   # CONFIG_FILE
42558   #
42559
42560   case $INSTALL in
42561   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42562   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42563   esac
42564 _ACEOF
42565
42566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42567 # If the template does not know about datarootdir, expand it.
42568 # FIXME: This hack should be removed a few years after 2.60.
42569 ac_datarootdir_hack=; ac_datarootdir_seen=
42570 ac_sed_dataroot='
42571 /datarootdir/ {
42572   p
42573   q
42574 }
42575 /@datadir@/p
42576 /@docdir@/p
42577 /@infodir@/p
42578 /@localedir@/p
42579 /@mandir@/p'
42580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42581 *datarootdir*) ac_datarootdir_seen=yes;;
42582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42583   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42584 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42585 _ACEOF
42586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42587   ac_datarootdir_hack='
42588   s&@datadir@&$datadir&g
42589   s&@docdir@&$docdir&g
42590   s&@infodir@&$infodir&g
42591   s&@localedir@&$localedir&g
42592   s&@mandir@&$mandir&g
42593   s&\\\${datarootdir}&$datarootdir&g' ;;
42594 esac
42595 _ACEOF
42596
42597 # Neutralize VPATH when `$srcdir' = `.'.
42598 # Shell code in configure.ac might set extrasub.
42599 # FIXME: do we really want to maintain this feature?
42600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42601 ac_sed_extra="$ac_vpsub
42602 $extrasub
42603 _ACEOF
42604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42605 :t
42606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42607 s|@configure_input@|$ac_sed_conf_input|;t t
42608 s&@top_builddir@&$ac_top_builddir_sub&;t t
42609 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42610 s&@srcdir@&$ac_srcdir&;t t
42611 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42612 s&@top_srcdir@&$ac_top_srcdir&;t t
42613 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42614 s&@builddir@&$ac_builddir&;t t
42615 s&@abs_builddir@&$ac_abs_builddir&;t t
42616 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42617 s&@INSTALL@&$ac_INSTALL&;t t
42618 $ac_datarootdir_hack
42619 "
42620 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42621   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42622
42623 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42624   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42625   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42626       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42627   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42628 which seems to be undefined.  Please make sure it is defined" >&5
42629 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42630 which seems to be undefined.  Please make sure it is defined" >&2;}
42631
42632   rm -f "$ac_tmp/stdin"
42633   case $ac_file in
42634   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42635   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42636   esac \
42637   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42638  ;;
42639   :H)
42640   #
42641   # CONFIG_HEADER
42642   #
42643   if test x"$ac_file" != x-; then
42644     {
42645       $as_echo "/* $configure_input  */" \
42646       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42647     } >"$ac_tmp/config.h" \
42648       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42649     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42650       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42651 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42652     else
42653       rm -f "$ac_file"
42654       mv "$ac_tmp/config.h" "$ac_file" \
42655         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42656     fi
42657   else
42658     $as_echo "/* $configure_input  */" \
42659       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42660       || as_fn_error $? "could not create -" "$LINENO" 5
42661   fi
42662  ;;
42663
42664   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42665 $as_echo "$as_me: executing $ac_file commands" >&6;}
42666  ;;
42667   esac
42668
42669
42670   case $ac_file$ac_mode in
42671     "rcdefs.h":C)
42672             mkdir -p $outdir &&
42673             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42674          ;;
42675     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42676     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42677     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42678     "wx-config":C)  rm -f wx-config
42679                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42680                     ;;
42681
42682   esac
42683 done # for ac_tag
42684
42685
42686 as_fn_exit 0
42687 _ACEOF
42688 ac_clean_files=$ac_clean_files_save
42689
42690 test $ac_write_fail = 0 ||
42691   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42692
42693
42694 # configure is writing to config.log, and then calls config.status.
42695 # config.status does its own redirection, appending to config.log.
42696 # Unfortunately, on DOS this fails, as config.log is still kept open
42697 # by configure, so config.status won't be able to write to it; its
42698 # output is simply discarded.  So we exec the FD to /dev/null,
42699 # effectively closing config.log, so it can be properly (re)opened and
42700 # appended to by config.status.  When coming back to configure, we
42701 # need to make the FD available again.
42702 if test "$no_create" != yes; then
42703   ac_cs_success=:
42704   ac_config_status_args=
42705   test "$silent" = yes &&
42706     ac_config_status_args="$ac_config_status_args --quiet"
42707   exec 5>/dev/null
42708   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42709   exec 5>>config.log
42710   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42711   # would make configure fail if this is the last instruction.
42712   $ac_cs_success || as_fn_exit 1
42713 fi
42714
42715 #
42716 # CONFIG_SUBDIRS section.
42717 #
42718 if test "$no_recursion" != yes; then
42719
42720   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42721   # so they do not pile up.
42722   ac_sub_configure_args=
42723   ac_prev=
42724   eval "set x $ac_configure_args"
42725   shift
42726   for ac_arg
42727   do
42728     if test -n "$ac_prev"; then
42729       ac_prev=
42730       continue
42731     fi
42732     case $ac_arg in
42733     -cache-file | --cache-file | --cache-fil | --cache-fi \
42734     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42735       ac_prev=cache_file ;;
42736     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42737     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42738     | --c=*)
42739       ;;
42740     --config-cache | -C)
42741       ;;
42742     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42743       ac_prev=srcdir ;;
42744     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42745       ;;
42746     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42747       ac_prev=prefix ;;
42748     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42749       ;;
42750     --disable-option-checking)
42751       ;;
42752     *)
42753       case $ac_arg in
42754       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42755       esac
42756       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42757     esac
42758   done
42759
42760   # Always prepend --prefix to ensure using the same prefix
42761   # in subdir configurations.
42762   ac_arg="--prefix=$prefix"
42763   case $ac_arg in
42764   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42765   esac
42766   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42767
42768   # Pass --silent
42769   if test "$silent" = yes; then
42770     ac_sub_configure_args="--silent $ac_sub_configure_args"
42771   fi
42772
42773   # Always prepend --disable-option-checking to silence warnings, since
42774   # different subdirs can have different --enable and --with options.
42775   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42776
42777   ac_popdir=`pwd`
42778   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42779
42780     # Do not complain, so a configure script can configure whichever
42781     # parts of a large source tree are present.
42782     test -d "$srcdir/$ac_dir" || continue
42783
42784     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42785     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42786     $as_echo "$ac_msg" >&6
42787     as_dir="$ac_dir"; as_fn_mkdir_p
42788     ac_builddir=.
42789
42790 case "$ac_dir" in
42791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42792 *)
42793   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42794   # A ".." for each directory in $ac_dir_suffix.
42795   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42796   case $ac_top_builddir_sub in
42797   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42798   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42799   esac ;;
42800 esac
42801 ac_abs_top_builddir=$ac_pwd
42802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42803 # for backward compatibility:
42804 ac_top_builddir=$ac_top_build_prefix
42805
42806 case $srcdir in
42807   .)  # We are building in place.
42808     ac_srcdir=.
42809     ac_top_srcdir=$ac_top_builddir_sub
42810     ac_abs_top_srcdir=$ac_pwd ;;
42811   [\\/]* | ?:[\\/]* )  # Absolute name.
42812     ac_srcdir=$srcdir$ac_dir_suffix;
42813     ac_top_srcdir=$srcdir
42814     ac_abs_top_srcdir=$srcdir ;;
42815   *) # Relative name.
42816     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42817     ac_top_srcdir=$ac_top_build_prefix$srcdir
42818     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42819 esac
42820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42821
42822
42823     cd "$ac_dir"
42824
42825     # Check for guested configure; otherwise get Cygnus style configure.
42826     if test -f "$ac_srcdir/configure.gnu"; then
42827       ac_sub_configure=$ac_srcdir/configure.gnu
42828     elif test -f "$ac_srcdir/configure"; then
42829       ac_sub_configure=$ac_srcdir/configure
42830     elif test -f "$ac_srcdir/configure.in"; then
42831       # This should be Cygnus configure.
42832       ac_sub_configure=$ac_aux_dir/configure
42833     else
42834       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42835 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42836       ac_sub_configure=
42837     fi
42838
42839     # The recursion is here.
42840     if test -n "$ac_sub_configure"; then
42841       # Make the cache file name correct relative to the subdirectory.
42842       case $cache_file in
42843       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42844       *) # Relative name.
42845         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42846       esac
42847
42848       { $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
42849 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42850       # The eval makes quoting arguments work.
42851       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42852            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42853         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42854     fi
42855
42856     cd "$ac_popdir"
42857   done
42858 fi
42859 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42860   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42861 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42862 fi
42863
42864
42865 echo
42866 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42867 echo ""
42868 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42869 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42870 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42871 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42872 if test "$wxUSE_UNICODE" = "yes"; then
42873     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42874         echo " (using UTF-8)"
42875     else
42876         echo " (using wchar_t)"
42877     fi
42878 else
42879     echo
42880 fi
42881
42882 echo "  What level of wxWidgets compatibility should be enabled?"
42883 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42884 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42885
42886 echo "  Which libraries should wxWidgets use?"
42887 echo "                                       STL                ${wxUSE_STL}"
42888 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42889 echo "                                       png                ${wxUSE_LIBPNG-none}"
42890 echo "                                       regex              ${wxUSE_REGEX}"
42891 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42892 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42893 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42894 fi
42895 echo "                                       zlib               ${wxUSE_ZLIB}"
42896 echo "                                       expat              ${wxUSE_EXPAT}"
42897 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42898 echo "                                       sdl                ${wxUSE_LIBSDL}"
42899
42900 echo ""
42901