Better fix for wxX11 linking problems than r74499.
[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 RESCOMP
638 WX_VERSION_TAG
639 DMALLOC_LIBS
640 OPENGL_LIBS
641 LDFLAGS_GL
642 SAMPLES_SUBDIRS
643 DISTDIR
644 GUIDIST
645 WXCONFIG_RESFLAGS
646 WXCONFIG_LDFLAGS_GUI
647 WXCONFIG_LDFLAGS
648 WXCONFIG_RPATH
649 WXCONFIG_LIBS
650 WXCONFIG_CXXFLAGS
651 WXCONFIG_CFLAGS
652 WXCONFIG_CPPFLAGS
653 WX_CHARTYPE
654 WX_SUBVERSION
655 WX_VERSION
656 WX_RELEASE
657 WIDGET_SET
658 cross_compiling
659 TOOLCHAIN_FULLNAME
660 TOOLCHAIN_NAME
661 TOOLKIT_DIR
662 TOOLKIT
663 USE_GUI
664 WX_LIBRARY_BASENAME_GUI
665 WX_LIBRARY_BASENAME_NOGUI
666 SHARED
667 DEREZ
668 COND_wxUSE_ZLIB_builtin
669 COND_wxUSE_REGEX_builtin
670 COND_wxUSE_LIBTIFF_builtin
671 COND_wxUSE_LIBPNG_builtin
672 COND_wxUSE_LIBJPEG_builtin
673 COND_wxUSE_EXPAT_builtin
674 COND_WXUNIV_1
675 COND_WXUNIV_0
676 COND_WITH_PLUGIN_SDL_1
677 COND_WINDOWS_IMPLIB_1
678 COND_USE_XRC_1
679 COND_USE_THREADS_1
680 COND_USE_THREADS_0
681 COND_USE_STC_1
682 COND_USE_SOVERSOLARIS_1
683 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
684 COND_USE_SOVERSION_0
685 COND_USE_SOVERLINUX_1
686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
687 COND_USE_SOTWOSYMLINKS_1
688 COND_USE_RTTI_1
689 COND_USE_RTTI_0
690 COND_USE_PLUGINS_0
691 COND_USE_PCH_1
692 COND_USE_OPENGL_1
693 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
694 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
695 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
696 COND_USE_GUI_1_WXUNIV_1
697 COND_USE_GUI_1_WXUNIV_0
698 COND_USE_GUI_1_USE_OPENGL_1
699 COND_USE_GUI_1
700 COND_USE_GUI_0
701 COND_USE_EXCEPTIONS_1
702 COND_USE_EXCEPTIONS_0
703 COND_USE_CAIRO_1
704 COND_UNICODE_1
705 COND_TOOLKIT_X11_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
707 COND_TOOLKIT_X11_USE_GUI_1
708 COND_TOOLKIT_X11
709 COND_TOOLKIT_WINCE_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_WINCE_USE_GUI_1
712 COND_TOOLKIT_WINCE
713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
714 COND_TOOLKIT_PM_USE_GUI_1
715 COND_TOOLKIT_PM
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
717 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE
719 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
720 COND_TOOLKIT_OSX_COCOA
721 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
722 COND_TOOLKIT_OSX_CARBON
723 COND_TOOLKIT_MSW_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_MSW_USE_GUI_1
726 COND_TOOLKIT_MSW
727 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_MOTIF_USE_GUI_1
729 COND_TOOLKIT_MOTIF
730 COND_TOOLKIT_MAC
731 COND_TOOLKIT_GTK_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
745 COND_TOOLKIT_GTK
746 COND_TOOLKIT_DFB_USE_GUI_1
747 COND_TOOLKIT_DFB
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
750 COND_TOOLKIT_COCOA
751 COND_TOOLKIT_
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
753 COND_SHARED_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
765 COND_SHARED_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
780 COND_PLATFORM_UNIX_1
781 COND_PLATFORM_UNIX_0
782 COND_PLATFORM_OS2_1
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
785 COND_PLATFORM_MAC_1
786 COND_PLATFORM_MAC_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
810 COND_MONOLITHIC_1
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0
848 COND_ICC_PCH_1
849 COND_GCC_PCH_1
850 COND_DEPS_TRACKING_1
851 COND_DEPS_TRACKING_0
852 COND_DEBUG_INFO_1
853 COND_DEBUG_INFO_0
854 COND_DEBUG_FLAG_0
855 COND_BUILD_release_DEBUG_INFO_default
856 COND_BUILD_release
857 COND_BUILD_debug_DEBUG_INFO_default
858 COND_BUILD_debug
859 BK_MAKE_PCH
860 ICC_PCH_USE_SWITCH
861 ICC_PCH_CREATE_SWITCH
862 ICC_PCH
863 GCC_PCH
864 OBJCXXFLAGS
865 SETFILE
866 REZ
867 WINDRES
868 BK_DEPS
869 DEPS_TRACKING
870 SONAME_FLAG
871 USE_SOTWOSYMLINKS
872 USE_MACVERSION
873 USE_SOVERCYGWIN
874 USE_SOVERSOLARIS
875 USE_SOVERLINUX
876 USE_SOVERSION
877 WINDOWS_IMPLIB
878 PIC_FLAG
879 SHARED_LD_MODULE_CXX
880 SHARED_LD_MODULE_CC
881 SHARED_LD_CXX
882 SHARED_LD_CC
883 AIX_CXX_LD
884 dlldir
885 DLLPREFIX_MODULE
886 DLLPREFIX
887 LIBEXT
888 LIBPREFIX
889 DLLIMP_SUFFIX
890 SO_SUFFIX_MODULE
891 SO_SUFFIX
892 PLATFORM_BEOS
893 PLATFORM_OS2
894 PLATFORM_MACOSX
895 PLATFORM_MACOS
896 PLATFORM_MAC
897 PLATFORM_MSDOS
898 PLATFORM_WIN32
899 PLATFORM_UNIX
900 IF_GNU_MAKE
901 LDFLAGS_GUI
902 INSTALL_DIR
903 NM
904 STRIP
905 AROPTIONS
906 MAKE_SET
907 SET_MAKE
908 LN_S
909 INSTALL_DATA
910 INSTALL_SCRIPT
911 INSTALL_PROGRAM
912 RANLIB
913 CPPUNIT_LIBS
914 CPPUNIT_CFLAGS
915 HOST_SUFFIX
916 HEADER_PAD_OPTION
917 SAMPLES_RPATH_FLAG
918 DYLIB_RPATH_POSTLINK
919 DYLIB_RPATH_INSTALL
920 TOOLKIT_VERSION
921 TOOLKIT_LOWERCASE
922 DEBUG_FLAG
923 DEBUG_INFO
924 UNICODE
925 WITH_PLUGIN_SDL
926 EXTRALIBS_STC
927 EXTRALIBS_SDL
928 EXTRALIBS_OPENGL
929 EXTRALIBS_GUI
930 EXTRALIBS_MEDIA
931 EXTRALIBS_HTML
932 EXTRALIBS_XML
933 EXTRALIBS
934 CXXWARNINGS
935 USE_PLUGINS
936 MONOLITHIC
937 WXUNIV
938 WX_LIB_FLAVOUR
939 WX_FLAVOUR
940 OFFICIAL_BUILD
941 VENDOR
942 wxUSE_LIBTIFF
943 wxUSE_LIBPNG
944 wxUSE_LIBJPEG
945 wxUSE_EXPAT
946 wxUSE_REGEX
947 wxUSE_ZLIB
948 STD_GUI_LIBS
949 STD_BASE_LIBS
950 BUILT_WX_LIBS
951 ALL_WX_LIBS
952 GST_LIBS
953 GST_CFLAGS
954 CAIRO_LIBS
955 CAIRO_CFLAGS
956 WEBKIT_LIBS
957 WEBKIT_CFLAGS
958 COND_PYTHON
959 PYTHON
960 HILDON2_LIBS
961 HILDON2_CFLAGS
962 HILDON_LIBS
963 HILDON_CFLAGS
964 LIBNOTIFY_LIBS
965 LIBNOTIFY_CFLAGS
966 GNOMEVFS_LIBS
967 GNOMEVFS_CFLAGS
968 LIBGNOMEPRINTUI_LIBS
969 LIBGNOMEPRINTUI_CFLAGS
970 GTKPRINT_LIBS
971 GTKPRINT_CFLAGS
972 SDL_LIBS
973 SDL_CFLAGS
974 SDL_CONFIG
975 GXX_VERSION
976 LIBICONV
977 CXXFLAGS_VISIBILITY
978 CFLAGS_VISIBILITY
979 MesaGL_LIBS
980 MesaGL_CFLAGS
981 GLU_LIBS
982 GLU_CFLAGS
983 GL_LIBS
984 GL_CFLAGS
985 SM_LIBS
986 SM_CFLAGS
987 Xxf86vm_LIBS
988 Xxf86vm_CFLAGS
989 Xinerama_LIBS
990 Xinerama_CFLAGS
991 PANGOXFT_LIBS
992 PANGOXFT_CFLAGS
993 PANGOFT2_LIBS
994 PANGOFT2_CFLAGS
995 PANGOX_LIBS
996 PANGOX_CFLAGS
997 X_EXTRA_LIBS
998 X_LIBS
999 X_PRE_LIBS
1000 X_CFLAGS
1001 XMKMF
1002 DIRECTFB_LIBS
1003 DIRECTFB_CFLAGS
1004 GTK_CONFIG
1005 GTK_LIBS
1006 GTK_CFLAGS
1007 PKG_CONFIG
1008 subdirs
1009 CXXCPP
1010 AR
1011 ac_ct_CXX
1012 CXXFLAGS
1013 CXX
1014 EGREP
1015 GREP
1016 CPP
1017 OBJEXT
1018 EXEEXT
1019 ac_ct_CC
1020 CPPFLAGS
1021 LDFLAGS
1022 CFLAGS
1023 CC
1024 wx_top_builddir
1025 host_os
1026 host_vendor
1027 host_cpu
1028 host
1029 build_os
1030 build_vendor
1031 build_cpu
1032 build
1033 target_alias
1034 host_alias
1035 build_alias
1036 LIBS
1037 ECHO_T
1038 ECHO_N
1039 ECHO_C
1040 DEFS
1041 mandir
1042 localedir
1043 libdir
1044 psdir
1045 pdfdir
1046 dvidir
1047 htmldir
1048 infodir
1049 docdir
1050 oldincludedir
1051 includedir
1052 localstatedir
1053 sharedstatedir
1054 sysconfdir
1055 datadir
1056 datarootdir
1057 libexecdir
1058 sbindir
1059 bindir
1060 program_transform_name
1061 prefix
1062 exec_prefix
1063 PACKAGE_URL
1064 PACKAGE_BUGREPORT
1065 PACKAGE_STRING
1066 PACKAGE_VERSION
1067 PACKAGE_TARNAME
1068 PACKAGE_NAME
1069 PATH_SEPARATOR
1070 SHELL'
1071 ac_subst_files=''
1072 ac_user_opts='
1073 enable_option_checking
1074 enable_gui
1075 enable_monolithic
1076 enable_plugins
1077 with_subdirs
1078 with_flavour
1079 enable_official_build
1080 enable_vendor
1081 enable_all_features
1082 enable_universal
1083 with_themes
1084 with_gtk
1085 with_motif
1086 with_osx_carbon
1087 with_osx_cocoa
1088 with_osx_iphone
1089 with_osx
1090 with_carbon
1091 with_cocoa
1092 with_iphone
1093 with_mac
1094 with_old_cocoa
1095 with_wine
1096 with_msw
1097 with_pm
1098 with_directfb
1099 with_microwin
1100 with_x11
1101 enable_nanox
1102 enable_gpe
1103 with_libpng
1104 with_libjpeg
1105 with_libtiff
1106 with_libjbig
1107 with_liblzma
1108 with_libxpm
1109 with_libiconv
1110 with_libmspack
1111 with_gtkprint
1112 with_gnomeprint
1113 with_gnomevfs
1114 with_libnotify
1115 with_hildon
1116 with_opengl
1117 with_dmalloc
1118 with_sdl
1119 with_regex
1120 with_zlib
1121 with_expat
1122 with_macosx_sdk
1123 with_macosx_version_min
1124 enable_debug
1125 enable_debug_flag
1126 enable_debug_info
1127 enable_debug_gdb
1128 enable_debug_cntxt
1129 enable_mem_tracing
1130 enable_shared
1131 enable_stl
1132 enable_std_containers
1133 enable_std_iostreams
1134 enable_std_string
1135 enable_std_string_conv_in_wxstring
1136 enable_unicode
1137 enable_mslu
1138 enable_utf8
1139 enable_utf8only
1140 enable_extended_rtti
1141 enable_omf
1142 enable_optimise
1143 enable_profile
1144 enable_no_rtti
1145 enable_no_exceptions
1146 enable_permissive
1147 enable_no_deps
1148 enable_vararg_macros
1149 enable_universal_binary
1150 enable_macosx_arch
1151 enable_compat26
1152 enable_compat28
1153 enable_rpath
1154 enable_objc_uniquifying
1155 enable_visibility
1156 enable_tls
1157 enable_intl
1158 enable_xlocale
1159 enable_config
1160 enable_protocols
1161 enable_ftp
1162 enable_http
1163 enable_fileproto
1164 enable_sockets
1165 enable_ipv6
1166 enable_ole
1167 enable_dataobj
1168 enable_ipc
1169 enable_baseevtloop
1170 enable_epollloop
1171 enable_selectloop
1172 enable_any
1173 enable_apple_ieee
1174 enable_arcstream
1175 enable_base64
1176 enable_backtrace
1177 enable_catch_segvs
1178 enable_cmdline
1179 enable_datetime
1180 enable_debugreport
1181 enable_dialupman
1182 enable_dynlib
1183 enable_dynamicloader
1184 enable_exceptions
1185 enable_ffile
1186 enable_file
1187 enable_filehistory
1188 enable_filesystem
1189 enable_fontenum
1190 enable_fontmap
1191 enable_fs_archive
1192 enable_fs_inet
1193 enable_fs_zip
1194 enable_fsvolume
1195 enable_fswatcher
1196 enable_geometry
1197 enable_log
1198 enable_longlong
1199 enable_mimetype
1200 enable_printfposparam
1201 enable_snglinst
1202 enable_sound
1203 enable_stdpaths
1204 enable_stopwatch
1205 enable_streams
1206 enable_sysoptions
1207 enable_tarstream
1208 enable_textbuf
1209 enable_textfile
1210 enable_timer
1211 enable_variant
1212 enable_zipstream
1213 enable_url
1214 enable_protocol
1215 enable_protocol_http
1216 enable_protocol_ftp
1217 enable_protocol_file
1218 enable_threads
1219 enable_iniconf
1220 enable_regkey
1221 enable_docview
1222 enable_help
1223 enable_mshtmlhelp
1224 enable_html
1225 enable_htmlhelp
1226 enable_xrc
1227 enable_aui
1228 enable_propgrid
1229 enable_ribbon
1230 enable_stc
1231 enable_constraints
1232 enable_loggui
1233 enable_logwin
1234 enable_logdialog
1235 enable_mdi
1236 enable_mdidoc
1237 enable_mediactrl
1238 enable_gstreamer8
1239 enable_richtext
1240 enable_postscript
1241 enable_printarch
1242 enable_svg
1243 enable_webkit
1244 enable_webview
1245 enable_graphics_ctx
1246 enable_clipboard
1247 enable_dnd
1248 enable_controls
1249 enable_markup
1250 enable_accel
1251 enable_animatectrl
1252 enable_bannerwindow
1253 enable_artstd
1254 enable_arttango
1255 enable_bmpbutton
1256 enable_bmpcombobox
1257 enable_button
1258 enable_calendar
1259 enable_caret
1260 enable_checkbox
1261 enable_checklst
1262 enable_choice
1263 enable_choicebook
1264 enable_collpane
1265 enable_colourpicker
1266 enable_combobox
1267 enable_comboctrl
1268 enable_commandlinkbutton
1269 enable_dataviewctrl
1270 enable_datepick
1271 enable_detect_sm
1272 enable_dirpicker
1273 enable_display
1274 enable_editablebox
1275 enable_filectrl
1276 enable_filepicker
1277 enable_fontpicker
1278 enable_gauge
1279 enable_grid
1280 enable_headerctrl
1281 enable_hyperlink
1282 enable_imaglist
1283 enable_infobar
1284 enable_listbook
1285 enable_listbox
1286 enable_listctrl
1287 enable_notebook
1288 enable_notifmsg
1289 enable_odcombobox
1290 enable_popupwin
1291 enable_radiobox
1292 enable_radiobtn
1293 enable_richmsgdlg
1294 enable_richtooltip
1295 enable_rearrangectrl
1296 enable_sash
1297 enable_scrollbar
1298 enable_searchctrl
1299 enable_slider
1300 enable_spinbtn
1301 enable_spinctrl
1302 enable_splitter
1303 enable_statbmp
1304 enable_statbox
1305 enable_statline
1306 enable_stattext
1307 enable_statusbar
1308 enable_taskbaricon
1309 enable_tbarnative
1310 enable_textctrl
1311 enable_tipwindow
1312 enable_togglebtn
1313 enable_toolbar
1314 enable_toolbook
1315 enable_treebook
1316 enable_treectrl
1317 enable_treelist
1318 enable_commondlg
1319 enable_aboutdlg
1320 enable_choicedlg
1321 enable_coldlg
1322 enable_filedlg
1323 enable_finddlg
1324 enable_fontdlg
1325 enable_dirdlg
1326 enable_msgdlg
1327 enable_numberdlg
1328 enable_splash
1329 enable_textdlg
1330 enable_tipdlg
1331 enable_progressdlg
1332 enable_wizarddlg
1333 enable_menus
1334 enable_miniframe
1335 enable_tooltips
1336 enable_splines
1337 enable_mousewheel
1338 enable_validators
1339 enable_busyinfo
1340 enable_hotkey
1341 enable_joystick
1342 enable_metafile
1343 enable_dragimage
1344 enable_accessibility
1345 enable_uiactionsim
1346 enable_dctransform
1347 enable_webviewwebkit
1348 enable_palette
1349 enable_image
1350 enable_gif
1351 enable_pcx
1352 enable_tga
1353 enable_iff
1354 enable_pnm
1355 enable_xpm
1356 enable_ico_cur
1357 enable_dccache
1358 enable_ps_in_msw
1359 enable_ownerdrawn
1360 enable_uxtheme
1361 enable_wxdib
1362 enable_webviewie
1363 enable_autoidman
1364 enable_largefile
1365 enable_gtktest
1366 with_gtk_prefix
1367 with_gtk_exec_prefix
1368 with_x
1369 with_libiconv_prefix
1370 with_sdl_prefix
1371 with_sdl_exec_prefix
1372 enable_sdltest
1373 enable_dependency_tracking
1374 enable_precomp_headers
1375 with_cppunit_prefix
1376 with_cppunit_exec_prefix
1377 '
1378       ac_precious_vars='build_alias
1379 host_alias
1380 target_alias
1381 CC
1382 CFLAGS
1383 LDFLAGS
1384 LIBS
1385 CPPFLAGS
1386 CPP
1387 CXX
1388 CXXFLAGS
1389 CCC
1390 CXXCPP
1391 PKG_CONFIG
1392 DIRECTFB_CFLAGS
1393 DIRECTFB_LIBS
1394 XMKMF
1395 PANGOX_CFLAGS
1396 PANGOX_LIBS
1397 PANGOFT2_CFLAGS
1398 PANGOFT2_LIBS
1399 PANGOXFT_CFLAGS
1400 PANGOXFT_LIBS
1401 Xinerama_CFLAGS
1402 Xinerama_LIBS
1403 Xxf86vm_CFLAGS
1404 Xxf86vm_LIBS
1405 SM_CFLAGS
1406 SM_LIBS
1407 GL_CFLAGS
1408 GL_LIBS
1409 GLU_CFLAGS
1410 GLU_LIBS
1411 MesaGL_CFLAGS
1412 MesaGL_LIBS
1413 GTKPRINT_CFLAGS
1414 GTKPRINT_LIBS
1415 LIBGNOMEPRINTUI_CFLAGS
1416 LIBGNOMEPRINTUI_LIBS
1417 GNOMEVFS_CFLAGS
1418 GNOMEVFS_LIBS
1419 LIBNOTIFY_CFLAGS
1420 LIBNOTIFY_LIBS
1421 HILDON_CFLAGS
1422 HILDON_LIBS
1423 HILDON2_CFLAGS
1424 HILDON2_LIBS
1425 WEBKIT_CFLAGS
1426 WEBKIT_LIBS
1427 CAIRO_CFLAGS
1428 CAIRO_LIBS
1429 GST_CFLAGS
1430 GST_LIBS'
1431 ac_subdirs_all='src/tiff
1432 src/expat'
1433
1434 # Initialize some variables set by options.
1435 ac_init_help=
1436 ac_init_version=false
1437 ac_unrecognized_opts=
1438 ac_unrecognized_sep=
1439 # The variables have the same names as the options, with
1440 # dashes changed to underlines.
1441 cache_file=/dev/null
1442 exec_prefix=NONE
1443 no_create=
1444 no_recursion=
1445 prefix=NONE
1446 program_prefix=NONE
1447 program_suffix=NONE
1448 program_transform_name=s,x,x,
1449 silent=
1450 site=
1451 srcdir=
1452 verbose=
1453 x_includes=NONE
1454 x_libraries=NONE
1455
1456 # Installation directory options.
1457 # These are left unexpanded so users can "make install exec_prefix=/foo"
1458 # and all the variables that are supposed to be based on exec_prefix
1459 # by default will actually change.
1460 # Use braces instead of parens because sh, perl, etc. also accept them.
1461 # (The list follows the same order as the GNU Coding Standards.)
1462 bindir='${exec_prefix}/bin'
1463 sbindir='${exec_prefix}/sbin'
1464 libexecdir='${exec_prefix}/libexec'
1465 datarootdir='${prefix}/share'
1466 datadir='${datarootdir}'
1467 sysconfdir='${prefix}/etc'
1468 sharedstatedir='${prefix}/com'
1469 localstatedir='${prefix}/var'
1470 includedir='${prefix}/include'
1471 oldincludedir='/usr/include'
1472 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1473 infodir='${datarootdir}/info'
1474 htmldir='${docdir}'
1475 dvidir='${docdir}'
1476 pdfdir='${docdir}'
1477 psdir='${docdir}'
1478 libdir='${exec_prefix}/lib'
1479 localedir='${datarootdir}/locale'
1480 mandir='${datarootdir}/man'
1481
1482 ac_prev=
1483 ac_dashdash=
1484 for ac_option
1485 do
1486   # If the previous option needs an argument, assign it.
1487   if test -n "$ac_prev"; then
1488     eval $ac_prev=\$ac_option
1489     ac_prev=
1490     continue
1491   fi
1492
1493   case $ac_option in
1494   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1495   *=)   ac_optarg= ;;
1496   *)    ac_optarg=yes ;;
1497   esac
1498
1499   # Accept the important Cygnus configure options, so we can diagnose typos.
1500
1501   case $ac_dashdash$ac_option in
1502   --)
1503     ac_dashdash=yes ;;
1504
1505   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1506     ac_prev=bindir ;;
1507   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1508     bindir=$ac_optarg ;;
1509
1510   -build | --build | --buil | --bui | --bu)
1511     ac_prev=build_alias ;;
1512   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1513     build_alias=$ac_optarg ;;
1514
1515   -cache-file | --cache-file | --cache-fil | --cache-fi \
1516   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1517     ac_prev=cache_file ;;
1518   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1519   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1520     cache_file=$ac_optarg ;;
1521
1522   --config-cache | -C)
1523     cache_file=config.cache ;;
1524
1525   -datadir | --datadir | --datadi | --datad)
1526     ac_prev=datadir ;;
1527   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1528     datadir=$ac_optarg ;;
1529
1530   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1531   | --dataroo | --dataro | --datar)
1532     ac_prev=datarootdir ;;
1533   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1534   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1535     datarootdir=$ac_optarg ;;
1536
1537   -disable-* | --disable-*)
1538     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1539     # Reject names that are not valid shell variable names.
1540     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541       as_fn_error $? "invalid feature name: $ac_useropt"
1542     ac_useropt_orig=$ac_useropt
1543     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544     case $ac_user_opts in
1545       *"
1546 "enable_$ac_useropt"
1547 "*) ;;
1548       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1549          ac_unrecognized_sep=', ';;
1550     esac
1551     eval enable_$ac_useropt=no ;;
1552
1553   -docdir | --docdir | --docdi | --doc | --do)
1554     ac_prev=docdir ;;
1555   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1556     docdir=$ac_optarg ;;
1557
1558   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1559     ac_prev=dvidir ;;
1560   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1561     dvidir=$ac_optarg ;;
1562
1563   -enable-* | --enable-*)
1564     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1565     # Reject names that are not valid shell variable names.
1566     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567       as_fn_error $? "invalid feature name: $ac_useropt"
1568     ac_useropt_orig=$ac_useropt
1569     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570     case $ac_user_opts in
1571       *"
1572 "enable_$ac_useropt"
1573 "*) ;;
1574       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1575          ac_unrecognized_sep=', ';;
1576     esac
1577     eval enable_$ac_useropt=\$ac_optarg ;;
1578
1579   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1580   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1581   | --exec | --exe | --ex)
1582     ac_prev=exec_prefix ;;
1583   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1584   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1585   | --exec=* | --exe=* | --ex=*)
1586     exec_prefix=$ac_optarg ;;
1587
1588   -gas | --gas | --ga | --g)
1589     # Obsolete; use --with-gas.
1590     with_gas=yes ;;
1591
1592   -help | --help | --hel | --he | -h)
1593     ac_init_help=long ;;
1594   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1595     ac_init_help=recursive ;;
1596   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1597     ac_init_help=short ;;
1598
1599   -host | --host | --hos | --ho)
1600     ac_prev=host_alias ;;
1601   -host=* | --host=* | --hos=* | --ho=*)
1602     host_alias=$ac_optarg ;;
1603
1604   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1605     ac_prev=htmldir ;;
1606   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1607   | --ht=*)
1608     htmldir=$ac_optarg ;;
1609
1610   -includedir | --includedir | --includedi | --included | --include \
1611   | --includ | --inclu | --incl | --inc)
1612     ac_prev=includedir ;;
1613   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1614   | --includ=* | --inclu=* | --incl=* | --inc=*)
1615     includedir=$ac_optarg ;;
1616
1617   -infodir | --infodir | --infodi | --infod | --info | --inf)
1618     ac_prev=infodir ;;
1619   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1620     infodir=$ac_optarg ;;
1621
1622   -libdir | --libdir | --libdi | --libd)
1623     ac_prev=libdir ;;
1624   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1625     libdir=$ac_optarg ;;
1626
1627   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1628   | --libexe | --libex | --libe)
1629     ac_prev=libexecdir ;;
1630   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1631   | --libexe=* | --libex=* | --libe=*)
1632     libexecdir=$ac_optarg ;;
1633
1634   -localedir | --localedir | --localedi | --localed | --locale)
1635     ac_prev=localedir ;;
1636   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1637     localedir=$ac_optarg ;;
1638
1639   -localstatedir | --localstatedir | --localstatedi | --localstated \
1640   | --localstate | --localstat | --localsta | --localst | --locals)
1641     ac_prev=localstatedir ;;
1642   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1643   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1644     localstatedir=$ac_optarg ;;
1645
1646   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1647     ac_prev=mandir ;;
1648   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1649     mandir=$ac_optarg ;;
1650
1651   -nfp | --nfp | --nf)
1652     # Obsolete; use --without-fp.
1653     with_fp=no ;;
1654
1655   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1656   | --no-cr | --no-c | -n)
1657     no_create=yes ;;
1658
1659   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1660   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1661     no_recursion=yes ;;
1662
1663   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1664   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1665   | --oldin | --oldi | --old | --ol | --o)
1666     ac_prev=oldincludedir ;;
1667   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1668   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1669   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1670     oldincludedir=$ac_optarg ;;
1671
1672   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1673     ac_prev=prefix ;;
1674   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1675     prefix=$ac_optarg ;;
1676
1677   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1678   | --program-pre | --program-pr | --program-p)
1679     ac_prev=program_prefix ;;
1680   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1681   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1682     program_prefix=$ac_optarg ;;
1683
1684   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1685   | --program-suf | --program-su | --program-s)
1686     ac_prev=program_suffix ;;
1687   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1688   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1689     program_suffix=$ac_optarg ;;
1690
1691   -program-transform-name | --program-transform-name \
1692   | --program-transform-nam | --program-transform-na \
1693   | --program-transform-n | --program-transform- \
1694   | --program-transform | --program-transfor \
1695   | --program-transfo | --program-transf \
1696   | --program-trans | --program-tran \
1697   | --progr-tra | --program-tr | --program-t)
1698     ac_prev=program_transform_name ;;
1699   -program-transform-name=* | --program-transform-name=* \
1700   | --program-transform-nam=* | --program-transform-na=* \
1701   | --program-transform-n=* | --program-transform-=* \
1702   | --program-transform=* | --program-transfor=* \
1703   | --program-transfo=* | --program-transf=* \
1704   | --program-trans=* | --program-tran=* \
1705   | --progr-tra=* | --program-tr=* | --program-t=*)
1706     program_transform_name=$ac_optarg ;;
1707
1708   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1709     ac_prev=pdfdir ;;
1710   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1711     pdfdir=$ac_optarg ;;
1712
1713   -psdir | --psdir | --psdi | --psd | --ps)
1714     ac_prev=psdir ;;
1715   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1716     psdir=$ac_optarg ;;
1717
1718   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719   | -silent | --silent | --silen | --sile | --sil)
1720     silent=yes ;;
1721
1722   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1723     ac_prev=sbindir ;;
1724   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1725   | --sbi=* | --sb=*)
1726     sbindir=$ac_optarg ;;
1727
1728   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1729   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1730   | --sharedst | --shareds | --shared | --share | --shar \
1731   | --sha | --sh)
1732     ac_prev=sharedstatedir ;;
1733   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1734   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1735   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1736   | --sha=* | --sh=*)
1737     sharedstatedir=$ac_optarg ;;
1738
1739   -site | --site | --sit)
1740     ac_prev=site ;;
1741   -site=* | --site=* | --sit=*)
1742     site=$ac_optarg ;;
1743
1744   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1745     ac_prev=srcdir ;;
1746   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1747     srcdir=$ac_optarg ;;
1748
1749   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1750   | --syscon | --sysco | --sysc | --sys | --sy)
1751     ac_prev=sysconfdir ;;
1752   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1753   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1754     sysconfdir=$ac_optarg ;;
1755
1756   -target | --target | --targe | --targ | --tar | --ta | --t)
1757     ac_prev=target_alias ;;
1758   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1759     target_alias=$ac_optarg ;;
1760
1761   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1762     verbose=yes ;;
1763
1764   -version | --version | --versio | --versi | --vers | -V)
1765     ac_init_version=: ;;
1766
1767   -with-* | --with-*)
1768     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1769     # Reject names that are not valid shell variable names.
1770     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1771       as_fn_error $? "invalid package name: $ac_useropt"
1772     ac_useropt_orig=$ac_useropt
1773     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774     case $ac_user_opts in
1775       *"
1776 "with_$ac_useropt"
1777 "*) ;;
1778       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1779          ac_unrecognized_sep=', ';;
1780     esac
1781     eval with_$ac_useropt=\$ac_optarg ;;
1782
1783   -without-* | --without-*)
1784     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1795          ac_unrecognized_sep=', ';;
1796     esac
1797     eval with_$ac_useropt=no ;;
1798
1799   --x)
1800     # Obsolete; use --with-x.
1801     with_x=yes ;;
1802
1803   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1804   | --x-incl | --x-inc | --x-in | --x-i)
1805     ac_prev=x_includes ;;
1806   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1807   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1808     x_includes=$ac_optarg ;;
1809
1810   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1811   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1812     ac_prev=x_libraries ;;
1813   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1814   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1815     x_libraries=$ac_optarg ;;
1816
1817   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1818 Try \`$0 --help' for more information"
1819     ;;
1820
1821   *=*)
1822     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1823     # Reject names that are not valid shell variable names.
1824     case $ac_envvar in #(
1825       '' | [0-9]* | *[!_$as_cr_alnum]* )
1826       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1827     esac
1828     eval $ac_envvar=\$ac_optarg
1829     export $ac_envvar ;;
1830
1831   *)
1832     # FIXME: should be removed in autoconf 3.0.
1833     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1834     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1835       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1836     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1837     ;;
1838
1839   esac
1840 done
1841
1842 if test -n "$ac_prev"; then
1843   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1844   as_fn_error $? "missing argument to $ac_option"
1845 fi
1846
1847 if test -n "$ac_unrecognized_opts"; then
1848   case $enable_option_checking in
1849     no) ;;
1850     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1851     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1852   esac
1853 fi
1854
1855 # Check all directory arguments for consistency.
1856 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1857                 datadir sysconfdir sharedstatedir localstatedir includedir \
1858                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1859                 libdir localedir mandir
1860 do
1861   eval ac_val=\$$ac_var
1862   # Remove trailing slashes.
1863   case $ac_val in
1864     */ )
1865       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1866       eval $ac_var=\$ac_val;;
1867   esac
1868   # Be sure to have absolute directory names.
1869   case $ac_val in
1870     [\\/$]* | ?:[\\/]* )  continue;;
1871     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1872   esac
1873   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1874 done
1875
1876 # There might be people who depend on the old broken behavior: `$host'
1877 # used to hold the argument of --host etc.
1878 # FIXME: To remove some day.
1879 build=$build_alias
1880 host=$host_alias
1881 target=$target_alias
1882
1883 # FIXME: To remove some day.
1884 if test "x$host_alias" != x; then
1885   if test "x$build_alias" = x; then
1886     cross_compiling=maybe
1887   elif test "x$build_alias" != "x$host_alias"; then
1888     cross_compiling=yes
1889   fi
1890 fi
1891
1892 ac_tool_prefix=
1893 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1894
1895 test "$silent" = yes && exec 6>/dev/null
1896
1897
1898 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1899 ac_ls_di=`ls -di .` &&
1900 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1901   as_fn_error $? "working directory cannot be determined"
1902 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1903   as_fn_error $? "pwd does not report name of working directory"
1904
1905
1906 # Find the source files, if location was not specified.
1907 if test -z "$srcdir"; then
1908   ac_srcdir_defaulted=yes
1909   # Try the directory containing this script, then the parent directory.
1910   ac_confdir=`$as_dirname -- "$as_myself" ||
1911 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1912          X"$as_myself" : 'X\(//\)[^/]' \| \
1913          X"$as_myself" : 'X\(//\)$' \| \
1914          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1915 $as_echo X"$as_myself" |
1916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1917             s//\1/
1918             q
1919           }
1920           /^X\(\/\/\)[^/].*/{
1921             s//\1/
1922             q
1923           }
1924           /^X\(\/\/\)$/{
1925             s//\1/
1926             q
1927           }
1928           /^X\(\/\).*/{
1929             s//\1/
1930             q
1931           }
1932           s/.*/./; q'`
1933   srcdir=$ac_confdir
1934   if test ! -r "$srcdir/$ac_unique_file"; then
1935     srcdir=..
1936   fi
1937 else
1938   ac_srcdir_defaulted=no
1939 fi
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1942   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1943 fi
1944 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1945 ac_abs_confdir=`(
1946         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1947         pwd)`
1948 # When building in place, set srcdir=.
1949 if test "$ac_abs_confdir" = "$ac_pwd"; then
1950   srcdir=.
1951 fi
1952 # Remove unnecessary trailing slashes from srcdir.
1953 # Double slashes in file names in object file debugging info
1954 # mess up M-x gdb in Emacs.
1955 case $srcdir in
1956 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1957 esac
1958 for ac_var in $ac_precious_vars; do
1959   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1960   eval ac_env_${ac_var}_value=\$${ac_var}
1961   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1962   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1963 done
1964
1965 #
1966 # Report the --help message.
1967 #
1968 if test "$ac_init_help" = "long"; then
1969   # Omit some internal or obsolete options to make the list less imposing.
1970   # This message is too long to be a string in the A/UX 3.1 sh.
1971   cat <<_ACEOF
1972 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1973
1974 Usage: $0 [OPTION]... [VAR=VALUE]...
1975
1976 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1977 VAR=VALUE.  See below for descriptions of some of the useful variables.
1978
1979 Defaults for the options are specified in brackets.
1980
1981 Configuration:
1982   -h, --help              display this help and exit
1983       --help=short        display options specific to this package
1984       --help=recursive    display the short help of all the included packages
1985   -V, --version           display version information and exit
1986   -q, --quiet, --silent   do not print \`checking ...' messages
1987       --cache-file=FILE   cache test results in FILE [disabled]
1988   -C, --config-cache      alias for \`--cache-file=config.cache'
1989   -n, --no-create         do not create output files
1990       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1991
1992 Installation directories:
1993   --prefix=PREFIX         install architecture-independent files in PREFIX
1994                           [$ac_default_prefix]
1995   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1996                           [PREFIX]
1997
1998 By default, \`make install' will install all the files in
1999 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2000 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2001 for instance \`--prefix=\$HOME'.
2002
2003 For better control, use the options below.
2004
2005 Fine tuning of the installation directories:
2006   --bindir=DIR            user executables [EPREFIX/bin]
2007   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2008   --libexecdir=DIR        program executables [EPREFIX/libexec]
2009   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2010   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2011   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2012   --libdir=DIR            object code libraries [EPREFIX/lib]
2013   --includedir=DIR        C header files [PREFIX/include]
2014   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2015   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2016   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2017   --infodir=DIR           info documentation [DATAROOTDIR/info]
2018   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2019   --mandir=DIR            man documentation [DATAROOTDIR/man]
2020   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2021   --htmldir=DIR           html documentation [DOCDIR]
2022   --dvidir=DIR            dvi documentation [DOCDIR]
2023   --pdfdir=DIR            pdf documentation [DOCDIR]
2024   --psdir=DIR             ps documentation [DOCDIR]
2025 _ACEOF
2026
2027   cat <<\_ACEOF
2028
2029 X features:
2030   --x-includes=DIR    X include files are in DIR
2031   --x-libraries=DIR   X library files are in DIR
2032
2033 System types:
2034   --build=BUILD     configure for building on BUILD [guessed]
2035   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2036 _ACEOF
2037 fi
2038
2039 if test -n "$ac_init_help"; then
2040   case $ac_init_help in
2041      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2042    esac
2043   cat <<\_ACEOF
2044
2045 Optional Features:
2046   --disable-option-checking  ignore unrecognized --enable/--with options
2047   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2048   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2049   --disable-gui           don't build GUI parts of the library
2050   --enable-monolithic     build wxWidgets as single library
2051   --enable-plugins        build parts of wxWidgets as loadable components
2052   --enable-official_build official build of wxWidgets (win32 DLL only)
2053   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2054   --disable-all-features  disable all optional features to build minimal library
2055   --enable-universal      use wxWidgets GUI controls instead of native ones
2056   --enable-nanox          use NanoX
2057   --enable-gpe            use GNOME PDA Environment features if possible
2058   --enable-debug          build library for debugging
2059   --disable-debug_flag    disable all debugging support
2060   --enable-debug_info     generate debug information
2061   --enable-debug_gdb      create code with extra GDB debugging information
2062   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2063   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2064   --disable-shared        create static library instead of shared
2065   --enable-stl            use standard C++ classes for everything
2066   --enable-std_containers use standard C++ container classes
2067   --enable-std_iostreams  use standard C++ stream classes
2068   --enable-std_string     use standard C++ string classes
2069  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2070   --disable-unicode       compile without Unicode support
2071   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2072   --enable-utf8           use UTF-8 representation for strings (Unix only)
2073   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2074   --enable-extended_rtti  use extended RTTI (XTI)
2075   --enable-omf            use OMF object format
2076   --disable-optimise      compile without optimisations
2077   --enable-profile        create code with profiling information
2078   --enable-no_rtti        create code without RTTI information
2079   --enable-no_exceptions  create code without C++ exceptions handling
2080   --enable-permissive     compile code disregarding strict ANSI
2081   --enable-no_deps        create code without dependency information
2082   --disable-vararg_macros don't use vararg macros, even if they are supported
2083   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2084   --enable-macosx_arch=ARCH  build for just the specified architecture
2085   --enable-compat26       enable wxWidgets 2.6 compatibility
2086   --disable-compat28      disable wxWidgets 2.8 compatibility
2087   --disable-rpath         disable use of rpath for uninstalled builds
2088   --enable-objc_uniquifying enable Objective-C class name uniquifying
2089   --disable-visibility    disable use of ELF symbols visibility even if supported
2090   --disable-tls           disable use of compiler TLS support
2091   --enable-intl           use internationalization system
2092   --enable-xlocale        use x-locale support (requires wxLocale)
2093   --enable-config         use wxConfig (and derived) classes
2094   --enable-protocols      use wxProtocol and derived classes
2095   --enable-ftp            use wxFTP (requires wxProtocol
2096   --enable-http           use wxHTTP (requires wxProtocol
2097   --enable-fileproto      use wxFileProto class (requires wxProtocol
2098   --enable-sockets        use socket/network classes
2099   --enable-ipv6           enable IPv6 support in wxSocket
2100   --enable-ole            use OLE classes (Win32 only)
2101   --enable-dataobj        use data object classes
2102   --enable-ipc            use interprocess communication (wxSocket etc.)
2103   --enable-baseevtloop    use event loop in console programs too
2104   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2105   --enable-selectloop     use wxSelectDispatcher class
2106   --enable-any            use wxAny class
2107   --enable-apple_ieee     use the Apple IEEE codec
2108   --enable-arcstream      use wxArchive streams
2109   --enable-base64         use base64 encoding/decoding functions
2110   --enable-backtrace      use wxStackWalker class for getting backtraces
2111   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2112   --enable-cmdline        use wxCmdLineParser class
2113   --enable-datetime       use wxDateTime class
2114   --enable-debugreport    use wxDebugReport class
2115   --enable-dialupman      use dialup network classes
2116   --enable-dynlib         use wxLibrary class for DLL loading
2117   --enable-dynamicloader  use (new) wxDynamicLibrary class
2118   --enable-exceptions     build exception-safe library
2119   --enable-ffile          use wxFFile class
2120   --enable-file           use wxFile class
2121   --enable-filehistory    use wxFileHistory class
2122   --enable-filesystem     use virtual file systems classes
2123   --enable-fontenum       use wxFontEnumerator class
2124   --enable-fontmap        use font encodings conversion classes
2125   --enable-fs_archive     use virtual archive filesystems
2126   --enable-fs_inet        use virtual HTTP/FTP filesystems
2127   --enable-fs_zip         now replaced by fs_archive
2128   --enable-fsvolume       use wxFSVolume class
2129   --enable-fswatcher      use wxFileSystemWatcher class
2130   --enable-geometry       use geometry class
2131   --enable-log            use logging system
2132   --enable-longlong       use wxLongLong class
2133   --enable-mimetype       use wxMimeTypesManager
2134   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2135   --enable-snglinst       use wxSingleInstanceChecker class
2136   --enable-sound          use wxSound class
2137   --enable-stdpaths       use wxStandardPaths class
2138   --enable-stopwatch      use wxStopWatch class
2139   --enable-streams        use wxStream etc classes
2140   --enable-sysoptions     use wxSystemOptions
2141   --enable-tarstream      use wxTar streams
2142   --enable-textbuf        use wxTextBuffer class
2143   --enable-textfile       use wxTextFile class
2144   --enable-timer          use wxTimer class
2145   --enable-variant        use wxVariant class
2146   --enable-zipstream      use wxZip streams
2147   --enable-url            use wxURL class
2148   --enable-protocol       use wxProtocol class
2149   --enable-protocol-http  HTTP support in wxProtocol
2150   --enable-protocol-ftp   FTP support in wxProtocol
2151   --enable-protocol-file  FILE support in wxProtocol
2152   --enable-threads        use threads
2153   --enable-iniconf        use wxIniConfig (Win32 only)
2154   --enable-regkey         use wxRegKey class (Win32 only)
2155   --enable-docview        use document view architecture
2156   --enable-help           use help subsystem
2157   --enable-mshtmlhelp     use MS HTML Help (win32)
2158   --enable-html           use wxHTML sub-library
2159   --enable-htmlhelp       use wxHTML-based help
2160   --enable-xrc            use XRC resources sub-library
2161   --enable-aui            use AUI docking library
2162   --enable-propgrid       use wxPropertyGrid library
2163   --enable-ribbon         use wxRibbon library
2164   --enable-stc            use wxStyledTextCtrl library
2165   --enable-constraints    use layout-constraints system
2166   --enable-loggui         use standard GUI logger
2167   --enable-logwin         use wxLogWindow
2168   --enable-logdialog      use wxLogDialog
2169   --enable-mdi            use multiple document interface architecture
2170   --enable-mdidoc         use docview architecture with MDI
2171   --enable-mediactrl      use wxMediaCtrl class
2172   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2173   --enable-richtext       use wxRichTextCtrl
2174   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2175   --enable-printarch      use printing architecture
2176   --enable-svg            use wxSVGFileDC device context
2177   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2178   --enable-webview        use wxWebView library
2179   --enable-graphics_ctx   use graphics context 2D drawing API
2180   --enable-clipboard      use wxClipboard class
2181   --enable-dnd            use Drag'n'Drop classes
2182   --disable-controls      disable compilation of all standard controls
2183   --enable-markup         support wxControl::SetLabelMarkup
2184   --enable-accel          use accelerators
2185   --enable-animatectrl    use wxAnimationCtrl class
2186   --enable-bannerwindow   use wxBannerWindow class
2187   --enable-artstd         use standard XPM icons in wxArtProvider
2188   --enable-arttango       use Tango icons in wxArtProvider
2189   --enable-bmpbutton      use wxBitmapButton class
2190   --enable-bmpcombobox    use wxBitmapComboBox class
2191   --enable-button         use wxButton class
2192   --enable-calendar       use wxCalendarCtrl class
2193   --enable-caret          use wxCaret class
2194   --enable-checkbox       use wxCheckBox class
2195   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2196   --enable-choice         use wxChoice class
2197   --enable-choicebook     use wxChoicebook class
2198   --enable-collpane       use wxCollapsiblePane class
2199   --enable-colourpicker   use wxColourPickerCtrl class
2200   --enable-combobox       use wxComboBox class
2201   --enable-comboctrl      use wxComboCtrl class
2202   --enable-commandlinkbutton      use wxCommmandLinkButton class
2203   --enable-dataviewctrl   use wxDataViewCtrl class
2204   --enable-datepick       use wxDatePickerCtrl class
2205   --enable-detect_sm      use code to detect X11 session manager
2206   --enable-dirpicker      use wxDirPickerCtrl class
2207   --enable-display        use wxDisplay class
2208   --enable-editablebox    use wxEditableListBox class
2209   --enable-filectrl       use wxFileCtrl class
2210   --enable-filepicker     use wxFilePickerCtrl class
2211   --enable-fontpicker     use wxFontPickerCtrl class
2212   --enable-gauge          use wxGauge class
2213   --enable-grid           use wxGrid class
2214   --enable-headerctrl     use wxHeaderCtrl class
2215   --enable-hyperlink      use wxHyperlinkCtrl class
2216   --enable-imaglist       use wxImageList class
2217   --enable-infobar        use wxInfoBar class
2218   --enable-listbook       use wxListbook class
2219   --enable-listbox        use wxListBox class
2220   --enable-listctrl       use wxListCtrl class
2221   --enable-notebook       use wxNotebook class
2222   --enable-notifmsg       use wxNotificationMessage class
2223   --enable-odcombobox     use wxOwnerDrawnComboBox class
2224   --enable-popupwin       use wxPopUpWindow class
2225   --enable-radiobox       use wxRadioBox class
2226   --enable-radiobtn       use wxRadioButton class
2227   --enable-richmsgdlg     use wxRichMessageDialog class
2228   --enable-richtooltip    use wxRichToolTip class
2229   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2230   --enable-sash           use wxSashWindow class
2231   --enable-scrollbar      use wxScrollBar class and scrollable windows
2232   --enable-searchctrl     use wxSearchCtrl class
2233   --enable-slider         use wxSlider class
2234   --enable-spinbtn        use wxSpinButton class
2235   --enable-spinctrl       use wxSpinCtrl class
2236   --enable-splitter       use wxSplitterWindow class
2237   --enable-statbmp        use wxStaticBitmap class
2238   --enable-statbox        use wxStaticBox class
2239   --enable-statline       use wxStaticLine class
2240   --enable-stattext       use wxStaticText class
2241   --enable-statusbar      use wxStatusBar class
2242   --enable-taskbaricon    use wxTaskBarIcon class
2243   --enable-tbarnative     use native wxToolBar class
2244   --enable-textctrl       use wxTextCtrl class
2245   --enable-timepick       use wxTimePickerCtrl class
2246   --enable-tipwindow      use wxTipWindow class
2247   --enable-togglebtn      use wxToggleButton class
2248   --enable-toolbar        use wxToolBar class
2249   --enable-toolbook       use wxToolbook class
2250   --enable-treebook       use wxTreebook class
2251   --enable-treectrl       use wxTreeCtrl class
2252   --enable-treelist       use wxTreeListCtrl class
2253   --enable-commondlg      use all common dialogs
2254   --enable-aboutdlg       use wxAboutBox
2255   --enable-choicedlg      use wxChoiceDialog
2256   --enable-coldlg         use wxColourDialog
2257   --enable-filedlg        use wxFileDialog
2258   --enable-finddlg        use wxFindReplaceDialog
2259   --enable-fontdlg        use wxFontDialog
2260   --enable-dirdlg         use wxDirDialog
2261   --enable-msgdlg         use wxMessageDialog
2262   --enable-numberdlg      use wxNumberEntryDialog
2263   --enable-splash         use wxSplashScreen
2264   --enable-textdlg        use wxTextDialog
2265   --enable-tipdlg         use startup tips
2266   --enable-progressdlg    use wxProgressDialog
2267   --enable-wizarddlg      use wxWizard
2268   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2269   --enable-miniframe      use wxMiniFrame class
2270   --enable-tooltips       use wxToolTip class
2271   --enable-splines        use spline drawing code
2272   --enable-mousewheel     use mousewheel
2273   --enable-validators     use wxValidator and derived classes
2274   --enable-busyinfo       use wxBusyInfo
2275   --enable-hotkey         use wxWindow::RegisterHotKey()
2276   --enable-joystick       use wxJoystick
2277   --enable-metafiles      use wxMetaFile
2278   --enable-dragimage      use wxDragImage
2279   --enable-accessibility  enable accessibility support
2280   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2281   --enable-dctransform    use wxDC::SetTransformMatrix and related
2282   --enable-webviewwebkit  use wxWebView WebKit backend
2283   --enable-palette        use wxPalette class
2284   --enable-image          use wxImage class
2285   --enable-gif            use gif images (GIF file format)
2286   --enable-pcx            use pcx images (PCX file format)
2287   --enable-tga            use tga images (TGA file format)
2288   --enable-iff            use iff images (IFF file format)
2289   --enable-pnm            use pnm images (PNM file format)
2290   --enable-xpm            use xpm images (XPM file format)
2291   --enable-ico_cur        use Windows ICO and CUR formats
2292   --enable-dccache        cache temporary wxDC objects (Win32 only)
2293   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2294   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2295   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2296   --enable-wxdib          use wxDIB class (Win32 only)
2297   --enable-webviewie      use wxWebView IE backend (Win32 only)
2298   --enable-autoidman      use automatic ids management
2299   --disable-largefile     omit support for large files
2300   --disable-gtktest       do not try to compile and run a test GTK+ program
2301   --disable-gtktest       Do not try to compile and run a test GTK program
2302   --disable-sdltest       Do not try to compile and run a test SDL program
2303   --enable-omf            use OMF object format (OS/2)
2304   --disable-dependency-tracking
2305                           don't use dependency tracking even if the compiler
2306                           can
2307   --disable-precomp-headers
2308                           don't use precompiled headers even if compiler can
2309
2310 Optional Packages:
2311   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2312   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2313   --without-subdirs       don't generate makefiles for samples/demos/...
2314   --with-flavour=NAME     specify a name to identify this build
2315   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2316   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2317   --with-motif            use Motif/Lesstif
2318   --with-osx_carbon       use Mac OS X (Carbon)
2319   --with-osx_cocoa        use Mac OS X (Cocoa)
2320   --with-osx_iphone       use iPhone OS X port
2321   --with-osx              use Mac OS X (default port, currently Carbon)
2322   --with-carbon           same as --with-osx_carbon
2323   --with-cocoa            same as --with-osx_cocoa
2324   --with-iphone           same as --with-osx_iphone
2325   --with-mac              same as --with-osx
2326   --with-old_cocoa        use old, deprecated, Cocoa port
2327   --with-wine             use Wine
2328   --with-msw              use MS-Windows
2329   --with-pm               use OS/2 Presentation Manager
2330   --with-directfb         use DirectFB
2331   --with-microwin         use MicroWindows
2332   --with-x11              use X11
2333   --with-libpng           use libpng (PNG image format)
2334   --with-libjpeg          use libjpeg (JPEG file format)
2335   --with-libtiff          use libtiff (TIFF file format)
2336   --without-libjbig       don't use libjbig in libtiff even if available)
2337   --without-liblzma       don't use liblzma in libtiff even if available)
2338   --with-libxpm           use libxpm (XPM file format)
2339   --with-libiconv         use libiconv (character conversion)
2340   --with-libmspack        use libmspack (CHM help files loading)
2341   --without-gtkprint      don't use GTK printing support
2342   --without-gnomeprint    don't use GNOME printing libraries
2343   --with-gnomevfs         use GNOME VFS for associating MIME types
2344   --with-libnotify        use libnotify for notifications
2345   --with-hildon           use Hildon framework for Nokia 770/800/810
2346   --with-opengl           use OpenGL (or Mesa)
2347   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2348   --with-sdl              use SDL for audio on Unix
2349   --with-regex            enable support for wxRegEx class
2350   --with-zlib             use zlib for LZW compression
2351   --with-expat            enable XML support using expat parser
2352   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2353   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2354   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2355   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2356   --with-x                use the X Window System
2357   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2358   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2359   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2360   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2361   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2362
2363 Some influential environment variables:
2364   CC          C compiler command
2365   CFLAGS      C compiler flags
2366   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2367               nonstandard directory <lib dir>
2368   LIBS        libraries to pass to the linker, e.g. -l<library>
2369   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2370               you have headers in a nonstandard directory <include dir>
2371   CPP         C preprocessor
2372   CXX         C++ compiler command
2373   CXXFLAGS    C++ compiler flags
2374   CXXCPP      C++ preprocessor
2375   PKG_CONFIG  path to pkg-config utility
2376   DIRECTFB_CFLAGS
2377               C compiler flags for DIRECTFB, overriding pkg-config
2378   DIRECTFB_LIBS
2379               linker flags for DIRECTFB, overriding pkg-config
2380   XMKMF       Path to xmkmf, Makefile generator for X Window System
2381   PANGOX_CFLAGS
2382               C compiler flags for PANGOX, overriding pkg-config
2383   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2384   PANGOFT2_CFLAGS
2385               C compiler flags for PANGOFT2, overriding pkg-config
2386   PANGOFT2_LIBS
2387               linker flags for PANGOFT2, overriding pkg-config
2388   PANGOXFT_CFLAGS
2389               C compiler flags for PANGOXFT, overriding pkg-config
2390   PANGOXFT_LIBS
2391               linker flags for PANGOXFT, overriding pkg-config
2392   Xinerama_CFLAGS
2393               C compiler flags for Xinerama, overriding pkg-config
2394   Xinerama_LIBS
2395               linker flags for Xinerama, overriding pkg-config
2396   Xxf86vm_CFLAGS
2397               C compiler flags for Xxf86vm, overriding pkg-config
2398   Xxf86vm_LIBS
2399               linker flags for Xxf86vm, overriding pkg-config
2400   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2401   SM_LIBS     linker flags for SM, overriding pkg-config
2402   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2403   GL_LIBS     linker flags for GL, overriding pkg-config
2404   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2405   GLU_LIBS    linker flags for GLU, overriding pkg-config
2406   MesaGL_CFLAGS
2407               C compiler flags for MesaGL, overriding pkg-config
2408   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2409   GTKPRINT_CFLAGS
2410               C compiler flags for GTKPRINT, overriding pkg-config
2411   GTKPRINT_LIBS
2412               linker flags for GTKPRINT, overriding pkg-config
2413   LIBGNOMEPRINTUI_CFLAGS
2414               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2415   LIBGNOMEPRINTUI_LIBS
2416               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2417   GNOMEVFS_CFLAGS
2418               C compiler flags for GNOMEVFS, overriding pkg-config
2419   GNOMEVFS_LIBS
2420               linker flags for GNOMEVFS, overriding pkg-config
2421   LIBNOTIFY_CFLAGS
2422               C compiler flags for LIBNOTIFY, overriding pkg-config
2423   LIBNOTIFY_LIBS
2424               linker flags for LIBNOTIFY, overriding pkg-config
2425   HILDON_CFLAGS
2426               C compiler flags for HILDON, overriding pkg-config
2427   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2428   HILDON2_CFLAGS
2429               C compiler flags for HILDON2, overriding pkg-config
2430   HILDON2_LIBS
2431               linker flags for HILDON2, overriding pkg-config
2432   WEBKIT_CFLAGS
2433               C compiler flags for WEBKIT, overriding pkg-config
2434   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2435   CAIRO_CFLAGS
2436               C compiler flags for CAIRO, overriding pkg-config
2437   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2438   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2439   GST_LIBS    linker flags for GST, overriding pkg-config
2440
2441 Use these variables to override the choices made by `configure' or to help
2442 it to find libraries and programs with nonstandard names/locations.
2443
2444 Report bugs to <wx-dev@lists.wxwidgets.org>.
2445 _ACEOF
2446 ac_status=$?
2447 fi
2448
2449 if test "$ac_init_help" = "recursive"; then
2450   # If there are subdirs, report their specific --help.
2451   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2452     test -d "$ac_dir" ||
2453       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2454       continue
2455     ac_builddir=.
2456
2457 case "$ac_dir" in
2458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2459 *)
2460   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2461   # A ".." for each directory in $ac_dir_suffix.
2462   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2463   case $ac_top_builddir_sub in
2464   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2465   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2466   esac ;;
2467 esac
2468 ac_abs_top_builddir=$ac_pwd
2469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2470 # for backward compatibility:
2471 ac_top_builddir=$ac_top_build_prefix
2472
2473 case $srcdir in
2474   .)  # We are building in place.
2475     ac_srcdir=.
2476     ac_top_srcdir=$ac_top_builddir_sub
2477     ac_abs_top_srcdir=$ac_pwd ;;
2478   [\\/]* | ?:[\\/]* )  # Absolute name.
2479     ac_srcdir=$srcdir$ac_dir_suffix;
2480     ac_top_srcdir=$srcdir
2481     ac_abs_top_srcdir=$srcdir ;;
2482   *) # Relative name.
2483     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2484     ac_top_srcdir=$ac_top_build_prefix$srcdir
2485     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2486 esac
2487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2488
2489     cd "$ac_dir" || { ac_status=$?; continue; }
2490     # Check for guested configure.
2491     if test -f "$ac_srcdir/configure.gnu"; then
2492       echo &&
2493       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2494     elif test -f "$ac_srcdir/configure"; then
2495       echo &&
2496       $SHELL "$ac_srcdir/configure" --help=recursive
2497     else
2498       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2499     fi || ac_status=$?
2500     cd "$ac_pwd" || { ac_status=$?; break; }
2501   done
2502 fi
2503
2504 test -n "$ac_init_help" && exit $ac_status
2505 if $ac_init_version; then
2506   cat <<\_ACEOF
2507 wxWidgets configure 2.9.5
2508 generated by GNU Autoconf 2.69
2509
2510 Copyright (C) 2012 Free Software Foundation, Inc.
2511 This configure script is free software; the Free Software Foundation
2512 gives unlimited permission to copy, distribute and modify it.
2513 _ACEOF
2514   exit
2515 fi
2516
2517 ## ------------------------ ##
2518 ## Autoconf initialization. ##
2519 ## ------------------------ ##
2520
2521 # ac_fn_c_try_compile LINENO
2522 # --------------------------
2523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_c_try_compile ()
2525 {
2526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527   rm -f conftest.$ac_objext
2528   if { { ac_try="$ac_compile"
2529 case "(($ac_try" in
2530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531   *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535   (eval "$ac_compile") 2>conftest.err
2536   ac_status=$?
2537   if test -s conftest.err; then
2538     grep -v '^ *+' conftest.err >conftest.er1
2539     cat conftest.er1 >&5
2540     mv -f conftest.er1 conftest.err
2541   fi
2542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543   test $ac_status = 0; } && {
2544          test -z "$ac_c_werror_flag" ||
2545          test ! -s conftest.err
2546        } && test -s conftest.$ac_objext; then :
2547   ac_retval=0
2548 else
2549   $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2551
2552         ac_retval=1
2553 fi
2554   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555   as_fn_set_status $ac_retval
2556
2557 } # ac_fn_c_try_compile
2558
2559 # ac_fn_c_try_cpp LINENO
2560 # ----------------------
2561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2562 ac_fn_c_try_cpp ()
2563 {
2564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565   if { { ac_try="$ac_cpp conftest.$ac_ext"
2566 case "(($ac_try" in
2567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568   *) ac_try_echo=$ac_try;;
2569 esac
2570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2573   ac_status=$?
2574   if test -s conftest.err; then
2575     grep -v '^ *+' conftest.err >conftest.er1
2576     cat conftest.er1 >&5
2577     mv -f conftest.er1 conftest.err
2578   fi
2579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580   test $ac_status = 0; } > conftest.i && {
2581          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2582          test ! -s conftest.err
2583        }; then :
2584   ac_retval=0
2585 else
2586   $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589     ac_retval=1
2590 fi
2591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592   as_fn_set_status $ac_retval
2593
2594 } # ac_fn_c_try_cpp
2595
2596 # ac_fn_cxx_try_compile LINENO
2597 # ----------------------------
2598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2599 ac_fn_cxx_try_compile ()
2600 {
2601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602   rm -f conftest.$ac_objext
2603   if { { ac_try="$ac_compile"
2604 case "(($ac_try" in
2605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606   *) ac_try_echo=$ac_try;;
2607 esac
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610   (eval "$ac_compile") 2>conftest.err
2611   ac_status=$?
2612   if test -s conftest.err; then
2613     grep -v '^ *+' conftest.err >conftest.er1
2614     cat conftest.er1 >&5
2615     mv -f conftest.er1 conftest.err
2616   fi
2617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618   test $ac_status = 0; } && {
2619          test -z "$ac_cxx_werror_flag" ||
2620          test ! -s conftest.err
2621        } && test -s conftest.$ac_objext; then :
2622   ac_retval=0
2623 else
2624   $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2626
2627         ac_retval=1
2628 fi
2629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630   as_fn_set_status $ac_retval
2631
2632 } # ac_fn_cxx_try_compile
2633
2634 # ac_fn_c_try_link LINENO
2635 # -----------------------
2636 # Try to link conftest.$ac_ext, and return whether this succeeded.
2637 ac_fn_c_try_link ()
2638 {
2639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2640   rm -f conftest.$ac_objext conftest$ac_exeext
2641   if { { ac_try="$ac_link"
2642 case "(($ac_try" in
2643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644   *) ac_try_echo=$ac_try;;
2645 esac
2646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648   (eval "$ac_link") 2>conftest.err
2649   ac_status=$?
2650   if test -s conftest.err; then
2651     grep -v '^ *+' conftest.err >conftest.er1
2652     cat conftest.er1 >&5
2653     mv -f conftest.er1 conftest.err
2654   fi
2655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656   test $ac_status = 0; } && {
2657          test -z "$ac_c_werror_flag" ||
2658          test ! -s conftest.err
2659        } && test -s conftest$ac_exeext && {
2660          test "$cross_compiling" = yes ||
2661          test -x conftest$ac_exeext
2662        }; then :
2663   ac_retval=0
2664 else
2665   $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2667
2668         ac_retval=1
2669 fi
2670   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2671   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2672   # interfere with the next link command; also delete a directory that is
2673   # left behind by Apple's compiler.  We do this before executing the actions.
2674   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676   as_fn_set_status $ac_retval
2677
2678 } # ac_fn_c_try_link
2679
2680 # ac_fn_cxx_try_link LINENO
2681 # -------------------------
2682 # Try to link conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_cxx_try_link ()
2684 {
2685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686   rm -f conftest.$ac_objext conftest$ac_exeext
2687   if { { ac_try="$ac_link"
2688 case "(($ac_try" in
2689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690   *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694   (eval "$ac_link") 2>conftest.err
2695   ac_status=$?
2696   if test -s conftest.err; then
2697     grep -v '^ *+' conftest.err >conftest.er1
2698     cat conftest.er1 >&5
2699     mv -f conftest.er1 conftest.err
2700   fi
2701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702   test $ac_status = 0; } && {
2703          test -z "$ac_cxx_werror_flag" ||
2704          test ! -s conftest.err
2705        } && test -s conftest$ac_exeext && {
2706          test "$cross_compiling" = yes ||
2707          test -x conftest$ac_exeext
2708        }; then :
2709   ac_retval=0
2710 else
2711   $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2713
2714         ac_retval=1
2715 fi
2716   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2717   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2718   # interfere with the next link command; also delete a directory that is
2719   # left behind by Apple's compiler.  We do this before executing the actions.
2720   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722   as_fn_set_status $ac_retval
2723
2724 } # ac_fn_cxx_try_link
2725
2726 # ac_fn_c_try_run LINENO
2727 # ----------------------
2728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2729 # that executables *can* be run.
2730 ac_fn_c_try_run ()
2731 {
2732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733   if { { ac_try="$ac_link"
2734 case "(($ac_try" in
2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736   *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740   (eval "$ac_link") 2>&5
2741   ac_status=$?
2742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2744   { { case "(($ac_try" in
2745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746   *) ac_try_echo=$ac_try;;
2747 esac
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750   (eval "$ac_try") 2>&5
2751   ac_status=$?
2752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753   test $ac_status = 0; }; }; then :
2754   ac_retval=0
2755 else
2756   $as_echo "$as_me: program exited with status $ac_status" >&5
2757        $as_echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2759
2760        ac_retval=$ac_status
2761 fi
2762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764   as_fn_set_status $ac_retval
2765
2766 } # ac_fn_c_try_run
2767
2768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2769 # -------------------------------------------------------
2770 # Tests whether HEADER exists and can be compiled using the include files in
2771 # INCLUDES, setting the cache variable VAR accordingly.
2772 ac_fn_c_check_header_compile ()
2773 {
2774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778   $as_echo_n "(cached) " >&6
2779 else
2780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h.  */
2782 $4
2783 #include <$2>
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"; then :
2786   eval "$3=yes"
2787 else
2788   eval "$3=no"
2789 fi
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 fi
2792 eval ac_res=\$$3
2793                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2794 $as_echo "$ac_res" >&6; }
2795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796
2797 } # ac_fn_c_check_header_compile
2798
2799 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2800 # ---------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_cxx_check_header_compile ()
2804 {
2805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 $as_echo_n "checking for $2... " >&6; }
2808 if eval \${$3+:} false; then :
2809   $as_echo_n "(cached) " >&6
2810 else
2811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h.  */
2813 $4
2814 #include <$2>
2815 _ACEOF
2816 if ac_fn_cxx_try_compile "$LINENO"; then :
2817   eval "$3=yes"
2818 else
2819   eval "$3=no"
2820 fi
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 fi
2823 eval ac_res=\$$3
2824                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 $as_echo "$ac_res" >&6; }
2826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827
2828 } # ac_fn_cxx_check_header_compile
2829
2830 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2831 # --------------------------------------------
2832 # Tries to find the compile-time value of EXPR in a program that includes
2833 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2834 # computed
2835 ac_fn_c_compute_int ()
2836 {
2837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838   if test "$cross_compiling" = yes; then
2839     # Depending upon the size, compute the lo and hi bounds.
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h.  */
2842 $4
2843 int
2844 main ()
2845 {
2846 static int test_array [1 - 2 * !(($2) >= 0)];
2847 test_array [0] = 0;
2848 return test_array [0];
2849
2850   ;
2851   return 0;
2852 }
2853 _ACEOF
2854 if ac_fn_c_try_compile "$LINENO"; then :
2855   ac_lo=0 ac_mid=0
2856   while :; do
2857     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h.  */
2859 $4
2860 int
2861 main ()
2862 {
2863 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2864 test_array [0] = 0;
2865 return test_array [0];
2866
2867   ;
2868   return 0;
2869 }
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872   ac_hi=$ac_mid; break
2873 else
2874   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2875                         if test $ac_lo -le $ac_mid; then
2876                           ac_lo= ac_hi=
2877                           break
2878                         fi
2879                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2880 fi
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882   done
2883 else
2884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h.  */
2886 $4
2887 int
2888 main ()
2889 {
2890 static int test_array [1 - 2 * !(($2) < 0)];
2891 test_array [0] = 0;
2892 return test_array [0];
2893
2894   ;
2895   return 0;
2896 }
2897 _ACEOF
2898 if ac_fn_c_try_compile "$LINENO"; then :
2899   ac_hi=-1 ac_mid=-1
2900   while :; do
2901     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h.  */
2903 $4
2904 int
2905 main ()
2906 {
2907 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2908 test_array [0] = 0;
2909 return test_array [0];
2910
2911   ;
2912   return 0;
2913 }
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916   ac_lo=$ac_mid; break
2917 else
2918   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2919                         if test $ac_mid -le $ac_hi; then
2920                           ac_lo= ac_hi=
2921                           break
2922                         fi
2923                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2924 fi
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926   done
2927 else
2928   ac_lo= ac_hi=
2929 fi
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 fi
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 # Binary search between lo and hi bounds.
2934 while test "x$ac_lo" != "x$ac_hi"; do
2935   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h.  */
2938 $4
2939 int
2940 main ()
2941 {
2942 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2943 test_array [0] = 0;
2944 return test_array [0];
2945
2946   ;
2947   return 0;
2948 }
2949 _ACEOF
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951   ac_hi=$ac_mid
2952 else
2953   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2954 fi
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 done
2957 case $ac_lo in #((
2958 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2959 '') ac_retval=1 ;;
2960 esac
2961   else
2962     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h.  */
2964 $4
2965 static long int longval () { return $2; }
2966 static unsigned long int ulongval () { return $2; }
2967 #include <stdio.h>
2968 #include <stdlib.h>
2969 int
2970 main ()
2971 {
2972
2973   FILE *f = fopen ("conftest.val", "w");
2974   if (! f)
2975     return 1;
2976   if (($2) < 0)
2977     {
2978       long int i = longval ();
2979       if (i != ($2))
2980         return 1;
2981       fprintf (f, "%ld", i);
2982     }
2983   else
2984     {
2985       unsigned long int i = ulongval ();
2986       if (i != ($2))
2987         return 1;
2988       fprintf (f, "%lu", i);
2989     }
2990   /* Do not output a trailing newline, as this causes \r\n confusion
2991      on some platforms.  */
2992   return ferror (f) || fclose (f) != 0;
2993
2994   ;
2995   return 0;
2996 }
2997 _ACEOF
2998 if ac_fn_c_try_run "$LINENO"; then :
2999   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3000 else
3001   ac_retval=1
3002 fi
3003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3004   conftest.$ac_objext conftest.beam conftest.$ac_ext
3005 rm -f conftest.val
3006
3007   fi
3008   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009   as_fn_set_status $ac_retval
3010
3011 } # ac_fn_c_compute_int
3012
3013 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3014 # ---------------------------------------------
3015 # Tests whether TYPE exists after having included INCLUDES, setting cache
3016 # variable VAR accordingly.
3017 ac_fn_cxx_check_type ()
3018 {
3019   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023   $as_echo_n "(cached) " >&6
3024 else
3025   eval "$3=no"
3026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h.  */
3028 $4
3029 int
3030 main ()
3031 {
3032 if (sizeof ($2))
3033          return 0;
3034   ;
3035   return 0;
3036 }
3037 _ACEOF
3038 if ac_fn_cxx_try_compile "$LINENO"; then :
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
3053 else
3054   eval "$3=yes"
3055 fi
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 fi
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 fi
3060 eval ac_res=\$$3
3061                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3062 $as_echo "$ac_res" >&6; }
3063   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064
3065 } # ac_fn_cxx_check_type
3066
3067 # ac_fn_cxx_try_cpp LINENO
3068 # ------------------------
3069 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3070 ac_fn_cxx_try_cpp ()
3071 {
3072   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073   if { { ac_try="$ac_cpp conftest.$ac_ext"
3074 case "(($ac_try" in
3075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076   *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3081   ac_status=$?
3082   if test -s conftest.err; then
3083     grep -v '^ *+' conftest.err >conftest.er1
3084     cat conftest.er1 >&5
3085     mv -f conftest.er1 conftest.err
3086   fi
3087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088   test $ac_status = 0; } > conftest.i && {
3089          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3090          test ! -s conftest.err
3091        }; then :
3092   ac_retval=0
3093 else
3094   $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3096
3097     ac_retval=1
3098 fi
3099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100   as_fn_set_status $ac_retval
3101
3102 } # ac_fn_cxx_try_cpp
3103
3104 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3105 # ---------------------------------------------------------
3106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3107 # the include files in INCLUDES and setting the cache variable VAR
3108 # accordingly.
3109 ac_fn_cxx_check_header_mongrel ()
3110 {
3111   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112   if eval \${$3+:} false; then :
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \${$3+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 fi
3118 eval ac_res=\$$3
3119                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 else
3122   # Is the header compilable?
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3124 $as_echo_n "checking $2 usability... " >&6; }
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h.  */
3127 $4
3128 #include <$2>
3129 _ACEOF
3130 if ac_fn_cxx_try_compile "$LINENO"; then :
3131   ac_header_compiler=yes
3132 else
3133   ac_header_compiler=no
3134 fi
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3137 $as_echo "$ac_header_compiler" >&6; }
3138
3139 # Is the header present?
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3141 $as_echo_n "checking $2 presence... " >&6; }
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h.  */
3144 #include <$2>
3145 _ACEOF
3146 if ac_fn_cxx_try_cpp "$LINENO"; then :
3147   ac_header_preproc=yes
3148 else
3149   ac_header_preproc=no
3150 fi
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3153 $as_echo "$ac_header_preproc" >&6; }
3154
3155 # So?  What about this header?
3156 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3157   yes:no: )
3158     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3162     ;;
3163   no:yes:* )
3164     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3166     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3167 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3168     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3170     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3171 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3172     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3174 ( $as_echo "## ----------------------------------------- ##
3175 ## Report this to wx-dev@lists.wxwidgets.org ##
3176 ## ----------------------------------------- ##"
3177      ) | sed "s/^/$as_me: WARNING:     /" >&2
3178     ;;
3179 esac
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3181 $as_echo_n "checking for $2... " >&6; }
3182 if eval \${$3+:} false; then :
3183   $as_echo_n "(cached) " >&6
3184 else
3185   eval "$3=\$ac_header_compiler"
3186 fi
3187 eval ac_res=\$$3
3188                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3190 fi
3191   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3192
3193 } # ac_fn_cxx_check_header_mongrel
3194
3195 # ac_fn_c_check_func LINENO FUNC VAR
3196 # ----------------------------------
3197 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3198 ac_fn_c_check_func ()
3199 {
3200   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3202 $as_echo_n "checking for $2... " >&6; }
3203 if eval \${$3+:} false; then :
3204   $as_echo_n "(cached) " >&6
3205 else
3206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h.  */
3208 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3210 #define $2 innocuous_$2
3211
3212 /* System header to define __stub macros and hopefully few prototypes,
3213     which can conflict with char $2 (); below.
3214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215     <limits.h> exists even on freestanding compilers.  */
3216
3217 #ifdef __STDC__
3218 # include <limits.h>
3219 #else
3220 # include <assert.h>
3221 #endif
3222
3223 #undef $2
3224
3225 /* Override any GCC internal prototype to avoid an error.
3226    Use char because int might match the return type of a GCC
3227    builtin and then its argument prototype would still apply.  */
3228 #ifdef __cplusplus
3229 extern "C"
3230 #endif
3231 char $2 ();
3232 /* The GNU C library defines this for functions which it implements
3233     to always fail with ENOSYS.  Some functions are actually named
3234     something starting with __ and the normal name is an alias.  */
3235 #if defined __stub_$2 || defined __stub___$2
3236 choke me
3237 #endif
3238
3239 int
3240 main ()
3241 {
3242 return $2 ();
3243   ;
3244   return 0;
3245 }
3246 _ACEOF
3247 if ac_fn_c_try_link "$LINENO"; then :
3248   eval "$3=yes"
3249 else
3250   eval "$3=no"
3251 fi
3252 rm -f core conftest.err conftest.$ac_objext \
3253     conftest$ac_exeext conftest.$ac_ext
3254 fi
3255 eval ac_res=\$$3
3256                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3258   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3259
3260 } # ac_fn_c_check_func
3261
3262 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3263 # -------------------------------------------
3264 # Tests whether TYPE exists after having included INCLUDES, setting cache
3265 # variable VAR accordingly.
3266 ac_fn_c_check_type ()
3267 {
3268   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \${$3+:} false; then :
3272   $as_echo_n "(cached) " >&6
3273 else
3274   eval "$3=no"
3275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h.  */
3277 $4
3278 int
3279 main ()
3280 {
3281 if (sizeof ($2))
3282          return 0;
3283   ;
3284   return 0;
3285 }
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"; then :
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
3302 else
3303   eval "$3=yes"
3304 fi
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306 fi
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 fi
3309 eval ac_res=\$$3
3310                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3312   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3313
3314 } # ac_fn_c_check_type
3315
3316 # ac_fn_cxx_try_run LINENO
3317 # ------------------------
3318 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3319 # that executables *can* be run.
3320 ac_fn_cxx_try_run ()
3321 {
3322   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3323   if { { ac_try="$ac_link"
3324 case "(($ac_try" in
3325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326   *) ac_try_echo=$ac_try;;
3327 esac
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330   (eval "$ac_link") 2>&5
3331   ac_status=$?
3332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3334   { { case "(($ac_try" in
3335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336   *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340   (eval "$ac_try") 2>&5
3341   ac_status=$?
3342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343   test $ac_status = 0; }; }; then :
3344   ac_retval=0
3345 else
3346   $as_echo "$as_me: program exited with status $ac_status" >&5
3347        $as_echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.$ac_ext >&5
3349
3350        ac_retval=$ac_status
3351 fi
3352   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3353   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3354   as_fn_set_status $ac_retval
3355
3356 } # ac_fn_cxx_try_run
3357 cat >config.log <<_ACEOF
3358 This file contains any messages produced by compilers while
3359 running configure, to aid debugging if configure makes a mistake.
3360
3361 It was created by wxWidgets $as_me 2.9.5, which was
3362 generated by GNU Autoconf 2.69.  Invocation command line was
3363
3364   $ $0 $@
3365
3366 _ACEOF
3367 exec 5>>config.log
3368 {
3369 cat <<_ASUNAME
3370 ## --------- ##
3371 ## Platform. ##
3372 ## --------- ##
3373
3374 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3375 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3376 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3377 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3378 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3379
3380 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3381 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3382
3383 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3384 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3385 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3386 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3387 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3388 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3389 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3390
3391 _ASUNAME
3392
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3395 do
3396   IFS=$as_save_IFS
3397   test -z "$as_dir" && as_dir=.
3398     $as_echo "PATH: $as_dir"
3399   done
3400 IFS=$as_save_IFS
3401
3402 } >&5
3403
3404 cat >&5 <<_ACEOF
3405
3406
3407 ## ----------- ##
3408 ## Core tests. ##
3409 ## ----------- ##
3410
3411 _ACEOF
3412
3413
3414 # Keep a trace of the command line.
3415 # Strip out --no-create and --no-recursion so they do not pile up.
3416 # Strip out --silent because we don't want to record it for future runs.
3417 # Also quote any args containing shell meta-characters.
3418 # Make two passes to allow for proper duplicate-argument suppression.
3419 ac_configure_args=
3420 ac_configure_args0=
3421 ac_configure_args1=
3422 ac_must_keep_next=false
3423 for ac_pass in 1 2
3424 do
3425   for ac_arg
3426   do
3427     case $ac_arg in
3428     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3429     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3430     | -silent | --silent | --silen | --sile | --sil)
3431       continue ;;
3432     *\'*)
3433       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3434     esac
3435     case $ac_pass in
3436     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3437     2)
3438       as_fn_append ac_configure_args1 " '$ac_arg'"
3439       if test $ac_must_keep_next = true; then
3440         ac_must_keep_next=false # Got value, back to normal.
3441       else
3442         case $ac_arg in
3443           *=* | --config-cache | -C | -disable-* | --disable-* \
3444           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3445           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3446           | -with-* | --with-* | -without-* | --without-* | --x)
3447             case "$ac_configure_args0 " in
3448               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3449             esac
3450             ;;
3451           -* ) ac_must_keep_next=true ;;
3452         esac
3453       fi
3454       as_fn_append ac_configure_args " '$ac_arg'"
3455       ;;
3456     esac
3457   done
3458 done
3459 { ac_configure_args0=; unset ac_configure_args0;}
3460 { ac_configure_args1=; unset ac_configure_args1;}
3461
3462 # When interrupted or exit'd, cleanup temporary files, and complete
3463 # config.log.  We remove comments because anyway the quotes in there
3464 # would cause problems or look ugly.
3465 # WARNING: Use '\'' to represent an apostrophe within the trap.
3466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3467 trap 'exit_status=$?
3468   # Save into config.log some information that might help in debugging.
3469   {
3470     echo
3471
3472     $as_echo "## ---------------- ##
3473 ## Cache variables. ##
3474 ## ---------------- ##"
3475     echo
3476     # The following way of writing the cache mishandles newlines in values,
3477 (
3478   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3479     eval ac_val=\$$ac_var
3480     case $ac_val in #(
3481     *${as_nl}*)
3482       case $ac_var in #(
3483       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3485       esac
3486       case $ac_var in #(
3487       _ | IFS | as_nl) ;; #(
3488       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3489       *) { eval $ac_var=; unset $ac_var;} ;;
3490       esac ;;
3491     esac
3492   done
3493   (set) 2>&1 |
3494     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3495     *${as_nl}ac_space=\ *)
3496       sed -n \
3497         "s/'\''/'\''\\\\'\'''\''/g;
3498           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3499       ;; #(
3500     *)
3501       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3502       ;;
3503     esac |
3504     sort
3505 )
3506     echo
3507
3508     $as_echo "## ----------------- ##
3509 ## Output variables. ##
3510 ## ----------------- ##"
3511     echo
3512     for ac_var in $ac_subst_vars
3513     do
3514       eval ac_val=\$$ac_var
3515       case $ac_val in
3516       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3517       esac
3518       $as_echo "$ac_var='\''$ac_val'\''"
3519     done | sort
3520     echo
3521
3522     if test -n "$ac_subst_files"; then
3523       $as_echo "## ------------------- ##
3524 ## File substitutions. ##
3525 ## ------------------- ##"
3526       echo
3527       for ac_var in $ac_subst_files
3528       do
3529         eval ac_val=\$$ac_var
3530         case $ac_val in
3531         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3532         esac
3533         $as_echo "$ac_var='\''$ac_val'\''"
3534       done | sort
3535       echo
3536     fi
3537
3538     if test -s confdefs.h; then
3539       $as_echo "## ----------- ##
3540 ## confdefs.h. ##
3541 ## ----------- ##"
3542       echo
3543       cat confdefs.h
3544       echo
3545     fi
3546     test "$ac_signal" != 0 &&
3547       $as_echo "$as_me: caught signal $ac_signal"
3548     $as_echo "$as_me: exit $exit_status"
3549   } >&5
3550   rm -f core *.core core.conftest.* &&
3551     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3552     exit $exit_status
3553 ' 0
3554 for ac_signal in 1 2 13 15; do
3555   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3556 done
3557 ac_signal=0
3558
3559 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3560 rm -f -r conftest* confdefs.h
3561
3562 $as_echo "/* confdefs.h */" > confdefs.h
3563
3564 # Predefined preprocessor variables.
3565
3566 cat >>confdefs.h <<_ACEOF
3567 #define PACKAGE_NAME "$PACKAGE_NAME"
3568 _ACEOF
3569
3570 cat >>confdefs.h <<_ACEOF
3571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3572 _ACEOF
3573
3574 cat >>confdefs.h <<_ACEOF
3575 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3576 _ACEOF
3577
3578 cat >>confdefs.h <<_ACEOF
3579 #define PACKAGE_STRING "$PACKAGE_STRING"
3580 _ACEOF
3581
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3584 _ACEOF
3585
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_URL "$PACKAGE_URL"
3588 _ACEOF
3589
3590
3591 # Let the site file select an alternate cache file if it wants to.
3592 # Prefer an explicitly selected file to automatically selected ones.
3593 ac_site_file1=NONE
3594 ac_site_file2=NONE
3595 if test -n "$CONFIG_SITE"; then
3596   # We do not want a PATH search for config.site.
3597   case $CONFIG_SITE in #((
3598     -*)  ac_site_file1=./$CONFIG_SITE;;
3599     */*) ac_site_file1=$CONFIG_SITE;;
3600     *)   ac_site_file1=./$CONFIG_SITE;;
3601   esac
3602 elif test "x$prefix" != xNONE; then
3603   ac_site_file1=$prefix/share/config.site
3604   ac_site_file2=$prefix/etc/config.site
3605 else
3606   ac_site_file1=$ac_default_prefix/share/config.site
3607   ac_site_file2=$ac_default_prefix/etc/config.site
3608 fi
3609 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3610 do
3611   test "x$ac_site_file" = xNONE && continue
3612   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3613     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3614 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3615     sed 's/^/| /' "$ac_site_file" >&5
3616     . "$ac_site_file" \
3617       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 as_fn_error $? "failed to load site script $ac_site_file
3620 See \`config.log' for more details" "$LINENO" 5; }
3621   fi
3622 done
3623
3624 if test -r "$cache_file"; then
3625   # Some versions of bash will fail to source /dev/null (special files
3626   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3627   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3628     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3629 $as_echo "$as_me: loading cache $cache_file" >&6;}
3630     case $cache_file in
3631       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3632       *)                      . "./$cache_file";;
3633     esac
3634   fi
3635 else
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3637 $as_echo "$as_me: creating cache $cache_file" >&6;}
3638   >$cache_file
3639 fi
3640
3641 # Check that the precious variables saved in the cache have kept the same
3642 # value.
3643 ac_cache_corrupted=false
3644 for ac_var in $ac_precious_vars; do
3645   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3646   eval ac_new_set=\$ac_env_${ac_var}_set
3647   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3648   eval ac_new_val=\$ac_env_${ac_var}_value
3649   case $ac_old_set,$ac_new_set in
3650     set,)
3651       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3652 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3653       ac_cache_corrupted=: ;;
3654     ,set)
3655       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3656 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3657       ac_cache_corrupted=: ;;
3658     ,);;
3659     *)
3660       if test "x$ac_old_val" != "x$ac_new_val"; then
3661         # differences in whitespace do not lead to failure.
3662         ac_old_val_w=`echo x $ac_old_val`
3663         ac_new_val_w=`echo x $ac_new_val`
3664         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3665           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3667           ac_cache_corrupted=:
3668         else
3669           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3671           eval $ac_var=\$ac_old_val
3672         fi
3673         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3674 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3675         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3676 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3677       fi;;
3678   esac
3679   # Pass precious variables to config.status.
3680   if test "$ac_new_set" = set; then
3681     case $ac_new_val in
3682     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3683     *) ac_arg=$ac_var=$ac_new_val ;;
3684     esac
3685     case " $ac_configure_args " in
3686       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3687       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3688     esac
3689   fi
3690 done
3691 if $ac_cache_corrupted; then
3692   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3696   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3697 fi
3698 ## -------------------- ##
3699 ## Main body of script. ##
3700 ## -------------------- ##
3701
3702 ac_ext=c
3703 ac_cpp='$CPP $CPPFLAGS'
3704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3707
3708
3709
3710
3711
3712 ac_aux_dir=
3713 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3714   if test -f "$ac_dir/install-sh"; then
3715     ac_aux_dir=$ac_dir
3716     ac_install_sh="$ac_aux_dir/install-sh -c"
3717     break
3718   elif test -f "$ac_dir/install.sh"; then
3719     ac_aux_dir=$ac_dir
3720     ac_install_sh="$ac_aux_dir/install.sh -c"
3721     break
3722   elif test -f "$ac_dir/shtool"; then
3723     ac_aux_dir=$ac_dir
3724     ac_install_sh="$ac_aux_dir/shtool install -c"
3725     break
3726   fi
3727 done
3728 if test -z "$ac_aux_dir"; then
3729   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3730 fi
3731
3732 # These three variables are undocumented and unsupported,
3733 # and are intended to be withdrawn in a future Autoconf release.
3734 # They can cause serious problems if a builder's source tree is in a directory
3735 # whose full name contains unusual characters.
3736 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3737 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3738 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3739
3740
3741 # Make sure we can run config.sub.
3742 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3743   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3744
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3746 $as_echo_n "checking build system type... " >&6; }
3747 if ${ac_cv_build+:} false; then :
3748   $as_echo_n "(cached) " >&6
3749 else
3750   ac_build_alias=$build_alias
3751 test "x$ac_build_alias" = x &&
3752   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3753 test "x$ac_build_alias" = x &&
3754   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3755 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3756   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3757
3758 fi
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3760 $as_echo "$ac_cv_build" >&6; }
3761 case $ac_cv_build in
3762 *-*-*) ;;
3763 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3764 esac
3765 build=$ac_cv_build
3766 ac_save_IFS=$IFS; IFS='-'
3767 set x $ac_cv_build
3768 shift
3769 build_cpu=$1
3770 build_vendor=$2
3771 shift; shift
3772 # Remember, the first character of IFS is used to create $*,
3773 # except with old shells:
3774 build_os=$*
3775 IFS=$ac_save_IFS
3776 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3777
3778
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3780 $as_echo_n "checking host system type... " >&6; }
3781 if ${ac_cv_host+:} false; then :
3782   $as_echo_n "(cached) " >&6
3783 else
3784   if test "x$host_alias" = x; then
3785   ac_cv_host=$ac_cv_build
3786 else
3787   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3788     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3789 fi
3790
3791 fi
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3793 $as_echo "$ac_cv_host" >&6; }
3794 case $ac_cv_host in
3795 *-*-*) ;;
3796 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3797 esac
3798 host=$ac_cv_host
3799 ac_save_IFS=$IFS; IFS='-'
3800 set x $ac_cv_host
3801 shift
3802 host_cpu=$1
3803 host_vendor=$2
3804 shift; shift
3805 # Remember, the first character of IFS is used to create $*,
3806 # except with old shells:
3807 host_os=$*
3808 IFS=$ac_save_IFS
3809 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3810
3811
3812
3813 if test "$cross_compiling" != "no"; then
3814     HOST_PREFIX="${host_alias}-"
3815     HOST_SUFFIX="-$host_alias"
3816 else
3817     HOST_PREFIX=
3818     HOST_SUFFIX=
3819 fi
3820
3821
3822 wx_major_version_number=2
3823 wx_minor_version_number=9
3824 wx_release_number=5
3825 wx_subrelease_number=0
3826
3827 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3828 WX_VERSION=$WX_RELEASE.$wx_release_number
3829 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3830
3831 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3832
3833
3834 wx_top_builddir="`pwd`"
3835
3836
3837
3838
3839 USE_UNIX=1
3840 USE_OS2=0
3841 USE_WIN32=0
3842 USE_DOS=0
3843 USE_BEOS=0
3844 USE_MAC=0
3845
3846 USE_AIX=
3847 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3848 USE_GNU=                            USE_HPUX=
3849 USE_LINUX=
3850 USE_NETBSD=
3851 USE_OPENBSD=
3852 USE_OSF=                            USE_SGI=
3853 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3854 USE_ULTRIX=
3855 USE_UNIXWARE=
3856
3857 USE_ALPHA=
3858
3859 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3860
3861 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3862
3863 DEFAULT_wxUSE_OLD_COCOA=0
3864 DEFAULT_wxUSE_GTK=0
3865 DEFAULT_wxUSE_OSX_CARBON=0
3866 DEFAULT_wxUSE_OSX_COCOA=0
3867 DEFAULT_wxUSE_OSX_IPHONE=0
3868 DEFAULT_wxUSE_MICROWIN=0
3869 DEFAULT_wxUSE_MOTIF=0
3870 DEFAULT_wxUSE_MSW=0
3871 DEFAULT_wxUSE_PM=0
3872 DEFAULT_wxUSE_X11=0
3873 DEFAULT_wxUSE_DFB=0
3874
3875 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3876 DEFAULT_DEFAULT_wxUSE_GTK=0
3877 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3878 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3880 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3881 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3882 DEFAULT_DEFAULT_wxUSE_MSW=0
3883 DEFAULT_DEFAULT_wxUSE_PM=0
3884 DEFAULT_DEFAULT_wxUSE_X11=0
3885 DEFAULT_DEFAULT_wxUSE_DFB=0
3886
3887 PROGRAM_EXT=
3888 SAMPLES_RPATH_FLAG=
3889 DYLIB_RPATH_INSTALL=
3890 DYLIB_RPATH_POSTLINK=
3891
3892 DEFAULT_STD_FLAG=yes
3893
3894 case "${host}" in
3895   *-hp-hpux* )
3896     USE_HPUX=1
3897     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3898     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3899     $as_echo "#define __HPUX__ 1" >>confdefs.h
3900
3901
3902             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3903   ;;
3904   *-*-linux* )
3905     USE_LINUX=1
3906     $as_echo "#define __LINUX__ 1" >>confdefs.h
3907
3908     TMP=`uname -m`
3909     if test "x$TMP" = "xalpha"; then
3910       USE_ALPHA=1
3911       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3912
3913     fi
3914     DEFAULT_DEFAULT_wxUSE_GTK=1
3915   ;;
3916   *-*-gnu* | *-*-k*bsd*-gnu )
3917     USE_GNU=1
3918     TMP=`uname -m`
3919     if test "x$TMP" = "xalpha"; then
3920       USE_ALPHA=1
3921       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3922
3923     fi
3924     DEFAULT_DEFAULT_wxUSE_GTK=1
3925   ;;
3926   *-*-irix5* | *-*-irix6* )
3927     USE_SGI=1
3928     USE_SVR4=1
3929     $as_echo "#define __SGI__ 1" >>confdefs.h
3930
3931     $as_echo "#define __SVR4__ 1" >>confdefs.h
3932
3933     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3934   ;;
3935   *-*-qnx*)
3936     USE_QNX=1
3937     $as_echo "#define __QNX__ 1" >>confdefs.h
3938
3939     DEFAULT_DEFAULT_wxUSE_X11=1
3940   ;;
3941   *-*-solaris2* )
3942     USE_SUN=1
3943     USE_SOLARIS=1
3944     USE_SVR4=1
3945     $as_echo "#define __SUN__ 1" >>confdefs.h
3946
3947     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3948
3949     $as_echo "#define __SVR4__ 1" >>confdefs.h
3950
3951     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3952     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3953   ;;
3954   *-*-sunos4* )
3955     USE_SUN=1
3956     USE_SUNOS=1
3957     USE_BSD=1
3958     $as_echo "#define __SUN__ 1" >>confdefs.h
3959
3960     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3961
3962     $as_echo "#define __BSD__ 1" >>confdefs.h
3963
3964     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3965   ;;
3966   *-*-freebsd*)
3967     USE_BSD=1
3968     USE_FREEBSD=1
3969     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3970
3971     $as_echo "#define __BSD__ 1" >>confdefs.h
3972
3973     DEFAULT_DEFAULT_wxUSE_GTK=1
3974   ;;
3975   *-*-openbsd*|*-*-mirbsd*)
3976     USE_BSD=1
3977     USE_OPENBSD=1
3978     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3979
3980     $as_echo "#define __BSD__ 1" >>confdefs.h
3981
3982     DEFAULT_DEFAULT_wxUSE_GTK=1
3983   ;;
3984   *-*-netbsd*)
3985     USE_BSD=1
3986     USE_NETBSD=1
3987     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3988
3989     $as_echo "#define __BSD__ 1" >>confdefs.h
3990
3991     DEFAULT_DEFAULT_wxUSE_GTK=1
3992     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3993
3994             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3995   ;;
3996   *-*-osf* )
3997     USE_ALPHA=1
3998     USE_OSF=1
3999     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4000
4001     $as_echo "#define __OSF__ 1" >>confdefs.h
4002
4003     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4004     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4005   ;;
4006   *-*-dgux5* )
4007     USE_ALPHA=1
4008     USE_SVR4=1
4009     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4010
4011     $as_echo "#define __SVR4__ 1" >>confdefs.h
4012
4013     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4014   ;;
4015   *-*-sysv5* )
4016     USE_SYSV=1
4017     USE_SVR4=1
4018     $as_echo "#define __SYSV__ 1" >>confdefs.h
4019
4020     $as_echo "#define __SVR4__ 1" >>confdefs.h
4021
4022     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4023   ;;
4024   *-*-aix* )
4025     USE_AIX=1
4026     USE_SYSV=1
4027     USE_SVR4=1
4028     $as_echo "#define __AIX__ 1" >>confdefs.h
4029
4030     $as_echo "#define __SYSV__ 1" >>confdefs.h
4031
4032     $as_echo "#define __SVR4__ 1" >>confdefs.h
4033
4034     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4035   ;;
4036
4037   *-*-*UnixWare*)
4038     USE_SYSV=1
4039     USE_SVR4=1
4040     USE_UNIXWARE=1
4041     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4042
4043   ;;
4044
4045   *-*-cygwin* | *-*-mingw32* )
4046                 PROGRAM_EXT=".exe"
4047     DEFAULT_DEFAULT_wxUSE_MSW=1
4048   ;;
4049
4050   *-pc-msdosdjgpp )
4051     USE_UNIX=0
4052     USE_DOS=1
4053     $as_echo "#define __DOS__ 1" >>confdefs.h
4054
4055     PROGRAM_EXT=".exe"
4056   ;;
4057
4058   *-pc-os2_emx | *-pc-os2-emx )
4059     $as_echo "#define __EMX__ 1" >>confdefs.h
4060
4061     USE_OS2=1
4062     $as_echo "#define __OS2__ 1" >>confdefs.h
4063
4064     PROGRAM_EXT=".exe"
4065     DEFAULT_DEFAULT_wxUSE_PM=1
4066         CXX=gcc
4067     LDFLAGS="$LDFLAGS -Zcrtdll"
4068                         ac_executable_extensions=".exe"
4069     export ac_executable_extensions
4070             ac_save_IFS="$IFS"
4071     IFS='\\'
4072     ac_TEMP_PATH=
4073     for ac_dir in $PATH; do
4074       IFS=$ac_save_IFS
4075       if test -z "$ac_TEMP_PATH"; then
4076         ac_TEMP_PATH="$ac_dir"
4077       else
4078         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4079       fi
4080     done
4081     export PATH="$ac_TEMP_PATH"
4082     unset ac_TEMP_PATH
4083     DEFAULT_STD_FLAG=no
4084   ;;
4085
4086   arm-apple-darwin*)
4087         USE_BSD=1
4088     USE_DARWIN=1
4089     $as_echo "#define __BSD__ 1" >>confdefs.h
4090
4091     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4092
4093     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4094   ;;
4095
4096   *-*-darwin* )
4097         USE_BSD=1
4098     USE_DARWIN=1
4099     $as_echo "#define __BSD__ 1" >>confdefs.h
4100
4101     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4102
4103     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4104
4105     DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4106   ;;
4107
4108   *-*-beos* )
4109         USE_BEOS=1
4110     $as_echo "#define __BEOS__ 1" >>confdefs.h
4111
4112   ;;
4113
4114   *)
4115     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4116 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4118 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4119
4120     DEFAULT_DEFAULT_wxUSE_X11=1
4121     DEFAULT_wxUSE_SHARED=no
4122 esac
4123
4124
4125
4126 DEFAULT_wxUSE_ALL_FEATURES=yes
4127
4128 DEFAULT_wxUSE_STD_CONTAINERS=no
4129 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4130 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4131
4132 DEFAULT_wxUSE_DMALLOC=no
4133 DEFAULT_wxUSE_LIBGNOMEVFS=no
4134 DEFAULT_wxUSE_LIBHILDON=no
4135 DEFAULT_wxUSE_LIBHILDON2=no
4136 DEFAULT_wxUSE_LIBMSPACK=no
4137 DEFAULT_wxUSE_LIBSDL=no
4138
4139 DEFAULT_wxUSE_ACCESSIBILITY=no
4140 DEFAULT_wxUSE_IPV6=no
4141 DEFAULT_wxUSE_GSTREAMER8=no
4142 DEFAULT_wxUSE_UNICODE_UTF8=no
4143 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4144
4145 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4146 DEFAULT_wxUSE_OPENGL=auto
4147 DEFAULT_wxUSE_MEDIACTRL=auto
4148 DEFAULT_wxUSE_COMPILER_TLS=auto
4149 DEFAULT_wxUSE_HOTKEY=auto
4150 DEFAULT_wxUSE_METAFILE=auto
4151
4152 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4153 DEFAULT_wxUSE_MAC_ARCH=no
4154
4155 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4156
4157 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4158
4159
4160
4161
4162
4163           enablestring=disable
4164           defaultval=
4165           if test -z "$defaultval"; then
4166               if test x"$enablestring" = xdisable; then
4167                   defaultval=yes
4168               else
4169                   defaultval=no
4170               fi
4171           fi
4172
4173           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4174 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4175           # Check whether --enable-gui was given.
4176 if test "${enable_gui+set}" = set; then :
4177   enableval=$enable_gui;
4178                           if test "$enableval" = yes; then
4179                             wx_cv_use_gui='wxUSE_GUI=yes'
4180                           else
4181                             wx_cv_use_gui='wxUSE_GUI=no'
4182                           fi
4183
4184 else
4185
4186                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4187
4188 fi
4189
4190
4191           eval "$wx_cv_use_gui"
4192
4193           if test x"$enablestring" = xdisable; then
4194             if test $wxUSE_GUI = no; then
4195               result=yes
4196             else
4197               result=no
4198             fi
4199           else
4200             result=$wxUSE_GUI
4201           fi
4202
4203           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4204 $as_echo "$result" >&6; }
4205
4206
4207           enablestring=
4208           defaultval=
4209           if test -z "$defaultval"; then
4210               if test x"$enablestring" = xdisable; then
4211                   defaultval=yes
4212               else
4213                   defaultval=no
4214               fi
4215           fi
4216
4217           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4218 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4219           # Check whether --enable-monolithic was given.
4220 if test "${enable_monolithic+set}" = set; then :
4221   enableval=$enable_monolithic;
4222                           if test "$enableval" = yes; then
4223                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4224                           else
4225                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4226                           fi
4227
4228 else
4229
4230                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4231
4232 fi
4233
4234
4235           eval "$wx_cv_use_monolithic"
4236
4237           if test x"$enablestring" = xdisable; then
4238             if test $wxUSE_MONOLITHIC = no; then
4239               result=yes
4240             else
4241               result=no
4242             fi
4243           else
4244             result=$wxUSE_MONOLITHIC
4245           fi
4246
4247           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4248 $as_echo "$result" >&6; }
4249
4250
4251           enablestring=
4252           defaultval=
4253           if test -z "$defaultval"; then
4254               if test x"$enablestring" = xdisable; then
4255                   defaultval=yes
4256               else
4257                   defaultval=no
4258               fi
4259           fi
4260
4261           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4262 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4263           # Check whether --enable-plugins was given.
4264 if test "${enable_plugins+set}" = set; then :
4265   enableval=$enable_plugins;
4266                           if test "$enableval" = yes; then
4267                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4268                           else
4269                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4270                           fi
4271
4272 else
4273
4274                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4275
4276 fi
4277
4278
4279           eval "$wx_cv_use_plugins"
4280
4281           if test x"$enablestring" = xdisable; then
4282             if test $wxUSE_PLUGINS = no; then
4283               result=yes
4284             else
4285               result=no
4286             fi
4287           else
4288             result=$wxUSE_PLUGINS
4289           fi
4290
4291           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4292 $as_echo "$result" >&6; }
4293
4294
4295           withstring=without
4296           defaultval=$wxUSE_ALL_FEATURES
4297           if test -z "$defaultval"; then
4298               if test x"$withstring" = xwithout; then
4299                   defaultval=yes
4300               else
4301                   defaultval=no
4302               fi
4303           fi
4304           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4305 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4306
4307 # Check whether --with-subdirs was given.
4308 if test "${with_subdirs+set}" = set; then :
4309   withval=$with_subdirs;
4310                         if test "$withval" = yes; then
4311                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4312                         else
4313                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4314                         fi
4315
4316 else
4317
4318                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4319
4320 fi
4321
4322
4323           eval "$wx_cv_use_subdirs"
4324
4325           if test x"$withstring" = xwithout; then
4326             if test $wxWITH_SUBDIRS = yes; then
4327               result=no
4328             else
4329               result=yes
4330             fi
4331           else
4332             result=$wxWITH_SUBDIRS
4333           fi
4334
4335           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4336 $as_echo "$result" >&6; }
4337
4338
4339 # Check whether --with-flavour was given.
4340 if test "${with_flavour+set}" = set; then :
4341   withval=$with_flavour; WX_FLAVOUR="$withval"
4342 fi
4343
4344
4345           enablestring=
4346           defaultval=
4347           if test -z "$defaultval"; then
4348               if test x"$enablestring" = xdisable; then
4349                   defaultval=yes
4350               else
4351                   defaultval=no
4352               fi
4353           fi
4354
4355           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4356 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4357           # Check whether --enable-official_build was given.
4358 if test "${enable_official_build+set}" = set; then :
4359   enableval=$enable_official_build;
4360                           if test "$enableval" = yes; then
4361                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4362                           else
4363                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4364                           fi
4365
4366 else
4367
4368                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4369
4370 fi
4371
4372
4373           eval "$wx_cv_use_official_build"
4374
4375           if test x"$enablestring" = xdisable; then
4376             if test $wxUSE_OFFICIAL_BUILD = no; then
4377               result=yes
4378             else
4379               result=no
4380             fi
4381           else
4382             result=$wxUSE_OFFICIAL_BUILD
4383           fi
4384
4385           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4386 $as_echo "$result" >&6; }
4387
4388 # Check whether --enable-vendor was given.
4389 if test "${enable_vendor+set}" = set; then :
4390   enableval=$enable_vendor; VENDOR="$enableval"
4391 fi
4392
4393 if test "x$VENDOR" = "x"; then
4394     VENDOR="custom"
4395 fi
4396
4397
4398           enablestring=disable
4399           defaultval=
4400           if test -z "$defaultval"; then
4401               if test x"$enablestring" = xdisable; then
4402                   defaultval=yes
4403               else
4404                   defaultval=no
4405               fi
4406           fi
4407
4408           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4409 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4410           # Check whether --enable-all-features was given.
4411 if test "${enable_all_features+set}" = set; then :
4412   enableval=$enable_all_features;
4413                           if test "$enableval" = yes; then
4414                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4415                           else
4416                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4417                           fi
4418
4419 else
4420
4421                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4422
4423 fi
4424
4425
4426           eval "$wx_cv_use_all_features"
4427
4428           if test x"$enablestring" = xdisable; then
4429             if test $wxUSE_ALL_FEATURES = no; then
4430               result=yes
4431             else
4432               result=no
4433             fi
4434           else
4435             result=$wxUSE_ALL_FEATURES
4436           fi
4437
4438           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4439 $as_echo "$result" >&6; }
4440
4441
4442 if test "$wxUSE_ALL_FEATURES" = "no"; then
4443                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4444     DEFAULT_wxUSE_MEDIACTRL=no
4445 fi
4446
4447
4448 if test "$wxUSE_GUI" = "yes"; then
4449
4450
4451           enablestring=
4452           defaultval=
4453           if test -z "$defaultval"; then
4454               if test x"$enablestring" = xdisable; then
4455                   defaultval=yes
4456               else
4457                   defaultval=no
4458               fi
4459           fi
4460
4461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4462 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4463           # Check whether --enable-universal was given.
4464 if test "${enable_universal+set}" = set; then :
4465   enableval=$enable_universal;
4466                           if test "$enableval" = yes; then
4467                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4468                           else
4469                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4470                           fi
4471
4472 else
4473
4474                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4475
4476 fi
4477
4478
4479           eval "$wx_cv_use_universal"
4480
4481           if test x"$enablestring" = xdisable; then
4482             if test $wxUSE_UNIVERSAL = no; then
4483               result=yes
4484             else
4485               result=no
4486             fi
4487           else
4488             result=$wxUSE_UNIVERSAL
4489           fi
4490
4491           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4492 $as_echo "$result" >&6; }
4493
4494 if test "$wxUSE_UNIVERSAL" = "yes"; then
4495
4496 # Check whether --with-themes was given.
4497 if test "${with_themes+set}" = set; then :
4498   withval=$with_themes; wxUNIV_THEMES="$withval"
4499 fi
4500
4501 fi
4502
4503
4504 # Check whether --with-gtk was given.
4505 if test "${with_gtk+set}" = set; then :
4506   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4507 fi
4508
4509
4510 # Check whether --with-motif was given.
4511 if test "${with_motif+set}" = set; then :
4512   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4513 fi
4514
4515
4516 # Check whether --with-osx_carbon was given.
4517 if test "${with_osx_carbon+set}" = set; then :
4518   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4519 fi
4520
4521
4522 # Check whether --with-osx_cocoa was given.
4523 if test "${with_osx_cocoa+set}" = set; then :
4524   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4525 fi
4526
4527
4528 # Check whether --with-osx_iphone was given.
4529 if test "${with_osx_iphone+set}" = set; then :
4530   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4531 fi
4532
4533
4534 # Check whether --with-osx was given.
4535 if test "${with_osx+set}" = set; then :
4536   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4537 fi
4538
4539
4540 # Check whether --with-carbon was given.
4541 if test "${with_carbon+set}" = set; then :
4542   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4543 fi
4544
4545
4546 # Check whether --with-cocoa was given.
4547 if test "${with_cocoa+set}" = set; then :
4548   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4549 fi
4550
4551
4552 # Check whether --with-iphone was given.
4553 if test "${with_iphone+set}" = set; then :
4554   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4555 fi
4556
4557
4558 # Check whether --with-mac was given.
4559 if test "${with_mac+set}" = set; then :
4560   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4561 fi
4562
4563
4564 # Check whether --with-old_cocoa was given.
4565 if test "${with_old_cocoa+set}" = set; then :
4566   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4567 fi
4568
4569
4570 # Check whether --with-wine was given.
4571 if test "${with_wine+set}" = set; then :
4572   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4573 fi
4574
4575
4576 # Check whether --with-msw was given.
4577 if test "${with_msw+set}" = set; then :
4578   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4579 fi
4580
4581
4582 # Check whether --with-pm was given.
4583 if test "${with_pm+set}" = set; then :
4584   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4585 fi
4586
4587
4588 # Check whether --with-directfb was given.
4589 if test "${with_directfb+set}" = set; then :
4590   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4591 fi
4592
4593
4594 # Check whether --with-microwin was given.
4595 if test "${with_microwin+set}" = set; then :
4596   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4597 fi
4598
4599
4600 # Check whether --with-x11 was given.
4601 if test "${with_x11+set}" = set; then :
4602   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4603 fi
4604
4605
4606           enablestring=
4607           defaultval=
4608           if test -z "$defaultval"; then
4609               if test x"$enablestring" = xdisable; then
4610                   defaultval=yes
4611               else
4612                   defaultval=no
4613               fi
4614           fi
4615
4616           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4617 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4618           # Check whether --enable-nanox was given.
4619 if test "${enable_nanox+set}" = set; then :
4620   enableval=$enable_nanox;
4621                           if test "$enableval" = yes; then
4622                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4623                           else
4624                             wx_cv_use_nanox='wxUSE_NANOX=no'
4625                           fi
4626
4627 else
4628
4629                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4630
4631 fi
4632
4633
4634           eval "$wx_cv_use_nanox"
4635
4636           if test x"$enablestring" = xdisable; then
4637             if test $wxUSE_NANOX = no; then
4638               result=yes
4639             else
4640               result=no
4641             fi
4642           else
4643             result=$wxUSE_NANOX
4644           fi
4645
4646           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4647 $as_echo "$result" >&6; }
4648
4649
4650           enablestring=
4651           defaultval=
4652           if test -z "$defaultval"; then
4653               if test x"$enablestring" = xdisable; then
4654                   defaultval=yes
4655               else
4656                   defaultval=no
4657               fi
4658           fi
4659
4660           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4661 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4662           # Check whether --enable-gpe was given.
4663 if test "${enable_gpe+set}" = set; then :
4664   enableval=$enable_gpe;
4665                           if test "$enableval" = yes; then
4666                             wx_cv_use_gpe='wxUSE_GPE=yes'
4667                           else
4668                             wx_cv_use_gpe='wxUSE_GPE=no'
4669                           fi
4670
4671 else
4672
4673                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4674
4675 fi
4676
4677
4678           eval "$wx_cv_use_gpe"
4679
4680           if test x"$enablestring" = xdisable; then
4681             if test $wxUSE_GPE = no; then
4682               result=yes
4683             else
4684               result=no
4685             fi
4686           else
4687             result=$wxUSE_GPE
4688           fi
4689
4690           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4691 $as_echo "$result" >&6; }
4692
4693
4694
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4696 $as_echo_n "checking for toolkit... " >&6; }
4697
4698
4699
4700 # In Wine, we need to default to MSW, not GTK or MOTIF
4701 if test "$wxUSE_WINE" = "yes"; then
4702     DEFAULT_DEFAULT_wxUSE_GTK=0
4703     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4704     DEFAULT_DEFAULT_wxUSE_MSW=1
4705     wxUSE_SHARED=no
4706     CC=${CC:-winegcc}
4707     CXX=${CXX:-wineg++}
4708 fi
4709
4710
4711 if test "$wxUSE_GUI" = "yes"; then
4712
4713     if test "$USE_BEOS" = 1; then
4714         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4715     fi
4716
4717     if test "$TOOLKIT_GIVEN" = 1; then
4718             for toolkit in $ALL_TOOLKITS; do
4719         var=wxUSE_$toolkit
4720         eval "value=\$${var}"
4721         if test "x$value" = "xno"; then
4722           eval "$var=0"
4723         elif test "x$value" != "x"; then
4724           eval "$var=1"
4725         fi
4726
4727         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4728           eval "wx${toolkit}_VERSION=$value"
4729         fi
4730       done
4731     else
4732             for toolkit in $ALL_TOOLKITS; do
4733         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4734         eval "wxUSE_$toolkit=\$${var}"
4735       done
4736     fi
4737
4738             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4739                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4740                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4741
4742         case "${host}" in
4743       *-pc-os2_emx | *-pc-os2-emx )
4744         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4745     esac
4746
4747     case "$NUM_TOOLKITS" in
4748       1)
4749       ;;
4750       0)
4751         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4752       ;;
4753       *)
4754         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4755     esac
4756
4757     for toolkit in $ALL_TOOLKITS; do
4758         var=wxUSE_$toolkit
4759         eval "value=\$${var}"
4760         if test "$value" = 1; then
4761           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4762           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4763 $as_echo "$toolkit_echo" >&6; }
4764         fi
4765     done
4766 else
4767     if test "x$host_alias" != "x"; then
4768         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4769 $as_echo "base ($host_alias hosted) only" >&6; }
4770     else
4771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4772 $as_echo "base only" >&6; }
4773     fi
4774 fi
4775
4776 wxUSE_MAC=0
4777 if test "$wxUSE_OSX_CARBON" = 1 \
4778        -o "$wxUSE_OSX_COCOA" = 1 \
4779        -o "$wxUSE_OSX_IPHONE" = 1; then
4780     wxUSE_MAC=1
4781 fi
4782
4783
4784
4785           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4786 $as_echo_n "checking for --with-libpng... " >&6; }
4787
4788 # Check whether --with-libpng was given.
4789 if test "${with_libpng+set}" = set; then :
4790   withval=$with_libpng;
4791                         if test "$withval" = yes; then
4792                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4793                         elif test "$withval" = no; then
4794                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4795                         elif test "$withval" = sys; then
4796                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4797                         elif test "$withval" = builtin; then
4798                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4799                         else
4800                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4801                         fi
4802
4803 else
4804
4805                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4806
4807 fi
4808
4809
4810           eval "$wx_cv_use_libpng"
4811
4812           if test "$wxUSE_LIBPNG" = yes; then
4813             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4815           elif test "$wxUSE_LIBPNG" = no; then
4816             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818           elif test "$wxUSE_LIBPNG" = sys; then
4819             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4820 $as_echo "system version" >&6; }
4821           elif test "$wxUSE_LIBPNG" = builtin; then
4822             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4823 $as_echo "builtin version" >&6; }
4824           else
4825             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4826           fi
4827
4828
4829           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4830 $as_echo_n "checking for --with-libjpeg... " >&6; }
4831
4832 # Check whether --with-libjpeg was given.
4833 if test "${with_libjpeg+set}" = set; then :
4834   withval=$with_libjpeg;
4835                         if test "$withval" = yes; then
4836                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4837                         elif test "$withval" = no; then
4838                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4839                         elif test "$withval" = sys; then
4840                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4841                         elif test "$withval" = builtin; then
4842                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4843                         else
4844                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4845                         fi
4846
4847 else
4848
4849                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4850
4851 fi
4852
4853
4854           eval "$wx_cv_use_libjpeg"
4855
4856           if test "$wxUSE_LIBJPEG" = yes; then
4857             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4858 $as_echo "yes" >&6; }
4859           elif test "$wxUSE_LIBJPEG" = no; then
4860             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4862           elif test "$wxUSE_LIBJPEG" = sys; then
4863             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4864 $as_echo "system version" >&6; }
4865           elif test "$wxUSE_LIBJPEG" = builtin; then
4866             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4867 $as_echo "builtin version" >&6; }
4868           else
4869             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4870           fi
4871
4872
4873           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4874 $as_echo_n "checking for --with-libtiff... " >&6; }
4875
4876 # Check whether --with-libtiff was given.
4877 if test "${with_libtiff+set}" = set; then :
4878   withval=$with_libtiff;
4879                         if test "$withval" = yes; then
4880                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4881                         elif test "$withval" = no; then
4882                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4883                         elif test "$withval" = sys; then
4884                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4885                         elif test "$withval" = builtin; then
4886                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4887                         else
4888                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4889                         fi
4890
4891 else
4892
4893                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4894
4895 fi
4896
4897
4898           eval "$wx_cv_use_libtiff"
4899
4900           if test "$wxUSE_LIBTIFF" = yes; then
4901             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4903           elif test "$wxUSE_LIBTIFF" = no; then
4904             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906           elif test "$wxUSE_LIBTIFF" = sys; then
4907             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4908 $as_echo "system version" >&6; }
4909           elif test "$wxUSE_LIBTIFF" = builtin; then
4910             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4911 $as_echo "builtin version" >&6; }
4912           else
4913             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4914           fi
4915
4916
4917           withstring=without
4918           defaultval=$wxUSE_ALL_FEATURES
4919           if test -z "$defaultval"; then
4920               if test x"$withstring" = xwithout; then
4921                   defaultval=yes
4922               else
4923                   defaultval=no
4924               fi
4925           fi
4926           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4927 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4928
4929 # Check whether --with-libjbig was given.
4930 if test "${with_libjbig+set}" = set; then :
4931   withval=$with_libjbig;
4932                         if test "$withval" = yes; then
4933                           wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4934                         else
4935                           wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4936                         fi
4937
4938 else
4939
4940                         wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4941
4942 fi
4943
4944
4945           eval "$wx_cv_use_libjbig"
4946
4947           if test x"$withstring" = xwithout; then
4948             if test $wxUSE_LIBJBIG = yes; then
4949               result=no
4950             else
4951               result=yes
4952             fi
4953           else
4954             result=$wxUSE_LIBJBIG
4955           fi
4956
4957           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4958 $as_echo "$result" >&6; }
4959
4960
4961           withstring=without
4962           defaultval=$wxUSE_ALL_FEATURES
4963           if test -z "$defaultval"; then
4964               if test x"$withstring" = xwithout; then
4965                   defaultval=yes
4966               else
4967                   defaultval=no
4968               fi
4969           fi
4970           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4971 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4972
4973 # Check whether --with-liblzma was given.
4974 if test "${with_liblzma+set}" = set; then :
4975   withval=$with_liblzma;
4976                         if test "$withval" = yes; then
4977                           wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4978                         else
4979                           wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4980                         fi
4981
4982 else
4983
4984                         wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4985
4986 fi
4987
4988
4989           eval "$wx_cv_use_liblzma"
4990
4991           if test x"$withstring" = xwithout; then
4992             if test $wxUSE_LIBLZMA = yes; then
4993               result=no
4994             else
4995               result=yes
4996             fi
4997           else
4998             result=$wxUSE_LIBLZMA
4999           fi
5000
5001           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5002 $as_echo "$result" >&6; }
5003
5004
5005           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
5006 $as_echo_n "checking for --with-libxpm... " >&6; }
5007
5008 # Check whether --with-libxpm was given.
5009 if test "${with_libxpm+set}" = set; then :
5010   withval=$with_libxpm;
5011                         if test "$withval" = yes; then
5012                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5013                         elif test "$withval" = no; then
5014                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5015                         elif test "$withval" = sys; then
5016                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5017                         elif test "$withval" = builtin; then
5018                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5019                         else
5020                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5021                         fi
5022
5023 else
5024
5025                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5026
5027 fi
5028
5029
5030           eval "$wx_cv_use_libxpm"
5031
5032           if test "$wxUSE_LIBXPM" = yes; then
5033             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5034 $as_echo "yes" >&6; }
5035           elif test "$wxUSE_LIBXPM" = no; then
5036             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5038           elif test "$wxUSE_LIBXPM" = sys; then
5039             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5040 $as_echo "system version" >&6; }
5041           elif test "$wxUSE_LIBXPM" = builtin; then
5042             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5043 $as_echo "builtin version" >&6; }
5044           else
5045             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5046           fi
5047
5048
5049           withstring=
5050           defaultval=$wxUSE_ALL_FEATURES
5051           if test -z "$defaultval"; then
5052               if test x"$withstring" = xwithout; then
5053                   defaultval=yes
5054               else
5055                   defaultval=no
5056               fi
5057           fi
5058           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5059 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5060
5061 # Check whether --with-libiconv was given.
5062 if test "${with_libiconv+set}" = set; then :
5063   withval=$with_libiconv;
5064                         if test "$withval" = yes; then
5065                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5066                         else
5067                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5068                         fi
5069
5070 else
5071
5072                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5073
5074 fi
5075
5076
5077           eval "$wx_cv_use_libiconv"
5078
5079           if test x"$withstring" = xwithout; then
5080             if test $wxUSE_LIBICONV = yes; then
5081               result=no
5082             else
5083               result=yes
5084             fi
5085           else
5086             result=$wxUSE_LIBICONV
5087           fi
5088
5089           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5090 $as_echo "$result" >&6; }
5091
5092
5093           withstring=
5094           defaultval=$wxUSE_ALL_FEATURES
5095           if test -z "$defaultval"; then
5096               if test x"$withstring" = xwithout; then
5097                   defaultval=yes
5098               else
5099                   defaultval=no
5100               fi
5101           fi
5102           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5103 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5104
5105 # Check whether --with-libmspack was given.
5106 if test "${with_libmspack+set}" = set; then :
5107   withval=$with_libmspack;
5108                         if test "$withval" = yes; then
5109                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5110                         else
5111                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5112                         fi
5113
5114 else
5115
5116                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5117
5118 fi
5119
5120
5121           eval "$wx_cv_use_libmspack"
5122
5123           if test x"$withstring" = xwithout; then
5124             if test $wxUSE_LIBMSPACK = yes; then
5125               result=no
5126             else
5127               result=yes
5128             fi
5129           else
5130             result=$wxUSE_LIBMSPACK
5131           fi
5132
5133           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5134 $as_echo "$result" >&6; }
5135
5136
5137           withstring=without
5138           defaultval=$wxUSE_ALL_FEATURES
5139           if test -z "$defaultval"; then
5140               if test x"$withstring" = xwithout; then
5141                   defaultval=yes
5142               else
5143                   defaultval=no
5144               fi
5145           fi
5146           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5147 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5148
5149 # Check whether --with-gtkprint was given.
5150 if test "${with_gtkprint+set}" = set; then :
5151   withval=$with_gtkprint;
5152                         if test "$withval" = yes; then
5153                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5154                         else
5155                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5156                         fi
5157
5158 else
5159
5160                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5161
5162 fi
5163
5164
5165           eval "$wx_cv_use_gtkprint"
5166
5167           if test x"$withstring" = xwithout; then
5168             if test $wxUSE_GTKPRINT = yes; then
5169               result=no
5170             else
5171               result=yes
5172             fi
5173           else
5174             result=$wxUSE_GTKPRINT
5175           fi
5176
5177           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5178 $as_echo "$result" >&6; }
5179
5180
5181           withstring=without
5182           defaultval=$wxUSE_ALL_FEATURES
5183           if test -z "$defaultval"; then
5184               if test x"$withstring" = xwithout; then
5185                   defaultval=yes
5186               else
5187                   defaultval=no
5188               fi
5189           fi
5190           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5191 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5192
5193 # Check whether --with-gnomeprint was given.
5194 if test "${with_gnomeprint+set}" = set; then :
5195   withval=$with_gnomeprint;
5196                         if test "$withval" = yes; then
5197                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5198                         else
5199                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5200                         fi
5201
5202 else
5203
5204                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5205
5206 fi
5207
5208
5209           eval "$wx_cv_use_gnomeprint"
5210
5211           if test x"$withstring" = xwithout; then
5212             if test $wxUSE_LIBGNOMEPRINT = yes; then
5213               result=no
5214             else
5215               result=yes
5216             fi
5217           else
5218             result=$wxUSE_LIBGNOMEPRINT
5219           fi
5220
5221           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5222 $as_echo "$result" >&6; }
5223
5224
5225           withstring=
5226           defaultval=$wxUSE_ALL_FEATURES
5227           if test -z "$defaultval"; then
5228               if test x"$withstring" = xwithout; then
5229                   defaultval=yes
5230               else
5231                   defaultval=no
5232               fi
5233           fi
5234           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5235 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5236
5237 # Check whether --with-gnomevfs was given.
5238 if test "${with_gnomevfs+set}" = set; then :
5239   withval=$with_gnomevfs;
5240                         if test "$withval" = yes; then
5241                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5242                         else
5243                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5244                         fi
5245
5246 else
5247
5248                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5249
5250 fi
5251
5252
5253           eval "$wx_cv_use_gnomevfs"
5254
5255           if test x"$withstring" = xwithout; then
5256             if test $wxUSE_LIBGNOMEVFS = yes; then
5257               result=no
5258             else
5259               result=yes
5260             fi
5261           else
5262             result=$wxUSE_LIBGNOMEVFS
5263           fi
5264
5265           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5266 $as_echo "$result" >&6; }
5267
5268
5269           withstring=
5270           defaultval=$wxUSE_ALL_FEATURES
5271           if test -z "$defaultval"; then
5272               if test x"$withstring" = xwithout; then
5273                   defaultval=yes
5274               else
5275                   defaultval=no
5276               fi
5277           fi
5278           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5279 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5280
5281 # Check whether --with-libnotify was given.
5282 if test "${with_libnotify+set}" = set; then :
5283   withval=$with_libnotify;
5284                         if test "$withval" = yes; then
5285                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5286                         else
5287                           wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5288                         fi
5289
5290 else
5291
5292                         wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5293
5294 fi
5295
5296
5297           eval "$wx_cv_use_libnotify"
5298
5299           if test x"$withstring" = xwithout; then
5300             if test $wxUSE_LIBNOTIFY = yes; then
5301               result=no
5302             else
5303               result=yes
5304             fi
5305           else
5306             result=$wxUSE_LIBNOTIFY
5307           fi
5308
5309           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5310 $as_echo "$result" >&6; }
5311
5312
5313           withstring=
5314           defaultval=$wxUSE_ALL_FEATURES
5315           if test -z "$defaultval"; then
5316               if test x"$withstring" = xwithout; then
5317                   defaultval=yes
5318               else
5319                   defaultval=no
5320               fi
5321           fi
5322           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5323 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5324
5325 # Check whether --with-hildon was given.
5326 if test "${with_hildon+set}" = set; then :
5327   withval=$with_hildon;
5328                         if test "$withval" = yes; then
5329                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5330                         else
5331                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5332                         fi
5333
5334 else
5335
5336                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5337
5338 fi
5339
5340
5341           eval "$wx_cv_use_hildon"
5342
5343           if test x"$withstring" = xwithout; then
5344             if test $wxUSE_LIBHILDON = yes; then
5345               result=no
5346             else
5347               result=yes
5348             fi
5349           else
5350             result=$wxUSE_LIBHILDON
5351           fi
5352
5353           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5354 $as_echo "$result" >&6; }
5355
5356
5357           withstring=
5358           defaultval=$wxUSE_ALL_FEATURES
5359           if test -z "$defaultval"; then
5360               if test x"$withstring" = xwithout; then
5361                   defaultval=yes
5362               else
5363                   defaultval=no
5364               fi
5365           fi
5366           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5367 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5368
5369 # Check whether --with-opengl was given.
5370 if test "${with_opengl+set}" = set; then :
5371   withval=$with_opengl;
5372                         if test "$withval" = yes; then
5373                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5374                         else
5375                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5376                         fi
5377
5378 else
5379
5380                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5381
5382 fi
5383
5384
5385           eval "$wx_cv_use_opengl"
5386
5387           if test x"$withstring" = xwithout; then
5388             if test $wxUSE_OPENGL = yes; then
5389               result=no
5390             else
5391               result=yes
5392             fi
5393           else
5394             result=$wxUSE_OPENGL
5395           fi
5396
5397           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5398 $as_echo "$result" >&6; }
5399
5400
5401 fi
5402
5403
5404           withstring=
5405           defaultval=$wxUSE_ALL_FEATURES
5406           if test -z "$defaultval"; then
5407               if test x"$withstring" = xwithout; then
5408                   defaultval=yes
5409               else
5410                   defaultval=no
5411               fi
5412           fi
5413           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5414 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5415
5416 # Check whether --with-dmalloc was given.
5417 if test "${with_dmalloc+set}" = set; then :
5418   withval=$with_dmalloc;
5419                         if test "$withval" = yes; then
5420                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5421                         else
5422                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5423                         fi
5424
5425 else
5426
5427                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5428
5429 fi
5430
5431
5432           eval "$wx_cv_use_dmalloc"
5433
5434           if test x"$withstring" = xwithout; then
5435             if test $wxUSE_DMALLOC = yes; then
5436               result=no
5437             else
5438               result=yes
5439             fi
5440           else
5441             result=$wxUSE_DMALLOC
5442           fi
5443
5444           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5445 $as_echo "$result" >&6; }
5446
5447
5448           withstring=
5449           defaultval=$wxUSE_ALL_FEATURES
5450           if test -z "$defaultval"; then
5451               if test x"$withstring" = xwithout; then
5452                   defaultval=yes
5453               else
5454                   defaultval=no
5455               fi
5456           fi
5457           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5458 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5459
5460 # Check whether --with-sdl was given.
5461 if test "${with_sdl+set}" = set; then :
5462   withval=$with_sdl;
5463                         if test "$withval" = yes; then
5464                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5465                         else
5466                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5467                         fi
5468
5469 else
5470
5471                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5472
5473 fi
5474
5475
5476           eval "$wx_cv_use_sdl"
5477
5478           if test x"$withstring" = xwithout; then
5479             if test $wxUSE_LIBSDL = yes; then
5480               result=no
5481             else
5482               result=yes
5483             fi
5484           else
5485             result=$wxUSE_LIBSDL
5486           fi
5487
5488           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5489 $as_echo "$result" >&6; }
5490
5491
5492           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5493 $as_echo_n "checking for --with-regex... " >&6; }
5494
5495 # Check whether --with-regex was given.
5496 if test "${with_regex+set}" = set; then :
5497   withval=$with_regex;
5498                         if test "$withval" = yes; then
5499                           wx_cv_use_regex='wxUSE_REGEX=yes'
5500                         elif test "$withval" = no; then
5501                           wx_cv_use_regex='wxUSE_REGEX=no'
5502                         elif test "$withval" = sys; then
5503                           wx_cv_use_regex='wxUSE_REGEX=sys'
5504                         elif test "$withval" = builtin; then
5505                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5506                         else
5507                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5508                         fi
5509
5510 else
5511
5512                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5513
5514 fi
5515
5516
5517           eval "$wx_cv_use_regex"
5518
5519           if test "$wxUSE_REGEX" = yes; then
5520             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5521 $as_echo "yes" >&6; }
5522           elif test "$wxUSE_REGEX" = no; then
5523             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5525           elif test "$wxUSE_REGEX" = sys; then
5526             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5527 $as_echo "system version" >&6; }
5528           elif test "$wxUSE_REGEX" = builtin; then
5529             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5530 $as_echo "builtin version" >&6; }
5531           else
5532             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5533           fi
5534
5535
5536           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5537 $as_echo_n "checking for --with-zlib... " >&6; }
5538
5539 # Check whether --with-zlib was given.
5540 if test "${with_zlib+set}" = set; then :
5541   withval=$with_zlib;
5542                         if test "$withval" = yes; then
5543                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5544                         elif test "$withval" = no; then
5545                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5546                         elif test "$withval" = sys; then
5547                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5548                         elif test "$withval" = builtin; then
5549                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5550                         else
5551                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5552                         fi
5553
5554 else
5555
5556                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5557
5558 fi
5559
5560
5561           eval "$wx_cv_use_zlib"
5562
5563           if test "$wxUSE_ZLIB" = yes; then
5564             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565 $as_echo "yes" >&6; }
5566           elif test "$wxUSE_ZLIB" = no; then
5567             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5569           elif test "$wxUSE_ZLIB" = sys; then
5570             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5571 $as_echo "system version" >&6; }
5572           elif test "$wxUSE_ZLIB" = builtin; then
5573             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5574 $as_echo "builtin version" >&6; }
5575           else
5576             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5577           fi
5578
5579
5580           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5581 $as_echo_n "checking for --with-expat... " >&6; }
5582
5583 # Check whether --with-expat was given.
5584 if test "${with_expat+set}" = set; then :
5585   withval=$with_expat;
5586                         if test "$withval" = yes; then
5587                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5588                         elif test "$withval" = no; then
5589                           wx_cv_use_expat='wxUSE_EXPAT=no'
5590                         elif test "$withval" = sys; then
5591                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5592                         elif test "$withval" = builtin; then
5593                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5594                         else
5595                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5596                         fi
5597
5598 else
5599
5600                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5601
5602 fi
5603
5604
5605           eval "$wx_cv_use_expat"
5606
5607           if test "$wxUSE_EXPAT" = yes; then
5608             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610           elif test "$wxUSE_EXPAT" = no; then
5611             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613           elif test "$wxUSE_EXPAT" = sys; then
5614             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5615 $as_echo "system version" >&6; }
5616           elif test "$wxUSE_EXPAT" = builtin; then
5617             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5618 $as_echo "builtin version" >&6; }
5619           else
5620             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5621           fi
5622
5623
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5625 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5626
5627 # Check whether --with-macosx-sdk was given.
5628 if test "${with_macosx_sdk+set}" = set; then :
5629   withval=$with_macosx_sdk;
5630         wxUSE_MACOSX_SDK=$withval
5631         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5632
5633 fi
5634
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5636 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5637
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5639 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5640
5641 # Check whether --with-macosx-version-min was given.
5642 if test "${with_macosx_version_min+set}" = set; then :
5643   withval=$with_macosx_version_min;
5644         wxUSE_MACOSX_VERSION_MIN=$withval
5645         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5646
5647 fi
5648
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5650 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5651
5652
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5654 $as_echo_n "checking for --enable-debug... " >&6; }
5655 # Check whether --enable-debug was given.
5656 if test "${enable_debug+set}" = set; then :
5657   enableval=$enable_debug;
5658         if test "$enableval" = yes; then
5659             wxUSE_DEBUG=yes
5660         elif test "$enableval" = no; then
5661             wxUSE_DEBUG=no
5662         elif test "$enableval" = max; then
5663             wxUSE_DEBUG=yes
5664             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5665         else
5666             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5667         fi
5668
5669 else
5670   wxUSE_DEBUG=default
5671
5672 fi
5673
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5675 $as_echo "${enable_debug-default}" >&6; }
5676
5677 case "$wxUSE_DEBUG" in
5678     yes)
5679                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5680         DEFAULT_wxUSE_DEBUG_INFO=yes
5681
5682                         DEFAULT_wxUSE_OPTIMISE=no
5683         ;;
5684
5685     no)
5686                         DEFAULT_wxUSE_DEBUG_FLAG=no
5687         DEFAULT_wxUSE_DEBUG_INFO=no
5688         ;;
5689
5690     default)
5691                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5692         DEFAULT_wxUSE_DEBUG_INFO=no
5693         ;;
5694 esac
5695
5696
5697           enablestring=disable
5698           defaultval=
5699           if test -z "$defaultval"; then
5700               if test x"$enablestring" = xdisable; then
5701                   defaultval=yes
5702               else
5703                   defaultval=no
5704               fi
5705           fi
5706
5707           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5708 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5709           # Check whether --enable-debug_flag was given.
5710 if test "${enable_debug_flag+set}" = set; then :
5711   enableval=$enable_debug_flag;
5712                           if test "$enableval" = yes; then
5713                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5714                           else
5715                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5716                           fi
5717
5718 else
5719
5720                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5721
5722 fi
5723
5724
5725           eval "$wx_cv_use_debug_flag"
5726
5727           if test x"$enablestring" = xdisable; then
5728             if test $wxUSE_DEBUG_FLAG = no; then
5729               result=yes
5730             else
5731               result=no
5732             fi
5733           else
5734             result=$wxUSE_DEBUG_FLAG
5735           fi
5736
5737           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5738 $as_echo "$result" >&6; }
5739
5740
5741           enablestring=
5742           defaultval=
5743           if test -z "$defaultval"; then
5744               if test x"$enablestring" = xdisable; then
5745                   defaultval=yes
5746               else
5747                   defaultval=no
5748               fi
5749           fi
5750
5751           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5752 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5753           # Check whether --enable-debug_info was given.
5754 if test "${enable_debug_info+set}" = set; then :
5755   enableval=$enable_debug_info;
5756                           if test "$enableval" = yes; then
5757                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5758                           else
5759                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5760                           fi
5761
5762 else
5763
5764                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5765
5766 fi
5767
5768
5769           eval "$wx_cv_use_debug_info"
5770
5771           if test x"$enablestring" = xdisable; then
5772             if test $wxUSE_DEBUG_INFO = no; then
5773               result=yes
5774             else
5775               result=no
5776             fi
5777           else
5778             result=$wxUSE_DEBUG_INFO
5779           fi
5780
5781           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5782 $as_echo "$result" >&6; }
5783
5784
5785
5786
5787           enablestring=
5788           defaultval=
5789           if test -z "$defaultval"; then
5790               if test x"$enablestring" = xdisable; then
5791                   defaultval=yes
5792               else
5793                   defaultval=no
5794               fi
5795           fi
5796
5797           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5798 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5799           # Check whether --enable-debug_gdb was given.
5800 if test "${enable_debug_gdb+set}" = set; then :
5801   enableval=$enable_debug_gdb;
5802                           if test "$enableval" = yes; then
5803                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5804                           else
5805                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5806                           fi
5807
5808 else
5809
5810                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5811
5812 fi
5813
5814
5815           eval "$wx_cv_use_debug_gdb"
5816
5817           if test x"$enablestring" = xdisable; then
5818             if test $wxUSE_DEBUG_GDB = no; then
5819               result=yes
5820             else
5821               result=no
5822             fi
5823           else
5824             result=$wxUSE_DEBUG_GDB
5825           fi
5826
5827           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5828 $as_echo "$result" >&6; }
5829
5830
5831           enablestring=
5832           defaultval=
5833           if test -z "$defaultval"; then
5834               if test x"$enablestring" = xdisable; then
5835                   defaultval=yes
5836               else
5837                   defaultval=no
5838               fi
5839           fi
5840
5841           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5842 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5843           # Check whether --enable-debug_cntxt was given.
5844 if test "${enable_debug_cntxt+set}" = set; then :
5845   enableval=$enable_debug_cntxt;
5846                           if test "$enableval" = yes; then
5847                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5848                           else
5849                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5850                           fi
5851
5852 else
5853
5854                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5855
5856 fi
5857
5858
5859           eval "$wx_cv_use_debug_cntxt"
5860
5861           if test x"$enablestring" = xdisable; then
5862             if test $wxUSE_DEBUG_CONTEXT = no; then
5863               result=yes
5864             else
5865               result=no
5866             fi
5867           else
5868             result=$wxUSE_DEBUG_CONTEXT
5869           fi
5870
5871           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5872 $as_echo "$result" >&6; }
5873
5874
5875           enablestring=
5876           defaultval=
5877           if test -z "$defaultval"; then
5878               if test x"$enablestring" = xdisable; then
5879                   defaultval=yes
5880               else
5881                   defaultval=no
5882               fi
5883           fi
5884
5885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5886 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5887           # Check whether --enable-mem_tracing was given.
5888 if test "${enable_mem_tracing+set}" = set; then :
5889   enableval=$enable_mem_tracing;
5890                           if test "$enableval" = yes; then
5891                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5892                           else
5893                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5894                           fi
5895
5896 else
5897
5898                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5899
5900 fi
5901
5902
5903           eval "$wx_cv_use_mem_tracing"
5904
5905           if test x"$enablestring" = xdisable; then
5906             if test $wxUSE_MEM_TRACING = no; then
5907               result=yes
5908             else
5909               result=no
5910             fi
5911           else
5912             result=$wxUSE_MEM_TRACING
5913           fi
5914
5915           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5916 $as_echo "$result" >&6; }
5917
5918
5919
5920
5921           enablestring=disable
5922           defaultval=
5923           if test -z "$defaultval"; then
5924               if test x"$enablestring" = xdisable; then
5925                   defaultval=yes
5926               else
5927                   defaultval=no
5928               fi
5929           fi
5930
5931           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5932 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5933           # Check whether --enable-shared was given.
5934 if test "${enable_shared+set}" = set; then :
5935   enableval=$enable_shared;
5936                           if test "$enableval" = yes; then
5937                             wx_cv_use_shared='wxUSE_SHARED=yes'
5938                           else
5939                             wx_cv_use_shared='wxUSE_SHARED=no'
5940                           fi
5941
5942 else
5943
5944                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5945
5946 fi
5947
5948
5949           eval "$wx_cv_use_shared"
5950
5951           if test x"$enablestring" = xdisable; then
5952             if test $wxUSE_SHARED = no; then
5953               result=yes
5954             else
5955               result=no
5956             fi
5957           else
5958             result=$wxUSE_SHARED
5959           fi
5960
5961           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5962 $as_echo "$result" >&6; }
5963
5964
5965           enablestring=
5966           defaultval=
5967           if test -z "$defaultval"; then
5968               if test x"$enablestring" = xdisable; then
5969                   defaultval=yes
5970               else
5971                   defaultval=no
5972               fi
5973           fi
5974
5975           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5976 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5977           # Check whether --enable-stl was given.
5978 if test "${enable_stl+set}" = set; then :
5979   enableval=$enable_stl;
5980                           if test "$enableval" = yes; then
5981                             wx_cv_use_stl='wxUSE_STL=yes'
5982                           else
5983                             wx_cv_use_stl='wxUSE_STL=no'
5984                           fi
5985
5986 else
5987
5988                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5989
5990 fi
5991
5992
5993           eval "$wx_cv_use_stl"
5994
5995           if test x"$enablestring" = xdisable; then
5996             if test $wxUSE_STL = no; then
5997               result=yes
5998             else
5999               result=no
6000             fi
6001           else
6002             result=$wxUSE_STL
6003           fi
6004
6005           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6006 $as_echo "$result" >&6; }
6007
6008 if test "$wxUSE_STL" = "yes"; then
6009     DEFAULT_wxUSE_STD_CONTAINERS=yes
6010     DEFAULT_wxUSE_STD_IOSTREAM=yes
6011     DEFAULT_wxUSE_STD_STRING=yes
6012 fi
6013
6014           enablestring=
6015           defaultval=
6016           if test -z "$defaultval"; then
6017               if test x"$enablestring" = xdisable; then
6018                   defaultval=yes
6019               else
6020                   defaultval=no
6021               fi
6022           fi
6023
6024           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
6025 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
6026           # Check whether --enable-std_containers was given.
6027 if test "${enable_std_containers+set}" = set; then :
6028   enableval=$enable_std_containers;
6029                           if test "$enableval" = yes; then
6030                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6031                           else
6032                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6033                           fi
6034
6035 else
6036
6037                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6038
6039 fi
6040
6041
6042           eval "$wx_cv_use_std_containers"
6043
6044           if test x"$enablestring" = xdisable; then
6045             if test $wxUSE_STD_CONTAINERS = no; then
6046               result=yes
6047             else
6048               result=no
6049             fi
6050           else
6051             result=$wxUSE_STD_CONTAINERS
6052           fi
6053
6054           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6055 $as_echo "$result" >&6; }
6056
6057
6058           enablestring=
6059           defaultval=
6060           if test -z "$defaultval"; then
6061               if test x"$enablestring" = xdisable; then
6062                   defaultval=yes
6063               else
6064                   defaultval=no
6065               fi
6066           fi
6067
6068           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6069 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6070           # Check whether --enable-std_iostreams was given.
6071 if test "${enable_std_iostreams+set}" = set; then :
6072   enableval=$enable_std_iostreams;
6073                           if test "$enableval" = yes; then
6074                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6075                           else
6076                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6077                           fi
6078
6079 else
6080
6081                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6082
6083 fi
6084
6085
6086           eval "$wx_cv_use_std_iostreams"
6087
6088           if test x"$enablestring" = xdisable; then
6089             if test $wxUSE_STD_IOSTREAM = no; then
6090               result=yes
6091             else
6092               result=no
6093             fi
6094           else
6095             result=$wxUSE_STD_IOSTREAM
6096           fi
6097
6098           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6099 $as_echo "$result" >&6; }
6100
6101
6102           enablestring=
6103           defaultval=
6104           if test -z "$defaultval"; then
6105               if test x"$enablestring" = xdisable; then
6106                   defaultval=yes
6107               else
6108                   defaultval=no
6109               fi
6110           fi
6111
6112           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6113 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6114           # Check whether --enable-std_string was given.
6115 if test "${enable_std_string+set}" = set; then :
6116   enableval=$enable_std_string;
6117                           if test "$enableval" = yes; then
6118                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6119                           else
6120                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
6121                           fi
6122
6123 else
6124
6125                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6126
6127 fi
6128
6129
6130           eval "$wx_cv_use_std_string"
6131
6132           if test x"$enablestring" = xdisable; then
6133             if test $wxUSE_STD_STRING = no; then
6134               result=yes
6135             else
6136               result=no
6137             fi
6138           else
6139             result=$wxUSE_STD_STRING
6140           fi
6141
6142           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6143 $as_echo "$result" >&6; }
6144
6145
6146           enablestring=
6147           defaultval=
6148           if test -z "$defaultval"; then
6149               if test x"$enablestring" = xdisable; then
6150                   defaultval=yes
6151               else
6152                   defaultval=no
6153               fi
6154           fi
6155
6156           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6157 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6158           # Check whether --enable-std_string_conv_in_wxstring was given.
6159 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6160   enableval=$enable_std_string_conv_in_wxstring;
6161                           if test "$enableval" = yes; then
6162                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6163                           else
6164                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6165                           fi
6166
6167 else
6168
6169                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6170
6171 fi
6172
6173
6174           eval "$wx_cv_use_std_string_conv_in_wxstring"
6175
6176           if test x"$enablestring" = xdisable; then
6177             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6178               result=yes
6179             else
6180               result=no
6181             fi
6182           else
6183             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6184           fi
6185
6186           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6187 $as_echo "$result" >&6; }
6188
6189
6190           enablestring=disable
6191           defaultval=
6192           if test -z "$defaultval"; then
6193               if test x"$enablestring" = xdisable; then
6194                   defaultval=yes
6195               else
6196                   defaultval=no
6197               fi
6198           fi
6199
6200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6201 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6202           # Check whether --enable-unicode was given.
6203 if test "${enable_unicode+set}" = set; then :
6204   enableval=$enable_unicode;
6205                           if test "$enableval" = yes; then
6206                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6207                           else
6208                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6209                           fi
6210
6211 else
6212
6213                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6214
6215 fi
6216
6217
6218           eval "$wx_cv_use_unicode"
6219
6220           if test x"$enablestring" = xdisable; then
6221             if test $wxUSE_UNICODE = no; then
6222               result=yes
6223             else
6224               result=no
6225             fi
6226           else
6227             result=$wxUSE_UNICODE
6228           fi
6229
6230           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6231 $as_echo "$result" >&6; }
6232
6233
6234           enablestring=
6235           defaultval=
6236           if test -z "$defaultval"; then
6237               if test x"$enablestring" = xdisable; then
6238                   defaultval=yes
6239               else
6240                   defaultval=no
6241               fi
6242           fi
6243
6244           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6245 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6246           # Check whether --enable-mslu was given.
6247 if test "${enable_mslu+set}" = set; then :
6248   enableval=$enable_mslu;
6249                           if test "$enableval" = yes; then
6250                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6251                           else
6252                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6253                           fi
6254
6255 else
6256
6257                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6258
6259 fi
6260
6261
6262           eval "$wx_cv_use_mslu"
6263
6264           if test x"$enablestring" = xdisable; then
6265             if test $wxUSE_UNICODE_MSLU = no; then
6266               result=yes
6267             else
6268               result=no
6269             fi
6270           else
6271             result=$wxUSE_UNICODE_MSLU
6272           fi
6273
6274           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6275 $as_echo "$result" >&6; }
6276
6277
6278           enablestring=
6279           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6280 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6281           # Check whether --enable-utf8 was given.
6282 if test "${enable_utf8+set}" = set; then :
6283   enableval=$enable_utf8;
6284                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6285
6286 else
6287
6288                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6289
6290 fi
6291
6292
6293           eval "$wx_cv_use_utf8"
6294
6295           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6296 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6297
6298
6299           enablestring=
6300           defaultval=
6301           if test -z "$defaultval"; then
6302               if test x"$enablestring" = xdisable; then
6303                   defaultval=yes
6304               else
6305                   defaultval=no
6306               fi
6307           fi
6308
6309           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6310 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6311           # Check whether --enable-utf8only was given.
6312 if test "${enable_utf8only+set}" = set; then :
6313   enableval=$enable_utf8only;
6314                           if test "$enableval" = yes; then
6315                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6316                           else
6317                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6318                           fi
6319
6320 else
6321
6322                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6323
6324 fi
6325
6326
6327           eval "$wx_cv_use_utf8only"
6328
6329           if test x"$enablestring" = xdisable; then
6330             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6331               result=yes
6332             else
6333               result=no
6334             fi
6335           else
6336             result=$wxUSE_UNICODE_UTF8_LOCALE
6337           fi
6338
6339           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6340 $as_echo "$result" >&6; }
6341
6342
6343           enablestring=
6344           defaultval=
6345           if test -z "$defaultval"; then
6346               if test x"$enablestring" = xdisable; then
6347                   defaultval=yes
6348               else
6349                   defaultval=no
6350               fi
6351           fi
6352
6353           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6354 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6355           # Check whether --enable-extended_rtti was given.
6356 if test "${enable_extended_rtti+set}" = set; then :
6357   enableval=$enable_extended_rtti;
6358                           if test "$enableval" = yes; then
6359                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6360                           else
6361                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6362                           fi
6363
6364 else
6365
6366                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6367
6368 fi
6369
6370
6371           eval "$wx_cv_use_extended_rtti"
6372
6373           if test x"$enablestring" = xdisable; then
6374             if test $wxUSE_EXTENDED_RTTI = no; then
6375               result=yes
6376             else
6377               result=no
6378             fi
6379           else
6380             result=$wxUSE_EXTENDED_RTTI
6381           fi
6382
6383           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6384 $as_echo "$result" >&6; }
6385
6386 if test "$USE_OS2" = 1; then
6387     DEFAULT_wxUSE_OMF=no
6388
6389           enablestring=
6390           defaultval=
6391           if test -z "$defaultval"; then
6392               if test x"$enablestring" = xdisable; then
6393                   defaultval=yes
6394               else
6395                   defaultval=no
6396               fi
6397           fi
6398
6399           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6400 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6401           # Check whether --enable-omf was given.
6402 if test "${enable_omf+set}" = set; then :
6403   enableval=$enable_omf;
6404                           if test "$enableval" = yes; then
6405                             wx_cv_use_omf='wxUSE_OMF=yes'
6406                           else
6407                             wx_cv_use_omf='wxUSE_OMF=no'
6408                           fi
6409
6410 else
6411
6412                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6413
6414 fi
6415
6416
6417           eval "$wx_cv_use_omf"
6418
6419           if test x"$enablestring" = xdisable; then
6420             if test $wxUSE_OMF = no; then
6421               result=yes
6422             else
6423               result=no
6424             fi
6425           else
6426             result=$wxUSE_OMF
6427           fi
6428
6429           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6430 $as_echo "$result" >&6; }
6431
6432 fi
6433
6434
6435           enablestring=disable
6436           defaultval=
6437           if test -z "$defaultval"; then
6438               if test x"$enablestring" = xdisable; then
6439                   defaultval=yes
6440               else
6441                   defaultval=no
6442               fi
6443           fi
6444
6445           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6446 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6447           # Check whether --enable-optimise was given.
6448 if test "${enable_optimise+set}" = set; then :
6449   enableval=$enable_optimise;
6450                           if test "$enableval" = yes; then
6451                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6452                           else
6453                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6454                           fi
6455
6456 else
6457
6458                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6459
6460 fi
6461
6462
6463           eval "$wx_cv_use_optimise"
6464
6465           if test x"$enablestring" = xdisable; then
6466             if test $wxUSE_OPTIMISE = no; then
6467               result=yes
6468             else
6469               result=no
6470             fi
6471           else
6472             result=$wxUSE_OPTIMISE
6473           fi
6474
6475           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6476 $as_echo "$result" >&6; }
6477
6478
6479
6480           enablestring=
6481           defaultval=
6482           if test -z "$defaultval"; then
6483               if test x"$enablestring" = xdisable; then
6484                   defaultval=yes
6485               else
6486                   defaultval=no
6487               fi
6488           fi
6489
6490           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6491 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6492           # Check whether --enable-profile was given.
6493 if test "${enable_profile+set}" = set; then :
6494   enableval=$enable_profile;
6495                           if test "$enableval" = yes; then
6496                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6497                           else
6498                             wx_cv_use_profile='wxUSE_PROFILE=no'
6499                           fi
6500
6501 else
6502
6503                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6504
6505 fi
6506
6507
6508           eval "$wx_cv_use_profile"
6509
6510           if test x"$enablestring" = xdisable; then
6511             if test $wxUSE_PROFILE = no; then
6512               result=yes
6513             else
6514               result=no
6515             fi
6516           else
6517             result=$wxUSE_PROFILE
6518           fi
6519
6520           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6521 $as_echo "$result" >&6; }
6522
6523
6524           enablestring=
6525           defaultval=
6526           if test -z "$defaultval"; then
6527               if test x"$enablestring" = xdisable; then
6528                   defaultval=yes
6529               else
6530                   defaultval=no
6531               fi
6532           fi
6533
6534           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6535 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6536           # Check whether --enable-no_rtti was given.
6537 if test "${enable_no_rtti+set}" = set; then :
6538   enableval=$enable_no_rtti;
6539                           if test "$enableval" = yes; then
6540                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6541                           else
6542                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6543                           fi
6544
6545 else
6546
6547                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6548
6549 fi
6550
6551
6552           eval "$wx_cv_use_no_rtti"
6553
6554           if test x"$enablestring" = xdisable; then
6555             if test $wxUSE_NO_RTTI = no; then
6556               result=yes
6557             else
6558               result=no
6559             fi
6560           else
6561             result=$wxUSE_NO_RTTI
6562           fi
6563
6564           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6565 $as_echo "$result" >&6; }
6566
6567
6568           enablestring=
6569           defaultval=
6570           if test -z "$defaultval"; then
6571               if test x"$enablestring" = xdisable; then
6572                   defaultval=yes
6573               else
6574                   defaultval=no
6575               fi
6576           fi
6577
6578           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6579 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6580           # Check whether --enable-no_exceptions was given.
6581 if test "${enable_no_exceptions+set}" = set; then :
6582   enableval=$enable_no_exceptions;
6583                           if test "$enableval" = yes; then
6584                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6585                           else
6586                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6587                           fi
6588
6589 else
6590
6591                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6592
6593 fi
6594
6595
6596           eval "$wx_cv_use_no_exceptions"
6597
6598           if test x"$enablestring" = xdisable; then
6599             if test $wxUSE_NO_EXCEPTIONS = no; then
6600               result=yes
6601             else
6602               result=no
6603             fi
6604           else
6605             result=$wxUSE_NO_EXCEPTIONS
6606           fi
6607
6608           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6609 $as_echo "$result" >&6; }
6610
6611
6612           enablestring=
6613           defaultval=
6614           if test -z "$defaultval"; then
6615               if test x"$enablestring" = xdisable; then
6616                   defaultval=yes
6617               else
6618                   defaultval=no
6619               fi
6620           fi
6621
6622           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6623 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6624           # Check whether --enable-permissive was given.
6625 if test "${enable_permissive+set}" = set; then :
6626   enableval=$enable_permissive;
6627                           if test "$enableval" = yes; then
6628                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6629                           else
6630                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6631                           fi
6632
6633 else
6634
6635                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6636
6637 fi
6638
6639
6640           eval "$wx_cv_use_permissive"
6641
6642           if test x"$enablestring" = xdisable; then
6643             if test $wxUSE_PERMISSIVE = no; then
6644               result=yes
6645             else
6646               result=no
6647             fi
6648           else
6649             result=$wxUSE_PERMISSIVE
6650           fi
6651
6652           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6653 $as_echo "$result" >&6; }
6654
6655
6656           enablestring=
6657           defaultval=
6658           if test -z "$defaultval"; then
6659               if test x"$enablestring" = xdisable; then
6660                   defaultval=yes
6661               else
6662                   defaultval=no
6663               fi
6664           fi
6665
6666           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6667 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6668           # Check whether --enable-no_deps was given.
6669 if test "${enable_no_deps+set}" = set; then :
6670   enableval=$enable_no_deps;
6671                           if test "$enableval" = yes; then
6672                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6673                           else
6674                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6675                           fi
6676
6677 else
6678
6679                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6680
6681 fi
6682
6683
6684           eval "$wx_cv_use_no_deps"
6685
6686           if test x"$enablestring" = xdisable; then
6687             if test $wxUSE_NO_DEPS = no; then
6688               result=yes
6689             else
6690               result=no
6691             fi
6692           else
6693             result=$wxUSE_NO_DEPS
6694           fi
6695
6696           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6697 $as_echo "$result" >&6; }
6698
6699
6700           enablestring=disable
6701           defaultval=
6702           if test -z "$defaultval"; then
6703               if test x"$enablestring" = xdisable; then
6704                   defaultval=yes
6705               else
6706                   defaultval=no
6707               fi
6708           fi
6709
6710           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6711 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6712           # Check whether --enable-vararg_macros was given.
6713 if test "${enable_vararg_macros+set}" = set; then :
6714   enableval=$enable_vararg_macros;
6715                           if test "$enableval" = yes; then
6716                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6717                           else
6718                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6719                           fi
6720
6721 else
6722
6723                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6724
6725 fi
6726
6727
6728           eval "$wx_cv_use_vararg_macros"
6729
6730           if test x"$enablestring" = xdisable; then
6731             if test $wxUSE_VARARG_MACROS = no; then
6732               result=yes
6733             else
6734               result=no
6735             fi
6736           else
6737             result=$wxUSE_VARARG_MACROS
6738           fi
6739
6740           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6741 $as_echo "$result" >&6; }
6742
6743
6744
6745           enablestring=
6746           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6747 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6748           # Check whether --enable-universal_binary was given.
6749 if test "${enable_universal_binary+set}" = set; then :
6750   enableval=$enable_universal_binary;
6751                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6752
6753 else
6754
6755                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6756
6757 fi
6758
6759
6760           eval "$wx_cv_use_universal_binary"
6761
6762           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6763 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6764
6765
6766           enablestring=
6767           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6768 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6769           # Check whether --enable-macosx_arch was given.
6770 if test "${enable_macosx_arch+set}" = set; then :
6771   enableval=$enable_macosx_arch;
6772                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6773
6774 else
6775
6776                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6777
6778 fi
6779
6780
6781           eval "$wx_cv_use_macosx_arch"
6782
6783           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6784 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6785
6786
6787
6788           enablestring=
6789           defaultval=
6790           if test -z "$defaultval"; then
6791               if test x"$enablestring" = xdisable; then
6792                   defaultval=yes
6793               else
6794                   defaultval=no
6795               fi
6796           fi
6797
6798           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6799 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6800           # Check whether --enable-compat26 was given.
6801 if test "${enable_compat26+set}" = set; then :
6802   enableval=$enable_compat26;
6803                           if test "$enableval" = yes; then
6804                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6805                           else
6806                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6807                           fi
6808
6809 else
6810
6811                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6812
6813 fi
6814
6815
6816           eval "$wx_cv_use_compat26"
6817
6818           if test x"$enablestring" = xdisable; then
6819             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6820               result=yes
6821             else
6822               result=no
6823             fi
6824           else
6825             result=$WXWIN_COMPATIBILITY_2_6
6826           fi
6827
6828           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6829 $as_echo "$result" >&6; }
6830
6831
6832           enablestring=disable
6833           defaultval=
6834           if test -z "$defaultval"; then
6835               if test x"$enablestring" = xdisable; then
6836                   defaultval=yes
6837               else
6838                   defaultval=no
6839               fi
6840           fi
6841
6842           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6843 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6844           # Check whether --enable-compat28 was given.
6845 if test "${enable_compat28+set}" = set; then :
6846   enableval=$enable_compat28;
6847                           if test "$enableval" = yes; then
6848                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6849                           else
6850                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6851                           fi
6852
6853 else
6854
6855                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6856
6857 fi
6858
6859
6860           eval "$wx_cv_use_compat28"
6861
6862           if test x"$enablestring" = xdisable; then
6863             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6864               result=yes
6865             else
6866               result=no
6867             fi
6868           else
6869             result=$WXWIN_COMPATIBILITY_2_8
6870           fi
6871
6872           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6873 $as_echo "$result" >&6; }
6874
6875
6876
6877           enablestring=disable
6878           defaultval=
6879           if test -z "$defaultval"; then
6880               if test x"$enablestring" = xdisable; then
6881                   defaultval=yes
6882               else
6883                   defaultval=no
6884               fi
6885           fi
6886
6887           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6888 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6889           # Check whether --enable-rpath was given.
6890 if test "${enable_rpath+set}" = set; then :
6891   enableval=$enable_rpath;
6892                           if test "$enableval" = yes; then
6893                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6894                           else
6895                             wx_cv_use_rpath='wxUSE_RPATH=no'
6896                           fi
6897
6898 else
6899
6900                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6901
6902 fi
6903
6904
6905           eval "$wx_cv_use_rpath"
6906
6907           if test x"$enablestring" = xdisable; then
6908             if test $wxUSE_RPATH = no; then
6909               result=yes
6910             else
6911               result=no
6912             fi
6913           else
6914             result=$wxUSE_RPATH
6915           fi
6916
6917           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6918 $as_echo "$result" >&6; }
6919
6920
6921
6922           enablestring=
6923           defaultval=
6924           if test -z "$defaultval"; then
6925               if test x"$enablestring" = xdisable; then
6926                   defaultval=yes
6927               else
6928                   defaultval=no
6929               fi
6930           fi
6931
6932           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6933 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6934           # Check whether --enable-objc_uniquifying was given.
6935 if test "${enable_objc_uniquifying+set}" = set; then :
6936   enableval=$enable_objc_uniquifying;
6937                           if test "$enableval" = yes; then
6938                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6939                           else
6940                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6941                           fi
6942
6943 else
6944
6945                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6946
6947 fi
6948
6949
6950           eval "$wx_cv_use_objc_uniquifying"
6951
6952           if test x"$enablestring" = xdisable; then
6953             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6954               result=yes
6955             else
6956               result=no
6957             fi
6958           else
6959             result=$wxUSE_OBJC_UNIQUIFYING
6960           fi
6961
6962           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6963 $as_echo "$result" >&6; }
6964
6965
6966
6967           enablestring=disable
6968           defaultval=
6969           if test -z "$defaultval"; then
6970               if test x"$enablestring" = xdisable; then
6971                   defaultval=yes
6972               else
6973                   defaultval=no
6974               fi
6975           fi
6976
6977           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6978 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6979           # Check whether --enable-visibility was given.
6980 if test "${enable_visibility+set}" = set; then :
6981   enableval=$enable_visibility;
6982                           if test "$enableval" = yes; then
6983                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6984                           else
6985                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6986                           fi
6987
6988 else
6989
6990                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6991
6992 fi
6993
6994
6995           eval "$wx_cv_use_visibility"
6996
6997           if test x"$enablestring" = xdisable; then
6998             if test $wxUSE_VISIBILITY = no; then
6999               result=yes
7000             else
7001               result=no
7002             fi
7003           else
7004             result=$wxUSE_VISIBILITY
7005           fi
7006
7007           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7008 $as_echo "$result" >&6; }
7009
7010
7011           enablestring=disable
7012           defaultval=
7013           if test -z "$defaultval"; then
7014               if test x"$enablestring" = xdisable; then
7015                   defaultval=yes
7016               else
7017                   defaultval=no
7018               fi
7019           fi
7020
7021           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
7022 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
7023           # Check whether --enable-tls was given.
7024 if test "${enable_tls+set}" = set; then :
7025   enableval=$enable_tls;
7026                           if test "$enableval" = yes; then
7027                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7028                           else
7029                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7030                           fi
7031
7032 else
7033
7034                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7035
7036 fi
7037
7038
7039           eval "$wx_cv_use_tls"
7040
7041           if test x"$enablestring" = xdisable; then
7042             if test $wxUSE_COMPILER_TLS = no; then
7043               result=yes
7044             else
7045               result=no
7046             fi
7047           else
7048             result=$wxUSE_COMPILER_TLS
7049           fi
7050
7051           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7052 $as_echo "$result" >&6; }
7053
7054
7055
7056
7057           enablestring=
7058           defaultval=$wxUSE_ALL_FEATURES
7059           if test -z "$defaultval"; then
7060               if test x"$enablestring" = xdisable; then
7061                   defaultval=yes
7062               else
7063                   defaultval=no
7064               fi
7065           fi
7066
7067           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7068 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7069           # Check whether --enable-intl was given.
7070 if test "${enable_intl+set}" = set; then :
7071   enableval=$enable_intl;
7072                           if test "$enableval" = yes; then
7073                             wx_cv_use_intl='wxUSE_INTL=yes'
7074                           else
7075                             wx_cv_use_intl='wxUSE_INTL=no'
7076                           fi
7077
7078 else
7079
7080                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7081
7082 fi
7083
7084
7085           eval "$wx_cv_use_intl"
7086
7087           if test x"$enablestring" = xdisable; then
7088             if test $wxUSE_INTL = no; then
7089               result=yes
7090             else
7091               result=no
7092             fi
7093           else
7094             result=$wxUSE_INTL
7095           fi
7096
7097           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7098 $as_echo "$result" >&6; }
7099
7100
7101           enablestring=
7102           defaultval=$wxUSE_ALL_FEATURES
7103           if test -z "$defaultval"; then
7104               if test x"$enablestring" = xdisable; then
7105                   defaultval=yes
7106               else
7107                   defaultval=no
7108               fi
7109           fi
7110
7111           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7112 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7113           # Check whether --enable-xlocale was given.
7114 if test "${enable_xlocale+set}" = set; then :
7115   enableval=$enable_xlocale;
7116                           if test "$enableval" = yes; then
7117                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7118                           else
7119                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7120                           fi
7121
7122 else
7123
7124                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7125
7126 fi
7127
7128
7129           eval "$wx_cv_use_xlocale"
7130
7131           if test x"$enablestring" = xdisable; then
7132             if test $wxUSE_XLOCALE = no; then
7133               result=yes
7134             else
7135               result=no
7136             fi
7137           else
7138             result=$wxUSE_XLOCALE
7139           fi
7140
7141           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7142 $as_echo "$result" >&6; }
7143
7144
7145           enablestring=
7146           defaultval=$wxUSE_ALL_FEATURES
7147           if test -z "$defaultval"; then
7148               if test x"$enablestring" = xdisable; then
7149                   defaultval=yes
7150               else
7151                   defaultval=no
7152               fi
7153           fi
7154
7155           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7156 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7157           # Check whether --enable-config was given.
7158 if test "${enable_config+set}" = set; then :
7159   enableval=$enable_config;
7160                           if test "$enableval" = yes; then
7161                             wx_cv_use_config='wxUSE_CONFIG=yes'
7162                           else
7163                             wx_cv_use_config='wxUSE_CONFIG=no'
7164                           fi
7165
7166 else
7167
7168                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7169
7170 fi
7171
7172
7173           eval "$wx_cv_use_config"
7174
7175           if test x"$enablestring" = xdisable; then
7176             if test $wxUSE_CONFIG = no; then
7177               result=yes
7178             else
7179               result=no
7180             fi
7181           else
7182             result=$wxUSE_CONFIG
7183           fi
7184
7185           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7186 $as_echo "$result" >&6; }
7187
7188
7189
7190           enablestring=
7191           defaultval=$wxUSE_ALL_FEATURES
7192           if test -z "$defaultval"; then
7193               if test x"$enablestring" = xdisable; then
7194                   defaultval=yes
7195               else
7196                   defaultval=no
7197               fi
7198           fi
7199
7200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7201 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7202           # Check whether --enable-protocols was given.
7203 if test "${enable_protocols+set}" = set; then :
7204   enableval=$enable_protocols;
7205                           if test "$enableval" = yes; then
7206                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7207                           else
7208                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7209                           fi
7210
7211 else
7212
7213                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7214
7215 fi
7216
7217
7218           eval "$wx_cv_use_protocols"
7219
7220           if test x"$enablestring" = xdisable; then
7221             if test $wxUSE_PROTOCOL = no; then
7222               result=yes
7223             else
7224               result=no
7225             fi
7226           else
7227             result=$wxUSE_PROTOCOL
7228           fi
7229
7230           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7231 $as_echo "$result" >&6; }
7232
7233
7234           enablestring=
7235           defaultval=$wxUSE_ALL_FEATURES
7236           if test -z "$defaultval"; then
7237               if test x"$enablestring" = xdisable; then
7238                   defaultval=yes
7239               else
7240                   defaultval=no
7241               fi
7242           fi
7243
7244           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7245 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7246           # Check whether --enable-ftp was given.
7247 if test "${enable_ftp+set}" = set; then :
7248   enableval=$enable_ftp;
7249                           if test "$enableval" = yes; then
7250                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7251                           else
7252                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7253                           fi
7254
7255 else
7256
7257                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7258
7259 fi
7260
7261
7262           eval "$wx_cv_use_ftp"
7263
7264           if test x"$enablestring" = xdisable; then
7265             if test $wxUSE_PROTOCOL_FTP = no; then
7266               result=yes
7267             else
7268               result=no
7269             fi
7270           else
7271             result=$wxUSE_PROTOCOL_FTP
7272           fi
7273
7274           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7275 $as_echo "$result" >&6; }
7276
7277
7278           enablestring=
7279           defaultval=$wxUSE_ALL_FEATURES
7280           if test -z "$defaultval"; then
7281               if test x"$enablestring" = xdisable; then
7282                   defaultval=yes
7283               else
7284                   defaultval=no
7285               fi
7286           fi
7287
7288           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7289 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7290           # Check whether --enable-http was given.
7291 if test "${enable_http+set}" = set; then :
7292   enableval=$enable_http;
7293                           if test "$enableval" = yes; then
7294                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7295                           else
7296                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7297                           fi
7298
7299 else
7300
7301                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7302
7303 fi
7304
7305
7306           eval "$wx_cv_use_http"
7307
7308           if test x"$enablestring" = xdisable; then
7309             if test $wxUSE_PROTOCOL_HTTP = no; then
7310               result=yes
7311             else
7312               result=no
7313             fi
7314           else
7315             result=$wxUSE_PROTOCOL_HTTP
7316           fi
7317
7318           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7319 $as_echo "$result" >&6; }
7320
7321
7322           enablestring=
7323           defaultval=$wxUSE_ALL_FEATURES
7324           if test -z "$defaultval"; then
7325               if test x"$enablestring" = xdisable; then
7326                   defaultval=yes
7327               else
7328                   defaultval=no
7329               fi
7330           fi
7331
7332           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7333 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7334           # Check whether --enable-fileproto was given.
7335 if test "${enable_fileproto+set}" = set; then :
7336   enableval=$enable_fileproto;
7337                           if test "$enableval" = yes; then
7338                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7339                           else
7340                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7341                           fi
7342
7343 else
7344
7345                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7346
7347 fi
7348
7349
7350           eval "$wx_cv_use_fileproto"
7351
7352           if test x"$enablestring" = xdisable; then
7353             if test $wxUSE_PROTOCOL_FILE = no; then
7354               result=yes
7355             else
7356               result=no
7357             fi
7358           else
7359             result=$wxUSE_PROTOCOL_FILE
7360           fi
7361
7362           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7363 $as_echo "$result" >&6; }
7364
7365
7366           enablestring=
7367           defaultval=$wxUSE_ALL_FEATURES
7368           if test -z "$defaultval"; then
7369               if test x"$enablestring" = xdisable; then
7370                   defaultval=yes
7371               else
7372                   defaultval=no
7373               fi
7374           fi
7375
7376           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7377 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7378           # Check whether --enable-sockets was given.
7379 if test "${enable_sockets+set}" = set; then :
7380   enableval=$enable_sockets;
7381                           if test "$enableval" = yes; then
7382                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7383                           else
7384                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7385                           fi
7386
7387 else
7388
7389                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7390
7391 fi
7392
7393
7394           eval "$wx_cv_use_sockets"
7395
7396           if test x"$enablestring" = xdisable; then
7397             if test $wxUSE_SOCKETS = no; then
7398               result=yes
7399             else
7400               result=no
7401             fi
7402           else
7403             result=$wxUSE_SOCKETS
7404           fi
7405
7406           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7407 $as_echo "$result" >&6; }
7408
7409
7410           enablestring=
7411           defaultval=$wxUSE_ALL_FEATURES
7412           if test -z "$defaultval"; then
7413               if test x"$enablestring" = xdisable; then
7414                   defaultval=yes
7415               else
7416                   defaultval=no
7417               fi
7418           fi
7419
7420           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7421 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7422           # Check whether --enable-ipv6 was given.
7423 if test "${enable_ipv6+set}" = set; then :
7424   enableval=$enable_ipv6;
7425                           if test "$enableval" = yes; then
7426                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7427                           else
7428                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7429                           fi
7430
7431 else
7432
7433                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7434
7435 fi
7436
7437
7438           eval "$wx_cv_use_ipv6"
7439
7440           if test x"$enablestring" = xdisable; then
7441             if test $wxUSE_IPV6 = no; then
7442               result=yes
7443             else
7444               result=no
7445             fi
7446           else
7447             result=$wxUSE_IPV6
7448           fi
7449
7450           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7451 $as_echo "$result" >&6; }
7452
7453
7454           enablestring=
7455           defaultval=$wxUSE_ALL_FEATURES
7456           if test -z "$defaultval"; then
7457               if test x"$enablestring" = xdisable; then
7458                   defaultval=yes
7459               else
7460                   defaultval=no
7461               fi
7462           fi
7463
7464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7465 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7466           # Check whether --enable-ole was given.
7467 if test "${enable_ole+set}" = set; then :
7468   enableval=$enable_ole;
7469                           if test "$enableval" = yes; then
7470                             wx_cv_use_ole='wxUSE_OLE=yes'
7471                           else
7472                             wx_cv_use_ole='wxUSE_OLE=no'
7473                           fi
7474
7475 else
7476
7477                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7478
7479 fi
7480
7481
7482           eval "$wx_cv_use_ole"
7483
7484           if test x"$enablestring" = xdisable; then
7485             if test $wxUSE_OLE = no; then
7486               result=yes
7487             else
7488               result=no
7489             fi
7490           else
7491             result=$wxUSE_OLE
7492           fi
7493
7494           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7495 $as_echo "$result" >&6; }
7496
7497
7498           enablestring=
7499           defaultval=$wxUSE_ALL_FEATURES
7500           if test -z "$defaultval"; then
7501               if test x"$enablestring" = xdisable; then
7502                   defaultval=yes
7503               else
7504                   defaultval=no
7505               fi
7506           fi
7507
7508           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7509 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7510           # Check whether --enable-dataobj was given.
7511 if test "${enable_dataobj+set}" = set; then :
7512   enableval=$enable_dataobj;
7513                           if test "$enableval" = yes; then
7514                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7515                           else
7516                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7517                           fi
7518
7519 else
7520
7521                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7522
7523 fi
7524
7525
7526           eval "$wx_cv_use_dataobj"
7527
7528           if test x"$enablestring" = xdisable; then
7529             if test $wxUSE_DATAOBJ = no; then
7530               result=yes
7531             else
7532               result=no
7533             fi
7534           else
7535             result=$wxUSE_DATAOBJ
7536           fi
7537
7538           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7539 $as_echo "$result" >&6; }
7540
7541
7542
7543           enablestring=
7544           defaultval=$wxUSE_ALL_FEATURES
7545           if test -z "$defaultval"; then
7546               if test x"$enablestring" = xdisable; then
7547                   defaultval=yes
7548               else
7549                   defaultval=no
7550               fi
7551           fi
7552
7553           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7554 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7555           # Check whether --enable-ipc was given.
7556 if test "${enable_ipc+set}" = set; then :
7557   enableval=$enable_ipc;
7558                           if test "$enableval" = yes; then
7559                             wx_cv_use_ipc='wxUSE_IPC=yes'
7560                           else
7561                             wx_cv_use_ipc='wxUSE_IPC=no'
7562                           fi
7563
7564 else
7565
7566                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7567
7568 fi
7569
7570
7571           eval "$wx_cv_use_ipc"
7572
7573           if test x"$enablestring" = xdisable; then
7574             if test $wxUSE_IPC = no; then
7575               result=yes
7576             else
7577               result=no
7578             fi
7579           else
7580             result=$wxUSE_IPC
7581           fi
7582
7583           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7584 $as_echo "$result" >&6; }
7585
7586
7587
7588           enablestring=
7589           defaultval=$wxUSE_ALL_FEATURES
7590           if test -z "$defaultval"; then
7591               if test x"$enablestring" = xdisable; then
7592                   defaultval=yes
7593               else
7594                   defaultval=no
7595               fi
7596           fi
7597
7598           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7599 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7600           # Check whether --enable-baseevtloop was given.
7601 if test "${enable_baseevtloop+set}" = set; then :
7602   enableval=$enable_baseevtloop;
7603                           if test "$enableval" = yes; then
7604                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7605                           else
7606                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7607                           fi
7608
7609 else
7610
7611                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7612
7613 fi
7614
7615
7616           eval "$wx_cv_use_baseevtloop"
7617
7618           if test x"$enablestring" = xdisable; then
7619             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7620               result=yes
7621             else
7622               result=no
7623             fi
7624           else
7625             result=$wxUSE_CONSOLE_EVENTLOOP
7626           fi
7627
7628           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7629 $as_echo "$result" >&6; }
7630
7631
7632           enablestring=
7633           defaultval=$wxUSE_ALL_FEATURES
7634           if test -z "$defaultval"; then
7635               if test x"$enablestring" = xdisable; then
7636                   defaultval=yes
7637               else
7638                   defaultval=no
7639               fi
7640           fi
7641
7642           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7643 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7644           # Check whether --enable-epollloop was given.
7645 if test "${enable_epollloop+set}" = set; then :
7646   enableval=$enable_epollloop;
7647                           if test "$enableval" = yes; then
7648                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7649                           else
7650                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7651                           fi
7652
7653 else
7654
7655                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7656
7657 fi
7658
7659
7660           eval "$wx_cv_use_epollloop"
7661
7662           if test x"$enablestring" = xdisable; then
7663             if test $wxUSE_EPOLL_DISPATCHER = no; then
7664               result=yes
7665             else
7666               result=no
7667             fi
7668           else
7669             result=$wxUSE_EPOLL_DISPATCHER
7670           fi
7671
7672           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7673 $as_echo "$result" >&6; }
7674
7675
7676           enablestring=
7677           defaultval=$wxUSE_ALL_FEATURES
7678           if test -z "$defaultval"; then
7679               if test x"$enablestring" = xdisable; then
7680                   defaultval=yes
7681               else
7682                   defaultval=no
7683               fi
7684           fi
7685
7686           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7687 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7688           # Check whether --enable-selectloop was given.
7689 if test "${enable_selectloop+set}" = set; then :
7690   enableval=$enable_selectloop;
7691                           if test "$enableval" = yes; then
7692                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7693                           else
7694                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7695                           fi
7696
7697 else
7698
7699                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7700
7701 fi
7702
7703
7704           eval "$wx_cv_use_selectloop"
7705
7706           if test x"$enablestring" = xdisable; then
7707             if test $wxUSE_SELECT_DISPATCHER = no; then
7708               result=yes
7709             else
7710               result=no
7711             fi
7712           else
7713             result=$wxUSE_SELECT_DISPATCHER
7714           fi
7715
7716           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7717 $as_echo "$result" >&6; }
7718
7719
7720
7721           enablestring=
7722           defaultval=$wxUSE_ALL_FEATURES
7723           if test -z "$defaultval"; then
7724               if test x"$enablestring" = xdisable; then
7725                   defaultval=yes
7726               else
7727                   defaultval=no
7728               fi
7729           fi
7730
7731           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7732 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7733           # Check whether --enable-any was given.
7734 if test "${enable_any+set}" = set; then :
7735   enableval=$enable_any;
7736                           if test "$enableval" = yes; then
7737                             wx_cv_use_any='wxUSE_ANY=yes'
7738                           else
7739                             wx_cv_use_any='wxUSE_ANY=no'
7740                           fi
7741
7742 else
7743
7744                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7745
7746 fi
7747
7748
7749           eval "$wx_cv_use_any"
7750
7751           if test x"$enablestring" = xdisable; then
7752             if test $wxUSE_ANY = no; then
7753               result=yes
7754             else
7755               result=no
7756             fi
7757           else
7758             result=$wxUSE_ANY
7759           fi
7760
7761           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7762 $as_echo "$result" >&6; }
7763
7764
7765           enablestring=
7766           defaultval=$wxUSE_ALL_FEATURES
7767           if test -z "$defaultval"; then
7768               if test x"$enablestring" = xdisable; then
7769                   defaultval=yes
7770               else
7771                   defaultval=no
7772               fi
7773           fi
7774
7775           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7776 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7777           # Check whether --enable-apple_ieee was given.
7778 if test "${enable_apple_ieee+set}" = set; then :
7779   enableval=$enable_apple_ieee;
7780                           if test "$enableval" = yes; then
7781                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7782                           else
7783                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7784                           fi
7785
7786 else
7787
7788                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7789
7790 fi
7791
7792
7793           eval "$wx_cv_use_apple_ieee"
7794
7795           if test x"$enablestring" = xdisable; then
7796             if test $wxUSE_APPLE_IEEE = no; then
7797               result=yes
7798             else
7799               result=no
7800             fi
7801           else
7802             result=$wxUSE_APPLE_IEEE
7803           fi
7804
7805           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7806 $as_echo "$result" >&6; }
7807
7808
7809           enablestring=
7810           defaultval=$wxUSE_ALL_FEATURES
7811           if test -z "$defaultval"; then
7812               if test x"$enablestring" = xdisable; then
7813                   defaultval=yes
7814               else
7815                   defaultval=no
7816               fi
7817           fi
7818
7819           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7820 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7821           # Check whether --enable-arcstream was given.
7822 if test "${enable_arcstream+set}" = set; then :
7823   enableval=$enable_arcstream;
7824                           if test "$enableval" = yes; then
7825                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7826                           else
7827                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7828                           fi
7829
7830 else
7831
7832                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7833
7834 fi
7835
7836
7837           eval "$wx_cv_use_arcstream"
7838
7839           if test x"$enablestring" = xdisable; then
7840             if test $wxUSE_ARCHIVE_STREAMS = no; then
7841               result=yes
7842             else
7843               result=no
7844             fi
7845           else
7846             result=$wxUSE_ARCHIVE_STREAMS
7847           fi
7848
7849           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7850 $as_echo "$result" >&6; }
7851
7852
7853           enablestring=
7854           defaultval=$wxUSE_ALL_FEATURES
7855           if test -z "$defaultval"; then
7856               if test x"$enablestring" = xdisable; then
7857                   defaultval=yes
7858               else
7859                   defaultval=no
7860               fi
7861           fi
7862
7863           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7864 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7865           # Check whether --enable-base64 was given.
7866 if test "${enable_base64+set}" = set; then :
7867   enableval=$enable_base64;
7868                           if test "$enableval" = yes; then
7869                             wx_cv_use_base64='wxUSE_BASE64=yes'
7870                           else
7871                             wx_cv_use_base64='wxUSE_BASE64=no'
7872                           fi
7873
7874 else
7875
7876                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7877
7878 fi
7879
7880
7881           eval "$wx_cv_use_base64"
7882
7883           if test x"$enablestring" = xdisable; then
7884             if test $wxUSE_BASE64 = no; then
7885               result=yes
7886             else
7887               result=no
7888             fi
7889           else
7890             result=$wxUSE_BASE64
7891           fi
7892
7893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7894 $as_echo "$result" >&6; }
7895
7896
7897           enablestring=
7898           defaultval=$wxUSE_ALL_FEATURES
7899           if test -z "$defaultval"; then
7900               if test x"$enablestring" = xdisable; then
7901                   defaultval=yes
7902               else
7903                   defaultval=no
7904               fi
7905           fi
7906
7907           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7908 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7909           # Check whether --enable-backtrace was given.
7910 if test "${enable_backtrace+set}" = set; then :
7911   enableval=$enable_backtrace;
7912                           if test "$enableval" = yes; then
7913                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7914                           else
7915                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7916                           fi
7917
7918 else
7919
7920                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7921
7922 fi
7923
7924
7925           eval "$wx_cv_use_backtrace"
7926
7927           if test x"$enablestring" = xdisable; then
7928             if test $wxUSE_STACKWALKER = no; then
7929               result=yes
7930             else
7931               result=no
7932             fi
7933           else
7934             result=$wxUSE_STACKWALKER
7935           fi
7936
7937           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7938 $as_echo "$result" >&6; }
7939
7940
7941           enablestring=
7942           defaultval=$wxUSE_ALL_FEATURES
7943           if test -z "$defaultval"; then
7944               if test x"$enablestring" = xdisable; then
7945                   defaultval=yes
7946               else
7947                   defaultval=no
7948               fi
7949           fi
7950
7951           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7952 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7953           # Check whether --enable-catch_segvs was given.
7954 if test "${enable_catch_segvs+set}" = set; then :
7955   enableval=$enable_catch_segvs;
7956                           if test "$enableval" = yes; then
7957                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7958                           else
7959                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7960                           fi
7961
7962 else
7963
7964                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7965
7966 fi
7967
7968
7969           eval "$wx_cv_use_catch_segvs"
7970
7971           if test x"$enablestring" = xdisable; then
7972             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7973               result=yes
7974             else
7975               result=no
7976             fi
7977           else
7978             result=$wxUSE_ON_FATAL_EXCEPTION
7979           fi
7980
7981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7982 $as_echo "$result" >&6; }
7983
7984
7985           enablestring=
7986           defaultval=$wxUSE_ALL_FEATURES
7987           if test -z "$defaultval"; then
7988               if test x"$enablestring" = xdisable; then
7989                   defaultval=yes
7990               else
7991                   defaultval=no
7992               fi
7993           fi
7994
7995           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7996 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7997           # Check whether --enable-cmdline was given.
7998 if test "${enable_cmdline+set}" = set; then :
7999   enableval=$enable_cmdline;
8000                           if test "$enableval" = yes; then
8001                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
8002                           else
8003                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
8004                           fi
8005
8006 else
8007
8008                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8009
8010 fi
8011
8012
8013           eval "$wx_cv_use_cmdline"
8014
8015           if test x"$enablestring" = xdisable; then
8016             if test $wxUSE_CMDLINE_PARSER = no; then
8017               result=yes
8018             else
8019               result=no
8020             fi
8021           else
8022             result=$wxUSE_CMDLINE_PARSER
8023           fi
8024
8025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8026 $as_echo "$result" >&6; }
8027
8028
8029           enablestring=
8030           defaultval=$wxUSE_ALL_FEATURES
8031           if test -z "$defaultval"; then
8032               if test x"$enablestring" = xdisable; then
8033                   defaultval=yes
8034               else
8035                   defaultval=no
8036               fi
8037           fi
8038
8039           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8040 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8041           # Check whether --enable-datetime was given.
8042 if test "${enable_datetime+set}" = set; then :
8043   enableval=$enable_datetime;
8044                           if test "$enableval" = yes; then
8045                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
8046                           else
8047                             wx_cv_use_datetime='wxUSE_DATETIME=no'
8048                           fi
8049
8050 else
8051
8052                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8053
8054 fi
8055
8056
8057           eval "$wx_cv_use_datetime"
8058
8059           if test x"$enablestring" = xdisable; then
8060             if test $wxUSE_DATETIME = no; then
8061               result=yes
8062             else
8063               result=no
8064             fi
8065           else
8066             result=$wxUSE_DATETIME
8067           fi
8068
8069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8070 $as_echo "$result" >&6; }
8071
8072
8073           enablestring=
8074           defaultval=$wxUSE_ALL_FEATURES
8075           if test -z "$defaultval"; then
8076               if test x"$enablestring" = xdisable; then
8077                   defaultval=yes
8078               else
8079                   defaultval=no
8080               fi
8081           fi
8082
8083           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8084 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8085           # Check whether --enable-debugreport was given.
8086 if test "${enable_debugreport+set}" = set; then :
8087   enableval=$enable_debugreport;
8088                           if test "$enableval" = yes; then
8089                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8090                           else
8091                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8092                           fi
8093
8094 else
8095
8096                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8097
8098 fi
8099
8100
8101           eval "$wx_cv_use_debugreport"
8102
8103           if test x"$enablestring" = xdisable; then
8104             if test $wxUSE_DEBUGREPORT = no; then
8105               result=yes
8106             else
8107               result=no
8108             fi
8109           else
8110             result=$wxUSE_DEBUGREPORT
8111           fi
8112
8113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8114 $as_echo "$result" >&6; }
8115
8116
8117           enablestring=
8118           defaultval=$wxUSE_ALL_FEATURES
8119           if test -z "$defaultval"; then
8120               if test x"$enablestring" = xdisable; then
8121                   defaultval=yes
8122               else
8123                   defaultval=no
8124               fi
8125           fi
8126
8127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8128 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8129           # Check whether --enable-dialupman was given.
8130 if test "${enable_dialupman+set}" = set; then :
8131   enableval=$enable_dialupman;
8132                           if test "$enableval" = yes; then
8133                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8134                           else
8135                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8136                           fi
8137
8138 else
8139
8140                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8141
8142 fi
8143
8144
8145           eval "$wx_cv_use_dialupman"
8146
8147           if test x"$enablestring" = xdisable; then
8148             if test $wxUSE_DIALUP_MANAGER = no; then
8149               result=yes
8150             else
8151               result=no
8152             fi
8153           else
8154             result=$wxUSE_DIALUP_MANAGER
8155           fi
8156
8157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8158 $as_echo "$result" >&6; }
8159
8160
8161           enablestring=
8162           defaultval=$wxUSE_ALL_FEATURES
8163           if test -z "$defaultval"; then
8164               if test x"$enablestring" = xdisable; then
8165                   defaultval=yes
8166               else
8167                   defaultval=no
8168               fi
8169           fi
8170
8171           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8172 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8173           # Check whether --enable-dynlib was given.
8174 if test "${enable_dynlib+set}" = set; then :
8175   enableval=$enable_dynlib;
8176                           if test "$enableval" = yes; then
8177                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8178                           else
8179                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8180                           fi
8181
8182 else
8183
8184                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8185
8186 fi
8187
8188
8189           eval "$wx_cv_use_dynlib"
8190
8191           if test x"$enablestring" = xdisable; then
8192             if test $wxUSE_DYNLIB_CLASS = no; then
8193               result=yes
8194             else
8195               result=no
8196             fi
8197           else
8198             result=$wxUSE_DYNLIB_CLASS
8199           fi
8200
8201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8202 $as_echo "$result" >&6; }
8203
8204
8205           enablestring=
8206           defaultval=$wxUSE_ALL_FEATURES
8207           if test -z "$defaultval"; then
8208               if test x"$enablestring" = xdisable; then
8209                   defaultval=yes
8210               else
8211                   defaultval=no
8212               fi
8213           fi
8214
8215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8216 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8217           # Check whether --enable-dynamicloader was given.
8218 if test "${enable_dynamicloader+set}" = set; then :
8219   enableval=$enable_dynamicloader;
8220                           if test "$enableval" = yes; then
8221                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8222                           else
8223                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8224                           fi
8225
8226 else
8227
8228                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8229
8230 fi
8231
8232
8233           eval "$wx_cv_use_dynamicloader"
8234
8235           if test x"$enablestring" = xdisable; then
8236             if test $wxUSE_DYNAMIC_LOADER = no; then
8237               result=yes
8238             else
8239               result=no
8240             fi
8241           else
8242             result=$wxUSE_DYNAMIC_LOADER
8243           fi
8244
8245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8246 $as_echo "$result" >&6; }
8247
8248
8249           enablestring=
8250           defaultval=$wxUSE_ALL_FEATURES
8251           if test -z "$defaultval"; then
8252               if test x"$enablestring" = xdisable; then
8253                   defaultval=yes
8254               else
8255                   defaultval=no
8256               fi
8257           fi
8258
8259           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8260 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8261           # Check whether --enable-exceptions was given.
8262 if test "${enable_exceptions+set}" = set; then :
8263   enableval=$enable_exceptions;
8264                           if test "$enableval" = yes; then
8265                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8266                           else
8267                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8268                           fi
8269
8270 else
8271
8272                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8273
8274 fi
8275
8276
8277           eval "$wx_cv_use_exceptions"
8278
8279           if test x"$enablestring" = xdisable; then
8280             if test $wxUSE_EXCEPTIONS = no; then
8281               result=yes
8282             else
8283               result=no
8284             fi
8285           else
8286             result=$wxUSE_EXCEPTIONS
8287           fi
8288
8289           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8290 $as_echo "$result" >&6; }
8291
8292
8293           enablestring=
8294           defaultval=$wxUSE_ALL_FEATURES
8295           if test -z "$defaultval"; then
8296               if test x"$enablestring" = xdisable; then
8297                   defaultval=yes
8298               else
8299                   defaultval=no
8300               fi
8301           fi
8302
8303           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8304 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8305           # Check whether --enable-ffile was given.
8306 if test "${enable_ffile+set}" = set; then :
8307   enableval=$enable_ffile;
8308                           if test "$enableval" = yes; then
8309                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8310                           else
8311                             wx_cv_use_ffile='wxUSE_FFILE=no'
8312                           fi
8313
8314 else
8315
8316                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8317
8318 fi
8319
8320
8321           eval "$wx_cv_use_ffile"
8322
8323           if test x"$enablestring" = xdisable; then
8324             if test $wxUSE_FFILE = no; then
8325               result=yes
8326             else
8327               result=no
8328             fi
8329           else
8330             result=$wxUSE_FFILE
8331           fi
8332
8333           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8334 $as_echo "$result" >&6; }
8335
8336
8337           enablestring=
8338           defaultval=$wxUSE_ALL_FEATURES
8339           if test -z "$defaultval"; then
8340               if test x"$enablestring" = xdisable; then
8341                   defaultval=yes
8342               else
8343                   defaultval=no
8344               fi
8345           fi
8346
8347           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8348 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8349           # Check whether --enable-file was given.
8350 if test "${enable_file+set}" = set; then :
8351   enableval=$enable_file;
8352                           if test "$enableval" = yes; then
8353                             wx_cv_use_file='wxUSE_FILE=yes'
8354                           else
8355                             wx_cv_use_file='wxUSE_FILE=no'
8356                           fi
8357
8358 else
8359
8360                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8361
8362 fi
8363
8364
8365           eval "$wx_cv_use_file"
8366
8367           if test x"$enablestring" = xdisable; then
8368             if test $wxUSE_FILE = no; then
8369               result=yes
8370             else
8371               result=no
8372             fi
8373           else
8374             result=$wxUSE_FILE
8375           fi
8376
8377           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8378 $as_echo "$result" >&6; }
8379
8380
8381           enablestring=
8382           defaultval=$wxUSE_ALL_FEATURES
8383           if test -z "$defaultval"; then
8384               if test x"$enablestring" = xdisable; then
8385                   defaultval=yes
8386               else
8387                   defaultval=no
8388               fi
8389           fi
8390
8391           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8392 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8393           # Check whether --enable-filehistory was given.
8394 if test "${enable_filehistory+set}" = set; then :
8395   enableval=$enable_filehistory;
8396                           if test "$enableval" = yes; then
8397                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8398                           else
8399                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8400                           fi
8401
8402 else
8403
8404                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8405
8406 fi
8407
8408
8409           eval "$wx_cv_use_filehistory"
8410
8411           if test x"$enablestring" = xdisable; then
8412             if test $wxUSE_FILE_HISTORY = no; then
8413               result=yes
8414             else
8415               result=no
8416             fi
8417           else
8418             result=$wxUSE_FILE_HISTORY
8419           fi
8420
8421           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8422 $as_echo "$result" >&6; }
8423
8424
8425           enablestring=
8426           defaultval=$wxUSE_ALL_FEATURES
8427           if test -z "$defaultval"; then
8428               if test x"$enablestring" = xdisable; then
8429                   defaultval=yes
8430               else
8431                   defaultval=no
8432               fi
8433           fi
8434
8435           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8436 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8437           # Check whether --enable-filesystem was given.
8438 if test "${enable_filesystem+set}" = set; then :
8439   enableval=$enable_filesystem;
8440                           if test "$enableval" = yes; then
8441                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8442                           else
8443                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8444                           fi
8445
8446 else
8447
8448                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8449
8450 fi
8451
8452
8453           eval "$wx_cv_use_filesystem"
8454
8455           if test x"$enablestring" = xdisable; then
8456             if test $wxUSE_FILESYSTEM = no; then
8457               result=yes
8458             else
8459               result=no
8460             fi
8461           else
8462             result=$wxUSE_FILESYSTEM
8463           fi
8464
8465           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8466 $as_echo "$result" >&6; }
8467
8468
8469           enablestring=
8470           defaultval=$wxUSE_ALL_FEATURES
8471           if test -z "$defaultval"; then
8472               if test x"$enablestring" = xdisable; then
8473                   defaultval=yes
8474               else
8475                   defaultval=no
8476               fi
8477           fi
8478
8479           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8480 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8481           # Check whether --enable-fontenum was given.
8482 if test "${enable_fontenum+set}" = set; then :
8483   enableval=$enable_fontenum;
8484                           if test "$enableval" = yes; then
8485                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8486                           else
8487                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8488                           fi
8489
8490 else
8491
8492                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8493
8494 fi
8495
8496
8497           eval "$wx_cv_use_fontenum"
8498
8499           if test x"$enablestring" = xdisable; then
8500             if test $wxUSE_FONTENUM = no; then
8501               result=yes
8502             else
8503               result=no
8504             fi
8505           else
8506             result=$wxUSE_FONTENUM
8507           fi
8508
8509           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8510 $as_echo "$result" >&6; }
8511
8512
8513           enablestring=
8514           defaultval=$wxUSE_ALL_FEATURES
8515           if test -z "$defaultval"; then
8516               if test x"$enablestring" = xdisable; then
8517                   defaultval=yes
8518               else
8519                   defaultval=no
8520               fi
8521           fi
8522
8523           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8524 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8525           # Check whether --enable-fontmap was given.
8526 if test "${enable_fontmap+set}" = set; then :
8527   enableval=$enable_fontmap;
8528                           if test "$enableval" = yes; then
8529                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8530                           else
8531                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8532                           fi
8533
8534 else
8535
8536                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8537
8538 fi
8539
8540
8541           eval "$wx_cv_use_fontmap"
8542
8543           if test x"$enablestring" = xdisable; then
8544             if test $wxUSE_FONTMAP = no; then
8545               result=yes
8546             else
8547               result=no
8548             fi
8549           else
8550             result=$wxUSE_FONTMAP
8551           fi
8552
8553           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8554 $as_echo "$result" >&6; }
8555
8556
8557           enablestring=
8558           defaultval=$wxUSE_ALL_FEATURES
8559           if test -z "$defaultval"; then
8560               if test x"$enablestring" = xdisable; then
8561                   defaultval=yes
8562               else
8563                   defaultval=no
8564               fi
8565           fi
8566
8567           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8568 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8569           # Check whether --enable-fs_archive was given.
8570 if test "${enable_fs_archive+set}" = set; then :
8571   enableval=$enable_fs_archive;
8572                           if test "$enableval" = yes; then
8573                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8574                           else
8575                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8576                           fi
8577
8578 else
8579
8580                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8581
8582 fi
8583
8584
8585           eval "$wx_cv_use_fs_archive"
8586
8587           if test x"$enablestring" = xdisable; then
8588             if test $wxUSE_FS_ARCHIVE = no; then
8589               result=yes
8590             else
8591               result=no
8592             fi
8593           else
8594             result=$wxUSE_FS_ARCHIVE
8595           fi
8596
8597           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8598 $as_echo "$result" >&6; }
8599
8600
8601           enablestring=
8602           defaultval=$wxUSE_ALL_FEATURES
8603           if test -z "$defaultval"; then
8604               if test x"$enablestring" = xdisable; then
8605                   defaultval=yes
8606               else
8607                   defaultval=no
8608               fi
8609           fi
8610
8611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8612 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8613           # Check whether --enable-fs_inet was given.
8614 if test "${enable_fs_inet+set}" = set; then :
8615   enableval=$enable_fs_inet;
8616                           if test "$enableval" = yes; then
8617                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8618                           else
8619                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8620                           fi
8621
8622 else
8623
8624                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8625
8626 fi
8627
8628
8629           eval "$wx_cv_use_fs_inet"
8630
8631           if test x"$enablestring" = xdisable; then
8632             if test $wxUSE_FS_INET = no; then
8633               result=yes
8634             else
8635               result=no
8636             fi
8637           else
8638             result=$wxUSE_FS_INET
8639           fi
8640
8641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8642 $as_echo "$result" >&6; }
8643
8644
8645           enablestring=
8646           defaultval=$wxUSE_ALL_FEATURES
8647           if test -z "$defaultval"; then
8648               if test x"$enablestring" = xdisable; then
8649                   defaultval=yes
8650               else
8651                   defaultval=no
8652               fi
8653           fi
8654
8655           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8656 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8657           # Check whether --enable-fs_zip was given.
8658 if test "${enable_fs_zip+set}" = set; then :
8659   enableval=$enable_fs_zip;
8660                           if test "$enableval" = yes; then
8661                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8662                           else
8663                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8664                           fi
8665
8666 else
8667
8668                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8669
8670 fi
8671
8672
8673           eval "$wx_cv_use_fs_zip"
8674
8675           if test x"$enablestring" = xdisable; then
8676             if test $wxUSE_FS_ZIP = no; then
8677               result=yes
8678             else
8679               result=no
8680             fi
8681           else
8682             result=$wxUSE_FS_ZIP
8683           fi
8684
8685           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8686 $as_echo "$result" >&6; }
8687
8688
8689           enablestring=
8690           defaultval=$wxUSE_ALL_FEATURES
8691           if test -z "$defaultval"; then
8692               if test x"$enablestring" = xdisable; then
8693                   defaultval=yes
8694               else
8695                   defaultval=no
8696               fi
8697           fi
8698
8699           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8700 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8701           # Check whether --enable-fsvolume was given.
8702 if test "${enable_fsvolume+set}" = set; then :
8703   enableval=$enable_fsvolume;
8704                           if test "$enableval" = yes; then
8705                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8706                           else
8707                             wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8708                           fi
8709
8710 else
8711
8712                           wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8713
8714 fi
8715
8716
8717           eval "$wx_cv_use_fsvolume"
8718
8719           if test x"$enablestring" = xdisable; then
8720             if test $wxUSE_FSVOLUME = no; then
8721               result=yes
8722             else
8723               result=no
8724             fi
8725           else
8726             result=$wxUSE_FSVOLUME
8727           fi
8728
8729           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8730 $as_echo "$result" >&6; }
8731
8732
8733           enablestring=
8734           defaultval=$wxUSE_ALL_FEATURES
8735           if test -z "$defaultval"; then
8736               if test x"$enablestring" = xdisable; then
8737                   defaultval=yes
8738               else
8739                   defaultval=no
8740               fi
8741           fi
8742
8743           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8744 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8745           # Check whether --enable-fswatcher was given.
8746 if test "${enable_fswatcher+set}" = set; then :
8747   enableval=$enable_fswatcher;
8748                           if test "$enableval" = yes; then
8749                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8750                           else
8751                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8752                           fi
8753
8754 else
8755
8756                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8757
8758 fi
8759
8760
8761           eval "$wx_cv_use_fswatcher"
8762
8763           if test x"$enablestring" = xdisable; then
8764             if test $wxUSE_FSWATCHER = no; then
8765               result=yes
8766             else
8767               result=no
8768             fi
8769           else
8770             result=$wxUSE_FSWATCHER
8771           fi
8772
8773           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8774 $as_echo "$result" >&6; }
8775
8776
8777           enablestring=
8778           defaultval=$wxUSE_ALL_FEATURES
8779           if test -z "$defaultval"; then
8780               if test x"$enablestring" = xdisable; then
8781                   defaultval=yes
8782               else
8783                   defaultval=no
8784               fi
8785           fi
8786
8787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8788 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8789           # Check whether --enable-geometry was given.
8790 if test "${enable_geometry+set}" = set; then :
8791   enableval=$enable_geometry;
8792                           if test "$enableval" = yes; then
8793                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8794                           else
8795                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8796                           fi
8797
8798 else
8799
8800                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8801
8802 fi
8803
8804
8805           eval "$wx_cv_use_geometry"
8806
8807           if test x"$enablestring" = xdisable; then
8808             if test $wxUSE_GEOMETRY = no; then
8809               result=yes
8810             else
8811               result=no
8812             fi
8813           else
8814             result=$wxUSE_GEOMETRY
8815           fi
8816
8817           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8818 $as_echo "$result" >&6; }
8819
8820
8821           enablestring=
8822           defaultval=$wxUSE_ALL_FEATURES
8823           if test -z "$defaultval"; then
8824               if test x"$enablestring" = xdisable; then
8825                   defaultval=yes
8826               else
8827                   defaultval=no
8828               fi
8829           fi
8830
8831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8832 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8833           # Check whether --enable-log was given.
8834 if test "${enable_log+set}" = set; then :
8835   enableval=$enable_log;
8836                           if test "$enableval" = yes; then
8837                             wx_cv_use_log='wxUSE_LOG=yes'
8838                           else
8839                             wx_cv_use_log='wxUSE_LOG=no'
8840                           fi
8841
8842 else
8843
8844                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8845
8846 fi
8847
8848
8849           eval "$wx_cv_use_log"
8850
8851           if test x"$enablestring" = xdisable; then
8852             if test $wxUSE_LOG = no; then
8853               result=yes
8854             else
8855               result=no
8856             fi
8857           else
8858             result=$wxUSE_LOG
8859           fi
8860
8861           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8862 $as_echo "$result" >&6; }
8863
8864
8865           enablestring=
8866           defaultval=$wxUSE_ALL_FEATURES
8867           if test -z "$defaultval"; then
8868               if test x"$enablestring" = xdisable; then
8869                   defaultval=yes
8870               else
8871                   defaultval=no
8872               fi
8873           fi
8874
8875           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8876 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8877           # Check whether --enable-longlong was given.
8878 if test "${enable_longlong+set}" = set; then :
8879   enableval=$enable_longlong;
8880                           if test "$enableval" = yes; then
8881                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8882                           else
8883                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8884                           fi
8885
8886 else
8887
8888                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8889
8890 fi
8891
8892
8893           eval "$wx_cv_use_longlong"
8894
8895           if test x"$enablestring" = xdisable; then
8896             if test $wxUSE_LONGLONG = no; then
8897               result=yes
8898             else
8899               result=no
8900             fi
8901           else
8902             result=$wxUSE_LONGLONG
8903           fi
8904
8905           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8906 $as_echo "$result" >&6; }
8907
8908
8909           enablestring=
8910           defaultval=$wxUSE_ALL_FEATURES
8911           if test -z "$defaultval"; then
8912               if test x"$enablestring" = xdisable; then
8913                   defaultval=yes
8914               else
8915                   defaultval=no
8916               fi
8917           fi
8918
8919           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8920 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8921           # Check whether --enable-mimetype was given.
8922 if test "${enable_mimetype+set}" = set; then :
8923   enableval=$enable_mimetype;
8924                           if test "$enableval" = yes; then
8925                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8926                           else
8927                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8928                           fi
8929
8930 else
8931
8932                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8933
8934 fi
8935
8936
8937           eval "$wx_cv_use_mimetype"
8938
8939           if test x"$enablestring" = xdisable; then
8940             if test $wxUSE_MIMETYPE = no; then
8941               result=yes
8942             else
8943               result=no
8944             fi
8945           else
8946             result=$wxUSE_MIMETYPE
8947           fi
8948
8949           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8950 $as_echo "$result" >&6; }
8951
8952
8953           enablestring=
8954           defaultval=$wxUSE_ALL_FEATURES
8955           if test -z "$defaultval"; then
8956               if test x"$enablestring" = xdisable; then
8957                   defaultval=yes
8958               else
8959                   defaultval=no
8960               fi
8961           fi
8962
8963           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8964 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8965           # Check whether --enable-printfposparam was given.
8966 if test "${enable_printfposparam+set}" = set; then :
8967   enableval=$enable_printfposparam;
8968                           if test "$enableval" = yes; then
8969                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8970                           else
8971                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8972                           fi
8973
8974 else
8975
8976                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8977
8978 fi
8979
8980
8981           eval "$wx_cv_use_printfposparam"
8982
8983           if test x"$enablestring" = xdisable; then
8984             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8985               result=yes
8986             else
8987               result=no
8988             fi
8989           else
8990             result=$wxUSE_PRINTF_POS_PARAMS
8991           fi
8992
8993           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8994 $as_echo "$result" >&6; }
8995
8996
8997           enablestring=
8998           defaultval=$wxUSE_ALL_FEATURES
8999           if test -z "$defaultval"; then
9000               if test x"$enablestring" = xdisable; then
9001                   defaultval=yes
9002               else
9003                   defaultval=no
9004               fi
9005           fi
9006
9007           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
9008 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
9009           # Check whether --enable-snglinst was given.
9010 if test "${enable_snglinst+set}" = set; then :
9011   enableval=$enable_snglinst;
9012                           if test "$enableval" = yes; then
9013                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9014                           else
9015                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9016                           fi
9017
9018 else
9019
9020                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9021
9022 fi
9023
9024
9025           eval "$wx_cv_use_snglinst"
9026
9027           if test x"$enablestring" = xdisable; then
9028             if test $wxUSE_SNGLINST_CHECKER = no; then
9029               result=yes
9030             else
9031               result=no
9032             fi
9033           else
9034             result=$wxUSE_SNGLINST_CHECKER
9035           fi
9036
9037           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9038 $as_echo "$result" >&6; }
9039
9040
9041           enablestring=
9042           defaultval=$wxUSE_ALL_FEATURES
9043           if test -z "$defaultval"; then
9044               if test x"$enablestring" = xdisable; then
9045                   defaultval=yes
9046               else
9047                   defaultval=no
9048               fi
9049           fi
9050
9051           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9052 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9053           # Check whether --enable-sound was given.
9054 if test "${enable_sound+set}" = set; then :
9055   enableval=$enable_sound;
9056                           if test "$enableval" = yes; then
9057                             wx_cv_use_sound='wxUSE_SOUND=yes'
9058                           else
9059                             wx_cv_use_sound='wxUSE_SOUND=no'
9060                           fi
9061
9062 else
9063
9064                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9065
9066 fi
9067
9068
9069           eval "$wx_cv_use_sound"
9070
9071           if test x"$enablestring" = xdisable; then
9072             if test $wxUSE_SOUND = no; then
9073               result=yes
9074             else
9075               result=no
9076             fi
9077           else
9078             result=$wxUSE_SOUND
9079           fi
9080
9081           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9082 $as_echo "$result" >&6; }
9083
9084
9085           enablestring=
9086           defaultval=$wxUSE_ALL_FEATURES
9087           if test -z "$defaultval"; then
9088               if test x"$enablestring" = xdisable; then
9089                   defaultval=yes
9090               else
9091                   defaultval=no
9092               fi
9093           fi
9094
9095           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9096 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9097           # Check whether --enable-stdpaths was given.
9098 if test "${enable_stdpaths+set}" = set; then :
9099   enableval=$enable_stdpaths;
9100                           if test "$enableval" = yes; then
9101                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9102                           else
9103                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9104                           fi
9105
9106 else
9107
9108                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9109
9110 fi
9111
9112
9113           eval "$wx_cv_use_stdpaths"
9114
9115           if test x"$enablestring" = xdisable; then
9116             if test $wxUSE_STDPATHS = no; then
9117               result=yes
9118             else
9119               result=no
9120             fi
9121           else
9122             result=$wxUSE_STDPATHS
9123           fi
9124
9125           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9126 $as_echo "$result" >&6; }
9127
9128
9129           enablestring=
9130           defaultval=$wxUSE_ALL_FEATURES
9131           if test -z "$defaultval"; then
9132               if test x"$enablestring" = xdisable; then
9133                   defaultval=yes
9134               else
9135                   defaultval=no
9136               fi
9137           fi
9138
9139           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9140 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9141           # Check whether --enable-stopwatch was given.
9142 if test "${enable_stopwatch+set}" = set; then :
9143   enableval=$enable_stopwatch;
9144                           if test "$enableval" = yes; then
9145                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9146                           else
9147                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9148                           fi
9149
9150 else
9151
9152                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9153
9154 fi
9155
9156
9157           eval "$wx_cv_use_stopwatch"
9158
9159           if test x"$enablestring" = xdisable; then
9160             if test $wxUSE_STOPWATCH = no; then
9161               result=yes
9162             else
9163               result=no
9164             fi
9165           else
9166             result=$wxUSE_STOPWATCH
9167           fi
9168
9169           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9170 $as_echo "$result" >&6; }
9171
9172
9173           enablestring=
9174           defaultval=$wxUSE_ALL_FEATURES
9175           if test -z "$defaultval"; then
9176               if test x"$enablestring" = xdisable; then
9177                   defaultval=yes
9178               else
9179                   defaultval=no
9180               fi
9181           fi
9182
9183           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9184 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9185           # Check whether --enable-streams was given.
9186 if test "${enable_streams+set}" = set; then :
9187   enableval=$enable_streams;
9188                           if test "$enableval" = yes; then
9189                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9190                           else
9191                             wx_cv_use_streams='wxUSE_STREAMS=no'
9192                           fi
9193
9194 else
9195
9196                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9197
9198 fi
9199
9200
9201           eval "$wx_cv_use_streams"
9202
9203           if test x"$enablestring" = xdisable; then
9204             if test $wxUSE_STREAMS = no; then
9205               result=yes
9206             else
9207               result=no
9208             fi
9209           else
9210             result=$wxUSE_STREAMS
9211           fi
9212
9213           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9214 $as_echo "$result" >&6; }
9215
9216
9217           enablestring=
9218           defaultval=$wxUSE_ALL_FEATURES
9219           if test -z "$defaultval"; then
9220               if test x"$enablestring" = xdisable; then
9221                   defaultval=yes
9222               else
9223                   defaultval=no
9224               fi
9225           fi
9226
9227           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9228 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9229           # Check whether --enable-sysoptions was given.
9230 if test "${enable_sysoptions+set}" = set; then :
9231   enableval=$enable_sysoptions;
9232                           if test "$enableval" = yes; then
9233                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9234                           else
9235                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9236                           fi
9237
9238 else
9239
9240                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9241
9242 fi
9243
9244
9245           eval "$wx_cv_use_sysoptions"
9246
9247           if test x"$enablestring" = xdisable; then
9248             if test $wxUSE_SYSTEM_OPTIONS = no; then
9249               result=yes
9250             else
9251               result=no
9252             fi
9253           else
9254             result=$wxUSE_SYSTEM_OPTIONS
9255           fi
9256
9257           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9258 $as_echo "$result" >&6; }
9259
9260
9261           enablestring=
9262           defaultval=$wxUSE_ALL_FEATURES
9263           if test -z "$defaultval"; then
9264               if test x"$enablestring" = xdisable; then
9265                   defaultval=yes
9266               else
9267                   defaultval=no
9268               fi
9269           fi
9270
9271           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9272 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9273           # Check whether --enable-tarstream was given.
9274 if test "${enable_tarstream+set}" = set; then :
9275   enableval=$enable_tarstream;
9276                           if test "$enableval" = yes; then
9277                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9278                           else
9279                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9280                           fi
9281
9282 else
9283
9284                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9285
9286 fi
9287
9288
9289           eval "$wx_cv_use_tarstream"
9290
9291           if test x"$enablestring" = xdisable; then
9292             if test $wxUSE_TARSTREAM = no; then
9293               result=yes
9294             else
9295               result=no
9296             fi
9297           else
9298             result=$wxUSE_TARSTREAM
9299           fi
9300
9301           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9302 $as_echo "$result" >&6; }
9303
9304
9305           enablestring=
9306           defaultval=$wxUSE_ALL_FEATURES
9307           if test -z "$defaultval"; then
9308               if test x"$enablestring" = xdisable; then
9309                   defaultval=yes
9310               else
9311                   defaultval=no
9312               fi
9313           fi
9314
9315           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9316 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9317           # Check whether --enable-textbuf was given.
9318 if test "${enable_textbuf+set}" = set; then :
9319   enableval=$enable_textbuf;
9320                           if test "$enableval" = yes; then
9321                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9322                           else
9323                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9324                           fi
9325
9326 else
9327
9328                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9329
9330 fi
9331
9332
9333           eval "$wx_cv_use_textbuf"
9334
9335           if test x"$enablestring" = xdisable; then
9336             if test $wxUSE_TEXTBUFFER = no; then
9337               result=yes
9338             else
9339               result=no
9340             fi
9341           else
9342             result=$wxUSE_TEXTBUFFER
9343           fi
9344
9345           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9346 $as_echo "$result" >&6; }
9347
9348
9349           enablestring=
9350           defaultval=$wxUSE_ALL_FEATURES
9351           if test -z "$defaultval"; then
9352               if test x"$enablestring" = xdisable; then
9353                   defaultval=yes
9354               else
9355                   defaultval=no
9356               fi
9357           fi
9358
9359           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9360 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9361           # Check whether --enable-textfile was given.
9362 if test "${enable_textfile+set}" = set; then :
9363   enableval=$enable_textfile;
9364                           if test "$enableval" = yes; then
9365                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9366                           else
9367                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9368                           fi
9369
9370 else
9371
9372                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9373
9374 fi
9375
9376
9377           eval "$wx_cv_use_textfile"
9378
9379           if test x"$enablestring" = xdisable; then
9380             if test $wxUSE_TEXTFILE = no; then
9381               result=yes
9382             else
9383               result=no
9384             fi
9385           else
9386             result=$wxUSE_TEXTFILE
9387           fi
9388
9389           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9390 $as_echo "$result" >&6; }
9391
9392
9393           enablestring=
9394           defaultval=$wxUSE_ALL_FEATURES
9395           if test -z "$defaultval"; then
9396               if test x"$enablestring" = xdisable; then
9397                   defaultval=yes
9398               else
9399                   defaultval=no
9400               fi
9401           fi
9402
9403           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9404 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9405           # Check whether --enable-timer was given.
9406 if test "${enable_timer+set}" = set; then :
9407   enableval=$enable_timer;
9408                           if test "$enableval" = yes; then
9409                             wx_cv_use_timer='wxUSE_TIMER=yes'
9410                           else
9411                             wx_cv_use_timer='wxUSE_TIMER=no'
9412                           fi
9413
9414 else
9415
9416                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9417
9418 fi
9419
9420
9421           eval "$wx_cv_use_timer"
9422
9423           if test x"$enablestring" = xdisable; then
9424             if test $wxUSE_TIMER = no; then
9425               result=yes
9426             else
9427               result=no
9428             fi
9429           else
9430             result=$wxUSE_TIMER
9431           fi
9432
9433           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9434 $as_echo "$result" >&6; }
9435
9436
9437           enablestring=
9438           defaultval=$wxUSE_ALL_FEATURES
9439           if test -z "$defaultval"; then
9440               if test x"$enablestring" = xdisable; then
9441                   defaultval=yes
9442               else
9443                   defaultval=no
9444               fi
9445           fi
9446
9447           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9448 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9449           # Check whether --enable-variant was given.
9450 if test "${enable_variant+set}" = set; then :
9451   enableval=$enable_variant;
9452                           if test "$enableval" = yes; then
9453                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9454                           else
9455                             wx_cv_use_variant='wxUSE_VARIANT=no'
9456                           fi
9457
9458 else
9459
9460                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9461
9462 fi
9463
9464
9465           eval "$wx_cv_use_variant"
9466
9467           if test x"$enablestring" = xdisable; then
9468             if test $wxUSE_VARIANT = no; then
9469               result=yes
9470             else
9471               result=no
9472             fi
9473           else
9474             result=$wxUSE_VARIANT
9475           fi
9476
9477           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9478 $as_echo "$result" >&6; }
9479
9480
9481           enablestring=
9482           defaultval=$wxUSE_ALL_FEATURES
9483           if test -z "$defaultval"; then
9484               if test x"$enablestring" = xdisable; then
9485                   defaultval=yes
9486               else
9487                   defaultval=no
9488               fi
9489           fi
9490
9491           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9492 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9493           # Check whether --enable-zipstream was given.
9494 if test "${enable_zipstream+set}" = set; then :
9495   enableval=$enable_zipstream;
9496                           if test "$enableval" = yes; then
9497                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9498                           else
9499                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9500                           fi
9501
9502 else
9503
9504                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9505
9506 fi
9507
9508
9509           eval "$wx_cv_use_zipstream"
9510
9511           if test x"$enablestring" = xdisable; then
9512             if test $wxUSE_ZIPSTREAM = no; then
9513               result=yes
9514             else
9515               result=no
9516             fi
9517           else
9518             result=$wxUSE_ZIPSTREAM
9519           fi
9520
9521           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9522 $as_echo "$result" >&6; }
9523
9524
9525
9526           enablestring=
9527           defaultval=$wxUSE_ALL_FEATURES
9528           if test -z "$defaultval"; then
9529               if test x"$enablestring" = xdisable; then
9530                   defaultval=yes
9531               else
9532                   defaultval=no
9533               fi
9534           fi
9535
9536           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9537 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9538           # Check whether --enable-url was given.
9539 if test "${enable_url+set}" = set; then :
9540   enableval=$enable_url;
9541                           if test "$enableval" = yes; then
9542                             wx_cv_use_url='wxUSE_URL=yes'
9543                           else
9544                             wx_cv_use_url='wxUSE_URL=no'
9545                           fi
9546
9547 else
9548
9549                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9550
9551 fi
9552
9553
9554           eval "$wx_cv_use_url"
9555
9556           if test x"$enablestring" = xdisable; then
9557             if test $wxUSE_URL = no; then
9558               result=yes
9559             else
9560               result=no
9561             fi
9562           else
9563             result=$wxUSE_URL
9564           fi
9565
9566           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9567 $as_echo "$result" >&6; }
9568
9569
9570           enablestring=
9571           defaultval=$wxUSE_ALL_FEATURES
9572           if test -z "$defaultval"; then
9573               if test x"$enablestring" = xdisable; then
9574                   defaultval=yes
9575               else
9576                   defaultval=no
9577               fi
9578           fi
9579
9580           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9581 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9582           # Check whether --enable-protocol was given.
9583 if test "${enable_protocol+set}" = set; then :
9584   enableval=$enable_protocol;
9585                           if test "$enableval" = yes; then
9586                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9587                           else
9588                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9589                           fi
9590
9591 else
9592
9593                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9594
9595 fi
9596
9597
9598           eval "$wx_cv_use_protocol"
9599
9600           if test x"$enablestring" = xdisable; then
9601             if test $wxUSE_PROTOCOL = no; then
9602               result=yes
9603             else
9604               result=no
9605             fi
9606           else
9607             result=$wxUSE_PROTOCOL
9608           fi
9609
9610           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9611 $as_echo "$result" >&6; }
9612
9613
9614           enablestring=
9615           defaultval=$wxUSE_ALL_FEATURES
9616           if test -z "$defaultval"; then
9617               if test x"$enablestring" = xdisable; then
9618                   defaultval=yes
9619               else
9620                   defaultval=no
9621               fi
9622           fi
9623
9624           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9625 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9626           # Check whether --enable-protocol_http was given.
9627 if test "${enable_protocol_http+set}" = set; then :
9628   enableval=$enable_protocol_http;
9629                           if test "$enableval" = yes; then
9630                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9631                           else
9632                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9633                           fi
9634
9635 else
9636
9637                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9638
9639 fi
9640
9641
9642           eval "$wx_cv_use_protocol_http"
9643
9644           if test x"$enablestring" = xdisable; then
9645             if test $wxUSE_PROTOCOL_HTTP = no; then
9646               result=yes
9647             else
9648               result=no
9649             fi
9650           else
9651             result=$wxUSE_PROTOCOL_HTTP
9652           fi
9653
9654           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9655 $as_echo "$result" >&6; }
9656
9657
9658           enablestring=
9659           defaultval=$wxUSE_ALL_FEATURES
9660           if test -z "$defaultval"; then
9661               if test x"$enablestring" = xdisable; then
9662                   defaultval=yes
9663               else
9664                   defaultval=no
9665               fi
9666           fi
9667
9668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9669 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9670           # Check whether --enable-protocol_ftp was given.
9671 if test "${enable_protocol_ftp+set}" = set; then :
9672   enableval=$enable_protocol_ftp;
9673                           if test "$enableval" = yes; then
9674                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9675                           else
9676                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9677                           fi
9678
9679 else
9680
9681                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9682
9683 fi
9684
9685
9686           eval "$wx_cv_use_protocol_ftp"
9687
9688           if test x"$enablestring" = xdisable; then
9689             if test $wxUSE_PROTOCOL_FTP = no; then
9690               result=yes
9691             else
9692               result=no
9693             fi
9694           else
9695             result=$wxUSE_PROTOCOL_FTP
9696           fi
9697
9698           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9699 $as_echo "$result" >&6; }
9700
9701
9702           enablestring=
9703           defaultval=$wxUSE_ALL_FEATURES
9704           if test -z "$defaultval"; then
9705               if test x"$enablestring" = xdisable; then
9706                   defaultval=yes
9707               else
9708                   defaultval=no
9709               fi
9710           fi
9711
9712           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9713 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9714           # Check whether --enable-protocol_file was given.
9715 if test "${enable_protocol_file+set}" = set; then :
9716   enableval=$enable_protocol_file;
9717                           if test "$enableval" = yes; then
9718                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9719                           else
9720                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9721                           fi
9722
9723 else
9724
9725                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9726
9727 fi
9728
9729
9730           eval "$wx_cv_use_protocol_file"
9731
9732           if test x"$enablestring" = xdisable; then
9733             if test $wxUSE_PROTOCOL_FILE = no; then
9734               result=yes
9735             else
9736               result=no
9737             fi
9738           else
9739             result=$wxUSE_PROTOCOL_FILE
9740           fi
9741
9742           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9743 $as_echo "$result" >&6; }
9744
9745
9746
9747           enablestring=
9748           defaultval=$wxUSE_ALL_FEATURES
9749           if test -z "$defaultval"; then
9750               if test x"$enablestring" = xdisable; then
9751                   defaultval=yes
9752               else
9753                   defaultval=no
9754               fi
9755           fi
9756
9757           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9758 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9759           # Check whether --enable-threads was given.
9760 if test "${enable_threads+set}" = set; then :
9761   enableval=$enable_threads;
9762                           if test "$enableval" = yes; then
9763                             wx_cv_use_threads='wxUSE_THREADS=yes'
9764                           else
9765                             wx_cv_use_threads='wxUSE_THREADS=no'
9766                           fi
9767
9768 else
9769
9770                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9771
9772 fi
9773
9774
9775           eval "$wx_cv_use_threads"
9776
9777           if test x"$enablestring" = xdisable; then
9778             if test $wxUSE_THREADS = no; then
9779               result=yes
9780             else
9781               result=no
9782             fi
9783           else
9784             result=$wxUSE_THREADS
9785           fi
9786
9787           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9788 $as_echo "$result" >&6; }
9789
9790
9791
9792           enablestring=
9793           defaultval=
9794           if test -z "$defaultval"; then
9795               if test x"$enablestring" = xdisable; then
9796                   defaultval=yes
9797               else
9798                   defaultval=no
9799               fi
9800           fi
9801
9802           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9803 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9804           # Check whether --enable-iniconf was given.
9805 if test "${enable_iniconf+set}" = set; then :
9806   enableval=$enable_iniconf;
9807                           if test "$enableval" = yes; then
9808                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9809                           else
9810                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9811                           fi
9812
9813 else
9814
9815                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9816
9817 fi
9818
9819
9820           eval "$wx_cv_use_iniconf"
9821
9822           if test x"$enablestring" = xdisable; then
9823             if test $wxUSE_INICONF = no; then
9824               result=yes
9825             else
9826               result=no
9827             fi
9828           else
9829             result=$wxUSE_INICONF
9830           fi
9831
9832           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9833 $as_echo "$result" >&6; }
9834
9835
9836           enablestring=
9837           defaultval=$wxUSE_ALL_FEATURES
9838           if test -z "$defaultval"; then
9839               if test x"$enablestring" = xdisable; then
9840                   defaultval=yes
9841               else
9842                   defaultval=no
9843               fi
9844           fi
9845
9846           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9847 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9848           # Check whether --enable-regkey was given.
9849 if test "${enable_regkey+set}" = set; then :
9850   enableval=$enable_regkey;
9851                           if test "$enableval" = yes; then
9852                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9853                           else
9854                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9855                           fi
9856
9857 else
9858
9859                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9860
9861 fi
9862
9863
9864           eval "$wx_cv_use_regkey"
9865
9866           if test x"$enablestring" = xdisable; then
9867             if test $wxUSE_REGKEY = no; then
9868               result=yes
9869             else
9870               result=no
9871             fi
9872           else
9873             result=$wxUSE_REGKEY
9874           fi
9875
9876           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9877 $as_echo "$result" >&6; }
9878
9879
9880 if test "$wxUSE_GUI" = "yes"; then
9881
9882
9883
9884           enablestring=
9885           defaultval=$wxUSE_ALL_FEATURES
9886           if test -z "$defaultval"; then
9887               if test x"$enablestring" = xdisable; then
9888                   defaultval=yes
9889               else
9890                   defaultval=no
9891               fi
9892           fi
9893
9894           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9895 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9896           # Check whether --enable-docview was given.
9897 if test "${enable_docview+set}" = set; then :
9898   enableval=$enable_docview;
9899                           if test "$enableval" = yes; then
9900                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9901                           else
9902                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9903                           fi
9904
9905 else
9906
9907                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9908
9909 fi
9910
9911
9912           eval "$wx_cv_use_docview"
9913
9914           if test x"$enablestring" = xdisable; then
9915             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9916               result=yes
9917             else
9918               result=no
9919             fi
9920           else
9921             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9922           fi
9923
9924           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9925 $as_echo "$result" >&6; }
9926
9927
9928           enablestring=
9929           defaultval=$wxUSE_ALL_FEATURES
9930           if test -z "$defaultval"; then
9931               if test x"$enablestring" = xdisable; then
9932                   defaultval=yes
9933               else
9934                   defaultval=no
9935               fi
9936           fi
9937
9938           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9939 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9940           # Check whether --enable-help was given.
9941 if test "${enable_help+set}" = set; then :
9942   enableval=$enable_help;
9943                           if test "$enableval" = yes; then
9944                             wx_cv_use_help='wxUSE_HELP=yes'
9945                           else
9946                             wx_cv_use_help='wxUSE_HELP=no'
9947                           fi
9948
9949 else
9950
9951                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9952
9953 fi
9954
9955
9956           eval "$wx_cv_use_help"
9957
9958           if test x"$enablestring" = xdisable; then
9959             if test $wxUSE_HELP = no; then
9960               result=yes
9961             else
9962               result=no
9963             fi
9964           else
9965             result=$wxUSE_HELP
9966           fi
9967
9968           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9969 $as_echo "$result" >&6; }
9970
9971
9972           enablestring=
9973           defaultval=$wxUSE_ALL_FEATURES
9974           if test -z "$defaultval"; then
9975               if test x"$enablestring" = xdisable; then
9976                   defaultval=yes
9977               else
9978                   defaultval=no
9979               fi
9980           fi
9981
9982           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9983 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9984           # Check whether --enable-mshtmlhelp was given.
9985 if test "${enable_mshtmlhelp+set}" = set; then :
9986   enableval=$enable_mshtmlhelp;
9987                           if test "$enableval" = yes; then
9988                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9989                           else
9990                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9991                           fi
9992
9993 else
9994
9995                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9996
9997 fi
9998
9999
10000           eval "$wx_cv_use_mshtmlhelp"
10001
10002           if test x"$enablestring" = xdisable; then
10003             if test $wxUSE_MS_HTML_HELP = no; then
10004               result=yes
10005             else
10006               result=no
10007             fi
10008           else
10009             result=$wxUSE_MS_HTML_HELP
10010           fi
10011
10012           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10013 $as_echo "$result" >&6; }
10014
10015
10016           enablestring=
10017           defaultval=$wxUSE_ALL_FEATURES
10018           if test -z "$defaultval"; then
10019               if test x"$enablestring" = xdisable; then
10020                   defaultval=yes
10021               else
10022                   defaultval=no
10023               fi
10024           fi
10025
10026           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10027 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10028           # Check whether --enable-html was given.
10029 if test "${enable_html+set}" = set; then :
10030   enableval=$enable_html;
10031                           if test "$enableval" = yes; then
10032                             wx_cv_use_html='wxUSE_HTML=yes'
10033                           else
10034                             wx_cv_use_html='wxUSE_HTML=no'
10035                           fi
10036
10037 else
10038
10039                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10040
10041 fi
10042
10043
10044           eval "$wx_cv_use_html"
10045
10046           if test x"$enablestring" = xdisable; then
10047             if test $wxUSE_HTML = no; then
10048               result=yes
10049             else
10050               result=no
10051             fi
10052           else
10053             result=$wxUSE_HTML
10054           fi
10055
10056           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10057 $as_echo "$result" >&6; }
10058
10059
10060           enablestring=
10061           defaultval=$wxUSE_ALL_FEATURES
10062           if test -z "$defaultval"; then
10063               if test x"$enablestring" = xdisable; then
10064                   defaultval=yes
10065               else
10066                   defaultval=no
10067               fi
10068           fi
10069
10070           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10071 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10072           # Check whether --enable-htmlhelp was given.
10073 if test "${enable_htmlhelp+set}" = set; then :
10074   enableval=$enable_htmlhelp;
10075                           if test "$enableval" = yes; then
10076                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10077                           else
10078                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10079                           fi
10080
10081 else
10082
10083                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10084
10085 fi
10086
10087
10088           eval "$wx_cv_use_htmlhelp"
10089
10090           if test x"$enablestring" = xdisable; then
10091             if test $wxUSE_WXHTML_HELP = no; then
10092               result=yes
10093             else
10094               result=no
10095             fi
10096           else
10097             result=$wxUSE_WXHTML_HELP
10098           fi
10099
10100           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10101 $as_echo "$result" >&6; }
10102
10103
10104           enablestring=
10105           defaultval=$wxUSE_ALL_FEATURES
10106           if test -z "$defaultval"; then
10107               if test x"$enablestring" = xdisable; then
10108                   defaultval=yes
10109               else
10110                   defaultval=no
10111               fi
10112           fi
10113
10114           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10115 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10116           # Check whether --enable-xrc was given.
10117 if test "${enable_xrc+set}" = set; then :
10118   enableval=$enable_xrc;
10119                           if test "$enableval" = yes; then
10120                             wx_cv_use_xrc='wxUSE_XRC=yes'
10121                           else
10122                             wx_cv_use_xrc='wxUSE_XRC=no'
10123                           fi
10124
10125 else
10126
10127                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10128
10129 fi
10130
10131
10132           eval "$wx_cv_use_xrc"
10133
10134           if test x"$enablestring" = xdisable; then
10135             if test $wxUSE_XRC = no; then
10136               result=yes
10137             else
10138               result=no
10139             fi
10140           else
10141             result=$wxUSE_XRC
10142           fi
10143
10144           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10145 $as_echo "$result" >&6; }
10146
10147
10148           enablestring=
10149           defaultval=$wxUSE_ALL_FEATURES
10150           if test -z "$defaultval"; then
10151               if test x"$enablestring" = xdisable; then
10152                   defaultval=yes
10153               else
10154                   defaultval=no
10155               fi
10156           fi
10157
10158           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10159 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10160           # Check whether --enable-aui was given.
10161 if test "${enable_aui+set}" = set; then :
10162   enableval=$enable_aui;
10163                           if test "$enableval" = yes; then
10164                             wx_cv_use_aui='wxUSE_AUI=yes'
10165                           else
10166                             wx_cv_use_aui='wxUSE_AUI=no'
10167                           fi
10168
10169 else
10170
10171                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10172
10173 fi
10174
10175
10176           eval "$wx_cv_use_aui"
10177
10178           if test x"$enablestring" = xdisable; then
10179             if test $wxUSE_AUI = no; then
10180               result=yes
10181             else
10182               result=no
10183             fi
10184           else
10185             result=$wxUSE_AUI
10186           fi
10187
10188           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10189 $as_echo "$result" >&6; }
10190
10191
10192           enablestring=
10193           defaultval=$wxUSE_ALL_FEATURES
10194           if test -z "$defaultval"; then
10195               if test x"$enablestring" = xdisable; then
10196                   defaultval=yes
10197               else
10198                   defaultval=no
10199               fi
10200           fi
10201
10202           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10203 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10204           # Check whether --enable-propgrid was given.
10205 if test "${enable_propgrid+set}" = set; then :
10206   enableval=$enable_propgrid;
10207                           if test "$enableval" = yes; then
10208                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10209                           else
10210                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10211                           fi
10212
10213 else
10214
10215                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10216
10217 fi
10218
10219
10220           eval "$wx_cv_use_propgrid"
10221
10222           if test x"$enablestring" = xdisable; then
10223             if test $wxUSE_PROPGRID = no; then
10224               result=yes
10225             else
10226               result=no
10227             fi
10228           else
10229             result=$wxUSE_PROPGRID
10230           fi
10231
10232           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10233 $as_echo "$result" >&6; }
10234
10235
10236           enablestring=
10237           defaultval=$wxUSE_ALL_FEATURES
10238           if test -z "$defaultval"; then
10239               if test x"$enablestring" = xdisable; then
10240                   defaultval=yes
10241               else
10242                   defaultval=no
10243               fi
10244           fi
10245
10246           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10247 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10248           # Check whether --enable-ribbon was given.
10249 if test "${enable_ribbon+set}" = set; then :
10250   enableval=$enable_ribbon;
10251                           if test "$enableval" = yes; then
10252                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10253                           else
10254                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10255                           fi
10256
10257 else
10258
10259                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10260
10261 fi
10262
10263
10264           eval "$wx_cv_use_ribbon"
10265
10266           if test x"$enablestring" = xdisable; then
10267             if test $wxUSE_RIBBON = no; then
10268               result=yes
10269             else
10270               result=no
10271             fi
10272           else
10273             result=$wxUSE_RIBBON
10274           fi
10275
10276           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10277 $as_echo "$result" >&6; }
10278
10279
10280           enablestring=
10281           defaultval=$wxUSE_ALL_FEATURES
10282           if test -z "$defaultval"; then
10283               if test x"$enablestring" = xdisable; then
10284                   defaultval=yes
10285               else
10286                   defaultval=no
10287               fi
10288           fi
10289
10290           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10291 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10292           # Check whether --enable-stc was given.
10293 if test "${enable_stc+set}" = set; then :
10294   enableval=$enable_stc;
10295                           if test "$enableval" = yes; then
10296                             wx_cv_use_stc='wxUSE_STC=yes'
10297                           else
10298                             wx_cv_use_stc='wxUSE_STC=no'
10299                           fi
10300
10301 else
10302
10303                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10304
10305 fi
10306
10307
10308           eval "$wx_cv_use_stc"
10309
10310           if test x"$enablestring" = xdisable; then
10311             if test $wxUSE_STC = no; then
10312               result=yes
10313             else
10314               result=no
10315             fi
10316           else
10317             result=$wxUSE_STC
10318           fi
10319
10320           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10321 $as_echo "$result" >&6; }
10322
10323
10324           enablestring=
10325           defaultval=$wxUSE_ALL_FEATURES
10326           if test -z "$defaultval"; then
10327               if test x"$enablestring" = xdisable; then
10328                   defaultval=yes
10329               else
10330                   defaultval=no
10331               fi
10332           fi
10333
10334           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10335 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10336           # Check whether --enable-constraints was given.
10337 if test "${enable_constraints+set}" = set; then :
10338   enableval=$enable_constraints;
10339                           if test "$enableval" = yes; then
10340                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10341                           else
10342                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10343                           fi
10344
10345 else
10346
10347                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10348
10349 fi
10350
10351
10352           eval "$wx_cv_use_constraints"
10353
10354           if test x"$enablestring" = xdisable; then
10355             if test $wxUSE_CONSTRAINTS = no; then
10356               result=yes
10357             else
10358               result=no
10359             fi
10360           else
10361             result=$wxUSE_CONSTRAINTS
10362           fi
10363
10364           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10365 $as_echo "$result" >&6; }
10366
10367
10368           enablestring=
10369           defaultval=$wxUSE_ALL_FEATURES
10370           if test -z "$defaultval"; then
10371               if test x"$enablestring" = xdisable; then
10372                   defaultval=yes
10373               else
10374                   defaultval=no
10375               fi
10376           fi
10377
10378           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10379 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10380           # Check whether --enable-loggui was given.
10381 if test "${enable_loggui+set}" = set; then :
10382   enableval=$enable_loggui;
10383                           if test "$enableval" = yes; then
10384                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10385                           else
10386                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10387                           fi
10388
10389 else
10390
10391                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10392
10393 fi
10394
10395
10396           eval "$wx_cv_use_loggui"
10397
10398           if test x"$enablestring" = xdisable; then
10399             if test $wxUSE_LOGGUI = no; then
10400               result=yes
10401             else
10402               result=no
10403             fi
10404           else
10405             result=$wxUSE_LOGGUI
10406           fi
10407
10408           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10409 $as_echo "$result" >&6; }
10410
10411
10412           enablestring=
10413           defaultval=$wxUSE_ALL_FEATURES
10414           if test -z "$defaultval"; then
10415               if test x"$enablestring" = xdisable; then
10416                   defaultval=yes
10417               else
10418                   defaultval=no
10419               fi
10420           fi
10421
10422           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10423 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10424           # Check whether --enable-logwin was given.
10425 if test "${enable_logwin+set}" = set; then :
10426   enableval=$enable_logwin;
10427                           if test "$enableval" = yes; then
10428                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10429                           else
10430                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10431                           fi
10432
10433 else
10434
10435                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10436
10437 fi
10438
10439
10440           eval "$wx_cv_use_logwin"
10441
10442           if test x"$enablestring" = xdisable; then
10443             if test $wxUSE_LOGWINDOW = no; then
10444               result=yes
10445             else
10446               result=no
10447             fi
10448           else
10449             result=$wxUSE_LOGWINDOW
10450           fi
10451
10452           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10453 $as_echo "$result" >&6; }
10454
10455
10456           enablestring=
10457           defaultval=$wxUSE_ALL_FEATURES
10458           if test -z "$defaultval"; then
10459               if test x"$enablestring" = xdisable; then
10460                   defaultval=yes
10461               else
10462                   defaultval=no
10463               fi
10464           fi
10465
10466           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10467 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10468           # Check whether --enable-logdialog was given.
10469 if test "${enable_logdialog+set}" = set; then :
10470   enableval=$enable_logdialog;
10471                           if test "$enableval" = yes; then
10472                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10473                           else
10474                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10475                           fi
10476
10477 else
10478
10479                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10480
10481 fi
10482
10483
10484           eval "$wx_cv_use_logdialog"
10485
10486           if test x"$enablestring" = xdisable; then
10487             if test $wxUSE_LOGDIALOG = no; then
10488               result=yes
10489             else
10490               result=no
10491             fi
10492           else
10493             result=$wxUSE_LOGDIALOG
10494           fi
10495
10496           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10497 $as_echo "$result" >&6; }
10498
10499
10500           enablestring=
10501           defaultval=$wxUSE_ALL_FEATURES
10502           if test -z "$defaultval"; then
10503               if test x"$enablestring" = xdisable; then
10504                   defaultval=yes
10505               else
10506                   defaultval=no
10507               fi
10508           fi
10509
10510           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10511 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10512           # Check whether --enable-mdi was given.
10513 if test "${enable_mdi+set}" = set; then :
10514   enableval=$enable_mdi;
10515                           if test "$enableval" = yes; then
10516                             wx_cv_use_mdi='wxUSE_MDI=yes'
10517                           else
10518                             wx_cv_use_mdi='wxUSE_MDI=no'
10519                           fi
10520
10521 else
10522
10523                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10524
10525 fi
10526
10527
10528           eval "$wx_cv_use_mdi"
10529
10530           if test x"$enablestring" = xdisable; then
10531             if test $wxUSE_MDI = no; then
10532               result=yes
10533             else
10534               result=no
10535             fi
10536           else
10537             result=$wxUSE_MDI
10538           fi
10539
10540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10541 $as_echo "$result" >&6; }
10542
10543
10544           enablestring=
10545           defaultval=$wxUSE_ALL_FEATURES
10546           if test -z "$defaultval"; then
10547               if test x"$enablestring" = xdisable; then
10548                   defaultval=yes
10549               else
10550                   defaultval=no
10551               fi
10552           fi
10553
10554           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10555 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10556           # Check whether --enable-mdidoc was given.
10557 if test "${enable_mdidoc+set}" = set; then :
10558   enableval=$enable_mdidoc;
10559                           if test "$enableval" = yes; then
10560                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10561                           else
10562                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10563                           fi
10564
10565 else
10566
10567                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10568
10569 fi
10570
10571
10572           eval "$wx_cv_use_mdidoc"
10573
10574           if test x"$enablestring" = xdisable; then
10575             if test $wxUSE_MDI_ARCHITECTURE = no; then
10576               result=yes
10577             else
10578               result=no
10579             fi
10580           else
10581             result=$wxUSE_MDI_ARCHITECTURE
10582           fi
10583
10584           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10585 $as_echo "$result" >&6; }
10586
10587
10588           enablestring=
10589           defaultval=$wxUSE_ALL_FEATURES
10590           if test -z "$defaultval"; then
10591               if test x"$enablestring" = xdisable; then
10592                   defaultval=yes
10593               else
10594                   defaultval=no
10595               fi
10596           fi
10597
10598           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10599 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10600           # Check whether --enable-mediactrl was given.
10601 if test "${enable_mediactrl+set}" = set; then :
10602   enableval=$enable_mediactrl;
10603                           if test "$enableval" = yes; then
10604                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10605                           else
10606                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10607                           fi
10608
10609 else
10610
10611                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10612
10613 fi
10614
10615
10616           eval "$wx_cv_use_mediactrl"
10617
10618           if test x"$enablestring" = xdisable; then
10619             if test $wxUSE_MEDIACTRL = no; then
10620               result=yes
10621             else
10622               result=no
10623             fi
10624           else
10625             result=$wxUSE_MEDIACTRL
10626           fi
10627
10628           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10629 $as_echo "$result" >&6; }
10630
10631
10632           enablestring=
10633           defaultval=$wxUSE_ALL_FEATURES
10634           if test -z "$defaultval"; then
10635               if test x"$enablestring" = xdisable; then
10636                   defaultval=yes
10637               else
10638                   defaultval=no
10639               fi
10640           fi
10641
10642           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10643 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10644           # Check whether --enable-gstreamer8 was given.
10645 if test "${enable_gstreamer8+set}" = set; then :
10646   enableval=$enable_gstreamer8;
10647                           if test "$enableval" = yes; then
10648                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10649                           else
10650                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10651                           fi
10652
10653 else
10654
10655                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10656
10657 fi
10658
10659
10660           eval "$wx_cv_use_gstreamer8"
10661
10662           if test x"$enablestring" = xdisable; then
10663             if test $wxUSE_GSTREAMER8 = no; then
10664               result=yes
10665             else
10666               result=no
10667             fi
10668           else
10669             result=$wxUSE_GSTREAMER8
10670           fi
10671
10672           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10673 $as_echo "$result" >&6; }
10674
10675
10676           enablestring=
10677           defaultval=$wxUSE_ALL_FEATURES
10678           if test -z "$defaultval"; then
10679               if test x"$enablestring" = xdisable; then
10680                   defaultval=yes
10681               else
10682                   defaultval=no
10683               fi
10684           fi
10685
10686           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10687 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10688           # Check whether --enable-richtext was given.
10689 if test "${enable_richtext+set}" = set; then :
10690   enableval=$enable_richtext;
10691                           if test "$enableval" = yes; then
10692                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10693                           else
10694                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10695                           fi
10696
10697 else
10698
10699                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10700
10701 fi
10702
10703
10704           eval "$wx_cv_use_richtext"
10705
10706           if test x"$enablestring" = xdisable; then
10707             if test $wxUSE_RICHTEXT = no; then
10708               result=yes
10709             else
10710               result=no
10711             fi
10712           else
10713             result=$wxUSE_RICHTEXT
10714           fi
10715
10716           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10717 $as_echo "$result" >&6; }
10718
10719
10720           enablestring=
10721           defaultval=$wxUSE_ALL_FEATURES
10722           if test -z "$defaultval"; then
10723               if test x"$enablestring" = xdisable; then
10724                   defaultval=yes
10725               else
10726                   defaultval=no
10727               fi
10728           fi
10729
10730           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10731 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10732           # Check whether --enable-postscript was given.
10733 if test "${enable_postscript+set}" = set; then :
10734   enableval=$enable_postscript;
10735                           if test "$enableval" = yes; then
10736                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10737                           else
10738                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10739                           fi
10740
10741 else
10742
10743                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10744
10745 fi
10746
10747
10748           eval "$wx_cv_use_postscript"
10749
10750           if test x"$enablestring" = xdisable; then
10751             if test $wxUSE_POSTSCRIPT = no; then
10752               result=yes
10753             else
10754               result=no
10755             fi
10756           else
10757             result=$wxUSE_POSTSCRIPT
10758           fi
10759
10760           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10761 $as_echo "$result" >&6; }
10762
10763
10764           enablestring=
10765           defaultval=$wxUSE_ALL_FEATURES
10766           if test -z "$defaultval"; then
10767               if test x"$enablestring" = xdisable; then
10768                   defaultval=yes
10769               else
10770                   defaultval=no
10771               fi
10772           fi
10773
10774           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10775 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10776           # Check whether --enable-printarch was given.
10777 if test "${enable_printarch+set}" = set; then :
10778   enableval=$enable_printarch;
10779                           if test "$enableval" = yes; then
10780                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10781                           else
10782                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10783                           fi
10784
10785 else
10786
10787                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10788
10789 fi
10790
10791
10792           eval "$wx_cv_use_printarch"
10793
10794           if test x"$enablestring" = xdisable; then
10795             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10796               result=yes
10797             else
10798               result=no
10799             fi
10800           else
10801             result=$wxUSE_PRINTING_ARCHITECTURE
10802           fi
10803
10804           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10805 $as_echo "$result" >&6; }
10806
10807
10808           enablestring=
10809           defaultval=$wxUSE_ALL_FEATURES
10810           if test -z "$defaultval"; then
10811               if test x"$enablestring" = xdisable; then
10812                   defaultval=yes
10813               else
10814                   defaultval=no
10815               fi
10816           fi
10817
10818           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10819 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10820           # Check whether --enable-svg was given.
10821 if test "${enable_svg+set}" = set; then :
10822   enableval=$enable_svg;
10823                           if test "$enableval" = yes; then
10824                             wx_cv_use_svg='wxUSE_SVG=yes'
10825                           else
10826                             wx_cv_use_svg='wxUSE_SVG=no'
10827                           fi
10828
10829 else
10830
10831                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10832
10833 fi
10834
10835
10836           eval "$wx_cv_use_svg"
10837
10838           if test x"$enablestring" = xdisable; then
10839             if test $wxUSE_SVG = no; then
10840               result=yes
10841             else
10842               result=no
10843             fi
10844           else
10845             result=$wxUSE_SVG
10846           fi
10847
10848           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10849 $as_echo "$result" >&6; }
10850
10851
10852           enablestring=
10853           defaultval=$wxUSE_ALL_FEATURES
10854           if test -z "$defaultval"; then
10855               if test x"$enablestring" = xdisable; then
10856                   defaultval=yes
10857               else
10858                   defaultval=no
10859               fi
10860           fi
10861
10862           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10863 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10864           # Check whether --enable-webkit was given.
10865 if test "${enable_webkit+set}" = set; then :
10866   enableval=$enable_webkit;
10867                           if test "$enableval" = yes; then
10868                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10869                           else
10870                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10871                           fi
10872
10873 else
10874
10875                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10876
10877 fi
10878
10879
10880           eval "$wx_cv_use_webkit"
10881
10882           if test x"$enablestring" = xdisable; then
10883             if test $wxUSE_WEBKIT = no; then
10884               result=yes
10885             else
10886               result=no
10887             fi
10888           else
10889             result=$wxUSE_WEBKIT
10890           fi
10891
10892           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10893 $as_echo "$result" >&6; }
10894
10895
10896           enablestring=
10897           defaultval=$wxUSE_ALL_FEATURES
10898           if test -z "$defaultval"; then
10899               if test x"$enablestring" = xdisable; then
10900                   defaultval=yes
10901               else
10902                   defaultval=no
10903               fi
10904           fi
10905
10906           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10907 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10908           # Check whether --enable-webview was given.
10909 if test "${enable_webview+set}" = set; then :
10910   enableval=$enable_webview;
10911                           if test "$enableval" = yes; then
10912                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10913                           else
10914                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10915                           fi
10916
10917 else
10918
10919                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10920
10921 fi
10922
10923
10924           eval "$wx_cv_use_webview"
10925
10926           if test x"$enablestring" = xdisable; then
10927             if test $wxUSE_WEBVIEW = no; then
10928               result=yes
10929             else
10930               result=no
10931             fi
10932           else
10933             result=$wxUSE_WEBVIEW
10934           fi
10935
10936           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10937 $as_echo "$result" >&6; }
10938
10939
10940 if test "$wxUSE_MAC" != 1; then
10941
10942           enablestring=
10943           defaultval=$wxUSE_ALL_FEATURES
10944           if test -z "$defaultval"; then
10945               if test x"$enablestring" = xdisable; then
10946                   defaultval=yes
10947               else
10948                   defaultval=no
10949               fi
10950           fi
10951
10952           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10953 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10954           # Check whether --enable-graphics_ctx was given.
10955 if test "${enable_graphics_ctx+set}" = set; then :
10956   enableval=$enable_graphics_ctx;
10957                           if test "$enableval" = yes; then
10958                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10959                           else
10960                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10961                           fi
10962
10963 else
10964
10965                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10966
10967 fi
10968
10969
10970           eval "$wx_cv_use_graphics_ctx"
10971
10972           if test x"$enablestring" = xdisable; then
10973             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10974               result=yes
10975             else
10976               result=no
10977             fi
10978           else
10979             result=$wxUSE_GRAPHICS_CONTEXT
10980           fi
10981
10982           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10983 $as_echo "$result" >&6; }
10984
10985 fi
10986
10987
10988
10989           enablestring=
10990           defaultval=$wxUSE_ALL_FEATURES
10991           if test -z "$defaultval"; then
10992               if test x"$enablestring" = xdisable; then
10993                   defaultval=yes
10994               else
10995                   defaultval=no
10996               fi
10997           fi
10998
10999           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
11000 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
11001           # Check whether --enable-clipboard was given.
11002 if test "${enable_clipboard+set}" = set; then :
11003   enableval=$enable_clipboard;
11004                           if test "$enableval" = yes; then
11005                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11006                           else
11007                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11008                           fi
11009
11010 else
11011
11012                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11013
11014 fi
11015
11016
11017           eval "$wx_cv_use_clipboard"
11018
11019           if test x"$enablestring" = xdisable; then
11020             if test $wxUSE_CLIPBOARD = no; then
11021               result=yes
11022             else
11023               result=no
11024             fi
11025           else
11026             result=$wxUSE_CLIPBOARD
11027           fi
11028
11029           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11030 $as_echo "$result" >&6; }
11031
11032
11033           enablestring=
11034           defaultval=$wxUSE_ALL_FEATURES
11035           if test -z "$defaultval"; then
11036               if test x"$enablestring" = xdisable; then
11037                   defaultval=yes
11038               else
11039                   defaultval=no
11040               fi
11041           fi
11042
11043           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11044 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11045           # Check whether --enable-dnd was given.
11046 if test "${enable_dnd+set}" = set; then :
11047   enableval=$enable_dnd;
11048                           if test "$enableval" = yes; then
11049                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
11050                           else
11051                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11052                           fi
11053
11054 else
11055
11056                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11057
11058 fi
11059
11060
11061           eval "$wx_cv_use_dnd"
11062
11063           if test x"$enablestring" = xdisable; then
11064             if test $wxUSE_DRAG_AND_DROP = no; then
11065               result=yes
11066             else
11067               result=no
11068             fi
11069           else
11070             result=$wxUSE_DRAG_AND_DROP
11071           fi
11072
11073           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11074 $as_echo "$result" >&6; }
11075
11076
11077
11078 DEFAULT_wxUSE_CONTROLS=none
11079
11080           enablestring=disable
11081           defaultval=
11082           if test -z "$defaultval"; then
11083               if test x"$enablestring" = xdisable; then
11084                   defaultval=yes
11085               else
11086                   defaultval=no
11087               fi
11088           fi
11089
11090           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11091 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11092           # Check whether --enable-controls was given.
11093 if test "${enable_controls+set}" = set; then :
11094   enableval=$enable_controls;
11095                           if test "$enableval" = yes; then
11096                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
11097                           else
11098                             wx_cv_use_controls='wxUSE_CONTROLS=no'
11099                           fi
11100
11101 else
11102
11103                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11104
11105 fi
11106
11107
11108           eval "$wx_cv_use_controls"
11109
11110           if test x"$enablestring" = xdisable; then
11111             if test $wxUSE_CONTROLS = no; then
11112               result=yes
11113             else
11114               result=no
11115             fi
11116           else
11117             result=$wxUSE_CONTROLS
11118           fi
11119
11120           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11121 $as_echo "$result" >&6; }
11122
11123
11124 if test "$wxUSE_CONTROLS" = "no"; then
11125     DEFAULT_wxUSE_ACCEL=no
11126     DEFAULT_wxUSE_ANIMATIONCTRL=no
11127     DEFAULT_wxUSE_BANNERWINDOW=no
11128     DEFAULT_wxUSE_BMPBUTTON=no
11129     DEFAULT_wxUSE_BUTTON=no
11130     DEFAULT_wxUSE_CALCTRL=no
11131     DEFAULT_wxUSE_CARET=no
11132     DEFAULT_wxUSE_CHECKBOX=no
11133     DEFAULT_wxUSE_CHECKLISTBOX=no
11134     DEFAULT_wxUSE_CHOICE=no
11135     DEFAULT_wxUSE_CHOICEBOOK=no
11136     DEFAULT_wxUSE_COLLPANE=no
11137     DEFAULT_wxUSE_COLOURPICKERCTRL=no
11138     DEFAULT_wxUSE_COMBOBOX=no
11139     DEFAULT_wxUSE_COMBOBOX=no
11140     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11141     DEFAULT_wxUSE_DATAVIEWCTRL=no
11142     DEFAULT_wxUSE_DATEPICKCTRL=no
11143     DEFAULT_wxUSE_DETECT_SM=no
11144     DEFAULT_wxUSE_DIRPICKERCTRL=no
11145     DEFAULT_wxUSE_DISPLAY=no
11146     DEFAULT_wxUSE_FILECTRL=no
11147     DEFAULT_wxUSE_FILEPICKERCTRL=no
11148     DEFAULT_wxUSE_FONTPICKERCTRL=no
11149     DEFAULT_wxUSE_GAUGE=no
11150     DEFAULT_wxUSE_GRID=no
11151     DEFAULT_wxUSE_HEADERCTRL=no
11152     DEFAULT_wxUSE_HYPERLINKCTRL=no
11153     DEFAULT_wxUSE_IMAGLIST=no
11154     DEFAULT_wxUSE_LISTBOOK=no
11155     DEFAULT_wxUSE_LISTBOX=no
11156     DEFAULT_wxUSE_LISTCTRL=no
11157     DEFAULT_wxUSE_MARKUP=no
11158     DEFAULT_wxUSE_NOTEBOOK=no
11159     DEFAULT_wxUSE_POPUPWIN=no
11160     DEFAULT_wxUSE_RADIOBOX=no
11161     DEFAULT_wxUSE_RADIOBTN=no
11162     DEFAULT_wxUSE_RICHMSGDLG=no
11163     DEFAULT_wxUSE_RICHTOOLTIP=no
11164     DEFAULT_wxUSE_REARRANGECTRL=no
11165     DEFAULT_wxUSE_SASH=no
11166     DEFAULT_wxUSE_SCROLLBAR=no
11167     DEFAULT_wxUSE_SEARCHCTRL=no
11168     DEFAULT_wxUSE_SLIDER=no
11169     DEFAULT_wxUSE_SPINBTN=no
11170     DEFAULT_wxUSE_SPINCTRL=no
11171     DEFAULT_wxUSE_SPLITTER=no
11172     DEFAULT_wxUSE_STATBMP=no
11173     DEFAULT_wxUSE_STATBOX=no
11174     DEFAULT_wxUSE_STATLINE=no
11175     DEFAULT_wxUSE_STATUSBAR=no
11176     DEFAULT_wxUSE_TIMEPICKCTRL=no
11177     DEFAULT_wxUSE_TIPWINDOW=no
11178     DEFAULT_wxUSE_TOGGLEBTN=no
11179     DEFAULT_wxUSE_TOOLBAR=no
11180     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11181     DEFAULT_wxUSE_TOOLBOOK=no
11182     DEFAULT_wxUSE_TOOLTIPS=no
11183     DEFAULT_wxUSE_TREEBOOK=no
11184     DEFAULT_wxUSE_TREECTRL=no
11185     DEFAULT_wxUSE_TREELISTCTRL=no
11186 fi
11187
11188
11189           enablestring=
11190           defaultval=$wxUSE_ALL_FEATURES
11191           if test -z "$defaultval"; then
11192               if test x"$enablestring" = xdisable; then
11193                   defaultval=yes
11194               else
11195                   defaultval=no
11196               fi
11197           fi
11198
11199           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11200 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11201           # Check whether --enable-markup was given.
11202 if test "${enable_markup+set}" = set; then :
11203   enableval=$enable_markup;
11204                           if test "$enableval" = yes; then
11205                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11206                           else
11207                             wx_cv_use_markup='wxUSE_MARKUP=no'
11208                           fi
11209
11210 else
11211
11212                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11213
11214 fi
11215
11216
11217           eval "$wx_cv_use_markup"
11218
11219           if test x"$enablestring" = xdisable; then
11220             if test $wxUSE_MARKUP = no; then
11221               result=yes
11222             else
11223               result=no
11224             fi
11225           else
11226             result=$wxUSE_MARKUP
11227           fi
11228
11229           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11230 $as_echo "$result" >&6; }
11231
11232
11233
11234           enablestring=
11235           defaultval=$wxUSE_ALL_FEATURES
11236           if test -z "$defaultval"; then
11237               if test x"$enablestring" = xdisable; then
11238                   defaultval=yes
11239               else
11240                   defaultval=no
11241               fi
11242           fi
11243
11244           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11245 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11246           # Check whether --enable-accel was given.
11247 if test "${enable_accel+set}" = set; then :
11248   enableval=$enable_accel;
11249                           if test "$enableval" = yes; then
11250                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11251                           else
11252                             wx_cv_use_accel='wxUSE_ACCEL=no'
11253                           fi
11254
11255 else
11256
11257                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11258
11259 fi
11260
11261
11262           eval "$wx_cv_use_accel"
11263
11264           if test x"$enablestring" = xdisable; then
11265             if test $wxUSE_ACCEL = no; then
11266               result=yes
11267             else
11268               result=no
11269             fi
11270           else
11271             result=$wxUSE_ACCEL
11272           fi
11273
11274           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11275 $as_echo "$result" >&6; }
11276
11277
11278           enablestring=
11279           defaultval=$wxUSE_ALL_FEATURES
11280           if test -z "$defaultval"; then
11281               if test x"$enablestring" = xdisable; then
11282                   defaultval=yes
11283               else
11284                   defaultval=no
11285               fi
11286           fi
11287
11288           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11289 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11290           # Check whether --enable-animatectrl was given.
11291 if test "${enable_animatectrl+set}" = set; then :
11292   enableval=$enable_animatectrl;
11293                           if test "$enableval" = yes; then
11294                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11295                           else
11296                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11297                           fi
11298
11299 else
11300
11301                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11302
11303 fi
11304
11305
11306           eval "$wx_cv_use_animatectrl"
11307
11308           if test x"$enablestring" = xdisable; then
11309             if test $wxUSE_ANIMATIONCTRL = no; then
11310               result=yes
11311             else
11312               result=no
11313             fi
11314           else
11315             result=$wxUSE_ANIMATIONCTRL
11316           fi
11317
11318           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11319 $as_echo "$result" >&6; }
11320
11321
11322           enablestring=
11323           defaultval=$wxUSE_ALL_FEATURES
11324           if test -z "$defaultval"; then
11325               if test x"$enablestring" = xdisable; then
11326                   defaultval=yes
11327               else
11328                   defaultval=no
11329               fi
11330           fi
11331
11332           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11333 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11334           # Check whether --enable-bannerwindow was given.
11335 if test "${enable_bannerwindow+set}" = set; then :
11336   enableval=$enable_bannerwindow;
11337                           if test "$enableval" = yes; then
11338                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11339                           else
11340                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11341                           fi
11342
11343 else
11344
11345                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11346
11347 fi
11348
11349
11350           eval "$wx_cv_use_bannerwindow"
11351
11352           if test x"$enablestring" = xdisable; then
11353             if test $wxUSE_BANNERWINDOW = no; then
11354               result=yes
11355             else
11356               result=no
11357             fi
11358           else
11359             result=$wxUSE_BANNERWINDOW
11360           fi
11361
11362           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11363 $as_echo "$result" >&6; }
11364
11365
11366           enablestring=
11367           defaultval=$wxUSE_ALL_FEATURES
11368           if test -z "$defaultval"; then
11369               if test x"$enablestring" = xdisable; then
11370                   defaultval=yes
11371               else
11372                   defaultval=no
11373               fi
11374           fi
11375
11376           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11377 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11378           # Check whether --enable-artstd was given.
11379 if test "${enable_artstd+set}" = set; then :
11380   enableval=$enable_artstd;
11381                           if test "$enableval" = yes; then
11382                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11383                           else
11384                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11385                           fi
11386
11387 else
11388
11389                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11390
11391 fi
11392
11393
11394           eval "$wx_cv_use_artstd"
11395
11396           if test x"$enablestring" = xdisable; then
11397             if test $wxUSE_ARTPROVIDER_STD = no; then
11398               result=yes
11399             else
11400               result=no
11401             fi
11402           else
11403             result=$wxUSE_ARTPROVIDER_STD
11404           fi
11405
11406           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11407 $as_echo "$result" >&6; }
11408
11409
11410           enablestring=
11411           defaultval=$wxUSE_ALL_FEATURES
11412           if test -z "$defaultval"; then
11413               if test x"$enablestring" = xdisable; then
11414                   defaultval=yes
11415               else
11416                   defaultval=no
11417               fi
11418           fi
11419
11420           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11421 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11422           # Check whether --enable-arttango was given.
11423 if test "${enable_arttango+set}" = set; then :
11424   enableval=$enable_arttango;
11425                           if test "$enableval" = yes; then
11426                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11427                           else
11428                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11429                           fi
11430
11431 else
11432
11433                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11434
11435 fi
11436
11437
11438           eval "$wx_cv_use_arttango"
11439
11440           if test x"$enablestring" = xdisable; then
11441             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11442               result=yes
11443             else
11444               result=no
11445             fi
11446           else
11447             result=$wxUSE_ARTPROVIDER_TANGO
11448           fi
11449
11450           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11451 $as_echo "$result" >&6; }
11452
11453
11454           enablestring=
11455           defaultval=$wxUSE_ALL_FEATURES
11456           if test -z "$defaultval"; then
11457               if test x"$enablestring" = xdisable; then
11458                   defaultval=yes
11459               else
11460                   defaultval=no
11461               fi
11462           fi
11463
11464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11465 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11466           # Check whether --enable-bmpbutton was given.
11467 if test "${enable_bmpbutton+set}" = set; then :
11468   enableval=$enable_bmpbutton;
11469                           if test "$enableval" = yes; then
11470                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11471                           else
11472                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11473                           fi
11474
11475 else
11476
11477                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11478
11479 fi
11480
11481
11482           eval "$wx_cv_use_bmpbutton"
11483
11484           if test x"$enablestring" = xdisable; then
11485             if test $wxUSE_BMPBUTTON = no; then
11486               result=yes
11487             else
11488               result=no
11489             fi
11490           else
11491             result=$wxUSE_BMPBUTTON
11492           fi
11493
11494           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11495 $as_echo "$result" >&6; }
11496
11497
11498           enablestring=
11499           defaultval=$wxUSE_ALL_FEATURES
11500           if test -z "$defaultval"; then
11501               if test x"$enablestring" = xdisable; then
11502                   defaultval=yes
11503               else
11504                   defaultval=no
11505               fi
11506           fi
11507
11508           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11509 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11510           # Check whether --enable-bmpcombobox was given.
11511 if test "${enable_bmpcombobox+set}" = set; then :
11512   enableval=$enable_bmpcombobox;
11513                           if test "$enableval" = yes; then
11514                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11515                           else
11516                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11517                           fi
11518
11519 else
11520
11521                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11522
11523 fi
11524
11525
11526           eval "$wx_cv_use_bmpcombobox"
11527
11528           if test x"$enablestring" = xdisable; then
11529             if test $wxUSE_BITMAPCOMBOBOX = no; then
11530               result=yes
11531             else
11532               result=no
11533             fi
11534           else
11535             result=$wxUSE_BITMAPCOMBOBOX
11536           fi
11537
11538           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11539 $as_echo "$result" >&6; }
11540
11541
11542           enablestring=
11543           defaultval=$wxUSE_ALL_FEATURES
11544           if test -z "$defaultval"; then
11545               if test x"$enablestring" = xdisable; then
11546                   defaultval=yes
11547               else
11548                   defaultval=no
11549               fi
11550           fi
11551
11552           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11553 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11554           # Check whether --enable-button was given.
11555 if test "${enable_button+set}" = set; then :
11556   enableval=$enable_button;
11557                           if test "$enableval" = yes; then
11558                             wx_cv_use_button='wxUSE_BUTTON=yes'
11559                           else
11560                             wx_cv_use_button='wxUSE_BUTTON=no'
11561                           fi
11562
11563 else
11564
11565                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11566
11567 fi
11568
11569
11570           eval "$wx_cv_use_button"
11571
11572           if test x"$enablestring" = xdisable; then
11573             if test $wxUSE_BUTTON = no; then
11574               result=yes
11575             else
11576               result=no
11577             fi
11578           else
11579             result=$wxUSE_BUTTON
11580           fi
11581
11582           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11583 $as_echo "$result" >&6; }
11584
11585
11586           enablestring=
11587           defaultval=$wxUSE_ALL_FEATURES
11588           if test -z "$defaultval"; then
11589               if test x"$enablestring" = xdisable; then
11590                   defaultval=yes
11591               else
11592                   defaultval=no
11593               fi
11594           fi
11595
11596           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11597 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11598           # Check whether --enable-calendar was given.
11599 if test "${enable_calendar+set}" = set; then :
11600   enableval=$enable_calendar;
11601                           if test "$enableval" = yes; then
11602                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11603                           else
11604                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11605                           fi
11606
11607 else
11608
11609                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11610
11611 fi
11612
11613
11614           eval "$wx_cv_use_calendar"
11615
11616           if test x"$enablestring" = xdisable; then
11617             if test $wxUSE_CALCTRL = no; then
11618               result=yes
11619             else
11620               result=no
11621             fi
11622           else
11623             result=$wxUSE_CALCTRL
11624           fi
11625
11626           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11627 $as_echo "$result" >&6; }
11628
11629
11630           enablestring=
11631           defaultval=$wxUSE_ALL_FEATURES
11632           if test -z "$defaultval"; then
11633               if test x"$enablestring" = xdisable; then
11634                   defaultval=yes
11635               else
11636                   defaultval=no
11637               fi
11638           fi
11639
11640           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11641 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11642           # Check whether --enable-caret was given.
11643 if test "${enable_caret+set}" = set; then :
11644   enableval=$enable_caret;
11645                           if test "$enableval" = yes; then
11646                             wx_cv_use_caret='wxUSE_CARET=yes'
11647                           else
11648                             wx_cv_use_caret='wxUSE_CARET=no'
11649                           fi
11650
11651 else
11652
11653                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11654
11655 fi
11656
11657
11658           eval "$wx_cv_use_caret"
11659
11660           if test x"$enablestring" = xdisable; then
11661             if test $wxUSE_CARET = no; then
11662               result=yes
11663             else
11664               result=no
11665             fi
11666           else
11667             result=$wxUSE_CARET
11668           fi
11669
11670           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11671 $as_echo "$result" >&6; }
11672
11673
11674           enablestring=
11675           defaultval=$wxUSE_ALL_FEATURES
11676           if test -z "$defaultval"; then
11677               if test x"$enablestring" = xdisable; then
11678                   defaultval=yes
11679               else
11680                   defaultval=no
11681               fi
11682           fi
11683
11684           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11685 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11686           # Check whether --enable-checkbox was given.
11687 if test "${enable_checkbox+set}" = set; then :
11688   enableval=$enable_checkbox;
11689                           if test "$enableval" = yes; then
11690                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11691                           else
11692                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11693                           fi
11694
11695 else
11696
11697                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11698
11699 fi
11700
11701
11702           eval "$wx_cv_use_checkbox"
11703
11704           if test x"$enablestring" = xdisable; then
11705             if test $wxUSE_CHECKBOX = no; then
11706               result=yes
11707             else
11708               result=no
11709             fi
11710           else
11711             result=$wxUSE_CHECKBOX
11712           fi
11713
11714           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11715 $as_echo "$result" >&6; }
11716
11717
11718           enablestring=
11719           defaultval=$wxUSE_ALL_FEATURES
11720           if test -z "$defaultval"; then
11721               if test x"$enablestring" = xdisable; then
11722                   defaultval=yes
11723               else
11724                   defaultval=no
11725               fi
11726           fi
11727
11728           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11729 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11730           # Check whether --enable-checklst was given.
11731 if test "${enable_checklst+set}" = set; then :
11732   enableval=$enable_checklst;
11733                           if test "$enableval" = yes; then
11734                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11735                           else
11736                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11737                           fi
11738
11739 else
11740
11741                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11742
11743 fi
11744
11745
11746           eval "$wx_cv_use_checklst"
11747
11748           if test x"$enablestring" = xdisable; then
11749             if test $wxUSE_CHECKLST = no; then
11750               result=yes
11751             else
11752               result=no
11753             fi
11754           else
11755             result=$wxUSE_CHECKLST
11756           fi
11757
11758           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11759 $as_echo "$result" >&6; }
11760
11761
11762           enablestring=
11763           defaultval=$wxUSE_ALL_FEATURES
11764           if test -z "$defaultval"; then
11765               if test x"$enablestring" = xdisable; then
11766                   defaultval=yes
11767               else
11768                   defaultval=no
11769               fi
11770           fi
11771
11772           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11773 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11774           # Check whether --enable-choice was given.
11775 if test "${enable_choice+set}" = set; then :
11776   enableval=$enable_choice;
11777                           if test "$enableval" = yes; then
11778                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11779                           else
11780                             wx_cv_use_choice='wxUSE_CHOICE=no'
11781                           fi
11782
11783 else
11784
11785                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11786
11787 fi
11788
11789
11790           eval "$wx_cv_use_choice"
11791
11792           if test x"$enablestring" = xdisable; then
11793             if test $wxUSE_CHOICE = no; then
11794               result=yes
11795             else
11796               result=no
11797             fi
11798           else
11799             result=$wxUSE_CHOICE
11800           fi
11801
11802           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11803 $as_echo "$result" >&6; }
11804
11805
11806           enablestring=
11807           defaultval=$wxUSE_ALL_FEATURES
11808           if test -z "$defaultval"; then
11809               if test x"$enablestring" = xdisable; then
11810                   defaultval=yes
11811               else
11812                   defaultval=no
11813               fi
11814           fi
11815
11816           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11817 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11818           # Check whether --enable-choicebook was given.
11819 if test "${enable_choicebook+set}" = set; then :
11820   enableval=$enable_choicebook;
11821                           if test "$enableval" = yes; then
11822                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11823                           else
11824                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11825                           fi
11826
11827 else
11828
11829                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11830
11831 fi
11832
11833
11834           eval "$wx_cv_use_choicebook"
11835
11836           if test x"$enablestring" = xdisable; then
11837             if test $wxUSE_CHOICEBOOK = no; then
11838               result=yes
11839             else
11840               result=no
11841             fi
11842           else
11843             result=$wxUSE_CHOICEBOOK
11844           fi
11845
11846           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11847 $as_echo "$result" >&6; }
11848
11849
11850           enablestring=
11851           defaultval=$wxUSE_ALL_FEATURES
11852           if test -z "$defaultval"; then
11853               if test x"$enablestring" = xdisable; then
11854                   defaultval=yes
11855               else
11856                   defaultval=no
11857               fi
11858           fi
11859
11860           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11861 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11862           # Check whether --enable-collpane was given.
11863 if test "${enable_collpane+set}" = set; then :
11864   enableval=$enable_collpane;
11865                           if test "$enableval" = yes; then
11866                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11867                           else
11868                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11869                           fi
11870
11871 else
11872
11873                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11874
11875 fi
11876
11877
11878           eval "$wx_cv_use_collpane"
11879
11880           if test x"$enablestring" = xdisable; then
11881             if test $wxUSE_COLLPANE = no; then
11882               result=yes
11883             else
11884               result=no
11885             fi
11886           else
11887             result=$wxUSE_COLLPANE
11888           fi
11889
11890           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11891 $as_echo "$result" >&6; }
11892
11893
11894           enablestring=
11895           defaultval=$wxUSE_ALL_FEATURES
11896           if test -z "$defaultval"; then
11897               if test x"$enablestring" = xdisable; then
11898                   defaultval=yes
11899               else
11900                   defaultval=no
11901               fi
11902           fi
11903
11904           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11905 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11906           # Check whether --enable-colourpicker was given.
11907 if test "${enable_colourpicker+set}" = set; then :
11908   enableval=$enable_colourpicker;
11909                           if test "$enableval" = yes; then
11910                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11911                           else
11912                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11913                           fi
11914
11915 else
11916
11917                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11918
11919 fi
11920
11921
11922           eval "$wx_cv_use_colourpicker"
11923
11924           if test x"$enablestring" = xdisable; then
11925             if test $wxUSE_COLOURPICKERCTRL = no; then
11926               result=yes
11927             else
11928               result=no
11929             fi
11930           else
11931             result=$wxUSE_COLOURPICKERCTRL
11932           fi
11933
11934           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11935 $as_echo "$result" >&6; }
11936
11937
11938           enablestring=
11939           defaultval=$wxUSE_ALL_FEATURES
11940           if test -z "$defaultval"; then
11941               if test x"$enablestring" = xdisable; then
11942                   defaultval=yes
11943               else
11944                   defaultval=no
11945               fi
11946           fi
11947
11948           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11949 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11950           # Check whether --enable-combobox was given.
11951 if test "${enable_combobox+set}" = set; then :
11952   enableval=$enable_combobox;
11953                           if test "$enableval" = yes; then
11954                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11955                           else
11956                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11957                           fi
11958
11959 else
11960
11961                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11962
11963 fi
11964
11965
11966           eval "$wx_cv_use_combobox"
11967
11968           if test x"$enablestring" = xdisable; then
11969             if test $wxUSE_COMBOBOX = no; then
11970               result=yes
11971             else
11972               result=no
11973             fi
11974           else
11975             result=$wxUSE_COMBOBOX
11976           fi
11977
11978           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11979 $as_echo "$result" >&6; }
11980
11981
11982           enablestring=
11983           defaultval=$wxUSE_ALL_FEATURES
11984           if test -z "$defaultval"; then
11985               if test x"$enablestring" = xdisable; then
11986                   defaultval=yes
11987               else
11988                   defaultval=no
11989               fi
11990           fi
11991
11992           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11993 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11994           # Check whether --enable-comboctrl was given.
11995 if test "${enable_comboctrl+set}" = set; then :
11996   enableval=$enable_comboctrl;
11997                           if test "$enableval" = yes; then
11998                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11999                           else
12000                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12001                           fi
12002
12003 else
12004
12005                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12006
12007 fi
12008
12009
12010           eval "$wx_cv_use_comboctrl"
12011
12012           if test x"$enablestring" = xdisable; then
12013             if test $wxUSE_COMBOCTRL = no; then
12014               result=yes
12015             else
12016               result=no
12017             fi
12018           else
12019             result=$wxUSE_COMBOCTRL
12020           fi
12021
12022           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12023 $as_echo "$result" >&6; }
12024
12025
12026           enablestring=
12027           defaultval=$wxUSE_ALL_FEATURES
12028           if test -z "$defaultval"; then
12029               if test x"$enablestring" = xdisable; then
12030                   defaultval=yes
12031               else
12032                   defaultval=no
12033               fi
12034           fi
12035
12036           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12037 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12038           # Check whether --enable-commandlinkbutton was given.
12039 if test "${enable_commandlinkbutton+set}" = set; then :
12040   enableval=$enable_commandlinkbutton;
12041                           if test "$enableval" = yes; then
12042                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
12043                           else
12044                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
12045                           fi
12046
12047 else
12048
12049                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12050
12051 fi
12052
12053
12054           eval "$wx_cv_use_commandlinkbutton"
12055
12056           if test x"$enablestring" = xdisable; then
12057             if test $wxUSE_COMMANDLINKBUTTON = no; then
12058               result=yes
12059             else
12060               result=no
12061             fi
12062           else
12063             result=$wxUSE_COMMANDLINKBUTTON
12064           fi
12065
12066           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12067 $as_echo "$result" >&6; }
12068
12069
12070           enablestring=
12071           defaultval=$wxUSE_ALL_FEATURES
12072           if test -z "$defaultval"; then
12073               if test x"$enablestring" = xdisable; then
12074                   defaultval=yes
12075               else
12076                   defaultval=no
12077               fi
12078           fi
12079
12080           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12081 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12082           # Check whether --enable-dataviewctrl was given.
12083 if test "${enable_dataviewctrl+set}" = set; then :
12084   enableval=$enable_dataviewctrl;
12085                           if test "$enableval" = yes; then
12086                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12087                           else
12088                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12089                           fi
12090
12091 else
12092
12093                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12094
12095 fi
12096
12097
12098           eval "$wx_cv_use_dataviewctrl"
12099
12100           if test x"$enablestring" = xdisable; then
12101             if test $wxUSE_DATAVIEWCTRL = no; then
12102               result=yes
12103             else
12104               result=no
12105             fi
12106           else
12107             result=$wxUSE_DATAVIEWCTRL
12108           fi
12109
12110           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12111 $as_echo "$result" >&6; }
12112
12113
12114           enablestring=
12115           defaultval=$wxUSE_ALL_FEATURES
12116           if test -z "$defaultval"; then
12117               if test x"$enablestring" = xdisable; then
12118                   defaultval=yes
12119               else
12120                   defaultval=no
12121               fi
12122           fi
12123
12124           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12125 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12126           # Check whether --enable-datepick was given.
12127 if test "${enable_datepick+set}" = set; then :
12128   enableval=$enable_datepick;
12129                           if test "$enableval" = yes; then
12130                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12131                           else
12132                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12133                           fi
12134
12135 else
12136
12137                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12138
12139 fi
12140
12141
12142           eval "$wx_cv_use_datepick"
12143
12144           if test x"$enablestring" = xdisable; then
12145             if test $wxUSE_DATEPICKCTRL = no; then
12146               result=yes
12147             else
12148               result=no
12149             fi
12150           else
12151             result=$wxUSE_DATEPICKCTRL
12152           fi
12153
12154           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12155 $as_echo "$result" >&6; }
12156
12157
12158           enablestring=
12159           defaultval=$wxUSE_ALL_FEATURES
12160           if test -z "$defaultval"; then
12161               if test x"$enablestring" = xdisable; then
12162                   defaultval=yes
12163               else
12164                   defaultval=no
12165               fi
12166           fi
12167
12168           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12169 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12170           # Check whether --enable-detect_sm was given.
12171 if test "${enable_detect_sm+set}" = set; then :
12172   enableval=$enable_detect_sm;
12173                           if test "$enableval" = yes; then
12174                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12175                           else
12176                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12177                           fi
12178
12179 else
12180
12181                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12182
12183 fi
12184
12185
12186           eval "$wx_cv_use_detect_sm"
12187
12188           if test x"$enablestring" = xdisable; then
12189             if test $wxUSE_DETECT_SM = no; then
12190               result=yes
12191             else
12192               result=no
12193             fi
12194           else
12195             result=$wxUSE_DETECT_SM
12196           fi
12197
12198           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12199 $as_echo "$result" >&6; }
12200
12201
12202           enablestring=
12203           defaultval=$wxUSE_ALL_FEATURES
12204           if test -z "$defaultval"; then
12205               if test x"$enablestring" = xdisable; then
12206                   defaultval=yes
12207               else
12208                   defaultval=no
12209               fi
12210           fi
12211
12212           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12213 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12214           # Check whether --enable-dirpicker was given.
12215 if test "${enable_dirpicker+set}" = set; then :
12216   enableval=$enable_dirpicker;
12217                           if test "$enableval" = yes; then
12218                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12219                           else
12220                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12221                           fi
12222
12223 else
12224
12225                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12226
12227 fi
12228
12229
12230           eval "$wx_cv_use_dirpicker"
12231
12232           if test x"$enablestring" = xdisable; then
12233             if test $wxUSE_DIRPICKERCTRL = no; then
12234               result=yes
12235             else
12236               result=no
12237             fi
12238           else
12239             result=$wxUSE_DIRPICKERCTRL
12240           fi
12241
12242           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12243 $as_echo "$result" >&6; }
12244
12245
12246           enablestring=
12247           defaultval=$wxUSE_ALL_FEATURES
12248           if test -z "$defaultval"; then
12249               if test x"$enablestring" = xdisable; then
12250                   defaultval=yes
12251               else
12252                   defaultval=no
12253               fi
12254           fi
12255
12256           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12257 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12258           # Check whether --enable-display was given.
12259 if test "${enable_display+set}" = set; then :
12260   enableval=$enable_display;
12261                           if test "$enableval" = yes; then
12262                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12263                           else
12264                             wx_cv_use_display='wxUSE_DISPLAY=no'
12265                           fi
12266
12267 else
12268
12269                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12270
12271 fi
12272
12273
12274           eval "$wx_cv_use_display"
12275
12276           if test x"$enablestring" = xdisable; then
12277             if test $wxUSE_DISPLAY = no; then
12278               result=yes
12279             else
12280               result=no
12281             fi
12282           else
12283             result=$wxUSE_DISPLAY
12284           fi
12285
12286           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12287 $as_echo "$result" >&6; }
12288
12289
12290           enablestring=
12291           defaultval=$wxUSE_ALL_FEATURES
12292           if test -z "$defaultval"; then
12293               if test x"$enablestring" = xdisable; then
12294                   defaultval=yes
12295               else
12296                   defaultval=no
12297               fi
12298           fi
12299
12300           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12301 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12302           # Check whether --enable-editablebox was given.
12303 if test "${enable_editablebox+set}" = set; then :
12304   enableval=$enable_editablebox;
12305                           if test "$enableval" = yes; then
12306                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12307                           else
12308                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12309                           fi
12310
12311 else
12312
12313                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12314
12315 fi
12316
12317
12318           eval "$wx_cv_use_editablebox"
12319
12320           if test x"$enablestring" = xdisable; then
12321             if test $wxUSE_EDITABLELISTBOX = no; then
12322               result=yes
12323             else
12324               result=no
12325             fi
12326           else
12327             result=$wxUSE_EDITABLELISTBOX
12328           fi
12329
12330           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12331 $as_echo "$result" >&6; }
12332
12333
12334           enablestring=
12335           defaultval=$wxUSE_ALL_FEATURES
12336           if test -z "$defaultval"; then
12337               if test x"$enablestring" = xdisable; then
12338                   defaultval=yes
12339               else
12340                   defaultval=no
12341               fi
12342           fi
12343
12344           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12345 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12346           # Check whether --enable-filectrl was given.
12347 if test "${enable_filectrl+set}" = set; then :
12348   enableval=$enable_filectrl;
12349                           if test "$enableval" = yes; then
12350                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12351                           else
12352                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12353                           fi
12354
12355 else
12356
12357                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12358
12359 fi
12360
12361
12362           eval "$wx_cv_use_filectrl"
12363
12364           if test x"$enablestring" = xdisable; then
12365             if test $wxUSE_FILECTRL = no; then
12366               result=yes
12367             else
12368               result=no
12369             fi
12370           else
12371             result=$wxUSE_FILECTRL
12372           fi
12373
12374           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12375 $as_echo "$result" >&6; }
12376
12377
12378           enablestring=
12379           defaultval=$wxUSE_ALL_FEATURES
12380           if test -z "$defaultval"; then
12381               if test x"$enablestring" = xdisable; then
12382                   defaultval=yes
12383               else
12384                   defaultval=no
12385               fi
12386           fi
12387
12388           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12389 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12390           # Check whether --enable-filepicker was given.
12391 if test "${enable_filepicker+set}" = set; then :
12392   enableval=$enable_filepicker;
12393                           if test "$enableval" = yes; then
12394                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12395                           else
12396                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12397                           fi
12398
12399 else
12400
12401                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12402
12403 fi
12404
12405
12406           eval "$wx_cv_use_filepicker"
12407
12408           if test x"$enablestring" = xdisable; then
12409             if test $wxUSE_FILEPICKERCTRL = no; then
12410               result=yes
12411             else
12412               result=no
12413             fi
12414           else
12415             result=$wxUSE_FILEPICKERCTRL
12416           fi
12417
12418           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12419 $as_echo "$result" >&6; }
12420
12421
12422           enablestring=
12423           defaultval=$wxUSE_ALL_FEATURES
12424           if test -z "$defaultval"; then
12425               if test x"$enablestring" = xdisable; then
12426                   defaultval=yes
12427               else
12428                   defaultval=no
12429               fi
12430           fi
12431
12432           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12433 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12434           # Check whether --enable-fontpicker was given.
12435 if test "${enable_fontpicker+set}" = set; then :
12436   enableval=$enable_fontpicker;
12437                           if test "$enableval" = yes; then
12438                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12439                           else
12440                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12441                           fi
12442
12443 else
12444
12445                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12446
12447 fi
12448
12449
12450           eval "$wx_cv_use_fontpicker"
12451
12452           if test x"$enablestring" = xdisable; then
12453             if test $wxUSE_FONTPICKERCTRL = no; then
12454               result=yes
12455             else
12456               result=no
12457             fi
12458           else
12459             result=$wxUSE_FONTPICKERCTRL
12460           fi
12461
12462           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12463 $as_echo "$result" >&6; }
12464
12465
12466           enablestring=
12467           defaultval=$wxUSE_ALL_FEATURES
12468           if test -z "$defaultval"; then
12469               if test x"$enablestring" = xdisable; then
12470                   defaultval=yes
12471               else
12472                   defaultval=no
12473               fi
12474           fi
12475
12476           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12477 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12478           # Check whether --enable-gauge was given.
12479 if test "${enable_gauge+set}" = set; then :
12480   enableval=$enable_gauge;
12481                           if test "$enableval" = yes; then
12482                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12483                           else
12484                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12485                           fi
12486
12487 else
12488
12489                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12490
12491 fi
12492
12493
12494           eval "$wx_cv_use_gauge"
12495
12496           if test x"$enablestring" = xdisable; then
12497             if test $wxUSE_GAUGE = no; then
12498               result=yes
12499             else
12500               result=no
12501             fi
12502           else
12503             result=$wxUSE_GAUGE
12504           fi
12505
12506           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12507 $as_echo "$result" >&6; }
12508
12509
12510           enablestring=
12511           defaultval=$wxUSE_ALL_FEATURES
12512           if test -z "$defaultval"; then
12513               if test x"$enablestring" = xdisable; then
12514                   defaultval=yes
12515               else
12516                   defaultval=no
12517               fi
12518           fi
12519
12520           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12521 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12522           # Check whether --enable-grid was given.
12523 if test "${enable_grid+set}" = set; then :
12524   enableval=$enable_grid;
12525                           if test "$enableval" = yes; then
12526                             wx_cv_use_grid='wxUSE_GRID=yes'
12527                           else
12528                             wx_cv_use_grid='wxUSE_GRID=no'
12529                           fi
12530
12531 else
12532
12533                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12534
12535 fi
12536
12537
12538           eval "$wx_cv_use_grid"
12539
12540           if test x"$enablestring" = xdisable; then
12541             if test $wxUSE_GRID = no; then
12542               result=yes
12543             else
12544               result=no
12545             fi
12546           else
12547             result=$wxUSE_GRID
12548           fi
12549
12550           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12551 $as_echo "$result" >&6; }
12552
12553
12554           enablestring=
12555           defaultval=$wxUSE_ALL_FEATURES
12556           if test -z "$defaultval"; then
12557               if test x"$enablestring" = xdisable; then
12558                   defaultval=yes
12559               else
12560                   defaultval=no
12561               fi
12562           fi
12563
12564           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12565 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12566           # Check whether --enable-headerctrl was given.
12567 if test "${enable_headerctrl+set}" = set; then :
12568   enableval=$enable_headerctrl;
12569                           if test "$enableval" = yes; then
12570                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12571                           else
12572                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12573                           fi
12574
12575 else
12576
12577                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12578
12579 fi
12580
12581
12582           eval "$wx_cv_use_headerctrl"
12583
12584           if test x"$enablestring" = xdisable; then
12585             if test $wxUSE_HEADERCTRL = no; then
12586               result=yes
12587             else
12588               result=no
12589             fi
12590           else
12591             result=$wxUSE_HEADERCTRL
12592           fi
12593
12594           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12595 $as_echo "$result" >&6; }
12596
12597
12598           enablestring=
12599           defaultval=$wxUSE_ALL_FEATURES
12600           if test -z "$defaultval"; then
12601               if test x"$enablestring" = xdisable; then
12602                   defaultval=yes
12603               else
12604                   defaultval=no
12605               fi
12606           fi
12607
12608           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12609 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12610           # Check whether --enable-hyperlink was given.
12611 if test "${enable_hyperlink+set}" = set; then :
12612   enableval=$enable_hyperlink;
12613                           if test "$enableval" = yes; then
12614                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12615                           else
12616                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12617                           fi
12618
12619 else
12620
12621                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12622
12623 fi
12624
12625
12626           eval "$wx_cv_use_hyperlink"
12627
12628           if test x"$enablestring" = xdisable; then
12629             if test $wxUSE_HYPERLINKCTRL = no; then
12630               result=yes
12631             else
12632               result=no
12633             fi
12634           else
12635             result=$wxUSE_HYPERLINKCTRL
12636           fi
12637
12638           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12639 $as_echo "$result" >&6; }
12640
12641
12642           enablestring=
12643           defaultval=$wxUSE_ALL_FEATURES
12644           if test -z "$defaultval"; then
12645               if test x"$enablestring" = xdisable; then
12646                   defaultval=yes
12647               else
12648                   defaultval=no
12649               fi
12650           fi
12651
12652           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12653 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12654           # Check whether --enable-imaglist was given.
12655 if test "${enable_imaglist+set}" = set; then :
12656   enableval=$enable_imaglist;
12657                           if test "$enableval" = yes; then
12658                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12659                           else
12660                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12661                           fi
12662
12663 else
12664
12665                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12666
12667 fi
12668
12669
12670           eval "$wx_cv_use_imaglist"
12671
12672           if test x"$enablestring" = xdisable; then
12673             if test $wxUSE_IMAGLIST = no; then
12674               result=yes
12675             else
12676               result=no
12677             fi
12678           else
12679             result=$wxUSE_IMAGLIST
12680           fi
12681
12682           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12683 $as_echo "$result" >&6; }
12684
12685
12686           enablestring=
12687           defaultval=$wxUSE_ALL_FEATURES
12688           if test -z "$defaultval"; then
12689               if test x"$enablestring" = xdisable; then
12690                   defaultval=yes
12691               else
12692                   defaultval=no
12693               fi
12694           fi
12695
12696           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12697 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12698           # Check whether --enable-infobar was given.
12699 if test "${enable_infobar+set}" = set; then :
12700   enableval=$enable_infobar;
12701                           if test "$enableval" = yes; then
12702                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12703                           else
12704                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12705                           fi
12706
12707 else
12708
12709                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12710
12711 fi
12712
12713
12714           eval "$wx_cv_use_infobar"
12715
12716           if test x"$enablestring" = xdisable; then
12717             if test $wxUSE_INFOBAR = no; then
12718               result=yes
12719             else
12720               result=no
12721             fi
12722           else
12723             result=$wxUSE_INFOBAR
12724           fi
12725
12726           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12727 $as_echo "$result" >&6; }
12728
12729
12730           enablestring=
12731           defaultval=$wxUSE_ALL_FEATURES
12732           if test -z "$defaultval"; then
12733               if test x"$enablestring" = xdisable; then
12734                   defaultval=yes
12735               else
12736                   defaultval=no
12737               fi
12738           fi
12739
12740           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12741 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12742           # Check whether --enable-listbook was given.
12743 if test "${enable_listbook+set}" = set; then :
12744   enableval=$enable_listbook;
12745                           if test "$enableval" = yes; then
12746                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12747                           else
12748                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12749                           fi
12750
12751 else
12752
12753                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12754
12755 fi
12756
12757
12758           eval "$wx_cv_use_listbook"
12759
12760           if test x"$enablestring" = xdisable; then
12761             if test $wxUSE_LISTBOOK = no; then
12762               result=yes
12763             else
12764               result=no
12765             fi
12766           else
12767             result=$wxUSE_LISTBOOK
12768           fi
12769
12770           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12771 $as_echo "$result" >&6; }
12772
12773
12774           enablestring=
12775           defaultval=$wxUSE_ALL_FEATURES
12776           if test -z "$defaultval"; then
12777               if test x"$enablestring" = xdisable; then
12778                   defaultval=yes
12779               else
12780                   defaultval=no
12781               fi
12782           fi
12783
12784           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12785 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12786           # Check whether --enable-listbox was given.
12787 if test "${enable_listbox+set}" = set; then :
12788   enableval=$enable_listbox;
12789                           if test "$enableval" = yes; then
12790                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12791                           else
12792                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12793                           fi
12794
12795 else
12796
12797                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12798
12799 fi
12800
12801
12802           eval "$wx_cv_use_listbox"
12803
12804           if test x"$enablestring" = xdisable; then
12805             if test $wxUSE_LISTBOX = no; then
12806               result=yes
12807             else
12808               result=no
12809             fi
12810           else
12811             result=$wxUSE_LISTBOX
12812           fi
12813
12814           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12815 $as_echo "$result" >&6; }
12816
12817
12818           enablestring=
12819           defaultval=$wxUSE_ALL_FEATURES
12820           if test -z "$defaultval"; then
12821               if test x"$enablestring" = xdisable; then
12822                   defaultval=yes
12823               else
12824                   defaultval=no
12825               fi
12826           fi
12827
12828           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12829 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12830           # Check whether --enable-listctrl was given.
12831 if test "${enable_listctrl+set}" = set; then :
12832   enableval=$enable_listctrl;
12833                           if test "$enableval" = yes; then
12834                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12835                           else
12836                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12837                           fi
12838
12839 else
12840
12841                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12842
12843 fi
12844
12845
12846           eval "$wx_cv_use_listctrl"
12847
12848           if test x"$enablestring" = xdisable; then
12849             if test $wxUSE_LISTCTRL = no; then
12850               result=yes
12851             else
12852               result=no
12853             fi
12854           else
12855             result=$wxUSE_LISTCTRL
12856           fi
12857
12858           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12859 $as_echo "$result" >&6; }
12860
12861
12862           enablestring=
12863           defaultval=$wxUSE_ALL_FEATURES
12864           if test -z "$defaultval"; then
12865               if test x"$enablestring" = xdisable; then
12866                   defaultval=yes
12867               else
12868                   defaultval=no
12869               fi
12870           fi
12871
12872           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12873 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12874           # Check whether --enable-notebook was given.
12875 if test "${enable_notebook+set}" = set; then :
12876   enableval=$enable_notebook;
12877                           if test "$enableval" = yes; then
12878                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12879                           else
12880                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12881                           fi
12882
12883 else
12884
12885                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12886
12887 fi
12888
12889
12890           eval "$wx_cv_use_notebook"
12891
12892           if test x"$enablestring" = xdisable; then
12893             if test $wxUSE_NOTEBOOK = no; then
12894               result=yes
12895             else
12896               result=no
12897             fi
12898           else
12899             result=$wxUSE_NOTEBOOK
12900           fi
12901
12902           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12903 $as_echo "$result" >&6; }
12904
12905
12906           enablestring=
12907           defaultval=$wxUSE_ALL_FEATURES
12908           if test -z "$defaultval"; then
12909               if test x"$enablestring" = xdisable; then
12910                   defaultval=yes
12911               else
12912                   defaultval=no
12913               fi
12914           fi
12915
12916           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12917 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12918           # Check whether --enable-notifmsg was given.
12919 if test "${enable_notifmsg+set}" = set; then :
12920   enableval=$enable_notifmsg;
12921                           if test "$enableval" = yes; then
12922                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12923                           else
12924                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12925                           fi
12926
12927 else
12928
12929                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12930
12931 fi
12932
12933
12934           eval "$wx_cv_use_notifmsg"
12935
12936           if test x"$enablestring" = xdisable; then
12937             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12938               result=yes
12939             else
12940               result=no
12941             fi
12942           else
12943             result=$wxUSE_NOTIFICATION_MESSAGE
12944           fi
12945
12946           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12947 $as_echo "$result" >&6; }
12948
12949
12950           enablestring=
12951           defaultval=$wxUSE_ALL_FEATURES
12952           if test -z "$defaultval"; then
12953               if test x"$enablestring" = xdisable; then
12954                   defaultval=yes
12955               else
12956                   defaultval=no
12957               fi
12958           fi
12959
12960           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12961 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12962           # Check whether --enable-odcombobox was given.
12963 if test "${enable_odcombobox+set}" = set; then :
12964   enableval=$enable_odcombobox;
12965                           if test "$enableval" = yes; then
12966                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12967                           else
12968                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12969                           fi
12970
12971 else
12972
12973                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12974
12975 fi
12976
12977
12978           eval "$wx_cv_use_odcombobox"
12979
12980           if test x"$enablestring" = xdisable; then
12981             if test $wxUSE_ODCOMBOBOX = no; then
12982               result=yes
12983             else
12984               result=no
12985             fi
12986           else
12987             result=$wxUSE_ODCOMBOBOX
12988           fi
12989
12990           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12991 $as_echo "$result" >&6; }
12992
12993
12994           enablestring=
12995           defaultval=$wxUSE_ALL_FEATURES
12996           if test -z "$defaultval"; then
12997               if test x"$enablestring" = xdisable; then
12998                   defaultval=yes
12999               else
13000                   defaultval=no
13001               fi
13002           fi
13003
13004           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13005 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13006           # Check whether --enable-popupwin was given.
13007 if test "${enable_popupwin+set}" = set; then :
13008   enableval=$enable_popupwin;
13009                           if test "$enableval" = yes; then
13010                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13011                           else
13012                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13013                           fi
13014
13015 else
13016
13017                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13018
13019 fi
13020
13021
13022           eval "$wx_cv_use_popupwin"
13023
13024           if test x"$enablestring" = xdisable; then
13025             if test $wxUSE_POPUPWIN = no; then
13026               result=yes
13027             else
13028               result=no
13029             fi
13030           else
13031             result=$wxUSE_POPUPWIN
13032           fi
13033
13034           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13035 $as_echo "$result" >&6; }
13036
13037
13038           enablestring=
13039           defaultval=$wxUSE_ALL_FEATURES
13040           if test -z "$defaultval"; then
13041               if test x"$enablestring" = xdisable; then
13042                   defaultval=yes
13043               else
13044                   defaultval=no
13045               fi
13046           fi
13047
13048           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13049 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13050           # Check whether --enable-radiobox was given.
13051 if test "${enable_radiobox+set}" = set; then :
13052   enableval=$enable_radiobox;
13053                           if test "$enableval" = yes; then
13054                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13055                           else
13056                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13057                           fi
13058
13059 else
13060
13061                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13062
13063 fi
13064
13065
13066           eval "$wx_cv_use_radiobox"
13067
13068           if test x"$enablestring" = xdisable; then
13069             if test $wxUSE_RADIOBOX = no; then
13070               result=yes
13071             else
13072               result=no
13073             fi
13074           else
13075             result=$wxUSE_RADIOBOX
13076           fi
13077
13078           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13079 $as_echo "$result" >&6; }
13080
13081
13082           enablestring=
13083           defaultval=$wxUSE_ALL_FEATURES
13084           if test -z "$defaultval"; then
13085               if test x"$enablestring" = xdisable; then
13086                   defaultval=yes
13087               else
13088                   defaultval=no
13089               fi
13090           fi
13091
13092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13093 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13094           # Check whether --enable-radiobtn was given.
13095 if test "${enable_radiobtn+set}" = set; then :
13096   enableval=$enable_radiobtn;
13097                           if test "$enableval" = yes; then
13098                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13099                           else
13100                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13101                           fi
13102
13103 else
13104
13105                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13106
13107 fi
13108
13109
13110           eval "$wx_cv_use_radiobtn"
13111
13112           if test x"$enablestring" = xdisable; then
13113             if test $wxUSE_RADIOBTN = no; then
13114               result=yes
13115             else
13116               result=no
13117             fi
13118           else
13119             result=$wxUSE_RADIOBTN
13120           fi
13121
13122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13123 $as_echo "$result" >&6; }
13124
13125
13126           enablestring=
13127           defaultval=$wxUSE_ALL_FEATURES
13128           if test -z "$defaultval"; then
13129               if test x"$enablestring" = xdisable; then
13130                   defaultval=yes
13131               else
13132                   defaultval=no
13133               fi
13134           fi
13135
13136           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13137 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13138           # Check whether --enable-richmsgdlg was given.
13139 if test "${enable_richmsgdlg+set}" = set; then :
13140   enableval=$enable_richmsgdlg;
13141                           if test "$enableval" = yes; then
13142                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13143                           else
13144                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13145                           fi
13146
13147 else
13148
13149                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13150
13151 fi
13152
13153
13154           eval "$wx_cv_use_richmsgdlg"
13155
13156           if test x"$enablestring" = xdisable; then
13157             if test $wxUSE_RICHMSGDLG = no; then
13158               result=yes
13159             else
13160               result=no
13161             fi
13162           else
13163             result=$wxUSE_RICHMSGDLG
13164           fi
13165
13166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13167 $as_echo "$result" >&6; }
13168
13169
13170           enablestring=
13171           defaultval=$wxUSE_ALL_FEATURES
13172           if test -z "$defaultval"; then
13173               if test x"$enablestring" = xdisable; then
13174                   defaultval=yes
13175               else
13176                   defaultval=no
13177               fi
13178           fi
13179
13180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13181 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13182           # Check whether --enable-richtooltip was given.
13183 if test "${enable_richtooltip+set}" = set; then :
13184   enableval=$enable_richtooltip;
13185                           if test "$enableval" = yes; then
13186                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13187                           else
13188                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13189                           fi
13190
13191 else
13192
13193                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13194
13195 fi
13196
13197
13198           eval "$wx_cv_use_richtooltip"
13199
13200           if test x"$enablestring" = xdisable; then
13201             if test $wxUSE_RICHTOOLTIP = no; then
13202               result=yes
13203             else
13204               result=no
13205             fi
13206           else
13207             result=$wxUSE_RICHTOOLTIP
13208           fi
13209
13210           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13211 $as_echo "$result" >&6; }
13212
13213
13214           enablestring=
13215           defaultval=$wxUSE_ALL_FEATURES
13216           if test -z "$defaultval"; then
13217               if test x"$enablestring" = xdisable; then
13218                   defaultval=yes
13219               else
13220                   defaultval=no
13221               fi
13222           fi
13223
13224           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13225 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13226           # Check whether --enable-rearrangectrl was given.
13227 if test "${enable_rearrangectrl+set}" = set; then :
13228   enableval=$enable_rearrangectrl;
13229                           if test "$enableval" = yes; then
13230                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13231                           else
13232                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13233                           fi
13234
13235 else
13236
13237                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13238
13239 fi
13240
13241
13242           eval "$wx_cv_use_rearrangectrl"
13243
13244           if test x"$enablestring" = xdisable; then
13245             if test $wxUSE_REARRANGECTRL = no; then
13246               result=yes
13247             else
13248               result=no
13249             fi
13250           else
13251             result=$wxUSE_REARRANGECTRL
13252           fi
13253
13254           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13255 $as_echo "$result" >&6; }
13256
13257
13258           enablestring=
13259           defaultval=$wxUSE_ALL_FEATURES
13260           if test -z "$defaultval"; then
13261               if test x"$enablestring" = xdisable; then
13262                   defaultval=yes
13263               else
13264                   defaultval=no
13265               fi
13266           fi
13267
13268           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13269 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13270           # Check whether --enable-sash was given.
13271 if test "${enable_sash+set}" = set; then :
13272   enableval=$enable_sash;
13273                           if test "$enableval" = yes; then
13274                             wx_cv_use_sash='wxUSE_SASH=yes'
13275                           else
13276                             wx_cv_use_sash='wxUSE_SASH=no'
13277                           fi
13278
13279 else
13280
13281                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13282
13283 fi
13284
13285
13286           eval "$wx_cv_use_sash"
13287
13288           if test x"$enablestring" = xdisable; then
13289             if test $wxUSE_SASH = no; then
13290               result=yes
13291             else
13292               result=no
13293             fi
13294           else
13295             result=$wxUSE_SASH
13296           fi
13297
13298           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13299 $as_echo "$result" >&6; }
13300
13301
13302           enablestring=
13303           defaultval=$wxUSE_ALL_FEATURES
13304           if test -z "$defaultval"; then
13305               if test x"$enablestring" = xdisable; then
13306                   defaultval=yes
13307               else
13308                   defaultval=no
13309               fi
13310           fi
13311
13312           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13313 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13314           # Check whether --enable-scrollbar was given.
13315 if test "${enable_scrollbar+set}" = set; then :
13316   enableval=$enable_scrollbar;
13317                           if test "$enableval" = yes; then
13318                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13319                           else
13320                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13321                           fi
13322
13323 else
13324
13325                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13326
13327 fi
13328
13329
13330           eval "$wx_cv_use_scrollbar"
13331
13332           if test x"$enablestring" = xdisable; then
13333             if test $wxUSE_SCROLLBAR = no; then
13334               result=yes
13335             else
13336               result=no
13337             fi
13338           else
13339             result=$wxUSE_SCROLLBAR
13340           fi
13341
13342           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13343 $as_echo "$result" >&6; }
13344
13345
13346           enablestring=
13347           defaultval=$wxUSE_ALL_FEATURES
13348           if test -z "$defaultval"; then
13349               if test x"$enablestring" = xdisable; then
13350                   defaultval=yes
13351               else
13352                   defaultval=no
13353               fi
13354           fi
13355
13356           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13357 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13358           # Check whether --enable-searchctrl was given.
13359 if test "${enable_searchctrl+set}" = set; then :
13360   enableval=$enable_searchctrl;
13361                           if test "$enableval" = yes; then
13362                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13363                           else
13364                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13365                           fi
13366
13367 else
13368
13369                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13370
13371 fi
13372
13373
13374           eval "$wx_cv_use_searchctrl"
13375
13376           if test x"$enablestring" = xdisable; then
13377             if test $wxUSE_SEARCHCTRL = no; then
13378               result=yes
13379             else
13380               result=no
13381             fi
13382           else
13383             result=$wxUSE_SEARCHCTRL
13384           fi
13385
13386           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13387 $as_echo "$result" >&6; }
13388
13389
13390           enablestring=
13391           defaultval=$wxUSE_ALL_FEATURES
13392           if test -z "$defaultval"; then
13393               if test x"$enablestring" = xdisable; then
13394                   defaultval=yes
13395               else
13396                   defaultval=no
13397               fi
13398           fi
13399
13400           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13401 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13402           # Check whether --enable-slider was given.
13403 if test "${enable_slider+set}" = set; then :
13404   enableval=$enable_slider;
13405                           if test "$enableval" = yes; then
13406                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13407                           else
13408                             wx_cv_use_slider='wxUSE_SLIDER=no'
13409                           fi
13410
13411 else
13412
13413                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13414
13415 fi
13416
13417
13418           eval "$wx_cv_use_slider"
13419
13420           if test x"$enablestring" = xdisable; then
13421             if test $wxUSE_SLIDER = no; then
13422               result=yes
13423             else
13424               result=no
13425             fi
13426           else
13427             result=$wxUSE_SLIDER
13428           fi
13429
13430           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13431 $as_echo "$result" >&6; }
13432
13433
13434           enablestring=
13435           defaultval=$wxUSE_ALL_FEATURES
13436           if test -z "$defaultval"; then
13437               if test x"$enablestring" = xdisable; then
13438                   defaultval=yes
13439               else
13440                   defaultval=no
13441               fi
13442           fi
13443
13444           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13445 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13446           # Check whether --enable-spinbtn was given.
13447 if test "${enable_spinbtn+set}" = set; then :
13448   enableval=$enable_spinbtn;
13449                           if test "$enableval" = yes; then
13450                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13451                           else
13452                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13453                           fi
13454
13455 else
13456
13457                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13458
13459 fi
13460
13461
13462           eval "$wx_cv_use_spinbtn"
13463
13464           if test x"$enablestring" = xdisable; then
13465             if test $wxUSE_SPINBTN = no; then
13466               result=yes
13467             else
13468               result=no
13469             fi
13470           else
13471             result=$wxUSE_SPINBTN
13472           fi
13473
13474           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13475 $as_echo "$result" >&6; }
13476
13477
13478           enablestring=
13479           defaultval=$wxUSE_ALL_FEATURES
13480           if test -z "$defaultval"; then
13481               if test x"$enablestring" = xdisable; then
13482                   defaultval=yes
13483               else
13484                   defaultval=no
13485               fi
13486           fi
13487
13488           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13489 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13490           # Check whether --enable-spinctrl was given.
13491 if test "${enable_spinctrl+set}" = set; then :
13492   enableval=$enable_spinctrl;
13493                           if test "$enableval" = yes; then
13494                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13495                           else
13496                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13497                           fi
13498
13499 else
13500
13501                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13502
13503 fi
13504
13505
13506           eval "$wx_cv_use_spinctrl"
13507
13508           if test x"$enablestring" = xdisable; then
13509             if test $wxUSE_SPINCTRL = no; then
13510               result=yes
13511             else
13512               result=no
13513             fi
13514           else
13515             result=$wxUSE_SPINCTRL
13516           fi
13517
13518           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13519 $as_echo "$result" >&6; }
13520
13521
13522           enablestring=
13523           defaultval=$wxUSE_ALL_FEATURES
13524           if test -z "$defaultval"; then
13525               if test x"$enablestring" = xdisable; then
13526                   defaultval=yes
13527               else
13528                   defaultval=no
13529               fi
13530           fi
13531
13532           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13533 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13534           # Check whether --enable-splitter was given.
13535 if test "${enable_splitter+set}" = set; then :
13536   enableval=$enable_splitter;
13537                           if test "$enableval" = yes; then
13538                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13539                           else
13540                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13541                           fi
13542
13543 else
13544
13545                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13546
13547 fi
13548
13549
13550           eval "$wx_cv_use_splitter"
13551
13552           if test x"$enablestring" = xdisable; then
13553             if test $wxUSE_SPLITTER = no; then
13554               result=yes
13555             else
13556               result=no
13557             fi
13558           else
13559             result=$wxUSE_SPLITTER
13560           fi
13561
13562           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13563 $as_echo "$result" >&6; }
13564
13565
13566           enablestring=
13567           defaultval=$wxUSE_ALL_FEATURES
13568           if test -z "$defaultval"; then
13569               if test x"$enablestring" = xdisable; then
13570                   defaultval=yes
13571               else
13572                   defaultval=no
13573               fi
13574           fi
13575
13576           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13577 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13578           # Check whether --enable-statbmp was given.
13579 if test "${enable_statbmp+set}" = set; then :
13580   enableval=$enable_statbmp;
13581                           if test "$enableval" = yes; then
13582                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13583                           else
13584                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13585                           fi
13586
13587 else
13588
13589                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13590
13591 fi
13592
13593
13594           eval "$wx_cv_use_statbmp"
13595
13596           if test x"$enablestring" = xdisable; then
13597             if test $wxUSE_STATBMP = no; then
13598               result=yes
13599             else
13600               result=no
13601             fi
13602           else
13603             result=$wxUSE_STATBMP
13604           fi
13605
13606           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13607 $as_echo "$result" >&6; }
13608
13609
13610           enablestring=
13611           defaultval=$wxUSE_ALL_FEATURES
13612           if test -z "$defaultval"; then
13613               if test x"$enablestring" = xdisable; then
13614                   defaultval=yes
13615               else
13616                   defaultval=no
13617               fi
13618           fi
13619
13620           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13621 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13622           # Check whether --enable-statbox was given.
13623 if test "${enable_statbox+set}" = set; then :
13624   enableval=$enable_statbox;
13625                           if test "$enableval" = yes; then
13626                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13627                           else
13628                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13629                           fi
13630
13631 else
13632
13633                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13634
13635 fi
13636
13637
13638           eval "$wx_cv_use_statbox"
13639
13640           if test x"$enablestring" = xdisable; then
13641             if test $wxUSE_STATBOX = no; then
13642               result=yes
13643             else
13644               result=no
13645             fi
13646           else
13647             result=$wxUSE_STATBOX
13648           fi
13649
13650           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13651 $as_echo "$result" >&6; }
13652
13653
13654           enablestring=
13655           defaultval=$wxUSE_ALL_FEATURES
13656           if test -z "$defaultval"; then
13657               if test x"$enablestring" = xdisable; then
13658                   defaultval=yes
13659               else
13660                   defaultval=no
13661               fi
13662           fi
13663
13664           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13665 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13666           # Check whether --enable-statline was given.
13667 if test "${enable_statline+set}" = set; then :
13668   enableval=$enable_statline;
13669                           if test "$enableval" = yes; then
13670                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13671                           else
13672                             wx_cv_use_statline='wxUSE_STATLINE=no'
13673                           fi
13674
13675 else
13676
13677                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13678
13679 fi
13680
13681
13682           eval "$wx_cv_use_statline"
13683
13684           if test x"$enablestring" = xdisable; then
13685             if test $wxUSE_STATLINE = no; then
13686               result=yes
13687             else
13688               result=no
13689             fi
13690           else
13691             result=$wxUSE_STATLINE
13692           fi
13693
13694           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13695 $as_echo "$result" >&6; }
13696
13697
13698           enablestring=
13699           defaultval=$wxUSE_ALL_FEATURES
13700           if test -z "$defaultval"; then
13701               if test x"$enablestring" = xdisable; then
13702                   defaultval=yes
13703               else
13704                   defaultval=no
13705               fi
13706           fi
13707
13708           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13709 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13710           # Check whether --enable-stattext was given.
13711 if test "${enable_stattext+set}" = set; then :
13712   enableval=$enable_stattext;
13713                           if test "$enableval" = yes; then
13714                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13715                           else
13716                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13717                           fi
13718
13719 else
13720
13721                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13722
13723 fi
13724
13725
13726           eval "$wx_cv_use_stattext"
13727
13728           if test x"$enablestring" = xdisable; then
13729             if test $wxUSE_STATTEXT = no; then
13730               result=yes
13731             else
13732               result=no
13733             fi
13734           else
13735             result=$wxUSE_STATTEXT
13736           fi
13737
13738           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13739 $as_echo "$result" >&6; }
13740
13741
13742           enablestring=
13743           defaultval=$wxUSE_ALL_FEATURES
13744           if test -z "$defaultval"; then
13745               if test x"$enablestring" = xdisable; then
13746                   defaultval=yes
13747               else
13748                   defaultval=no
13749               fi
13750           fi
13751
13752           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13753 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13754           # Check whether --enable-statusbar was given.
13755 if test "${enable_statusbar+set}" = set; then :
13756   enableval=$enable_statusbar;
13757                           if test "$enableval" = yes; then
13758                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13759                           else
13760                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13761                           fi
13762
13763 else
13764
13765                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13766
13767 fi
13768
13769
13770           eval "$wx_cv_use_statusbar"
13771
13772           if test x"$enablestring" = xdisable; then
13773             if test $wxUSE_STATUSBAR = no; then
13774               result=yes
13775             else
13776               result=no
13777             fi
13778           else
13779             result=$wxUSE_STATUSBAR
13780           fi
13781
13782           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13783 $as_echo "$result" >&6; }
13784
13785
13786           enablestring=
13787           defaultval=$wxUSE_ALL_FEATURES
13788           if test -z "$defaultval"; then
13789               if test x"$enablestring" = xdisable; then
13790                   defaultval=yes
13791               else
13792                   defaultval=no
13793               fi
13794           fi
13795
13796           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13797 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13798           # Check whether --enable-taskbaricon was given.
13799 if test "${enable_taskbaricon+set}" = set; then :
13800   enableval=$enable_taskbaricon;
13801                           if test "$enableval" = yes; then
13802                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13803                           else
13804                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13805                           fi
13806
13807 else
13808
13809                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13810
13811 fi
13812
13813
13814           eval "$wx_cv_use_taskbaricon"
13815
13816           if test x"$enablestring" = xdisable; then
13817             if test $wxUSE_TASKBARICON = no; then
13818               result=yes
13819             else
13820               result=no
13821             fi
13822           else
13823             result=$wxUSE_TASKBARICON
13824           fi
13825
13826           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13827 $as_echo "$result" >&6; }
13828
13829
13830           enablestring=
13831           defaultval=$wxUSE_ALL_FEATURES
13832           if test -z "$defaultval"; then
13833               if test x"$enablestring" = xdisable; then
13834                   defaultval=yes
13835               else
13836                   defaultval=no
13837               fi
13838           fi
13839
13840           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13841 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13842           # Check whether --enable-tbarnative was given.
13843 if test "${enable_tbarnative+set}" = set; then :
13844   enableval=$enable_tbarnative;
13845                           if test "$enableval" = yes; then
13846                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13847                           else
13848                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13849                           fi
13850
13851 else
13852
13853                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13854
13855 fi
13856
13857
13858           eval "$wx_cv_use_tbarnative"
13859
13860           if test x"$enablestring" = xdisable; then
13861             if test $wxUSE_TOOLBAR_NATIVE = no; then
13862               result=yes
13863             else
13864               result=no
13865             fi
13866           else
13867             result=$wxUSE_TOOLBAR_NATIVE
13868           fi
13869
13870           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13871 $as_echo "$result" >&6; }
13872
13873
13874           enablestring=
13875           defaultval=$wxUSE_ALL_FEATURES
13876           if test -z "$defaultval"; then
13877               if test x"$enablestring" = xdisable; then
13878                   defaultval=yes
13879               else
13880                   defaultval=no
13881               fi
13882           fi
13883
13884           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13885 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13886           # Check whether --enable-textctrl was given.
13887 if test "${enable_textctrl+set}" = set; then :
13888   enableval=$enable_textctrl;
13889                           if test "$enableval" = yes; then
13890                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13891                           else
13892                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13893                           fi
13894
13895 else
13896
13897                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13898
13899 fi
13900
13901
13902           eval "$wx_cv_use_textctrl"
13903
13904           if test x"$enablestring" = xdisable; then
13905             if test $wxUSE_TEXTCTRL = no; then
13906               result=yes
13907             else
13908               result=no
13909             fi
13910           else
13911             result=$wxUSE_TEXTCTRL
13912           fi
13913
13914           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13915 $as_echo "$result" >&6; }
13916
13917
13918           enablestring=
13919           defaultval=$wxUSE_ALL_FEATURES
13920           if test -z "$defaultval"; then
13921               if test x"$enablestring" = xdisable; then
13922                   defaultval=yes
13923               else
13924                   defaultval=no
13925               fi
13926           fi
13927
13928           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13929 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13930           # Check whether --enable-datepick was given.
13931 if test "${enable_datepick+set}" = set; then :
13932   enableval=$enable_datepick;
13933                           if test "$enableval" = yes; then
13934                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13935                           else
13936                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13937                           fi
13938
13939 else
13940
13941                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13942
13943 fi
13944
13945
13946           eval "$wx_cv_use_datepick"
13947
13948           if test x"$enablestring" = xdisable; then
13949             if test $wxUSE_TIMEPICKCTRL = no; then
13950               result=yes
13951             else
13952               result=no
13953             fi
13954           else
13955             result=$wxUSE_TIMEPICKCTRL
13956           fi
13957
13958           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13959 $as_echo "$result" >&6; }
13960
13961
13962           enablestring=
13963           defaultval=$wxUSE_ALL_FEATURES
13964           if test -z "$defaultval"; then
13965               if test x"$enablestring" = xdisable; then
13966                   defaultval=yes
13967               else
13968                   defaultval=no
13969               fi
13970           fi
13971
13972           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13973 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13974           # Check whether --enable-tipwindow was given.
13975 if test "${enable_tipwindow+set}" = set; then :
13976   enableval=$enable_tipwindow;
13977                           if test "$enableval" = yes; then
13978                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13979                           else
13980                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13981                           fi
13982
13983 else
13984
13985                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13986
13987 fi
13988
13989
13990           eval "$wx_cv_use_tipwindow"
13991
13992           if test x"$enablestring" = xdisable; then
13993             if test $wxUSE_TIPWINDOW = no; then
13994               result=yes
13995             else
13996               result=no
13997             fi
13998           else
13999             result=$wxUSE_TIPWINDOW
14000           fi
14001
14002           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14003 $as_echo "$result" >&6; }
14004
14005
14006           enablestring=
14007           defaultval=$wxUSE_ALL_FEATURES
14008           if test -z "$defaultval"; then
14009               if test x"$enablestring" = xdisable; then
14010                   defaultval=yes
14011               else
14012                   defaultval=no
14013               fi
14014           fi
14015
14016           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14017 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14018           # Check whether --enable-togglebtn was given.
14019 if test "${enable_togglebtn+set}" = set; then :
14020   enableval=$enable_togglebtn;
14021                           if test "$enableval" = yes; then
14022                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14023                           else
14024                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14025                           fi
14026
14027 else
14028
14029                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14030
14031 fi
14032
14033
14034           eval "$wx_cv_use_togglebtn"
14035
14036           if test x"$enablestring" = xdisable; then
14037             if test $wxUSE_TOGGLEBTN = no; then
14038               result=yes
14039             else
14040               result=no
14041             fi
14042           else
14043             result=$wxUSE_TOGGLEBTN
14044           fi
14045
14046           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14047 $as_echo "$result" >&6; }
14048
14049
14050           enablestring=
14051           defaultval=$wxUSE_ALL_FEATURES
14052           if test -z "$defaultval"; then
14053               if test x"$enablestring" = xdisable; then
14054                   defaultval=yes
14055               else
14056                   defaultval=no
14057               fi
14058           fi
14059
14060           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14061 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14062           # Check whether --enable-toolbar was given.
14063 if test "${enable_toolbar+set}" = set; then :
14064   enableval=$enable_toolbar;
14065                           if test "$enableval" = yes; then
14066                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14067                           else
14068                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14069                           fi
14070
14071 else
14072
14073                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14074
14075 fi
14076
14077
14078           eval "$wx_cv_use_toolbar"
14079
14080           if test x"$enablestring" = xdisable; then
14081             if test $wxUSE_TOOLBAR = no; then
14082               result=yes
14083             else
14084               result=no
14085             fi
14086           else
14087             result=$wxUSE_TOOLBAR
14088           fi
14089
14090           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14091 $as_echo "$result" >&6; }
14092
14093
14094           enablestring=
14095           defaultval=$wxUSE_ALL_FEATURES
14096           if test -z "$defaultval"; then
14097               if test x"$enablestring" = xdisable; then
14098                   defaultval=yes
14099               else
14100                   defaultval=no
14101               fi
14102           fi
14103
14104           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14105 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14106           # Check whether --enable-toolbook was given.
14107 if test "${enable_toolbook+set}" = set; then :
14108   enableval=$enable_toolbook;
14109                           if test "$enableval" = yes; then
14110                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14111                           else
14112                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14113                           fi
14114
14115 else
14116
14117                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14118
14119 fi
14120
14121
14122           eval "$wx_cv_use_toolbook"
14123
14124           if test x"$enablestring" = xdisable; then
14125             if test $wxUSE_TOOLBOOK = no; then
14126               result=yes
14127             else
14128               result=no
14129             fi
14130           else
14131             result=$wxUSE_TOOLBOOK
14132           fi
14133
14134           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14135 $as_echo "$result" >&6; }
14136
14137
14138           enablestring=
14139           defaultval=$wxUSE_ALL_FEATURES
14140           if test -z "$defaultval"; then
14141               if test x"$enablestring" = xdisable; then
14142                   defaultval=yes
14143               else
14144                   defaultval=no
14145               fi
14146           fi
14147
14148           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14149 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14150           # Check whether --enable-treebook was given.
14151 if test "${enable_treebook+set}" = set; then :
14152   enableval=$enable_treebook;
14153                           if test "$enableval" = yes; then
14154                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14155                           else
14156                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14157                           fi
14158
14159 else
14160
14161                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14162
14163 fi
14164
14165
14166           eval "$wx_cv_use_treebook"
14167
14168           if test x"$enablestring" = xdisable; then
14169             if test $wxUSE_TREEBOOK = no; then
14170               result=yes
14171             else
14172               result=no
14173             fi
14174           else
14175             result=$wxUSE_TREEBOOK
14176           fi
14177
14178           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14179 $as_echo "$result" >&6; }
14180
14181
14182           enablestring=
14183           defaultval=$wxUSE_ALL_FEATURES
14184           if test -z "$defaultval"; then
14185               if test x"$enablestring" = xdisable; then
14186                   defaultval=yes
14187               else
14188                   defaultval=no
14189               fi
14190           fi
14191
14192           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14193 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14194           # Check whether --enable-treectrl was given.
14195 if test "${enable_treectrl+set}" = set; then :
14196   enableval=$enable_treectrl;
14197                           if test "$enableval" = yes; then
14198                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14199                           else
14200                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14201                           fi
14202
14203 else
14204
14205                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14206
14207 fi
14208
14209
14210           eval "$wx_cv_use_treectrl"
14211
14212           if test x"$enablestring" = xdisable; then
14213             if test $wxUSE_TREECTRL = no; then
14214               result=yes
14215             else
14216               result=no
14217             fi
14218           else
14219             result=$wxUSE_TREECTRL
14220           fi
14221
14222           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14223 $as_echo "$result" >&6; }
14224
14225
14226           enablestring=
14227           defaultval=$wxUSE_ALL_FEATURES
14228           if test -z "$defaultval"; then
14229               if test x"$enablestring" = xdisable; then
14230                   defaultval=yes
14231               else
14232                   defaultval=no
14233               fi
14234           fi
14235
14236           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14237 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14238           # Check whether --enable-treelist was given.
14239 if test "${enable_treelist+set}" = set; then :
14240   enableval=$enable_treelist;
14241                           if test "$enableval" = yes; then
14242                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14243                           else
14244                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14245                           fi
14246
14247 else
14248
14249                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14250
14251 fi
14252
14253
14254           eval "$wx_cv_use_treelist"
14255
14256           if test x"$enablestring" = xdisable; then
14257             if test $wxUSE_TREELISTCTRL = no; then
14258               result=yes
14259             else
14260               result=no
14261             fi
14262           else
14263             result=$wxUSE_TREELISTCTRL
14264           fi
14265
14266           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14267 $as_echo "$result" >&6; }
14268
14269
14270
14271
14272           enablestring=
14273           defaultval=$wxUSE_ALL_FEATURES
14274           if test -z "$defaultval"; then
14275               if test x"$enablestring" = xdisable; then
14276                   defaultval=yes
14277               else
14278                   defaultval=no
14279               fi
14280           fi
14281
14282           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14284           # Check whether --enable-commondlg was given.
14285 if test "${enable_commondlg+set}" = set; then :
14286   enableval=$enable_commondlg;
14287                           if test "$enableval" = yes; then
14288                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14289                           else
14290                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14291                           fi
14292
14293 else
14294
14295                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14296
14297 fi
14298
14299
14300           eval "$wx_cv_use_commondlg"
14301
14302           if test x"$enablestring" = xdisable; then
14303             if test $wxUSE_COMMONDLGS = no; then
14304               result=yes
14305             else
14306               result=no
14307             fi
14308           else
14309             result=$wxUSE_COMMONDLGS
14310           fi
14311
14312           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14314
14315
14316           enablestring=
14317           defaultval=$wxUSE_ALL_FEATURES
14318           if test -z "$defaultval"; then
14319               if test x"$enablestring" = xdisable; then
14320                   defaultval=yes
14321               else
14322                   defaultval=no
14323               fi
14324           fi
14325
14326           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14327 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14328           # Check whether --enable-aboutdlg was given.
14329 if test "${enable_aboutdlg+set}" = set; then :
14330   enableval=$enable_aboutdlg;
14331                           if test "$enableval" = yes; then
14332                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14333                           else
14334                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14335                           fi
14336
14337 else
14338
14339                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14340
14341 fi
14342
14343
14344           eval "$wx_cv_use_aboutdlg"
14345
14346           if test x"$enablestring" = xdisable; then
14347             if test $wxUSE_ABOUTDLG = no; then
14348               result=yes
14349             else
14350               result=no
14351             fi
14352           else
14353             result=$wxUSE_ABOUTDLG
14354           fi
14355
14356           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14357 $as_echo "$result" >&6; }
14358
14359
14360           enablestring=
14361           defaultval=$wxUSE_ALL_FEATURES
14362           if test -z "$defaultval"; then
14363               if test x"$enablestring" = xdisable; then
14364                   defaultval=yes
14365               else
14366                   defaultval=no
14367               fi
14368           fi
14369
14370           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14371 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14372           # Check whether --enable-choicedlg was given.
14373 if test "${enable_choicedlg+set}" = set; then :
14374   enableval=$enable_choicedlg;
14375                           if test "$enableval" = yes; then
14376                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14377                           else
14378                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14379                           fi
14380
14381 else
14382
14383                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14384
14385 fi
14386
14387
14388           eval "$wx_cv_use_choicedlg"
14389
14390           if test x"$enablestring" = xdisable; then
14391             if test $wxUSE_CHOICEDLG = no; then
14392               result=yes
14393             else
14394               result=no
14395             fi
14396           else
14397             result=$wxUSE_CHOICEDLG
14398           fi
14399
14400           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14401 $as_echo "$result" >&6; }
14402
14403
14404           enablestring=
14405           defaultval=$wxUSE_ALL_FEATURES
14406           if test -z "$defaultval"; then
14407               if test x"$enablestring" = xdisable; then
14408                   defaultval=yes
14409               else
14410                   defaultval=no
14411               fi
14412           fi
14413
14414           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14415 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14416           # Check whether --enable-coldlg was given.
14417 if test "${enable_coldlg+set}" = set; then :
14418   enableval=$enable_coldlg;
14419                           if test "$enableval" = yes; then
14420                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14421                           else
14422                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14423                           fi
14424
14425 else
14426
14427                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14428
14429 fi
14430
14431
14432           eval "$wx_cv_use_coldlg"
14433
14434           if test x"$enablestring" = xdisable; then
14435             if test $wxUSE_COLOURDLG = no; then
14436               result=yes
14437             else
14438               result=no
14439             fi
14440           else
14441             result=$wxUSE_COLOURDLG
14442           fi
14443
14444           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14445 $as_echo "$result" >&6; }
14446
14447
14448           enablestring=
14449           defaultval=$wxUSE_ALL_FEATURES
14450           if test -z "$defaultval"; then
14451               if test x"$enablestring" = xdisable; then
14452                   defaultval=yes
14453               else
14454                   defaultval=no
14455               fi
14456           fi
14457
14458           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14459 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14460           # Check whether --enable-filedlg was given.
14461 if test "${enable_filedlg+set}" = set; then :
14462   enableval=$enable_filedlg;
14463                           if test "$enableval" = yes; then
14464                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14465                           else
14466                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14467                           fi
14468
14469 else
14470
14471                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14472
14473 fi
14474
14475
14476           eval "$wx_cv_use_filedlg"
14477
14478           if test x"$enablestring" = xdisable; then
14479             if test $wxUSE_FILEDLG = no; then
14480               result=yes
14481             else
14482               result=no
14483             fi
14484           else
14485             result=$wxUSE_FILEDLG
14486           fi
14487
14488           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14489 $as_echo "$result" >&6; }
14490
14491
14492           enablestring=
14493           defaultval=$wxUSE_ALL_FEATURES
14494           if test -z "$defaultval"; then
14495               if test x"$enablestring" = xdisable; then
14496                   defaultval=yes
14497               else
14498                   defaultval=no
14499               fi
14500           fi
14501
14502           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14503 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14504           # Check whether --enable-finddlg was given.
14505 if test "${enable_finddlg+set}" = set; then :
14506   enableval=$enable_finddlg;
14507                           if test "$enableval" = yes; then
14508                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14509                           else
14510                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14511                           fi
14512
14513 else
14514
14515                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14516
14517 fi
14518
14519
14520           eval "$wx_cv_use_finddlg"
14521
14522           if test x"$enablestring" = xdisable; then
14523             if test $wxUSE_FINDREPLDLG = no; then
14524               result=yes
14525             else
14526               result=no
14527             fi
14528           else
14529             result=$wxUSE_FINDREPLDLG
14530           fi
14531
14532           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14533 $as_echo "$result" >&6; }
14534
14535
14536           enablestring=
14537           defaultval=$wxUSE_ALL_FEATURES
14538           if test -z "$defaultval"; then
14539               if test x"$enablestring" = xdisable; then
14540                   defaultval=yes
14541               else
14542                   defaultval=no
14543               fi
14544           fi
14545
14546           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14547 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14548           # Check whether --enable-fontdlg was given.
14549 if test "${enable_fontdlg+set}" = set; then :
14550   enableval=$enable_fontdlg;
14551                           if test "$enableval" = yes; then
14552                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14553                           else
14554                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14555                           fi
14556
14557 else
14558
14559                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14560
14561 fi
14562
14563
14564           eval "$wx_cv_use_fontdlg"
14565
14566           if test x"$enablestring" = xdisable; then
14567             if test $wxUSE_FONTDLG = no; then
14568               result=yes
14569             else
14570               result=no
14571             fi
14572           else
14573             result=$wxUSE_FONTDLG
14574           fi
14575
14576           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14577 $as_echo "$result" >&6; }
14578
14579
14580           enablestring=
14581           defaultval=$wxUSE_ALL_FEATURES
14582           if test -z "$defaultval"; then
14583               if test x"$enablestring" = xdisable; then
14584                   defaultval=yes
14585               else
14586                   defaultval=no
14587               fi
14588           fi
14589
14590           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14591 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14592           # Check whether --enable-dirdlg was given.
14593 if test "${enable_dirdlg+set}" = set; then :
14594   enableval=$enable_dirdlg;
14595                           if test "$enableval" = yes; then
14596                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14597                           else
14598                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14599                           fi
14600
14601 else
14602
14603                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14604
14605 fi
14606
14607
14608           eval "$wx_cv_use_dirdlg"
14609
14610           if test x"$enablestring" = xdisable; then
14611             if test $wxUSE_DIRDLG = no; then
14612               result=yes
14613             else
14614               result=no
14615             fi
14616           else
14617             result=$wxUSE_DIRDLG
14618           fi
14619
14620           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14621 $as_echo "$result" >&6; }
14622
14623
14624           enablestring=
14625           defaultval=$wxUSE_ALL_FEATURES
14626           if test -z "$defaultval"; then
14627               if test x"$enablestring" = xdisable; then
14628                   defaultval=yes
14629               else
14630                   defaultval=no
14631               fi
14632           fi
14633
14634           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14635 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14636           # Check whether --enable-msgdlg was given.
14637 if test "${enable_msgdlg+set}" = set; then :
14638   enableval=$enable_msgdlg;
14639                           if test "$enableval" = yes; then
14640                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14641                           else
14642                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14643                           fi
14644
14645 else
14646
14647                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14648
14649 fi
14650
14651
14652           eval "$wx_cv_use_msgdlg"
14653
14654           if test x"$enablestring" = xdisable; then
14655             if test $wxUSE_MSGDLG = no; then
14656               result=yes
14657             else
14658               result=no
14659             fi
14660           else
14661             result=$wxUSE_MSGDLG
14662           fi
14663
14664           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14665 $as_echo "$result" >&6; }
14666
14667
14668           enablestring=
14669           defaultval=$wxUSE_ALL_FEATURES
14670           if test -z "$defaultval"; then
14671               if test x"$enablestring" = xdisable; then
14672                   defaultval=yes
14673               else
14674                   defaultval=no
14675               fi
14676           fi
14677
14678           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14679 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14680           # Check whether --enable-numberdlg was given.
14681 if test "${enable_numberdlg+set}" = set; then :
14682   enableval=$enable_numberdlg;
14683                           if test "$enableval" = yes; then
14684                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14685                           else
14686                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14687                           fi
14688
14689 else
14690
14691                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14692
14693 fi
14694
14695
14696           eval "$wx_cv_use_numberdlg"
14697
14698           if test x"$enablestring" = xdisable; then
14699             if test $wxUSE_NUMBERDLG = no; then
14700               result=yes
14701             else
14702               result=no
14703             fi
14704           else
14705             result=$wxUSE_NUMBERDLG
14706           fi
14707
14708           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14709 $as_echo "$result" >&6; }
14710
14711
14712           enablestring=
14713           defaultval=$wxUSE_ALL_FEATURES
14714           if test -z "$defaultval"; then
14715               if test x"$enablestring" = xdisable; then
14716                   defaultval=yes
14717               else
14718                   defaultval=no
14719               fi
14720           fi
14721
14722           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14723 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14724           # Check whether --enable-splash was given.
14725 if test "${enable_splash+set}" = set; then :
14726   enableval=$enable_splash;
14727                           if test "$enableval" = yes; then
14728                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14729                           else
14730                             wx_cv_use_splash='wxUSE_SPLASH=no'
14731                           fi
14732
14733 else
14734
14735                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14736
14737 fi
14738
14739
14740           eval "$wx_cv_use_splash"
14741
14742           if test x"$enablestring" = xdisable; then
14743             if test $wxUSE_SPLASH = no; then
14744               result=yes
14745             else
14746               result=no
14747             fi
14748           else
14749             result=$wxUSE_SPLASH
14750           fi
14751
14752           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14753 $as_echo "$result" >&6; }
14754
14755
14756           enablestring=
14757           defaultval=$wxUSE_ALL_FEATURES
14758           if test -z "$defaultval"; then
14759               if test x"$enablestring" = xdisable; then
14760                   defaultval=yes
14761               else
14762                   defaultval=no
14763               fi
14764           fi
14765
14766           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14767 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14768           # Check whether --enable-textdlg was given.
14769 if test "${enable_textdlg+set}" = set; then :
14770   enableval=$enable_textdlg;
14771                           if test "$enableval" = yes; then
14772                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14773                           else
14774                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14775                           fi
14776
14777 else
14778
14779                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14780
14781 fi
14782
14783
14784           eval "$wx_cv_use_textdlg"
14785
14786           if test x"$enablestring" = xdisable; then
14787             if test $wxUSE_TEXTDLG = no; then
14788               result=yes
14789             else
14790               result=no
14791             fi
14792           else
14793             result=$wxUSE_TEXTDLG
14794           fi
14795
14796           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14797 $as_echo "$result" >&6; }
14798
14799
14800           enablestring=
14801           defaultval=$wxUSE_ALL_FEATURES
14802           if test -z "$defaultval"; then
14803               if test x"$enablestring" = xdisable; then
14804                   defaultval=yes
14805               else
14806                   defaultval=no
14807               fi
14808           fi
14809
14810           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14811 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14812           # Check whether --enable-tipdlg was given.
14813 if test "${enable_tipdlg+set}" = set; then :
14814   enableval=$enable_tipdlg;
14815                           if test "$enableval" = yes; then
14816                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14817                           else
14818                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14819                           fi
14820
14821 else
14822
14823                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14824
14825 fi
14826
14827
14828           eval "$wx_cv_use_tipdlg"
14829
14830           if test x"$enablestring" = xdisable; then
14831             if test $wxUSE_STARTUP_TIPS = no; then
14832               result=yes
14833             else
14834               result=no
14835             fi
14836           else
14837             result=$wxUSE_STARTUP_TIPS
14838           fi
14839
14840           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14841 $as_echo "$result" >&6; }
14842
14843
14844           enablestring=
14845           defaultval=$wxUSE_ALL_FEATURES
14846           if test -z "$defaultval"; then
14847               if test x"$enablestring" = xdisable; then
14848                   defaultval=yes
14849               else
14850                   defaultval=no
14851               fi
14852           fi
14853
14854           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14855 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14856           # Check whether --enable-progressdlg was given.
14857 if test "${enable_progressdlg+set}" = set; then :
14858   enableval=$enable_progressdlg;
14859                           if test "$enableval" = yes; then
14860                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14861                           else
14862                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14863                           fi
14864
14865 else
14866
14867                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14868
14869 fi
14870
14871
14872           eval "$wx_cv_use_progressdlg"
14873
14874           if test x"$enablestring" = xdisable; then
14875             if test $wxUSE_PROGRESSDLG = no; then
14876               result=yes
14877             else
14878               result=no
14879             fi
14880           else
14881             result=$wxUSE_PROGRESSDLG
14882           fi
14883
14884           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14885 $as_echo "$result" >&6; }
14886
14887
14888           enablestring=
14889           defaultval=$wxUSE_ALL_FEATURES
14890           if test -z "$defaultval"; then
14891               if test x"$enablestring" = xdisable; then
14892                   defaultval=yes
14893               else
14894                   defaultval=no
14895               fi
14896           fi
14897
14898           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14899 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14900           # Check whether --enable-wizarddlg was given.
14901 if test "${enable_wizarddlg+set}" = set; then :
14902   enableval=$enable_wizarddlg;
14903                           if test "$enableval" = yes; then
14904                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14905                           else
14906                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14907                           fi
14908
14909 else
14910
14911                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14912
14913 fi
14914
14915
14916           eval "$wx_cv_use_wizarddlg"
14917
14918           if test x"$enablestring" = xdisable; then
14919             if test $wxUSE_WIZARDDLG = no; then
14920               result=yes
14921             else
14922               result=no
14923             fi
14924           else
14925             result=$wxUSE_WIZARDDLG
14926           fi
14927
14928           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14929 $as_echo "$result" >&6; }
14930
14931
14932
14933
14934           enablestring=
14935           defaultval=$wxUSE_ALL_FEATURES
14936           if test -z "$defaultval"; then
14937               if test x"$enablestring" = xdisable; then
14938                   defaultval=yes
14939               else
14940                   defaultval=no
14941               fi
14942           fi
14943
14944           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14946           # Check whether --enable-menus was given.
14947 if test "${enable_menus+set}" = set; then :
14948   enableval=$enable_menus;
14949                           if test "$enableval" = yes; then
14950                             wx_cv_use_menus='wxUSE_MENUS=yes'
14951                           else
14952                             wx_cv_use_menus='wxUSE_MENUS=no'
14953                           fi
14954
14955 else
14956
14957                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14958
14959 fi
14960
14961
14962           eval "$wx_cv_use_menus"
14963
14964           if test x"$enablestring" = xdisable; then
14965             if test $wxUSE_MENUS = no; then
14966               result=yes
14967             else
14968               result=no
14969             fi
14970           else
14971             result=$wxUSE_MENUS
14972           fi
14973
14974           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14976
14977
14978           enablestring=
14979           defaultval=$wxUSE_ALL_FEATURES
14980           if test -z "$defaultval"; then
14981               if test x"$enablestring" = xdisable; then
14982                   defaultval=yes
14983               else
14984                   defaultval=no
14985               fi
14986           fi
14987
14988           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14989 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14990           # Check whether --enable-miniframe was given.
14991 if test "${enable_miniframe+set}" = set; then :
14992   enableval=$enable_miniframe;
14993                           if test "$enableval" = yes; then
14994                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14995                           else
14996                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14997                           fi
14998
14999 else
15000
15001                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15002
15003 fi
15004
15005
15006           eval "$wx_cv_use_miniframe"
15007
15008           if test x"$enablestring" = xdisable; then
15009             if test $wxUSE_MINIFRAME = no; then
15010               result=yes
15011             else
15012               result=no
15013             fi
15014           else
15015             result=$wxUSE_MINIFRAME
15016           fi
15017
15018           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15019 $as_echo "$result" >&6; }
15020
15021
15022           enablestring=
15023           defaultval=$wxUSE_ALL_FEATURES
15024           if test -z "$defaultval"; then
15025               if test x"$enablestring" = xdisable; then
15026                   defaultval=yes
15027               else
15028                   defaultval=no
15029               fi
15030           fi
15031
15032           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15033 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15034           # Check whether --enable-tooltips was given.
15035 if test "${enable_tooltips+set}" = set; then :
15036   enableval=$enable_tooltips;
15037                           if test "$enableval" = yes; then
15038                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15039                           else
15040                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15041                           fi
15042
15043 else
15044
15045                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15046
15047 fi
15048
15049
15050           eval "$wx_cv_use_tooltips"
15051
15052           if test x"$enablestring" = xdisable; then
15053             if test $wxUSE_TOOLTIPS = no; then
15054               result=yes
15055             else
15056               result=no
15057             fi
15058           else
15059             result=$wxUSE_TOOLTIPS
15060           fi
15061
15062           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15063 $as_echo "$result" >&6; }
15064
15065
15066           enablestring=
15067           defaultval=$wxUSE_ALL_FEATURES
15068           if test -z "$defaultval"; then
15069               if test x"$enablestring" = xdisable; then
15070                   defaultval=yes
15071               else
15072                   defaultval=no
15073               fi
15074           fi
15075
15076           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15077 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15078           # Check whether --enable-splines was given.
15079 if test "${enable_splines+set}" = set; then :
15080   enableval=$enable_splines;
15081                           if test "$enableval" = yes; then
15082                             wx_cv_use_splines='wxUSE_SPLINES=yes'
15083                           else
15084                             wx_cv_use_splines='wxUSE_SPLINES=no'
15085                           fi
15086
15087 else
15088
15089                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15090
15091 fi
15092
15093
15094           eval "$wx_cv_use_splines"
15095
15096           if test x"$enablestring" = xdisable; then
15097             if test $wxUSE_SPLINES = no; then
15098               result=yes
15099             else
15100               result=no
15101             fi
15102           else
15103             result=$wxUSE_SPLINES
15104           fi
15105
15106           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15107 $as_echo "$result" >&6; }
15108
15109
15110           enablestring=
15111           defaultval=$wxUSE_ALL_FEATURES
15112           if test -z "$defaultval"; then
15113               if test x"$enablestring" = xdisable; then
15114                   defaultval=yes
15115               else
15116                   defaultval=no
15117               fi
15118           fi
15119
15120           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15121 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15122           # Check whether --enable-mousewheel was given.
15123 if test "${enable_mousewheel+set}" = set; then :
15124   enableval=$enable_mousewheel;
15125                           if test "$enableval" = yes; then
15126                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15127                           else
15128                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15129                           fi
15130
15131 else
15132
15133                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15134
15135 fi
15136
15137
15138           eval "$wx_cv_use_mousewheel"
15139
15140           if test x"$enablestring" = xdisable; then
15141             if test $wxUSE_MOUSEWHEEL = no; then
15142               result=yes
15143             else
15144               result=no
15145             fi
15146           else
15147             result=$wxUSE_MOUSEWHEEL
15148           fi
15149
15150           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15151 $as_echo "$result" >&6; }
15152
15153
15154           enablestring=
15155           defaultval=$wxUSE_ALL_FEATURES
15156           if test -z "$defaultval"; then
15157               if test x"$enablestring" = xdisable; then
15158                   defaultval=yes
15159               else
15160                   defaultval=no
15161               fi
15162           fi
15163
15164           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15165 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15166           # Check whether --enable-validators was given.
15167 if test "${enable_validators+set}" = set; then :
15168   enableval=$enable_validators;
15169                           if test "$enableval" = yes; then
15170                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15171                           else
15172                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15173                           fi
15174
15175 else
15176
15177                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15178
15179 fi
15180
15181
15182           eval "$wx_cv_use_validators"
15183
15184           if test x"$enablestring" = xdisable; then
15185             if test $wxUSE_VALIDATORS = no; then
15186               result=yes
15187             else
15188               result=no
15189             fi
15190           else
15191             result=$wxUSE_VALIDATORS
15192           fi
15193
15194           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15195 $as_echo "$result" >&6; }
15196
15197
15198           enablestring=
15199           defaultval=$wxUSE_ALL_FEATURES
15200           if test -z "$defaultval"; then
15201               if test x"$enablestring" = xdisable; then
15202                   defaultval=yes
15203               else
15204                   defaultval=no
15205               fi
15206           fi
15207
15208           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15209 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15210           # Check whether --enable-busyinfo was given.
15211 if test "${enable_busyinfo+set}" = set; then :
15212   enableval=$enable_busyinfo;
15213                           if test "$enableval" = yes; then
15214                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15215                           else
15216                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15217                           fi
15218
15219 else
15220
15221                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15222
15223 fi
15224
15225
15226           eval "$wx_cv_use_busyinfo"
15227
15228           if test x"$enablestring" = xdisable; then
15229             if test $wxUSE_BUSYINFO = no; then
15230               result=yes
15231             else
15232               result=no
15233             fi
15234           else
15235             result=$wxUSE_BUSYINFO
15236           fi
15237
15238           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15239 $as_echo "$result" >&6; }
15240
15241
15242           enablestring=
15243           defaultval=$wxUSE_ALL_FEATURES
15244           if test -z "$defaultval"; then
15245               if test x"$enablestring" = xdisable; then
15246                   defaultval=yes
15247               else
15248                   defaultval=no
15249               fi
15250           fi
15251
15252           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15253 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15254           # Check whether --enable-hotkey was given.
15255 if test "${enable_hotkey+set}" = set; then :
15256   enableval=$enable_hotkey;
15257                           if test "$enableval" = yes; then
15258                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15259                           else
15260                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15261                           fi
15262
15263 else
15264
15265                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15266
15267 fi
15268
15269
15270           eval "$wx_cv_use_hotkey"
15271
15272           if test x"$enablestring" = xdisable; then
15273             if test $wxUSE_HOTKEY = no; then
15274               result=yes
15275             else
15276               result=no
15277             fi
15278           else
15279             result=$wxUSE_HOTKEY
15280           fi
15281
15282           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15283 $as_echo "$result" >&6; }
15284
15285
15286           enablestring=
15287           defaultval=$wxUSE_ALL_FEATURES
15288           if test -z "$defaultval"; then
15289               if test x"$enablestring" = xdisable; then
15290                   defaultval=yes
15291               else
15292                   defaultval=no
15293               fi
15294           fi
15295
15296           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15297 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15298           # Check whether --enable-joystick was given.
15299 if test "${enable_joystick+set}" = set; then :
15300   enableval=$enable_joystick;
15301                           if test "$enableval" = yes; then
15302                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15303                           else
15304                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15305                           fi
15306
15307 else
15308
15309                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15310
15311 fi
15312
15313
15314           eval "$wx_cv_use_joystick"
15315
15316           if test x"$enablestring" = xdisable; then
15317             if test $wxUSE_JOYSTICK = no; then
15318               result=yes
15319             else
15320               result=no
15321             fi
15322           else
15323             result=$wxUSE_JOYSTICK
15324           fi
15325
15326           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15327 $as_echo "$result" >&6; }
15328
15329
15330           enablestring=
15331           defaultval=$wxUSE_ALL_FEATURES
15332           if test -z "$defaultval"; then
15333               if test x"$enablestring" = xdisable; then
15334                   defaultval=yes
15335               else
15336                   defaultval=no
15337               fi
15338           fi
15339
15340           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15341 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15342           # Check whether --enable-metafile was given.
15343 if test "${enable_metafile+set}" = set; then :
15344   enableval=$enable_metafile;
15345                           if test "$enableval" = yes; then
15346                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15347                           else
15348                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15349                           fi
15350
15351 else
15352
15353                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15354
15355 fi
15356
15357
15358           eval "$wx_cv_use_metafile"
15359
15360           if test x"$enablestring" = xdisable; then
15361             if test $wxUSE_METAFILE = no; then
15362               result=yes
15363             else
15364               result=no
15365             fi
15366           else
15367             result=$wxUSE_METAFILE
15368           fi
15369
15370           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15371 $as_echo "$result" >&6; }
15372
15373
15374           enablestring=
15375           defaultval=$wxUSE_ALL_FEATURES
15376           if test -z "$defaultval"; then
15377               if test x"$enablestring" = xdisable; then
15378                   defaultval=yes
15379               else
15380                   defaultval=no
15381               fi
15382           fi
15383
15384           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15385 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15386           # Check whether --enable-dragimage was given.
15387 if test "${enable_dragimage+set}" = set; then :
15388   enableval=$enable_dragimage;
15389                           if test "$enableval" = yes; then
15390                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15391                           else
15392                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15393                           fi
15394
15395 else
15396
15397                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15398
15399 fi
15400
15401
15402           eval "$wx_cv_use_dragimage"
15403
15404           if test x"$enablestring" = xdisable; then
15405             if test $wxUSE_DRAGIMAGE = no; then
15406               result=yes
15407             else
15408               result=no
15409             fi
15410           else
15411             result=$wxUSE_DRAGIMAGE
15412           fi
15413
15414           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15415 $as_echo "$result" >&6; }
15416
15417
15418           enablestring=
15419           defaultval=$wxUSE_ALL_FEATURES
15420           if test -z "$defaultval"; then
15421               if test x"$enablestring" = xdisable; then
15422                   defaultval=yes
15423               else
15424                   defaultval=no
15425               fi
15426           fi
15427
15428           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15429 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15430           # Check whether --enable-accessibility was given.
15431 if test "${enable_accessibility+set}" = set; then :
15432   enableval=$enable_accessibility;
15433                           if test "$enableval" = yes; then
15434                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15435                           else
15436                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15437                           fi
15438
15439 else
15440
15441                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15442
15443 fi
15444
15445
15446           eval "$wx_cv_use_accessibility"
15447
15448           if test x"$enablestring" = xdisable; then
15449             if test $wxUSE_ACCESSIBILITY = no; then
15450               result=yes
15451             else
15452               result=no
15453             fi
15454           else
15455             result=$wxUSE_ACCESSIBILITY
15456           fi
15457
15458           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15459 $as_echo "$result" >&6; }
15460
15461
15462           enablestring=
15463           defaultval=$wxUSE_ALL_FEATURES
15464           if test -z "$defaultval"; then
15465               if test x"$enablestring" = xdisable; then
15466                   defaultval=yes
15467               else
15468                   defaultval=no
15469               fi
15470           fi
15471
15472           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15473 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15474           # Check whether --enable-uiactionsim was given.
15475 if test "${enable_uiactionsim+set}" = set; then :
15476   enableval=$enable_uiactionsim;
15477                           if test "$enableval" = yes; then
15478                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15479                           else
15480                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15481                           fi
15482
15483 else
15484
15485                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15486
15487 fi
15488
15489
15490           eval "$wx_cv_use_uiactionsim"
15491
15492           if test x"$enablestring" = xdisable; then
15493             if test $wxUSE_UIACTIONSIMULATOR = no; then
15494               result=yes
15495             else
15496               result=no
15497             fi
15498           else
15499             result=$wxUSE_UIACTIONSIMULATOR
15500           fi
15501
15502           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15503 $as_echo "$result" >&6; }
15504
15505
15506           enablestring=
15507           defaultval=$wxUSE_ALL_FEATURES
15508           if test -z "$defaultval"; then
15509               if test x"$enablestring" = xdisable; then
15510                   defaultval=yes
15511               else
15512                   defaultval=no
15513               fi
15514           fi
15515
15516           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15517 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15518           # Check whether --enable-dctransform was given.
15519 if test "${enable_dctransform+set}" = set; then :
15520   enableval=$enable_dctransform;
15521                           if test "$enableval" = yes; then
15522                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15523                           else
15524                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15525                           fi
15526
15527 else
15528
15529                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15530
15531 fi
15532
15533
15534           eval "$wx_cv_use_dctransform"
15535
15536           if test x"$enablestring" = xdisable; then
15537             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15538               result=yes
15539             else
15540               result=no
15541             fi
15542           else
15543             result=$wxUSE_DC_TRANSFORM_MATRIX
15544           fi
15545
15546           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15547 $as_echo "$result" >&6; }
15548
15549
15550           enablestring=
15551           defaultval=$wxUSE_ALL_FEATURES
15552           if test -z "$defaultval"; then
15553               if test x"$enablestring" = xdisable; then
15554                   defaultval=yes
15555               else
15556                   defaultval=no
15557               fi
15558           fi
15559
15560           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15561 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15562           # Check whether --enable-webviewwebkit was given.
15563 if test "${enable_webviewwebkit+set}" = set; then :
15564   enableval=$enable_webviewwebkit;
15565                           if test "$enableval" = yes; then
15566                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15567                           else
15568                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15569                           fi
15570
15571 else
15572
15573                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15574
15575 fi
15576
15577
15578           eval "$wx_cv_use_webviewwebkit"
15579
15580           if test x"$enablestring" = xdisable; then
15581             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15582               result=yes
15583             else
15584               result=no
15585             fi
15586           else
15587             result=$wxUSE_WEBVIEW_WEBKIT
15588           fi
15589
15590           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15591 $as_echo "$result" >&6; }
15592
15593
15594
15595
15596           enablestring=
15597           defaultval=$wxUSE_ALL_FEATURES
15598           if test -z "$defaultval"; then
15599               if test x"$enablestring" = xdisable; then
15600                   defaultval=yes
15601               else
15602                   defaultval=no
15603               fi
15604           fi
15605
15606           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15608           # Check whether --enable-palette was given.
15609 if test "${enable_palette+set}" = set; then :
15610   enableval=$enable_palette;
15611                           if test "$enableval" = yes; then
15612                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15613                           else
15614                             wx_cv_use_palette='wxUSE_PALETTE=no'
15615                           fi
15616
15617 else
15618
15619                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15620
15621 fi
15622
15623
15624           eval "$wx_cv_use_palette"
15625
15626           if test x"$enablestring" = xdisable; then
15627             if test $wxUSE_PALETTE = no; then
15628               result=yes
15629             else
15630               result=no
15631             fi
15632           else
15633             result=$wxUSE_PALETTE
15634           fi
15635
15636           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15638
15639
15640           enablestring=
15641           defaultval=$wxUSE_ALL_FEATURES
15642           if test -z "$defaultval"; then
15643               if test x"$enablestring" = xdisable; then
15644                   defaultval=yes
15645               else
15646                   defaultval=no
15647               fi
15648           fi
15649
15650           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15651 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15652           # Check whether --enable-image was given.
15653 if test "${enable_image+set}" = set; then :
15654   enableval=$enable_image;
15655                           if test "$enableval" = yes; then
15656                             wx_cv_use_image='wxUSE_IMAGE=yes'
15657                           else
15658                             wx_cv_use_image='wxUSE_IMAGE=no'
15659                           fi
15660
15661 else
15662
15663                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15664
15665 fi
15666
15667
15668           eval "$wx_cv_use_image"
15669
15670           if test x"$enablestring" = xdisable; then
15671             if test $wxUSE_IMAGE = no; then
15672               result=yes
15673             else
15674               result=no
15675             fi
15676           else
15677             result=$wxUSE_IMAGE
15678           fi
15679
15680           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15681 $as_echo "$result" >&6; }
15682
15683
15684           enablestring=
15685           defaultval=$wxUSE_ALL_FEATURES
15686           if test -z "$defaultval"; then
15687               if test x"$enablestring" = xdisable; then
15688                   defaultval=yes
15689               else
15690                   defaultval=no
15691               fi
15692           fi
15693
15694           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15695 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15696           # Check whether --enable-gif was given.
15697 if test "${enable_gif+set}" = set; then :
15698   enableval=$enable_gif;
15699                           if test "$enableval" = yes; then
15700                             wx_cv_use_gif='wxUSE_GIF=yes'
15701                           else
15702                             wx_cv_use_gif='wxUSE_GIF=no'
15703                           fi
15704
15705 else
15706
15707                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15708
15709 fi
15710
15711
15712           eval "$wx_cv_use_gif"
15713
15714           if test x"$enablestring" = xdisable; then
15715             if test $wxUSE_GIF = no; then
15716               result=yes
15717             else
15718               result=no
15719             fi
15720           else
15721             result=$wxUSE_GIF
15722           fi
15723
15724           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15725 $as_echo "$result" >&6; }
15726
15727
15728           enablestring=
15729           defaultval=$wxUSE_ALL_FEATURES
15730           if test -z "$defaultval"; then
15731               if test x"$enablestring" = xdisable; then
15732                   defaultval=yes
15733               else
15734                   defaultval=no
15735               fi
15736           fi
15737
15738           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15739 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15740           # Check whether --enable-pcx was given.
15741 if test "${enable_pcx+set}" = set; then :
15742   enableval=$enable_pcx;
15743                           if test "$enableval" = yes; then
15744                             wx_cv_use_pcx='wxUSE_PCX=yes'
15745                           else
15746                             wx_cv_use_pcx='wxUSE_PCX=no'
15747                           fi
15748
15749 else
15750
15751                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15752
15753 fi
15754
15755
15756           eval "$wx_cv_use_pcx"
15757
15758           if test x"$enablestring" = xdisable; then
15759             if test $wxUSE_PCX = no; then
15760               result=yes
15761             else
15762               result=no
15763             fi
15764           else
15765             result=$wxUSE_PCX
15766           fi
15767
15768           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15769 $as_echo "$result" >&6; }
15770
15771
15772           enablestring=
15773           defaultval=$wxUSE_ALL_FEATURES
15774           if test -z "$defaultval"; then
15775               if test x"$enablestring" = xdisable; then
15776                   defaultval=yes
15777               else
15778                   defaultval=no
15779               fi
15780           fi
15781
15782           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15783 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15784           # Check whether --enable-tga was given.
15785 if test "${enable_tga+set}" = set; then :
15786   enableval=$enable_tga;
15787                           if test "$enableval" = yes; then
15788                             wx_cv_use_tga='wxUSE_TGA=yes'
15789                           else
15790                             wx_cv_use_tga='wxUSE_TGA=no'
15791                           fi
15792
15793 else
15794
15795                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15796
15797 fi
15798
15799
15800           eval "$wx_cv_use_tga"
15801
15802           if test x"$enablestring" = xdisable; then
15803             if test $wxUSE_TGA = no; then
15804               result=yes
15805             else
15806               result=no
15807             fi
15808           else
15809             result=$wxUSE_TGA
15810           fi
15811
15812           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15813 $as_echo "$result" >&6; }
15814
15815
15816           enablestring=
15817           defaultval=$wxUSE_ALL_FEATURES
15818           if test -z "$defaultval"; then
15819               if test x"$enablestring" = xdisable; then
15820                   defaultval=yes
15821               else
15822                   defaultval=no
15823               fi
15824           fi
15825
15826           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15827 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15828           # Check whether --enable-iff was given.
15829 if test "${enable_iff+set}" = set; then :
15830   enableval=$enable_iff;
15831                           if test "$enableval" = yes; then
15832                             wx_cv_use_iff='wxUSE_IFF=yes'
15833                           else
15834                             wx_cv_use_iff='wxUSE_IFF=no'
15835                           fi
15836
15837 else
15838
15839                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15840
15841 fi
15842
15843
15844           eval "$wx_cv_use_iff"
15845
15846           if test x"$enablestring" = xdisable; then
15847             if test $wxUSE_IFF = no; then
15848               result=yes
15849             else
15850               result=no
15851             fi
15852           else
15853             result=$wxUSE_IFF
15854           fi
15855
15856           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15857 $as_echo "$result" >&6; }
15858
15859
15860           enablestring=
15861           defaultval=$wxUSE_ALL_FEATURES
15862           if test -z "$defaultval"; then
15863               if test x"$enablestring" = xdisable; then
15864                   defaultval=yes
15865               else
15866                   defaultval=no
15867               fi
15868           fi
15869
15870           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15871 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15872           # Check whether --enable-pnm was given.
15873 if test "${enable_pnm+set}" = set; then :
15874   enableval=$enable_pnm;
15875                           if test "$enableval" = yes; then
15876                             wx_cv_use_pnm='wxUSE_PNM=yes'
15877                           else
15878                             wx_cv_use_pnm='wxUSE_PNM=no'
15879                           fi
15880
15881 else
15882
15883                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15884
15885 fi
15886
15887
15888           eval "$wx_cv_use_pnm"
15889
15890           if test x"$enablestring" = xdisable; then
15891             if test $wxUSE_PNM = no; then
15892               result=yes
15893             else
15894               result=no
15895             fi
15896           else
15897             result=$wxUSE_PNM
15898           fi
15899
15900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15901 $as_echo "$result" >&6; }
15902
15903
15904           enablestring=
15905           defaultval=$wxUSE_ALL_FEATURES
15906           if test -z "$defaultval"; then
15907               if test x"$enablestring" = xdisable; then
15908                   defaultval=yes
15909               else
15910                   defaultval=no
15911               fi
15912           fi
15913
15914           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15915 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15916           # Check whether --enable-xpm was given.
15917 if test "${enable_xpm+set}" = set; then :
15918   enableval=$enable_xpm;
15919                           if test "$enableval" = yes; then
15920                             wx_cv_use_xpm='wxUSE_XPM=yes'
15921                           else
15922                             wx_cv_use_xpm='wxUSE_XPM=no'
15923                           fi
15924
15925 else
15926
15927                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15928
15929 fi
15930
15931
15932           eval "$wx_cv_use_xpm"
15933
15934           if test x"$enablestring" = xdisable; then
15935             if test $wxUSE_XPM = no; then
15936               result=yes
15937             else
15938               result=no
15939             fi
15940           else
15941             result=$wxUSE_XPM
15942           fi
15943
15944           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15945 $as_echo "$result" >&6; }
15946
15947
15948           enablestring=
15949           defaultval=$wxUSE_ALL_FEATURES
15950           if test -z "$defaultval"; then
15951               if test x"$enablestring" = xdisable; then
15952                   defaultval=yes
15953               else
15954                   defaultval=no
15955               fi
15956           fi
15957
15958           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15959 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15960           # Check whether --enable-ico_cur was given.
15961 if test "${enable_ico_cur+set}" = set; then :
15962   enableval=$enable_ico_cur;
15963                           if test "$enableval" = yes; then
15964                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15965                           else
15966                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15967                           fi
15968
15969 else
15970
15971                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15972
15973 fi
15974
15975
15976           eval "$wx_cv_use_ico_cur"
15977
15978           if test x"$enablestring" = xdisable; then
15979             if test $wxUSE_ICO_CUR = no; then
15980               result=yes
15981             else
15982               result=no
15983             fi
15984           else
15985             result=$wxUSE_ICO_CUR
15986           fi
15987
15988           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15989 $as_echo "$result" >&6; }
15990
15991
15992
15993
15994           enablestring=
15995           defaultval=$wxUSE_ALL_FEATURES
15996           if test -z "$defaultval"; then
15997               if test x"$enablestring" = xdisable; then
15998                   defaultval=yes
15999               else
16000                   defaultval=no
16001               fi
16002           fi
16003
16004           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16006           # Check whether --enable-dccache was given.
16007 if test "${enable_dccache+set}" = set; then :
16008   enableval=$enable_dccache;
16009                           if test "$enableval" = yes; then
16010                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16011                           else
16012                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16013                           fi
16014
16015 else
16016
16017                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16018
16019 fi
16020
16021
16022           eval "$wx_cv_use_dccache"
16023
16024           if test x"$enablestring" = xdisable; then
16025             if test $wxUSE_DC_CACHEING = no; then
16026               result=yes
16027             else
16028               result=no
16029             fi
16030           else
16031             result=$wxUSE_DC_CACHEING
16032           fi
16033
16034           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16036
16037
16038           enablestring=
16039           defaultval=$wxUSE_ALL_FEATURES
16040           if test -z "$defaultval"; then
16041               if test x"$enablestring" = xdisable; then
16042                   defaultval=yes
16043               else
16044                   defaultval=no
16045               fi
16046           fi
16047
16048           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16049 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16050           # Check whether --enable-ps-in-msw was given.
16051 if test "${enable_ps_in_msw+set}" = set; then :
16052   enableval=$enable_ps_in_msw;
16053                           if test "$enableval" = yes; then
16054                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16055                           else
16056                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16057                           fi
16058
16059 else
16060
16061                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16062
16063 fi
16064
16065
16066           eval "$wx_cv_use_ps_in_msw"
16067
16068           if test x"$enablestring" = xdisable; then
16069             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16070               result=yes
16071             else
16072               result=no
16073             fi
16074           else
16075             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16076           fi
16077
16078           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16079 $as_echo "$result" >&6; }
16080
16081
16082           enablestring=
16083           defaultval=$wxUSE_ALL_FEATURES
16084           if test -z "$defaultval"; then
16085               if test x"$enablestring" = xdisable; then
16086                   defaultval=yes
16087               else
16088                   defaultval=no
16089               fi
16090           fi
16091
16092           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16093 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16094           # Check whether --enable-ownerdrawn was given.
16095 if test "${enable_ownerdrawn+set}" = set; then :
16096   enableval=$enable_ownerdrawn;
16097                           if test "$enableval" = yes; then
16098                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16099                           else
16100                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16101                           fi
16102
16103 else
16104
16105                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16106
16107 fi
16108
16109
16110           eval "$wx_cv_use_ownerdrawn"
16111
16112           if test x"$enablestring" = xdisable; then
16113             if test $wxUSE_OWNER_DRAWN = no; then
16114               result=yes
16115             else
16116               result=no
16117             fi
16118           else
16119             result=$wxUSE_OWNER_DRAWN
16120           fi
16121
16122           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16123 $as_echo "$result" >&6; }
16124
16125
16126           enablestring=
16127           defaultval=$wxUSE_ALL_FEATURES
16128           if test -z "$defaultval"; then
16129               if test x"$enablestring" = xdisable; then
16130                   defaultval=yes
16131               else
16132                   defaultval=no
16133               fi
16134           fi
16135
16136           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16137 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16138           # Check whether --enable-uxtheme was given.
16139 if test "${enable_uxtheme+set}" = set; then :
16140   enableval=$enable_uxtheme;
16141                           if test "$enableval" = yes; then
16142                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16143                           else
16144                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16145                           fi
16146
16147 else
16148
16149                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16150
16151 fi
16152
16153
16154           eval "$wx_cv_use_uxtheme"
16155
16156           if test x"$enablestring" = xdisable; then
16157             if test $wxUSE_UXTHEME = no; then
16158               result=yes
16159             else
16160               result=no
16161             fi
16162           else
16163             result=$wxUSE_UXTHEME
16164           fi
16165
16166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16167 $as_echo "$result" >&6; }
16168
16169
16170           enablestring=
16171           defaultval=$wxUSE_ALL_FEATURES
16172           if test -z "$defaultval"; then
16173               if test x"$enablestring" = xdisable; then
16174                   defaultval=yes
16175               else
16176                   defaultval=no
16177               fi
16178           fi
16179
16180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16181 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16182           # Check whether --enable-wxdib was given.
16183 if test "${enable_wxdib+set}" = set; then :
16184   enableval=$enable_wxdib;
16185                           if test "$enableval" = yes; then
16186                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16187                           else
16188                             wx_cv_use_wxdib='wxUSE_DIB=no'
16189                           fi
16190
16191 else
16192
16193                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16194
16195 fi
16196
16197
16198           eval "$wx_cv_use_wxdib"
16199
16200           if test x"$enablestring" = xdisable; then
16201             if test $wxUSE_DIB = no; then
16202               result=yes
16203             else
16204               result=no
16205             fi
16206           else
16207             result=$wxUSE_DIB
16208           fi
16209
16210           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16211 $as_echo "$result" >&6; }
16212
16213
16214           enablestring=
16215           defaultval=$wxUSE_ALL_FEATURES
16216           if test -z "$defaultval"; then
16217               if test x"$enablestring" = xdisable; then
16218                   defaultval=yes
16219               else
16220                   defaultval=no
16221               fi
16222           fi
16223
16224           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16225 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16226           # Check whether --enable-webviewie was given.
16227 if test "${enable_webviewie+set}" = set; then :
16228   enableval=$enable_webviewie;
16229                           if test "$enableval" = yes; then
16230                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16231                           else
16232                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16233                           fi
16234
16235 else
16236
16237                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16238
16239 fi
16240
16241
16242           eval "$wx_cv_use_webviewie"
16243
16244           if test x"$enablestring" = xdisable; then
16245             if test $wxUSE_WEBVIEW_IE = no; then
16246               result=yes
16247             else
16248               result=no
16249             fi
16250           else
16251             result=$wxUSE_WEBVIEW_IE
16252           fi
16253
16254           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16255 $as_echo "$result" >&6; }
16256
16257
16258 if test "$wxUSE_MSW" != 1; then
16259     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16260 fi
16261
16262
16263           enablestring=
16264           defaultval=$wxUSE_ALL_FEATURES
16265           if test -z "$defaultval"; then
16266               if test x"$enablestring" = xdisable; then
16267                   defaultval=yes
16268               else
16269                   defaultval=no
16270               fi
16271           fi
16272
16273           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16274 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16275           # Check whether --enable-autoidman was given.
16276 if test "${enable_autoidman+set}" = set; then :
16277   enableval=$enable_autoidman;
16278                           if test "$enableval" = yes; then
16279                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16280                           else
16281                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16282                           fi
16283
16284 else
16285
16286                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16287
16288 fi
16289
16290
16291           eval "$wx_cv_use_autoidman"
16292
16293           if test x"$enablestring" = xdisable; then
16294             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16295               result=yes
16296             else
16297               result=no
16298             fi
16299           else
16300             result=$wxUSE_AUTOID_MANAGEMENT
16301           fi
16302
16303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16304 $as_echo "$result" >&6; }
16305
16306
16307 fi
16308
16309
16310 cat >confcache <<\_ACEOF
16311 # This file is a shell script that caches the results of configure
16312 # tests run on this system so they can be shared between configure
16313 # scripts and configure runs, see configure's option --config-cache.
16314 # It is not useful on other systems.  If it contains results you don't
16315 # want to keep, you may remove or edit it.
16316 #
16317 # config.status only pays attention to the cache file if you give it
16318 # the --recheck option to rerun configure.
16319 #
16320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16322 # following values.
16323
16324 _ACEOF
16325
16326 # The following way of writing the cache mishandles newlines in values,
16327 # but we know of no workaround that is simple, portable, and efficient.
16328 # So, we kill variables containing newlines.
16329 # Ultrix sh set writes to stderr and can't be redirected directly,
16330 # and sets the high bit in the cache file unless we assign to the vars.
16331 (
16332   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16333     eval ac_val=\$$ac_var
16334     case $ac_val in #(
16335     *${as_nl}*)
16336       case $ac_var in #(
16337       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16339       esac
16340       case $ac_var in #(
16341       _ | IFS | as_nl) ;; #(
16342       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16343       *) { eval $ac_var=; unset $ac_var;} ;;
16344       esac ;;
16345     esac
16346   done
16347
16348   (set) 2>&1 |
16349     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16350     *${as_nl}ac_space=\ *)
16351       # `set' does not quote correctly, so add quotes: double-quote
16352       # substitution turns \\\\ into \\, and sed turns \\ into \.
16353       sed -n \
16354         "s/'/'\\\\''/g;
16355           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16356       ;; #(
16357     *)
16358       # `set' quotes correctly as required by POSIX, so do not add quotes.
16359       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16360       ;;
16361     esac |
16362     sort
16363 ) |
16364   sed '
16365      /^ac_cv_env_/b end
16366      t clear
16367      :clear
16368      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16369      t end
16370      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16371      :end' >>confcache
16372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16373   if test -w "$cache_file"; then
16374     if test "x$cache_file" != "x/dev/null"; then
16375       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16376 $as_echo "$as_me: updating cache $cache_file" >&6;}
16377       if test ! -f "$cache_file" || test -h "$cache_file"; then
16378         cat confcache >"$cache_file"
16379       else
16380         case $cache_file in #(
16381         */* | ?:*)
16382           mv -f confcache "$cache_file"$$ &&
16383           mv -f "$cache_file"$$ "$cache_file" ;; #(
16384         *)
16385           mv -f confcache "$cache_file" ;;
16386         esac
16387       fi
16388     fi
16389   else
16390     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16392   fi
16393 fi
16394 rm -f confcache
16395
16396 CFLAGS=${CFLAGS:=}
16397 ac_ext=c
16398 ac_cpp='$CPP $CPPFLAGS'
16399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16402 if test -n "$ac_tool_prefix"; then
16403   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16404 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16406 $as_echo_n "checking for $ac_word... " >&6; }
16407 if ${ac_cv_prog_CC+:} false; then :
16408   $as_echo_n "(cached) " >&6
16409 else
16410   if test -n "$CC"; then
16411   ac_cv_prog_CC="$CC" # Let the user override the test.
16412 else
16413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16414 for as_dir in $PATH
16415 do
16416   IFS=$as_save_IFS
16417   test -z "$as_dir" && as_dir=.
16418     for ac_exec_ext in '' $ac_executable_extensions; do
16419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16420     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16422     break 2
16423   fi
16424 done
16425   done
16426 IFS=$as_save_IFS
16427
16428 fi
16429 fi
16430 CC=$ac_cv_prog_CC
16431 if test -n "$CC"; then
16432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16433 $as_echo "$CC" >&6; }
16434 else
16435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16437 fi
16438
16439
16440 fi
16441 if test -z "$ac_cv_prog_CC"; then
16442   ac_ct_CC=$CC
16443   # Extract the first word of "gcc", so it can be a program name with args.
16444 set dummy gcc; ac_word=$2
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16446 $as_echo_n "checking for $ac_word... " >&6; }
16447 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16448   $as_echo_n "(cached) " >&6
16449 else
16450   if test -n "$ac_ct_CC"; then
16451   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16452 else
16453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16454 for as_dir in $PATH
16455 do
16456   IFS=$as_save_IFS
16457   test -z "$as_dir" && as_dir=.
16458     for ac_exec_ext in '' $ac_executable_extensions; do
16459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16460     ac_cv_prog_ac_ct_CC="gcc"
16461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16462     break 2
16463   fi
16464 done
16465   done
16466 IFS=$as_save_IFS
16467
16468 fi
16469 fi
16470 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16471 if test -n "$ac_ct_CC"; then
16472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16473 $as_echo "$ac_ct_CC" >&6; }
16474 else
16475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16476 $as_echo "no" >&6; }
16477 fi
16478
16479   if test "x$ac_ct_CC" = x; then
16480     CC=""
16481   else
16482     case $cross_compiling:$ac_tool_warned in
16483 yes:)
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16486 ac_tool_warned=yes ;;
16487 esac
16488     CC=$ac_ct_CC
16489   fi
16490 else
16491   CC="$ac_cv_prog_CC"
16492 fi
16493
16494 if test -z "$CC"; then
16495           if test -n "$ac_tool_prefix"; then
16496     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16497 set dummy ${ac_tool_prefix}cc; ac_word=$2
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16499 $as_echo_n "checking for $ac_word... " >&6; }
16500 if ${ac_cv_prog_CC+:} false; then :
16501   $as_echo_n "(cached) " >&6
16502 else
16503   if test -n "$CC"; then
16504   ac_cv_prog_CC="$CC" # Let the user override the test.
16505 else
16506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16507 for as_dir in $PATH
16508 do
16509   IFS=$as_save_IFS
16510   test -z "$as_dir" && as_dir=.
16511     for ac_exec_ext in '' $ac_executable_extensions; do
16512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16513     ac_cv_prog_CC="${ac_tool_prefix}cc"
16514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16515     break 2
16516   fi
16517 done
16518   done
16519 IFS=$as_save_IFS
16520
16521 fi
16522 fi
16523 CC=$ac_cv_prog_CC
16524 if test -n "$CC"; then
16525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16526 $as_echo "$CC" >&6; }
16527 else
16528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16529 $as_echo "no" >&6; }
16530 fi
16531
16532
16533   fi
16534 fi
16535 if test -z "$CC"; then
16536   # Extract the first word of "cc", so it can be a program name with args.
16537 set dummy cc; ac_word=$2
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16539 $as_echo_n "checking for $ac_word... " >&6; }
16540 if ${ac_cv_prog_CC+:} false; then :
16541   $as_echo_n "(cached) " >&6
16542 else
16543   if test -n "$CC"; then
16544   ac_cv_prog_CC="$CC" # Let the user override the test.
16545 else
16546   ac_prog_rejected=no
16547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16548 for as_dir in $PATH
16549 do
16550   IFS=$as_save_IFS
16551   test -z "$as_dir" && as_dir=.
16552     for ac_exec_ext in '' $ac_executable_extensions; do
16553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16554     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16555        ac_prog_rejected=yes
16556        continue
16557      fi
16558     ac_cv_prog_CC="cc"
16559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16560     break 2
16561   fi
16562 done
16563   done
16564 IFS=$as_save_IFS
16565
16566 if test $ac_prog_rejected = yes; then
16567   # We found a bogon in the path, so make sure we never use it.
16568   set dummy $ac_cv_prog_CC
16569   shift
16570   if test $# != 0; then
16571     # We chose a different compiler from the bogus one.
16572     # However, it has the same basename, so the bogon will be chosen
16573     # first if we set CC to just the basename; use the full file name.
16574     shift
16575     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16576   fi
16577 fi
16578 fi
16579 fi
16580 CC=$ac_cv_prog_CC
16581 if test -n "$CC"; then
16582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16583 $as_echo "$CC" >&6; }
16584 else
16585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16586 $as_echo "no" >&6; }
16587 fi
16588
16589
16590 fi
16591 if test -z "$CC"; then
16592   if test -n "$ac_tool_prefix"; then
16593   for ac_prog in cl.exe
16594   do
16595     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16598 $as_echo_n "checking for $ac_word... " >&6; }
16599 if ${ac_cv_prog_CC+:} false; then :
16600   $as_echo_n "(cached) " >&6
16601 else
16602   if test -n "$CC"; then
16603   ac_cv_prog_CC="$CC" # Let the user override the test.
16604 else
16605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16606 for as_dir in $PATH
16607 do
16608   IFS=$as_save_IFS
16609   test -z "$as_dir" && as_dir=.
16610     for ac_exec_ext in '' $ac_executable_extensions; do
16611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16612     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16614     break 2
16615   fi
16616 done
16617   done
16618 IFS=$as_save_IFS
16619
16620 fi
16621 fi
16622 CC=$ac_cv_prog_CC
16623 if test -n "$CC"; then
16624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16625 $as_echo "$CC" >&6; }
16626 else
16627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16628 $as_echo "no" >&6; }
16629 fi
16630
16631
16632     test -n "$CC" && break
16633   done
16634 fi
16635 if test -z "$CC"; then
16636   ac_ct_CC=$CC
16637   for ac_prog in cl.exe
16638 do
16639   # Extract the first word of "$ac_prog", so it can be a program name with args.
16640 set dummy $ac_prog; ac_word=$2
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16642 $as_echo_n "checking for $ac_word... " >&6; }
16643 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16644   $as_echo_n "(cached) " >&6
16645 else
16646   if test -n "$ac_ct_CC"; then
16647   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16648 else
16649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16650 for as_dir in $PATH
16651 do
16652   IFS=$as_save_IFS
16653   test -z "$as_dir" && as_dir=.
16654     for ac_exec_ext in '' $ac_executable_extensions; do
16655   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16656     ac_cv_prog_ac_ct_CC="$ac_prog"
16657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16658     break 2
16659   fi
16660 done
16661   done
16662 IFS=$as_save_IFS
16663
16664 fi
16665 fi
16666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16667 if test -n "$ac_ct_CC"; then
16668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16669 $as_echo "$ac_ct_CC" >&6; }
16670 else
16671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16672 $as_echo "no" >&6; }
16673 fi
16674
16675
16676   test -n "$ac_ct_CC" && break
16677 done
16678
16679   if test "x$ac_ct_CC" = x; then
16680     CC=""
16681   else
16682     case $cross_compiling:$ac_tool_warned in
16683 yes:)
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16686 ac_tool_warned=yes ;;
16687 esac
16688     CC=$ac_ct_CC
16689   fi
16690 fi
16691
16692 fi
16693
16694
16695 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16697 as_fn_error $? "no acceptable C compiler found in \$PATH
16698 See \`config.log' for more details" "$LINENO" 5; }
16699
16700 # Provide some information about the compiler.
16701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16702 set X $ac_compile
16703 ac_compiler=$2
16704 for ac_option in --version -v -V -qversion; do
16705   { { ac_try="$ac_compiler $ac_option >&5"
16706 case "(($ac_try" in
16707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708   *) ac_try_echo=$ac_try;;
16709 esac
16710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16711 $as_echo "$ac_try_echo"; } >&5
16712   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16713   ac_status=$?
16714   if test -s conftest.err; then
16715     sed '10a\
16716 ... rest of stderr output deleted ...
16717          10q' conftest.err >conftest.er1
16718     cat conftest.er1 >&5
16719   fi
16720   rm -f conftest.er1 conftest.err
16721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16722   test $ac_status = 0; }
16723 done
16724
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h.  */
16727
16728 int
16729 main ()
16730 {
16731
16732   ;
16733   return 0;
16734 }
16735 _ACEOF
16736 ac_clean_files_save=$ac_clean_files
16737 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16738 # Try to create an executable without -o first, disregard a.out.
16739 # It will help us diagnose broken compilers, and finding out an intuition
16740 # of exeext.
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16742 $as_echo_n "checking whether the C compiler works... " >&6; }
16743 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16744
16745 # The possible output files:
16746 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16747
16748 ac_rmfiles=
16749 for ac_file in $ac_files
16750 do
16751   case $ac_file in
16752     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16753     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16754   esac
16755 done
16756 rm -f $ac_rmfiles
16757
16758 if { { ac_try="$ac_link_default"
16759 case "(($ac_try" in
16760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16761   *) ac_try_echo=$ac_try;;
16762 esac
16763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16764 $as_echo "$ac_try_echo"; } >&5
16765   (eval "$ac_link_default") 2>&5
16766   ac_status=$?
16767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16768   test $ac_status = 0; }; then :
16769   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16770 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16771 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16772 # so that the user can short-circuit this test for compilers unknown to
16773 # Autoconf.
16774 for ac_file in $ac_files ''
16775 do
16776   test -f "$ac_file" || continue
16777   case $ac_file in
16778     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16779         ;;
16780     [ab].out )
16781         # We found the default executable, but exeext='' is most
16782         # certainly right.
16783         break;;
16784     *.* )
16785         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16786         then :; else
16787            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16788         fi
16789         # We set ac_cv_exeext here because the later test for it is not
16790         # safe: cross compilers may not add the suffix if given an `-o'
16791         # argument, so we may need to know it at that point already.
16792         # Even if this section looks crufty: it has the advantage of
16793         # actually working.
16794         break;;
16795     * )
16796         break;;
16797   esac
16798 done
16799 test "$ac_cv_exeext" = no && ac_cv_exeext=
16800
16801 else
16802   ac_file=''
16803 fi
16804 if test -z "$ac_file"; then :
16805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16806 $as_echo "no" >&6; }
16807 $as_echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.$ac_ext >&5
16809
16810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16812 as_fn_error 77 "C compiler cannot create executables
16813 See \`config.log' for more details" "$LINENO" 5; }
16814 else
16815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16816 $as_echo "yes" >&6; }
16817 fi
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16819 $as_echo_n "checking for C compiler default output file name... " >&6; }
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16821 $as_echo "$ac_file" >&6; }
16822 ac_exeext=$ac_cv_exeext
16823
16824 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16825 ac_clean_files=$ac_clean_files_save
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16827 $as_echo_n "checking for suffix of executables... " >&6; }
16828 if { { ac_try="$ac_link"
16829 case "(($ac_try" in
16830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16831   *) ac_try_echo=$ac_try;;
16832 esac
16833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16834 $as_echo "$ac_try_echo"; } >&5
16835   (eval "$ac_link") 2>&5
16836   ac_status=$?
16837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16838   test $ac_status = 0; }; then :
16839   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16840 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16841 # work properly (i.e., refer to `conftest.exe'), while it won't with
16842 # `rm'.
16843 for ac_file in conftest.exe conftest conftest.*; do
16844   test -f "$ac_file" || continue
16845   case $ac_file in
16846     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16847     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16848           break;;
16849     * ) break;;
16850   esac
16851 done
16852 else
16853   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16855 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16856 See \`config.log' for more details" "$LINENO" 5; }
16857 fi
16858 rm -f conftest conftest$ac_cv_exeext
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16860 $as_echo "$ac_cv_exeext" >&6; }
16861
16862 rm -f conftest.$ac_ext
16863 EXEEXT=$ac_cv_exeext
16864 ac_exeext=$EXEEXT
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h.  */
16867 #include <stdio.h>
16868 int
16869 main ()
16870 {
16871 FILE *f = fopen ("conftest.out", "w");
16872  return ferror (f) || fclose (f) != 0;
16873
16874   ;
16875   return 0;
16876 }
16877 _ACEOF
16878 ac_clean_files="$ac_clean_files conftest.out"
16879 # Check that the compiler produces executables we can run.  If not, either
16880 # the compiler is broken, or we cross compile.
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16882 $as_echo_n "checking whether we are cross compiling... " >&6; }
16883 if test "$cross_compiling" != yes; then
16884   { { ac_try="$ac_link"
16885 case "(($ac_try" in
16886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887   *) ac_try_echo=$ac_try;;
16888 esac
16889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16890 $as_echo "$ac_try_echo"; } >&5
16891   (eval "$ac_link") 2>&5
16892   ac_status=$?
16893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16894   test $ac_status = 0; }
16895   if { ac_try='./conftest$ac_cv_exeext'
16896   { { case "(($ac_try" in
16897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898   *) ac_try_echo=$ac_try;;
16899 esac
16900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16901 $as_echo "$ac_try_echo"; } >&5
16902   (eval "$ac_try") 2>&5
16903   ac_status=$?
16904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16905   test $ac_status = 0; }; }; then
16906     cross_compiling=no
16907   else
16908     if test "$cross_compiling" = maybe; then
16909         cross_compiling=yes
16910     else
16911         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16913 as_fn_error $? "cannot run C compiled programs.
16914 If you meant to cross compile, use \`--host'.
16915 See \`config.log' for more details" "$LINENO" 5; }
16916     fi
16917   fi
16918 fi
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16920 $as_echo "$cross_compiling" >&6; }
16921
16922 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16923 ac_clean_files=$ac_clean_files_save
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16925 $as_echo_n "checking for suffix of object files... " >&6; }
16926 if ${ac_cv_objext+:} false; then :
16927   $as_echo_n "(cached) " >&6
16928 else
16929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h.  */
16931
16932 int
16933 main ()
16934 {
16935
16936   ;
16937   return 0;
16938 }
16939 _ACEOF
16940 rm -f conftest.o conftest.obj
16941 if { { ac_try="$ac_compile"
16942 case "(($ac_try" in
16943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944   *) ac_try_echo=$ac_try;;
16945 esac
16946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948   (eval "$ac_compile") 2>&5
16949   ac_status=$?
16950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951   test $ac_status = 0; }; then :
16952   for ac_file in conftest.o conftest.obj conftest.*; do
16953   test -f "$ac_file" || continue;
16954   case $ac_file in
16955     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16956     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16957        break;;
16958   esac
16959 done
16960 else
16961   $as_echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16963
16964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16966 as_fn_error $? "cannot compute suffix of object files: cannot compile
16967 See \`config.log' for more details" "$LINENO" 5; }
16968 fi
16969 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16970 fi
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16972 $as_echo "$ac_cv_objext" >&6; }
16973 OBJEXT=$ac_cv_objext
16974 ac_objext=$OBJEXT
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16976 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16977 if ${ac_cv_c_compiler_gnu+:} false; then :
16978   $as_echo_n "(cached) " >&6
16979 else
16980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h.  */
16982
16983 int
16984 main ()
16985 {
16986 #ifndef __GNUC__
16987        choke me
16988 #endif
16989
16990   ;
16991   return 0;
16992 }
16993 _ACEOF
16994 if ac_fn_c_try_compile "$LINENO"; then :
16995   ac_compiler_gnu=yes
16996 else
16997   ac_compiler_gnu=no
16998 fi
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17001
17002 fi
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17004 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17005 if test $ac_compiler_gnu = yes; then
17006   GCC=yes
17007 else
17008   GCC=
17009 fi
17010 ac_test_CFLAGS=${CFLAGS+set}
17011 ac_save_CFLAGS=$CFLAGS
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17013 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17014 if ${ac_cv_prog_cc_g+:} false; then :
17015   $as_echo_n "(cached) " >&6
17016 else
17017   ac_save_c_werror_flag=$ac_c_werror_flag
17018    ac_c_werror_flag=yes
17019    ac_cv_prog_cc_g=no
17020    CFLAGS="-g"
17021    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h.  */
17023
17024 int
17025 main ()
17026 {
17027
17028   ;
17029   return 0;
17030 }
17031 _ACEOF
17032 if ac_fn_c_try_compile "$LINENO"; then :
17033   ac_cv_prog_cc_g=yes
17034 else
17035   CFLAGS=""
17036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h.  */
17038
17039 int
17040 main ()
17041 {
17042
17043   ;
17044   return 0;
17045 }
17046 _ACEOF
17047 if ac_fn_c_try_compile "$LINENO"; then :
17048
17049 else
17050   ac_c_werror_flag=$ac_save_c_werror_flag
17051          CFLAGS="-g"
17052          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h.  */
17054
17055 int
17056 main ()
17057 {
17058
17059   ;
17060   return 0;
17061 }
17062 _ACEOF
17063 if ac_fn_c_try_compile "$LINENO"; then :
17064   ac_cv_prog_cc_g=yes
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067 fi
17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17069 fi
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071    ac_c_werror_flag=$ac_save_c_werror_flag
17072 fi
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17074 $as_echo "$ac_cv_prog_cc_g" >&6; }
17075 if test "$ac_test_CFLAGS" = set; then
17076   CFLAGS=$ac_save_CFLAGS
17077 elif test $ac_cv_prog_cc_g = yes; then
17078   if test "$GCC" = yes; then
17079     CFLAGS="-g -O2"
17080   else
17081     CFLAGS="-g"
17082   fi
17083 else
17084   if test "$GCC" = yes; then
17085     CFLAGS="-O2"
17086   else
17087     CFLAGS=
17088   fi
17089 fi
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17091 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17092 if ${ac_cv_prog_cc_c89+:} false; then :
17093   $as_echo_n "(cached) " >&6
17094 else
17095   ac_cv_prog_cc_c89=no
17096 ac_save_CC=$CC
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h.  */
17099 #include <stdarg.h>
17100 #include <stdio.h>
17101 struct stat;
17102 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17103 struct buf { int x; };
17104 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17105 static char *e (p, i)
17106      char **p;
17107      int i;
17108 {
17109   return p[i];
17110 }
17111 static char *f (char * (*g) (char **, int), char **p, ...)
17112 {
17113   char *s;
17114   va_list v;
17115   va_start (v,p);
17116   s = g (p, va_arg (v,int));
17117   va_end (v);
17118   return s;
17119 }
17120
17121 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17122    function prototypes and stuff, but not '\xHH' hex character constants.
17123    These don't provoke an error unfortunately, instead are silently treated
17124    as 'x'.  The following induces an error, until -std is added to get
17125    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17126    array size at least.  It's necessary to write '\x00'==0 to get something
17127    that's true only with -std.  */
17128 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17129
17130 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17131    inside strings and character constants.  */
17132 #define FOO(x) 'x'
17133 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17134
17135 int test (int i, double x);
17136 struct s1 {int (*f) (int a);};
17137 struct s2 {int (*f) (double a);};
17138 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17139 int argc;
17140 char **argv;
17141 int
17142 main ()
17143 {
17144 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17145   ;
17146   return 0;
17147 }
17148 _ACEOF
17149 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17150         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17151 do
17152   CC="$ac_save_CC $ac_arg"
17153   if ac_fn_c_try_compile "$LINENO"; then :
17154   ac_cv_prog_cc_c89=$ac_arg
17155 fi
17156 rm -f core conftest.err conftest.$ac_objext
17157   test "x$ac_cv_prog_cc_c89" != "xno" && break
17158 done
17159 rm -f conftest.$ac_ext
17160 CC=$ac_save_CC
17161
17162 fi
17163 # AC_CACHE_VAL
17164 case "x$ac_cv_prog_cc_c89" in
17165   x)
17166     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17167 $as_echo "none needed" >&6; } ;;
17168   xno)
17169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17170 $as_echo "unsupported" >&6; } ;;
17171   *)
17172     CC="$CC $ac_cv_prog_cc_c89"
17173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17174 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17175 esac
17176 if test "x$ac_cv_prog_cc_c89" != xno; then :
17177
17178 fi
17179
17180 ac_ext=c
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185
17186
17187
17188
17189
17190
17191
17192
17193     ac_ext=c
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17198
17199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17200 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17201 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17202   $as_echo_n "(cached) " >&6
17203 else
17204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h.  */
17206
17207 int
17208 main ()
17209 {
17210
17211              #ifndef __INTEL_COMPILER
17212                 choke me
17213              #endif
17214
17215   ;
17216   return 0;
17217 }
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17221 else
17222   bakefile_cv_c_compiler___INTEL_COMPILER=no
17223
17224 fi
17225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17226
17227
17228 fi
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17230 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17231     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17232         :; INTELCC=yes
17233     else
17234         :;
17235     fi
17236     ac_ext=c
17237 ac_cpp='$CPP $CPPFLAGS'
17238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17241
17242
17243
17244
17245         if test "$INTELCC" = "yes"; then
17246
17247
17248     ac_ext=c
17249 ac_cpp='$CPP $CPPFLAGS'
17250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17253
17254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17255 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17256 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17257   $as_echo_n "(cached) " >&6
17258 else
17259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h.  */
17261
17262 int
17263 main ()
17264 {
17265
17266              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17267                 choke me
17268              #endif
17269
17270   ;
17271   return 0;
17272 }
17273 _ACEOF
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17276 else
17277   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17278
17279 fi
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281
17282
17283 fi
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17285 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17286     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17287         :; INTELCC8=yes
17288     else
17289         :;
17290     fi
17291     ac_ext=c
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17296
17297
17298
17299
17300
17301     ac_ext=c
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17306
17307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17308 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17309 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17310   $as_echo_n "(cached) " >&6
17311 else
17312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h.  */
17314
17315 int
17316 main ()
17317 {
17318
17319              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17320                 choke me
17321              #endif
17322
17323   ;
17324   return 0;
17325 }
17326 _ACEOF
17327 if ac_fn_c_try_compile "$LINENO"; then :
17328   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17329 else
17330   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17331
17332 fi
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334
17335
17336 fi
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17338 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17339     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17340         :; INTELCC10=yes
17341     else
17342         :;
17343     fi
17344     ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17349
17350
17351
17352     fi
17353
17354         if test "x$GCC" != "xyes"; then
17355         if test "xCC" = "xC"; then
17356             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17357 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17358 if ${bakefile_cv_c_exto+:} false; then :
17359   $as_echo_n "(cached) " >&6
17360 else
17361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h.  */
17363
17364 int
17365 main ()
17366 {
17367
17368   ;
17369   return 0;
17370 }
17371 _ACEOF
17372 rm -f conftest.$ac_objext conftest.$ac_ext.o
17373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17374   (eval $ac_compile) 2>&5
17375   ac_status=$?
17376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17377   test $ac_status = 0; }; then :
17378   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17379     case $ac_file in
17380         conftest.$ac_ext.o)
17381             bakefile_cv_c_exto="-ext o"
17382             ;;
17383         *)
17384             ;;
17385     esac
17386 done
17387 else
17388   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17390 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17391 See \`config.log' for more details" "$LINENO" 5; }
17392
17393 fi
17394 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17395
17396 fi
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17398 $as_echo "$bakefile_cv_c_exto" >&6; }
17399 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17400     if test "c" = "c"; then
17401         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17402     fi
17403     if test "c" = "cxx"; then
17404         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17405     fi
17406 fi
17407
17408             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17409                 unset ac_cv_prog_cc_g
17410                 ac_test_CFLAGS=${CFLAGS+set}
17411 ac_save_CFLAGS=$CFLAGS
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17413 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17414 if ${ac_cv_prog_cc_g+:} false; then :
17415   $as_echo_n "(cached) " >&6
17416 else
17417   ac_save_c_werror_flag=$ac_c_werror_flag
17418    ac_c_werror_flag=yes
17419    ac_cv_prog_cc_g=no
17420    CFLAGS="-g"
17421    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h.  */
17423
17424 int
17425 main ()
17426 {
17427
17428   ;
17429   return 0;
17430 }
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433   ac_cv_prog_cc_g=yes
17434 else
17435   CFLAGS=""
17436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h.  */
17438
17439 int
17440 main ()
17441 {
17442
17443   ;
17444   return 0;
17445 }
17446 _ACEOF
17447 if ac_fn_c_try_compile "$LINENO"; then :
17448
17449 else
17450   ac_c_werror_flag=$ac_save_c_werror_flag
17451          CFLAGS="-g"
17452          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h.  */
17454
17455 int
17456 main ()
17457 {
17458
17459   ;
17460   return 0;
17461 }
17462 _ACEOF
17463 if ac_fn_c_try_compile "$LINENO"; then :
17464   ac_cv_prog_cc_g=yes
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 fi
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 fi
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471    ac_c_werror_flag=$ac_save_c_werror_flag
17472 fi
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17474 $as_echo "$ac_cv_prog_cc_g" >&6; }
17475 if test "$ac_test_CFLAGS" = set; then
17476   CFLAGS=$ac_save_CFLAGS
17477 elif test $ac_cv_prog_cc_g = yes; then
17478   if test "$GCC" = yes; then
17479     CFLAGS="-g -O2"
17480   else
17481     CFLAGS="-g"
17482   fi
17483 else
17484   if test "$GCC" = yes; then
17485     CFLAGS="-O2"
17486   else
17487     CFLAGS=
17488   fi
17489 fi
17490             fi
17491         fi
17492
17493                         case `uname -s` in
17494             AIX*)
17495
17496
17497     ac_ext=c
17498 ac_cpp='$CPP $CPPFLAGS'
17499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17502
17503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17504 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17505 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17506   $as_echo_n "(cached) " >&6
17507 else
17508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h.  */
17510
17511 int
17512 main ()
17513 {
17514
17515              #ifndef __xlC__
17516                 choke me
17517              #endif
17518
17519   ;
17520   return 0;
17521 }
17522 _ACEOF
17523 if ac_fn_c_try_compile "$LINENO"; then :
17524   bakefile_cv_c_compiler___xlC__=yes
17525 else
17526   bakefile_cv_c_compiler___xlC__=no
17527
17528 fi
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530
17531
17532 fi
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17534 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17535     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17536         :; XLCC=yes
17537     else
17538         :;
17539     fi
17540     ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547
17548                 ;;
17549
17550             Darwin)
17551
17552
17553     ac_ext=c
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17558
17559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17560 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17561 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17562   $as_echo_n "(cached) " >&6
17563 else
17564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h.  */
17566
17567 int
17568 main ()
17569 {
17570
17571              #ifndef __MWERKS__
17572                 choke me
17573              #endif
17574
17575   ;
17576   return 0;
17577 }
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580   bakefile_cv_c_compiler___MWERKS__=yes
17581 else
17582   bakefile_cv_c_compiler___MWERKS__=no
17583
17584 fi
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17586
17587
17588 fi
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17590 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17591     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17592         :; MWCC=yes
17593     else
17594         :;
17595     fi
17596     ac_ext=c
17597 ac_cpp='$CPP $CPPFLAGS'
17598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17601
17602
17603
17604                 if test "$MWCC" != "yes"; then
17605
17606
17607     ac_ext=c
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17612
17613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17614 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17615 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17616   $as_echo_n "(cached) " >&6
17617 else
17618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h.  */
17620
17621 int
17622 main ()
17623 {
17624
17625              #ifndef __xlC__
17626                 choke me
17627              #endif
17628
17629   ;
17630   return 0;
17631 }
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634   bakefile_cv_c_compiler___xlC__=yes
17635 else
17636   bakefile_cv_c_compiler___xlC__=no
17637
17638 fi
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640
17641
17642 fi
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17644 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17645     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17646         :; XLCC=yes
17647     else
17648         :;
17649     fi
17650     ac_ext=c
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17655
17656
17657
17658                 fi
17659                 ;;
17660
17661             IRIX*)
17662
17663
17664     ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17671 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17672 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17673   $as_echo_n "(cached) " >&6
17674 else
17675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h.  */
17677
17678 int
17679 main ()
17680 {
17681
17682              #ifndef _SGI_COMPILER_VERSION
17683                 choke me
17684              #endif
17685
17686   ;
17687   return 0;
17688 }
17689 _ACEOF
17690 if ac_fn_c_try_compile "$LINENO"; then :
17691   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17692 else
17693   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17694
17695 fi
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697
17698
17699 fi
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17701 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17702     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17703         :; SGICC=yes
17704     else
17705         :;
17706     fi
17707     ac_ext=c
17708 ac_cpp='$CPP $CPPFLAGS'
17709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17712
17713
17714
17715                 ;;
17716
17717             Linux*)
17718                                                 if test "$INTELCC" != "yes"; then
17719
17720
17721     ac_ext=c
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17726
17727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17728 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17729 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17730   $as_echo_n "(cached) " >&6
17731 else
17732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h.  */
17734
17735 int
17736 main ()
17737 {
17738
17739              #ifndef __SUNPRO_C
17740                 choke me
17741              #endif
17742
17743   ;
17744   return 0;
17745 }
17746 _ACEOF
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748   bakefile_cv_c_compiler___SUNPRO_C=yes
17749 else
17750   bakefile_cv_c_compiler___SUNPRO_C=no
17751
17752 fi
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755
17756 fi
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17758 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17759     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17760         :; SUNCC=yes
17761     else
17762         :;
17763     fi
17764     ac_ext=c
17765 ac_cpp='$CPP $CPPFLAGS'
17766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17769
17770
17771
17772                 fi
17773                 ;;
17774
17775             HP-UX*)
17776
17777
17778     ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17785 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17786 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17787   $as_echo_n "(cached) " >&6
17788 else
17789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h.  */
17791
17792 int
17793 main ()
17794 {
17795
17796              #ifndef __HP_cc
17797                 choke me
17798              #endif
17799
17800   ;
17801   return 0;
17802 }
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805   bakefile_cv_c_compiler___HP_cc=yes
17806 else
17807   bakefile_cv_c_compiler___HP_cc=no
17808
17809 fi
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811
17812
17813 fi
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17815 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17816     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17817         :; HPCC=yes
17818     else
17819         :;
17820     fi
17821     ac_ext=c
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17826
17827
17828
17829                 ;;
17830
17831             OSF1)
17832
17833
17834     ac_ext=c
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17839
17840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17841 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17842 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17843   $as_echo_n "(cached) " >&6
17844 else
17845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h.  */
17847
17848 int
17849 main ()
17850 {
17851
17852              #ifndef __DECC
17853                 choke me
17854              #endif
17855
17856   ;
17857   return 0;
17858 }
17859 _ACEOF
17860 if ac_fn_c_try_compile "$LINENO"; then :
17861   bakefile_cv_c_compiler___DECC=yes
17862 else
17863   bakefile_cv_c_compiler___DECC=no
17864
17865 fi
17866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867
17868
17869 fi
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17871 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17872     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17873         :; COMPAQCC=yes
17874     else
17875         :;
17876     fi
17877     ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883
17884
17885                 ;;
17886
17887             SunOS)
17888
17889
17890     ac_ext=c
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17895
17896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17897 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17898 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17899   $as_echo_n "(cached) " >&6
17900 else
17901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h.  */
17903
17904 int
17905 main ()
17906 {
17907
17908              #ifndef __SUNPRO_C
17909                 choke me
17910              #endif
17911
17912   ;
17913   return 0;
17914 }
17915 _ACEOF
17916 if ac_fn_c_try_compile "$LINENO"; then :
17917   bakefile_cv_c_compiler___SUNPRO_C=yes
17918 else
17919   bakefile_cv_c_compiler___SUNPRO_C=no
17920
17921 fi
17922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923
17924
17925 fi
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17927 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17928     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17929         :; SUNCC=yes
17930     else
17931         :;
17932     fi
17933     ac_ext=c
17934 ac_cpp='$CPP $CPPFLAGS'
17935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17938
17939
17940
17941                 ;;
17942         esac
17943     fi
17944
17945
17946
17947 ac_ext=c
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17953 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17954 # On Suns, sometimes $CPP names a directory.
17955 if test -n "$CPP" && test -d "$CPP"; then
17956   CPP=
17957 fi
17958 if test -z "$CPP"; then
17959   if ${ac_cv_prog_CPP+:} false; then :
17960   $as_echo_n "(cached) " >&6
17961 else
17962       # Double quotes because CPP needs to be expanded
17963     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17964     do
17965       ac_preproc_ok=false
17966 for ac_c_preproc_warn_flag in '' yes
17967 do
17968   # Use a header file that comes with gcc, so configuring glibc
17969   # with a fresh cross-compiler works.
17970   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17971   # <limits.h> exists even on freestanding compilers.
17972   # On the NeXT, cc -E runs the code through the compiler's parser,
17973   # not just through cpp. "Syntax error" is here to catch this case.
17974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h.  */
17976 #ifdef __STDC__
17977 # include <limits.h>
17978 #else
17979 # include <assert.h>
17980 #endif
17981                      Syntax error
17982 _ACEOF
17983 if ac_fn_c_try_cpp "$LINENO"; then :
17984
17985 else
17986   # Broken: fails on valid input.
17987 continue
17988 fi
17989 rm -f conftest.err conftest.i conftest.$ac_ext
17990
17991   # OK, works on sane cases.  Now check whether nonexistent headers
17992   # can be detected and how.
17993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h.  */
17995 #include <ac_nonexistent.h>
17996 _ACEOF
17997 if ac_fn_c_try_cpp "$LINENO"; then :
17998   # Broken: success on invalid input.
17999 continue
18000 else
18001   # Passes both tests.
18002 ac_preproc_ok=:
18003 break
18004 fi
18005 rm -f conftest.err conftest.i conftest.$ac_ext
18006
18007 done
18008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18009 rm -f conftest.i conftest.err conftest.$ac_ext
18010 if $ac_preproc_ok; then :
18011   break
18012 fi
18013
18014     done
18015     ac_cv_prog_CPP=$CPP
18016
18017 fi
18018   CPP=$ac_cv_prog_CPP
18019 else
18020   ac_cv_prog_CPP=$CPP
18021 fi
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18023 $as_echo "$CPP" >&6; }
18024 ac_preproc_ok=false
18025 for ac_c_preproc_warn_flag in '' yes
18026 do
18027   # Use a header file that comes with gcc, so configuring glibc
18028   # with a fresh cross-compiler works.
18029   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18030   # <limits.h> exists even on freestanding compilers.
18031   # On the NeXT, cc -E runs the code through the compiler's parser,
18032   # not just through cpp. "Syntax error" is here to catch this case.
18033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h.  */
18035 #ifdef __STDC__
18036 # include <limits.h>
18037 #else
18038 # include <assert.h>
18039 #endif
18040                      Syntax error
18041 _ACEOF
18042 if ac_fn_c_try_cpp "$LINENO"; then :
18043
18044 else
18045   # Broken: fails on valid input.
18046 continue
18047 fi
18048 rm -f conftest.err conftest.i conftest.$ac_ext
18049
18050   # OK, works on sane cases.  Now check whether nonexistent headers
18051   # can be detected and how.
18052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h.  */
18054 #include <ac_nonexistent.h>
18055 _ACEOF
18056 if ac_fn_c_try_cpp "$LINENO"; then :
18057   # Broken: success on invalid input.
18058 continue
18059 else
18060   # Passes both tests.
18061 ac_preproc_ok=:
18062 break
18063 fi
18064 rm -f conftest.err conftest.i conftest.$ac_ext
18065
18066 done
18067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18068 rm -f conftest.i conftest.err conftest.$ac_ext
18069 if $ac_preproc_ok; then :
18070
18071 else
18072   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18074 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details" "$LINENO" 5; }
18076 fi
18077
18078 ac_ext=c
18079 ac_cpp='$CPP $CPPFLAGS'
18080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18083
18084
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18086 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18087 if ${ac_cv_path_GREP+:} false; then :
18088   $as_echo_n "(cached) " >&6
18089 else
18090   if test -z "$GREP"; then
18091   ac_path_GREP_found=false
18092   # Loop through the user's path and test for each of PROGNAME-LIST
18093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18095 do
18096   IFS=$as_save_IFS
18097   test -z "$as_dir" && as_dir=.
18098     for ac_prog in grep ggrep; do
18099     for ac_exec_ext in '' $ac_executable_extensions; do
18100       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18101       as_fn_executable_p "$ac_path_GREP" || continue
18102 # Check for GNU ac_path_GREP and select it if it is found.
18103   # Check for GNU $ac_path_GREP
18104 case `"$ac_path_GREP" --version 2>&1` in
18105 *GNU*)
18106   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18107 *)
18108   ac_count=0
18109   $as_echo_n 0123456789 >"conftest.in"
18110   while :
18111   do
18112     cat "conftest.in" "conftest.in" >"conftest.tmp"
18113     mv "conftest.tmp" "conftest.in"
18114     cp "conftest.in" "conftest.nl"
18115     $as_echo 'GREP' >> "conftest.nl"
18116     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18118     as_fn_arith $ac_count + 1 && ac_count=$as_val
18119     if test $ac_count -gt ${ac_path_GREP_max-0}; then
18120       # Best one so far, save it but keep looking for a better one
18121       ac_cv_path_GREP="$ac_path_GREP"
18122       ac_path_GREP_max=$ac_count
18123     fi
18124     # 10*(2^10) chars as input seems more than enough
18125     test $ac_count -gt 10 && break
18126   done
18127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18128 esac
18129
18130       $ac_path_GREP_found && break 3
18131     done
18132   done
18133   done
18134 IFS=$as_save_IFS
18135   if test -z "$ac_cv_path_GREP"; then
18136     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18137   fi
18138 else
18139   ac_cv_path_GREP=$GREP
18140 fi
18141
18142 fi
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18144 $as_echo "$ac_cv_path_GREP" >&6; }
18145  GREP="$ac_cv_path_GREP"
18146
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18149 $as_echo_n "checking for egrep... " >&6; }
18150 if ${ac_cv_path_EGREP+:} false; then :
18151   $as_echo_n "(cached) " >&6
18152 else
18153   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18154    then ac_cv_path_EGREP="$GREP -E"
18155    else
18156      if test -z "$EGREP"; then
18157   ac_path_EGREP_found=false
18158   # Loop through the user's path and test for each of PROGNAME-LIST
18159   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18161 do
18162   IFS=$as_save_IFS
18163   test -z "$as_dir" && as_dir=.
18164     for ac_prog in egrep; do
18165     for ac_exec_ext in '' $ac_executable_extensions; do
18166       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18167       as_fn_executable_p "$ac_path_EGREP" || continue
18168 # Check for GNU ac_path_EGREP and select it if it is found.
18169   # Check for GNU $ac_path_EGREP
18170 case `"$ac_path_EGREP" --version 2>&1` in
18171 *GNU*)
18172   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18173 *)
18174   ac_count=0
18175   $as_echo_n 0123456789 >"conftest.in"
18176   while :
18177   do
18178     cat "conftest.in" "conftest.in" >"conftest.tmp"
18179     mv "conftest.tmp" "conftest.in"
18180     cp "conftest.in" "conftest.nl"
18181     $as_echo 'EGREP' >> "conftest.nl"
18182     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18183     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18184     as_fn_arith $ac_count + 1 && ac_count=$as_val
18185     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18186       # Best one so far, save it but keep looking for a better one
18187       ac_cv_path_EGREP="$ac_path_EGREP"
18188       ac_path_EGREP_max=$ac_count
18189     fi
18190     # 10*(2^10) chars as input seems more than enough
18191     test $ac_count -gt 10 && break
18192   done
18193   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18194 esac
18195
18196       $ac_path_EGREP_found && break 3
18197     done
18198   done
18199   done
18200 IFS=$as_save_IFS
18201   if test -z "$ac_cv_path_EGREP"; then
18202     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18203   fi
18204 else
18205   ac_cv_path_EGREP=$EGREP
18206 fi
18207
18208    fi
18209 fi
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18211 $as_echo "$ac_cv_path_EGREP" >&6; }
18212  EGREP="$ac_cv_path_EGREP"
18213
18214
18215 if test $ac_cv_c_compiler_gnu = yes; then
18216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18217 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18218 if ${ac_cv_prog_gcc_traditional+:} false; then :
18219   $as_echo_n "(cached) " >&6
18220 else
18221     ac_pattern="Autoconf.*'x'"
18222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h.  */
18224 #include <sgtty.h>
18225 Autoconf TIOCGETP
18226 _ACEOF
18227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18228   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18229   ac_cv_prog_gcc_traditional=yes
18230 else
18231   ac_cv_prog_gcc_traditional=no
18232 fi
18233 rm -f conftest*
18234
18235
18236   if test $ac_cv_prog_gcc_traditional = no; then
18237     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18238 /* end confdefs.h.  */
18239 #include <termio.h>
18240 Autoconf TCGETA
18241 _ACEOF
18242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18243   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18244   ac_cv_prog_gcc_traditional=yes
18245 fi
18246 rm -f conftest*
18247
18248   fi
18249 fi
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18251 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18252   if test $ac_cv_prog_gcc_traditional = yes; then
18253     CC="$CC -traditional"
18254   fi
18255 fi
18256
18257
18258 CXXFLAGS=${CXXFLAGS:=}
18259 ac_ext=cpp
18260 ac_cpp='$CXXCPP $CPPFLAGS'
18261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18264 if test -z "$CXX"; then
18265   if test -n "$CCC"; then
18266     CXX=$CCC
18267   else
18268     if test -n "$ac_tool_prefix"; then
18269   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18270   do
18271     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18274 $as_echo_n "checking for $ac_word... " >&6; }
18275 if ${ac_cv_prog_CXX+:} false; then :
18276   $as_echo_n "(cached) " >&6
18277 else
18278   if test -n "$CXX"; then
18279   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18280 else
18281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18282 for as_dir in $PATH
18283 do
18284   IFS=$as_save_IFS
18285   test -z "$as_dir" && as_dir=.
18286     for ac_exec_ext in '' $ac_executable_extensions; do
18287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18288     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18290     break 2
18291   fi
18292 done
18293   done
18294 IFS=$as_save_IFS
18295
18296 fi
18297 fi
18298 CXX=$ac_cv_prog_CXX
18299 if test -n "$CXX"; then
18300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18301 $as_echo "$CXX" >&6; }
18302 else
18303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304 $as_echo "no" >&6; }
18305 fi
18306
18307
18308     test -n "$CXX" && break
18309   done
18310 fi
18311 if test -z "$CXX"; then
18312   ac_ct_CXX=$CXX
18313   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18314 do
18315   # Extract the first word of "$ac_prog", so it can be a program name with args.
18316 set dummy $ac_prog; ac_word=$2
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18318 $as_echo_n "checking for $ac_word... " >&6; }
18319 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18320   $as_echo_n "(cached) " >&6
18321 else
18322   if test -n "$ac_ct_CXX"; then
18323   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18324 else
18325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18326 for as_dir in $PATH
18327 do
18328   IFS=$as_save_IFS
18329   test -z "$as_dir" && as_dir=.
18330     for ac_exec_ext in '' $ac_executable_extensions; do
18331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18332     ac_cv_prog_ac_ct_CXX="$ac_prog"
18333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18334     break 2
18335   fi
18336 done
18337   done
18338 IFS=$as_save_IFS
18339
18340 fi
18341 fi
18342 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18343 if test -n "$ac_ct_CXX"; then
18344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18345 $as_echo "$ac_ct_CXX" >&6; }
18346 else
18347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18348 $as_echo "no" >&6; }
18349 fi
18350
18351
18352   test -n "$ac_ct_CXX" && break
18353 done
18354
18355   if test "x$ac_ct_CXX" = x; then
18356     CXX="g++"
18357   else
18358     case $cross_compiling:$ac_tool_warned in
18359 yes:)
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18362 ac_tool_warned=yes ;;
18363 esac
18364     CXX=$ac_ct_CXX
18365   fi
18366 fi
18367
18368   fi
18369 fi
18370 # Provide some information about the compiler.
18371 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18372 set X $ac_compile
18373 ac_compiler=$2
18374 for ac_option in --version -v -V -qversion; do
18375   { { ac_try="$ac_compiler $ac_option >&5"
18376 case "(($ac_try" in
18377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18378   *) ac_try_echo=$ac_try;;
18379 esac
18380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18381 $as_echo "$ac_try_echo"; } >&5
18382   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18383   ac_status=$?
18384   if test -s conftest.err; then
18385     sed '10a\
18386 ... rest of stderr output deleted ...
18387          10q' conftest.err >conftest.er1
18388     cat conftest.er1 >&5
18389   fi
18390   rm -f conftest.er1 conftest.err
18391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18392   test $ac_status = 0; }
18393 done
18394
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18396 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18397 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18398   $as_echo_n "(cached) " >&6
18399 else
18400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h.  */
18402
18403 int
18404 main ()
18405 {
18406 #ifndef __GNUC__
18407        choke me
18408 #endif
18409
18410   ;
18411   return 0;
18412 }
18413 _ACEOF
18414 if ac_fn_cxx_try_compile "$LINENO"; then :
18415   ac_compiler_gnu=yes
18416 else
18417   ac_compiler_gnu=no
18418 fi
18419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18421
18422 fi
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18424 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18425 if test $ac_compiler_gnu = yes; then
18426   GXX=yes
18427 else
18428   GXX=
18429 fi
18430 ac_test_CXXFLAGS=${CXXFLAGS+set}
18431 ac_save_CXXFLAGS=$CXXFLAGS
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18433 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18434 if ${ac_cv_prog_cxx_g+:} false; then :
18435   $as_echo_n "(cached) " >&6
18436 else
18437   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18438    ac_cxx_werror_flag=yes
18439    ac_cv_prog_cxx_g=no
18440    CXXFLAGS="-g"
18441    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h.  */
18443
18444 int
18445 main ()
18446 {
18447
18448   ;
18449   return 0;
18450 }
18451 _ACEOF
18452 if ac_fn_cxx_try_compile "$LINENO"; then :
18453   ac_cv_prog_cxx_g=yes
18454 else
18455   CXXFLAGS=""
18456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h.  */
18458
18459 int
18460 main ()
18461 {
18462
18463   ;
18464   return 0;
18465 }
18466 _ACEOF
18467 if ac_fn_cxx_try_compile "$LINENO"; then :
18468
18469 else
18470   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18471          CXXFLAGS="-g"
18472          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h.  */
18474
18475 int
18476 main ()
18477 {
18478
18479   ;
18480   return 0;
18481 }
18482 _ACEOF
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18484   ac_cv_prog_cxx_g=yes
18485 fi
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 fi
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 fi
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18492 fi
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18494 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18495 if test "$ac_test_CXXFLAGS" = set; then
18496   CXXFLAGS=$ac_save_CXXFLAGS
18497 elif test $ac_cv_prog_cxx_g = yes; then
18498   if test "$GXX" = yes; then
18499     CXXFLAGS="-g -O2"
18500   else
18501     CXXFLAGS="-g"
18502   fi
18503 else
18504   if test "$GXX" = yes; then
18505     CXXFLAGS="-O2"
18506   else
18507     CXXFLAGS=
18508   fi
18509 fi
18510 ac_ext=c
18511 ac_cpp='$CPP $CPPFLAGS'
18512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18515
18516
18517
18518
18519
18520
18521
18522
18523     ac_ext=cpp
18524 ac_cpp='$CXXCPP $CPPFLAGS'
18525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18528
18529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18530 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18531 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18532   $as_echo_n "(cached) " >&6
18533 else
18534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h.  */
18536
18537 int
18538 main ()
18539 {
18540
18541              #ifndef __INTEL_COMPILER
18542                 choke me
18543              #endif
18544
18545   ;
18546   return 0;
18547 }
18548 _ACEOF
18549 if ac_fn_cxx_try_compile "$LINENO"; then :
18550   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18551 else
18552   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18553
18554 fi
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556
18557
18558 fi
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18560 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18561     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18562         :; INTELCXX=yes
18563     else
18564         :;
18565     fi
18566     ac_ext=c
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18571
18572
18573
18574
18575         if test "$INTELCXX" = "yes"; then
18576
18577
18578     ac_ext=cpp
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18583
18584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18585 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18586 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18587   $as_echo_n "(cached) " >&6
18588 else
18589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h.  */
18591
18592 int
18593 main ()
18594 {
18595
18596              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18597                 choke me
18598              #endif
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 if ac_fn_cxx_try_compile "$LINENO"; then :
18605   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18606 else
18607   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18608
18609 fi
18610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18611
18612
18613 fi
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18615 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18616     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18617         :; INTELCXX8=yes
18618     else
18619         :;
18620     fi
18621     ac_ext=c
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18626
18627
18628
18629
18630
18631     ac_ext=cpp
18632 ac_cpp='$CXXCPP $CPPFLAGS'
18633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18636
18637     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18638 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18639 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18640   $as_echo_n "(cached) " >&6
18641 else
18642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h.  */
18644
18645 int
18646 main ()
18647 {
18648
18649              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18650                 choke me
18651              #endif
18652
18653   ;
18654   return 0;
18655 }
18656 _ACEOF
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18659 else
18660   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18661
18662 fi
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664
18665
18666 fi
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18668 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18669     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18670         :; INTELCXX10=yes
18671     else
18672         :;
18673     fi
18674     ac_ext=c
18675 ac_cpp='$CPP $CPPFLAGS'
18676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18679
18680
18681
18682     fi
18683
18684         if test "x$GCXX" != "xyes"; then
18685         if test "xCXX" = "xC"; then
18686             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18687 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18688 if ${bakefile_cv_c_exto+:} false; then :
18689   $as_echo_n "(cached) " >&6
18690 else
18691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h.  */
18693
18694 int
18695 main ()
18696 {
18697
18698   ;
18699   return 0;
18700 }
18701 _ACEOF
18702 rm -f conftest.$ac_objext conftest.$ac_ext.o
18703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18704   (eval $ac_compile) 2>&5
18705   ac_status=$?
18706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18707   test $ac_status = 0; }; then :
18708   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18709     case $ac_file in
18710         conftest.$ac_ext.o)
18711             bakefile_cv_c_exto="-ext o"
18712             ;;
18713         *)
18714             ;;
18715     esac
18716 done
18717 else
18718   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18720 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18721 See \`config.log' for more details" "$LINENO" 5; }
18722
18723 fi
18724 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18725
18726 fi
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18728 $as_echo "$bakefile_cv_c_exto" >&6; }
18729 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18730     if test "c" = "c"; then
18731         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18732     fi
18733     if test "c" = "cxx"; then
18734         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18735     fi
18736 fi
18737
18738             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18739                 unset ac_cv_prog_cc_g
18740                 ac_test_CFLAGS=${CFLAGS+set}
18741 ac_save_CFLAGS=$CFLAGS
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18743 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18744 if ${ac_cv_prog_cc_g+:} false; then :
18745   $as_echo_n "(cached) " >&6
18746 else
18747   ac_save_c_werror_flag=$ac_c_werror_flag
18748    ac_c_werror_flag=yes
18749    ac_cv_prog_cc_g=no
18750    CFLAGS="-g"
18751    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h.  */
18753
18754 int
18755 main ()
18756 {
18757
18758   ;
18759   return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_c_try_compile "$LINENO"; then :
18763   ac_cv_prog_cc_g=yes
18764 else
18765   CFLAGS=""
18766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h.  */
18768
18769 int
18770 main ()
18771 {
18772
18773   ;
18774   return 0;
18775 }
18776 _ACEOF
18777 if ac_fn_c_try_compile "$LINENO"; then :
18778
18779 else
18780   ac_c_werror_flag=$ac_save_c_werror_flag
18781          CFLAGS="-g"
18782          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h.  */
18784
18785 int
18786 main ()
18787 {
18788
18789   ;
18790   return 0;
18791 }
18792 _ACEOF
18793 if ac_fn_c_try_compile "$LINENO"; then :
18794   ac_cv_prog_cc_g=yes
18795 fi
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 fi
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801    ac_c_werror_flag=$ac_save_c_werror_flag
18802 fi
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18804 $as_echo "$ac_cv_prog_cc_g" >&6; }
18805 if test "$ac_test_CFLAGS" = set; then
18806   CFLAGS=$ac_save_CFLAGS
18807 elif test $ac_cv_prog_cc_g = yes; then
18808   if test "$GCC" = yes; then
18809     CFLAGS="-g -O2"
18810   else
18811     CFLAGS="-g"
18812   fi
18813 else
18814   if test "$GCC" = yes; then
18815     CFLAGS="-O2"
18816   else
18817     CFLAGS=
18818   fi
18819 fi
18820             fi
18821         fi
18822
18823                         case `uname -s` in
18824             AIX*)
18825
18826
18827     ac_ext=cpp
18828 ac_cpp='$CXXCPP $CPPFLAGS'
18829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18832
18833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18834 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18835 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18836   $as_echo_n "(cached) " >&6
18837 else
18838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h.  */
18840
18841 int
18842 main ()
18843 {
18844
18845              #ifndef __xlC__
18846                 choke me
18847              #endif
18848
18849   ;
18850   return 0;
18851 }
18852 _ACEOF
18853 if ac_fn_cxx_try_compile "$LINENO"; then :
18854   bakefile_cv_cxx_compiler___xlC__=yes
18855 else
18856   bakefile_cv_cxx_compiler___xlC__=no
18857
18858 fi
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860
18861
18862 fi
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18864 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18865     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18866         :; XLCXX=yes
18867     else
18868         :;
18869     fi
18870     ac_ext=c
18871 ac_cpp='$CPP $CPPFLAGS'
18872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18875
18876
18877
18878                 ;;
18879
18880             Darwin)
18881
18882
18883     ac_ext=cpp
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18888
18889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18890 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18891 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18892   $as_echo_n "(cached) " >&6
18893 else
18894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h.  */
18896
18897 int
18898 main ()
18899 {
18900
18901              #ifndef __MWERKS__
18902                 choke me
18903              #endif
18904
18905   ;
18906   return 0;
18907 }
18908 _ACEOF
18909 if ac_fn_cxx_try_compile "$LINENO"; then :
18910   bakefile_cv_cxx_compiler___MWERKS__=yes
18911 else
18912   bakefile_cv_cxx_compiler___MWERKS__=no
18913
18914 fi
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18916
18917
18918 fi
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18920 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18921     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18922         :; MWCXX=yes
18923     else
18924         :;
18925     fi
18926     ac_ext=c
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18931
18932
18933
18934                 if test "$MWCXX" != "yes"; then
18935
18936
18937     ac_ext=cpp
18938 ac_cpp='$CXXCPP $CPPFLAGS'
18939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18942
18943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18944 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18945 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18946   $as_echo_n "(cached) " >&6
18947 else
18948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h.  */
18950
18951 int
18952 main ()
18953 {
18954
18955              #ifndef __xlC__
18956                 choke me
18957              #endif
18958
18959   ;
18960   return 0;
18961 }
18962 _ACEOF
18963 if ac_fn_cxx_try_compile "$LINENO"; then :
18964   bakefile_cv_cxx_compiler___xlC__=yes
18965 else
18966   bakefile_cv_cxx_compiler___xlC__=no
18967
18968 fi
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970
18971
18972 fi
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18974 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18975     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18976         :; XLCXX=yes
18977     else
18978         :;
18979     fi
18980     ac_ext=c
18981 ac_cpp='$CPP $CPPFLAGS'
18982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18985
18986
18987
18988                 fi
18989                 ;;
18990
18991             IRIX*)
18992
18993
18994     ac_ext=cpp
18995 ac_cpp='$CXXCPP $CPPFLAGS'
18996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18999
19000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19001 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19002 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19003   $as_echo_n "(cached) " >&6
19004 else
19005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h.  */
19007
19008 int
19009 main ()
19010 {
19011
19012              #ifndef _SGI_COMPILER_VERSION
19013                 choke me
19014              #endif
19015
19016   ;
19017   return 0;
19018 }
19019 _ACEOF
19020 if ac_fn_cxx_try_compile "$LINENO"; then :
19021   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19022 else
19023   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19024
19025 fi
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027
19028
19029 fi
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19031 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19032     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19033         :; SGICXX=yes
19034     else
19035         :;
19036     fi
19037     ac_ext=c
19038 ac_cpp='$CPP $CPPFLAGS'
19039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19042
19043
19044
19045                 ;;
19046
19047             Linux*)
19048                                                 if test "$INTELCXX" != "yes"; then
19049
19050
19051     ac_ext=cpp
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19056
19057     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19058 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19059 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19060   $as_echo_n "(cached) " >&6
19061 else
19062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h.  */
19064
19065 int
19066 main ()
19067 {
19068
19069              #ifndef __SUNPRO_CC
19070                 choke me
19071              #endif
19072
19073   ;
19074   return 0;
19075 }
19076 _ACEOF
19077 if ac_fn_cxx_try_compile "$LINENO"; then :
19078   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19079 else
19080   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19081
19082 fi
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084
19085
19086 fi
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19088 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19089     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19090         :; SUNCXX=yes
19091     else
19092         :;
19093     fi
19094     ac_ext=c
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19099
19100
19101
19102                 fi
19103                 ;;
19104
19105             HP-UX*)
19106
19107
19108     ac_ext=cpp
19109 ac_cpp='$CXXCPP $CPPFLAGS'
19110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19113
19114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19115 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19116 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19117   $as_echo_n "(cached) " >&6
19118 else
19119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h.  */
19121
19122 int
19123 main ()
19124 {
19125
19126              #ifndef __HP_aCC
19127                 choke me
19128              #endif
19129
19130   ;
19131   return 0;
19132 }
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135   bakefile_cv_cxx_compiler___HP_aCC=yes
19136 else
19137   bakefile_cv_cxx_compiler___HP_aCC=no
19138
19139 fi
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141
19142
19143 fi
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19145 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19146     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19147         :; HPCXX=yes
19148     else
19149         :;
19150     fi
19151     ac_ext=c
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19156
19157
19158
19159                 ;;
19160
19161             OSF1)
19162
19163
19164     ac_ext=cpp
19165 ac_cpp='$CXXCPP $CPPFLAGS'
19166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19169
19170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19171 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19172 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19173   $as_echo_n "(cached) " >&6
19174 else
19175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h.  */
19177
19178 int
19179 main ()
19180 {
19181
19182              #ifndef __DECCXX
19183                 choke me
19184              #endif
19185
19186   ;
19187   return 0;
19188 }
19189 _ACEOF
19190 if ac_fn_cxx_try_compile "$LINENO"; then :
19191   bakefile_cv_cxx_compiler___DECCXX=yes
19192 else
19193   bakefile_cv_cxx_compiler___DECCXX=no
19194
19195 fi
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197
19198
19199 fi
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19201 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19202     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19203         :; COMPAQCXX=yes
19204     else
19205         :;
19206     fi
19207     ac_ext=c
19208 ac_cpp='$CPP $CPPFLAGS'
19209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19212
19213
19214
19215                 ;;
19216
19217             SunOS)
19218
19219
19220     ac_ext=cpp
19221 ac_cpp='$CXXCPP $CPPFLAGS'
19222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19225
19226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19227 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19228 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19229   $as_echo_n "(cached) " >&6
19230 else
19231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h.  */
19233
19234 int
19235 main ()
19236 {
19237
19238              #ifndef __SUNPRO_CC
19239                 choke me
19240              #endif
19241
19242   ;
19243   return 0;
19244 }
19245 _ACEOF
19246 if ac_fn_cxx_try_compile "$LINENO"; then :
19247   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19248 else
19249   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19250
19251 fi
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253
19254
19255 fi
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19257 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19258     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19259         :; SUNCXX=yes
19260     else
19261         :;
19262     fi
19263     ac_ext=c
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268
19269
19270
19271                 ;;
19272         esac
19273     fi
19274
19275
19276
19277 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19278     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19279 fi
19280
19281 if test "x$SUNCXX" != xyes; then
19282     if test -n "$ac_tool_prefix"; then
19283   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19284 set dummy ${ac_tool_prefix}ar; ac_word=$2
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19286 $as_echo_n "checking for $ac_word... " >&6; }
19287 if ${ac_cv_prog_AR+:} false; then :
19288   $as_echo_n "(cached) " >&6
19289 else
19290   if test -n "$AR"; then
19291   ac_cv_prog_AR="$AR" # Let the user override the test.
19292 else
19293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19294 for as_dir in $PATH
19295 do
19296   IFS=$as_save_IFS
19297   test -z "$as_dir" && as_dir=.
19298     for ac_exec_ext in '' $ac_executable_extensions; do
19299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19300     ac_cv_prog_AR="${ac_tool_prefix}ar"
19301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19302     break 2
19303   fi
19304 done
19305   done
19306 IFS=$as_save_IFS
19307
19308 fi
19309 fi
19310 AR=$ac_cv_prog_AR
19311 if test -n "$AR"; then
19312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19313 $as_echo "$AR" >&6; }
19314 else
19315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19317 fi
19318
19319
19320 fi
19321 if test -z "$ac_cv_prog_AR"; then
19322   ac_ct_AR=$AR
19323   # Extract the first word of "ar", so it can be a program name with args.
19324 set dummy ar; ac_word=$2
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19326 $as_echo_n "checking for $ac_word... " >&6; }
19327 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19328   $as_echo_n "(cached) " >&6
19329 else
19330   if test -n "$ac_ct_AR"; then
19331   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19332 else
19333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19334 for as_dir in $PATH
19335 do
19336   IFS=$as_save_IFS
19337   test -z "$as_dir" && as_dir=.
19338     for ac_exec_ext in '' $ac_executable_extensions; do
19339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19340     ac_cv_prog_ac_ct_AR="ar"
19341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19342     break 2
19343   fi
19344 done
19345   done
19346 IFS=$as_save_IFS
19347
19348 fi
19349 fi
19350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19351 if test -n "$ac_ct_AR"; then
19352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19353 $as_echo "$ac_ct_AR" >&6; }
19354 else
19355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19356 $as_echo "no" >&6; }
19357 fi
19358
19359   if test "x$ac_ct_AR" = x; then
19360     AR=""
19361   else
19362     case $cross_compiling:$ac_tool_warned in
19363 yes:)
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19366 ac_tool_warned=yes ;;
19367 esac
19368     AR=$ac_ct_AR
19369   fi
19370 else
19371   AR="$ac_cv_prog_AR"
19372 fi
19373
19374     if test "x$AR" = "x" ; then
19375         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19376     fi
19377 fi
19378
19379
19380 if test "$wxUSE_MAC" = 1; then
19381
19382 retest_macosx_linking=no
19383
19384 OSX_ARCH_OPTS=""
19385
19386 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19387     if test "x$wxUSE_MAC_ARCH" != xno; then
19388         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19389 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19390     fi
19391
19392     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19393         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19394     else         OSX_ARCH_OPTS="ppc,i386"
19395         if test "$wxUSE_OSX_COCOA" = 1; then
19396             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19397         fi
19398     fi
19399
19400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19401 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19403 $as_echo "$OSX_ARCH_OPTS" >&6; }
19404
19405                                                         retest_macosx_linking=yes
19406 else
19407     if test "x$wxUSE_MAC_ARCH" != xno; then
19408         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19409     fi
19410 fi
19411
19412 if test "x$OSX_ARCH_OPTS" != "x"; then
19413         if echo $OSX_ARCH_OPTS | grep -q ","; then
19414         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19415 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19416         disable_macosx_deps=yes
19417
19418                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19419 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19420         bk_use_pch=no
19421     fi
19422
19423     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19424
19425     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19426     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19427     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19428     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19429     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19430 fi
19431
19432 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19433     wxUSE_MACOSX_SDK=
19434 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19435     # TODO: Search for most recent SDK and use it.
19436     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19437 fi
19438
19439
19440 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19442 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19443     if ! test -d "$wxUSE_MACOSX_SDK"; then
19444         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19446 as_fn_error $? "not found
19447 See \`config.log' for more details" "$LINENO" 5; }
19448     else
19449         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19450 $as_echo "exists" >&6; }
19451     fi
19452         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19453     retest_macosx_linking=yes
19454             fi
19455
19456 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19457     wxUSE_MACOSX_VERSION_MIN=
19458 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19459     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19460         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19461 $as_echo_n "checking SDK deployment version... " >&6; }
19462
19463         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/'`
19464
19465         # If that failed, try again with the new key
19466         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19467
19468             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/'`
19469
19470         fi
19471
19472         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19473             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19474             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19475 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19476         else
19477             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19478 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19479             wxUSE_MACOSX_VERSION_MIN=
19480         fi
19481     else
19482         wxUSE_MACOSX_VERSION_MIN=
19483     fi
19484 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19485     wxUSE_MACOSX_VERSION_MIN=10.5
19486 fi
19487
19488 if test "x$MACOSX_SDK_OPTS" != "x"; then
19489     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19490     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19491     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19492     retest_macosx_linking=yes
19493 fi
19494
19495 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19496     if test "$wxUSE_OSX_IPHONE" = 1; then
19497         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19498     else
19499         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19500     fi
19501     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19502     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19503     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19504     retest_macosx_linking=yes
19505 fi
19506
19507 if test "x$retest_macosx_linking" = "xyes"; then
19508     ac_ext=c
19509 ac_cpp='$CPP $CPPFLAGS'
19510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19513
19514     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19515 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19516     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h.  */
19518
19519 int
19520 main ()
19521 {
19522
19523   ;
19524   return 0;
19525 }
19526 _ACEOF
19527 if ac_fn_c_try_link "$LINENO"; then :
19528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19529 $as_echo "yes" >&6; }
19530 else
19531   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19533 as_fn_error $? "no.  Try a different SDK
19534 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19535 fi
19536 rm -f core conftest.err conftest.$ac_objext \
19537     conftest$ac_exeext conftest.$ac_ext
19538     ac_ext=c
19539 ac_cpp='$CPP $CPPFLAGS'
19540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19543
19544
19545     ac_ext=cpp
19546 ac_cpp='$CXXCPP $CPPFLAGS'
19547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19550
19551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19552 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19553     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h.  */
19555
19556 int
19557 main ()
19558 {
19559
19560   ;
19561   return 0;
19562 }
19563 _ACEOF
19564 if ac_fn_cxx_try_link "$LINENO"; then :
19565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19566 $as_echo "yes" >&6; }
19567 else
19568   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19570 as_fn_error $? "no.  Try a different SDK
19571 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19572 fi
19573 rm -f core conftest.err conftest.$ac_objext \
19574     conftest$ac_exeext conftest.$ac_ext
19575     ac_ext=c
19576 ac_cpp='$CPP $CPPFLAGS'
19577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19580
19581 fi
19582
19583 fi
19584 case "${host}" in
19585
19586                 *-*-darwin* )
19587         INSTALL_PROGRAM="cp -fp"
19588         INSTALL_DATA="cp -fp"
19589         ;;
19590     *)
19591         ;;
19592 esac
19593
19594
19595 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19596                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19597
19598
19599             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19600     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19601 fi
19602
19603 if test "x$USE_AIX" = "x1"; then
19604             if test "x$XLCXX" = "xyes"; then
19605         CXXFLAGS="-qunique $CXXFLAGS"
19606     fi
19607
19608                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19609 fi
19610
19611 case "${host}" in
19612   powerpc-*-darwin* )
19613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19614 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19615     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h.  */
19617
19618 int
19619 main ()
19620 {
19621 #ifndef __POWERPC__
19622         choke me for lack of PowerPC
19623 #endif
19624
19625   ;
19626   return 0;
19627 }
19628 _ACEOF
19629 if ac_fn_c_try_compile "$LINENO"; then :
19630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19631 $as_echo "yes" >&6; }
19632 else
19633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19634 $as_echo "no" >&6; }
19635         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19636
19637
19638 fi
19639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19640   ;;
19641 esac
19642
19643 case "${host}" in
19644   *-*-darwin* )
19645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19646 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19647     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h.  */
19649 #include <CoreFoundation/CFBase.h>
19650
19651 int
19652 main ()
19653 {
19654
19655   ;
19656   return 0;
19657 }
19658 _ACEOF
19659 if ac_fn_c_try_compile "$LINENO"; then :
19660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19661 $as_echo "yes" >&6; }
19662 else
19663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19664 $as_echo "no" >&6; }
19665         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19666 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19667         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h.  */
19669 #define __CF_USE_FRAMEWORK_INCLUDES__
19670 #include <CoreFoundation/CFBase.h>
19671
19672 int
19673 main ()
19674 {
19675
19676   ;
19677   return 0;
19678 }
19679 _ACEOF
19680 if ac_fn_c_try_compile "$LINENO"; then :
19681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19682 $as_echo "yes" >&6; }
19683                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19684 else
19685   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19687 as_fn_error $? "no.  CoreFoundation not available.
19688 See \`config.log' for more details" "$LINENO" 5; }
19689
19690 fi
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692
19693
19694 fi
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696   ;;
19697 esac
19698
19699 wants_win32=0
19700 doesnt_want_win32=0
19701 case "${host}" in
19702   *-*-cygwin*)
19703       if test "$wxUSE_MSW" = 1 ; then
19704         wants_win32=1
19705       else
19706                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19707 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19708 if ${wx_cv_nocygwin+:} false; then :
19709   $as_echo_n "(cached) " >&6
19710 else
19711
19712                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h.  */
19714
19715 int
19716 main ()
19717 {
19718
19719                         #ifdef __MINGW32__
19720                             choke me
19721                         #endif
19722
19723   ;
19724   return 0;
19725 }
19726 _ACEOF
19727 if ac_fn_c_try_compile "$LINENO"; then :
19728   wx_cv_nocygwin=no
19729 else
19730   wx_cv_nocygwin=yes
19731
19732 fi
19733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734
19735
19736 fi
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19738 $as_echo "$wx_cv_nocygwin" >&6; }
19739
19740         if test "$wx_cv_nocygwin" = "yes"; then
19741             wants_win32=1
19742         else
19743             doesnt_want_win32=1
19744         fi
19745       fi
19746       if test "$wants_win32" = 1 ; then
19747         BAKEFILE_FORCE_PLATFORM=win32
19748       fi
19749   ;;
19750   *-*-mingw*)
19751       wants_win32=1
19752   ;;
19753 esac
19754
19755 if test "$wxUSE_WINE" = "yes"; then
19756     wants_win32=1
19757     LDFLAGS_GUI="-mwindows"
19758 fi
19759
19760 if test "$wants_win32" = 1 ; then
19761     USE_UNIX=0
19762     USE_WIN32=1
19763     $as_echo "#define __WIN32__ 1" >>confdefs.h
19764
19765     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19766
19767     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19768
19769     $as_echo "#define STRICT 1" >>confdefs.h
19770
19771 fi
19772 if test "$doesnt_want_win32" = 1 ; then
19773     USE_UNIX=1
19774     USE_WIN32=0
19775 fi
19776
19777 if test "$USE_UNIX" = 1 ; then
19778     wxUSE_UNIX=yes
19779     $as_echo "#define __UNIX__ 1" >>confdefs.h
19780
19781 fi
19782
19783 case "${host}" in
19784   *-pc-os2_emx | *-pc-os2-emx )
19785                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19786                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19787 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19788 if ${ac_cv_lib_cExt_drand48+:} false; then :
19789   $as_echo_n "(cached) " >&6
19790 else
19791   ac_check_lib_save_LIBS=$LIBS
19792 LIBS="-lcExt  $LIBS"
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h.  */
19795
19796 /* Override any GCC internal prototype to avoid an error.
19797    Use char because int might match the return type of a GCC
19798    builtin and then its argument prototype would still apply.  */
19799 #ifdef __cplusplus
19800 extern "C"
19801 #endif
19802 char drand48 ();
19803 int
19804 main ()
19805 {
19806 return drand48 ();
19807   ;
19808   return 0;
19809 }
19810 _ACEOF
19811 if ac_fn_c_try_link "$LINENO"; then :
19812   ac_cv_lib_cExt_drand48=yes
19813 else
19814   ac_cv_lib_cExt_drand48=no
19815 fi
19816 rm -f core conftest.err conftest.$ac_objext \
19817     conftest$ac_exeext conftest.$ac_ext
19818 LIBS=$ac_check_lib_save_LIBS
19819 fi
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19821 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19822 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19823   LIBS="$LIBS -lcExt"
19824 fi
19825
19826       fi
19827                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19828 $as_echo_n "checking for gcc/libc version... " >&6; }
19829 if ${wx_cv_gccversion+:} false; then :
19830   $as_echo_n "(cached) " >&6
19831 else
19832
19833           if test "$cross_compiling" = yes; then :
19834                 wx_cv_gccversion="EMX2"
19835
19836 else
19837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19838 /* end confdefs.h.  */
19839
19840                   #include <stdio.h>
19841
19842                   int main()
19843                   {
19844                       FILE *f=fopen("conftestval", "w");
19845                       if (!f) exit(1);
19846                       fprintf(f,
19847                   #if (__GNUC__ < 3)
19848                               "EMX2"
19849                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19850                               "EMX3"
19851                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19852                               "Innotek5"
19853                   #else
19854                               "Innotek6"
19855                   #endif
19856                       );
19857                       exit(0);
19858                   }
19859
19860 _ACEOF
19861 if ac_fn_c_try_run "$LINENO"; then :
19862   wx_cv_gccversion=`cat conftestval`
19863 else
19864   wx_cv_gccversion="EMX2"
19865 fi
19866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19867   conftest.$ac_objext conftest.beam conftest.$ac_ext
19868 fi
19869
19870
19871 fi
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19873 $as_echo "$wx_cv_gccversion" >&6; }
19874       if test "$wx_cv_gccversion" = "EMX2"; then
19875           LIBS="$LIBS -lstdcpp"
19876           LDFLAGS="$LDFLAGS -Zsysv-signals"
19877       else
19878           if test "$wx_cv_gccversion" = "EMX3"; then
19879               LIBS="$LIBS -lstdcxx -lgcc"
19880               LDFLAGS="$LDFLAGS -Zsysv-signals"
19881           else
19882               LIBS="$LIBS -lstdc++"
19883           fi
19884       fi
19885       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19886         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19887 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19888         wxUSE_OMF=yes
19889         enable_omf=yes
19890       fi
19891         ;;
19892   *)
19893
19894       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19895 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19896 if ${ac_cv_string_strcasecmp+:} false; then :
19897   $as_echo_n "(cached) " >&6
19898 else
19899
19900           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h.  */
19902
19903               #include <string.h>
19904
19905 int
19906 main ()
19907 {
19908
19909                   strcasecmp("foo", "bar");
19910
19911   ;
19912   return 0;
19913 }
19914 _ACEOF
19915 if ac_fn_c_try_link "$LINENO"; then :
19916   ac_cv_string_strcasecmp=yes
19917 else
19918   ac_cv_string_strcasecmp=no
19919
19920 fi
19921 rm -f core conftest.err conftest.$ac_objext \
19922     conftest$ac_exeext conftest.$ac_ext
19923
19924 fi
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19926 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19927
19928       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19929           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19930
19931       else
19932           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19933 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19934 if ${ac_cv_strings_strcasecmp+:} false; then :
19935   $as_echo_n "(cached) " >&6
19936 else
19937
19938               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h.  */
19940
19941                   #include <strings.h>
19942
19943 int
19944 main ()
19945 {
19946
19947                       strcasecmp("foo", "bar");
19948
19949   ;
19950   return 0;
19951 }
19952 _ACEOF
19953 if ac_fn_c_try_link "$LINENO"; then :
19954   ac_cv_strings_strcasecmp=yes
19955 else
19956   ac_cv_strings_strcasecmp=no
19957
19958 fi
19959 rm -f core conftest.err conftest.$ac_objext \
19960     conftest$ac_exeext conftest.$ac_ext
19961
19962 fi
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19964 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19965
19966           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19967               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19968
19969           else
19970               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19971           fi
19972       fi
19973
19974         ;;
19975 esac
19976
19977
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19979 $as_echo_n "checking for ANSI C header files... " >&6; }
19980 if ${ac_cv_header_stdc+:} false; then :
19981   $as_echo_n "(cached) " >&6
19982 else
19983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h.  */
19985 #include <stdlib.h>
19986 #include <stdarg.h>
19987 #include <string.h>
19988 #include <float.h>
19989
19990 int
19991 main ()
19992 {
19993
19994   ;
19995   return 0;
19996 }
19997 _ACEOF
19998 if ac_fn_c_try_compile "$LINENO"; then :
19999   ac_cv_header_stdc=yes
20000 else
20001   ac_cv_header_stdc=no
20002 fi
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004
20005 if test $ac_cv_header_stdc = yes; then
20006   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h.  */
20009 #include <string.h>
20010
20011 _ACEOF
20012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20013   $EGREP "memchr" >/dev/null 2>&1; then :
20014
20015 else
20016   ac_cv_header_stdc=no
20017 fi
20018 rm -f conftest*
20019
20020 fi
20021
20022 if test $ac_cv_header_stdc = yes; then
20023   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h.  */
20026 #include <stdlib.h>
20027
20028 _ACEOF
20029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20030   $EGREP "free" >/dev/null 2>&1; then :
20031
20032 else
20033   ac_cv_header_stdc=no
20034 fi
20035 rm -f conftest*
20036
20037 fi
20038
20039 if test $ac_cv_header_stdc = yes; then
20040   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20041   if test "$cross_compiling" = yes; then :
20042   :
20043 else
20044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h.  */
20046 #include <ctype.h>
20047 #include <stdlib.h>
20048 #if ((' ' & 0x0FF) == 0x020)
20049 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20050 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20051 #else
20052 # define ISLOWER(c) \
20053                    (('a' <= (c) && (c) <= 'i') \
20054                      || ('j' <= (c) && (c) <= 'r') \
20055                      || ('s' <= (c) && (c) <= 'z'))
20056 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20057 #endif
20058
20059 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20060 int
20061 main ()
20062 {
20063   int i;
20064   for (i = 0; i < 256; i++)
20065     if (XOR (islower (i), ISLOWER (i))
20066         || toupper (i) != TOUPPER (i))
20067       return 2;
20068   return 0;
20069 }
20070 _ACEOF
20071 if ac_fn_c_try_run "$LINENO"; then :
20072
20073 else
20074   ac_cv_header_stdc=no
20075 fi
20076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20077   conftest.$ac_objext conftest.beam conftest.$ac_ext
20078 fi
20079
20080 fi
20081 fi
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20083 $as_echo "$ac_cv_header_stdc" >&6; }
20084 if test $ac_cv_header_stdc = yes; then
20085
20086 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20087
20088 fi
20089
20090 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20091 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20092                   inttypes.h stdint.h unistd.h
20093 do :
20094   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20095 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20096 "
20097 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20098   cat >>confdefs.h <<_ACEOF
20099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20100 _ACEOF
20101
20102 fi
20103
20104 done
20105
20106
20107 for ac_header in langinfo.h wchar.h
20108 do :
20109   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20110 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20111 "
20112 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20113   cat >>confdefs.h <<_ACEOF
20114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20115 _ACEOF
20116
20117 fi
20118
20119 done
20120
20121
20122 if test "$ac_cv_header_wchar_h" != "yes"; then
20123     for ac_header in wcstr.h
20124 do :
20125   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20126 "
20127 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20128   cat >>confdefs.h <<_ACEOF
20129 #define HAVE_WCSTR_H 1
20130 _ACEOF
20131
20132 fi
20133
20134 done
20135
20136 fi
20137
20138 case "${host}" in
20139   *-pc-os2_emx | *-pc-os2-emx )
20140                   if test $ac_cv_header_langinfo_h = "yes" \
20141                 -a \(   "$wx_cv_gccversion" = "EMX2" \
20142                      -o "$wx_cv_gccversion" = "EMX3" \
20143                      -o "$wx_cv_gccversion" = "Innotek5" \); then
20144           LIBS="$LIBS -lintl"
20145       fi
20146   ;;
20147 esac
20148
20149 if test "$USE_UNIX" = 1 ; then
20150         for ac_header in sys/select.h
20151 do :
20152   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20153 "
20154 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20155   cat >>confdefs.h <<_ACEOF
20156 #define HAVE_SYS_SELECT_H 1
20157 _ACEOF
20158
20159 fi
20160
20161 done
20162
20163
20164             ac_ext=cpp
20165 ac_cpp='$CXXCPP $CPPFLAGS'
20166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169
20170     for ac_header in cxxabi.h
20171 do :
20172   ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20173 "
20174 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20175   cat >>confdefs.h <<_ACEOF
20176 #define HAVE_CXXABI_H 1
20177 _ACEOF
20178
20179 fi
20180
20181 done
20182
20183     ac_ext=c
20184 ac_cpp='$CPP $CPPFLAGS'
20185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188
20189 fi
20190
20191
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20193 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20194 if ${ac_cv_c_const+:} false; then :
20195   $as_echo_n "(cached) " >&6
20196 else
20197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h.  */
20199
20200 int
20201 main ()
20202 {
20203
20204 #ifndef __cplusplus
20205   /* Ultrix mips cc rejects this sort of thing.  */
20206   typedef int charset[2];
20207   const charset cs = { 0, 0 };
20208   /* SunOS 4.1.1 cc rejects this.  */
20209   char const *const *pcpcc;
20210   char **ppc;
20211   /* NEC SVR4.0.2 mips cc rejects this.  */
20212   struct point {int x, y;};
20213   static struct point const zero = {0,0};
20214   /* AIX XL C 1.02.0.0 rejects this.
20215      It does not let you subtract one const X* pointer from another in
20216      an arm of an if-expression whose if-part is not a constant
20217      expression */
20218   const char *g = "string";
20219   pcpcc = &g + (g ? g-g : 0);
20220   /* HPUX 7.0 cc rejects these. */
20221   ++pcpcc;
20222   ppc = (char**) pcpcc;
20223   pcpcc = (char const *const *) ppc;
20224   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20225     char tx;
20226     char *t = &tx;
20227     char const *s = 0 ? (char *) 0 : (char const *) 0;
20228
20229     *t++ = 0;
20230     if (s) return 0;
20231   }
20232   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20233     int x[] = {25, 17};
20234     const int *foo = &x[0];
20235     ++foo;
20236   }
20237   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20238     typedef const int *iptr;
20239     iptr p = 0;
20240     ++p;
20241   }
20242   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20243        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20244     struct s { int j; const int *ap[3]; } bx;
20245     struct s *b = &bx; b->j = 5;
20246   }
20247   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20248     const int foo = 10;
20249     if (!foo) return 0;
20250   }
20251   return !cs[0] && !zero.x;
20252 #endif
20253
20254   ;
20255   return 0;
20256 }
20257 _ACEOF
20258 if ac_fn_c_try_compile "$LINENO"; then :
20259   ac_cv_c_const=yes
20260 else
20261   ac_cv_c_const=no
20262 fi
20263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20264 fi
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20266 $as_echo "$ac_cv_c_const" >&6; }
20267 if test $ac_cv_c_const = no; then
20268
20269 $as_echo "#define const /**/" >>confdefs.h
20270
20271 fi
20272
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20274 $as_echo_n "checking for inline... " >&6; }
20275 if ${ac_cv_c_inline+:} false; then :
20276   $as_echo_n "(cached) " >&6
20277 else
20278   ac_cv_c_inline=no
20279 for ac_kw in inline __inline__ __inline; do
20280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20281 /* end confdefs.h.  */
20282 #ifndef __cplusplus
20283 typedef int foo_t;
20284 static $ac_kw foo_t static_foo () {return 0; }
20285 $ac_kw foo_t foo () {return 0; }
20286 #endif
20287
20288 _ACEOF
20289 if ac_fn_c_try_compile "$LINENO"; then :
20290   ac_cv_c_inline=$ac_kw
20291 fi
20292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293   test "$ac_cv_c_inline" != no && break
20294 done
20295
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20298 $as_echo "$ac_cv_c_inline" >&6; }
20299
20300 case $ac_cv_c_inline in
20301   inline | yes) ;;
20302   *)
20303     case $ac_cv_c_inline in
20304       no) ac_val=;;
20305       *) ac_val=$ac_cv_c_inline;;
20306     esac
20307     cat >>confdefs.h <<_ACEOF
20308 #ifndef __cplusplus
20309 #define inline $ac_val
20310 #endif
20311 _ACEOF
20312     ;;
20313 esac
20314
20315
20316 # The cast to long int works around a bug in the HP C Compiler
20317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20319 # This bug is HP SR number 8606223364.
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20321 $as_echo_n "checking size of short... " >&6; }
20322 if ${ac_cv_sizeof_short+:} false; then :
20323   $as_echo_n "(cached) " >&6
20324 else
20325   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20326
20327 else
20328   if test "$ac_cv_type_short" = yes; then
20329      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20331 as_fn_error 77 "cannot compute sizeof (short)
20332 See \`config.log' for more details" "$LINENO" 5; }
20333    else
20334      ac_cv_sizeof_short=0
20335    fi
20336 fi
20337
20338 fi
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20340 $as_echo "$ac_cv_sizeof_short" >&6; }
20341
20342
20343
20344 cat >>confdefs.h <<_ACEOF
20345 #define SIZEOF_SHORT $ac_cv_sizeof_short
20346 _ACEOF
20347
20348
20349 # The cast to long int works around a bug in the HP C Compiler
20350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20352 # This bug is HP SR number 8606223364.
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20354 $as_echo_n "checking size of void *... " >&6; }
20355 if ${ac_cv_sizeof_void_p+:} false; then :
20356   $as_echo_n "(cached) " >&6
20357 else
20358   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20359
20360 else
20361   if test "$ac_cv_type_void_p" = yes; then
20362      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20364 as_fn_error 77 "cannot compute sizeof (void *)
20365 See \`config.log' for more details" "$LINENO" 5; }
20366    else
20367      ac_cv_sizeof_void_p=0
20368    fi
20369 fi
20370
20371 fi
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20373 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20374
20375
20376
20377 cat >>confdefs.h <<_ACEOF
20378 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20379 _ACEOF
20380
20381
20382 # The cast to long int works around a bug in the HP C Compiler
20383 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20384 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20385 # This bug is HP SR number 8606223364.
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20387 $as_echo_n "checking size of int... " >&6; }
20388 if ${ac_cv_sizeof_int+:} false; then :
20389   $as_echo_n "(cached) " >&6
20390 else
20391   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20392
20393 else
20394   if test "$ac_cv_type_int" = yes; then
20395      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20397 as_fn_error 77 "cannot compute sizeof (int)
20398 See \`config.log' for more details" "$LINENO" 5; }
20399    else
20400      ac_cv_sizeof_int=0
20401    fi
20402 fi
20403
20404 fi
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20406 $as_echo "$ac_cv_sizeof_int" >&6; }
20407
20408
20409
20410 cat >>confdefs.h <<_ACEOF
20411 #define SIZEOF_INT $ac_cv_sizeof_int
20412 _ACEOF
20413
20414
20415 # The cast to long int works around a bug in the HP C Compiler
20416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20418 # This bug is HP SR number 8606223364.
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20420 $as_echo_n "checking size of long... " >&6; }
20421 if ${ac_cv_sizeof_long+:} false; then :
20422   $as_echo_n "(cached) " >&6
20423 else
20424   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20425
20426 else
20427   if test "$ac_cv_type_long" = yes; then
20428      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20430 as_fn_error 77 "cannot compute sizeof (long)
20431 See \`config.log' for more details" "$LINENO" 5; }
20432    else
20433      ac_cv_sizeof_long=0
20434    fi
20435 fi
20436
20437 fi
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20439 $as_echo "$ac_cv_sizeof_long" >&6; }
20440
20441
20442
20443 cat >>confdefs.h <<_ACEOF
20444 #define SIZEOF_LONG $ac_cv_sizeof_long
20445 _ACEOF
20446
20447
20448 # The cast to long int works around a bug in the HP C Compiler
20449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20451 # This bug is HP SR number 8606223364.
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20453 $as_echo_n "checking size of size_t... " >&6; }
20454 if ${ac_cv_sizeof_size_t+:} false; then :
20455   $as_echo_n "(cached) " >&6
20456 else
20457   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20458
20459 else
20460   if test "$ac_cv_type_size_t" = yes; then
20461      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20463 as_fn_error 77 "cannot compute sizeof (size_t)
20464 See \`config.log' for more details" "$LINENO" 5; }
20465    else
20466      ac_cv_sizeof_size_t=0
20467    fi
20468 fi
20469
20470 fi
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20472 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20473
20474
20475
20476 cat >>confdefs.h <<_ACEOF
20477 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20478 _ACEOF
20479
20480
20481
20482 case "${host}" in
20483     arm-*-linux* )
20484         # The cast to long int works around a bug in the HP C Compiler
20485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20487 # This bug is HP SR number 8606223364.
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20489 $as_echo_n "checking size of long long... " >&6; }
20490 if ${ac_cv_sizeof_long_long+:} false; then :
20491   $as_echo_n "(cached) " >&6
20492 else
20493   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20494
20495 else
20496   if test "$ac_cv_type_long_long" = yes; then
20497      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20499 as_fn_error 77 "cannot compute sizeof (long long)
20500 See \`config.log' for more details" "$LINENO" 5; }
20501    else
20502      ac_cv_sizeof_long_long=0
20503    fi
20504 fi
20505
20506 fi
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20508 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20509
20510
20511
20512 cat >>confdefs.h <<_ACEOF
20513 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20514 _ACEOF
20515
20516
20517     ;;
20518     *-hp-hpux* )
20519         # The cast to long int works around a bug in the HP C Compiler
20520 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20521 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20522 # This bug is HP SR number 8606223364.
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20524 $as_echo_n "checking size of long long... " >&6; }
20525 if ${ac_cv_sizeof_long_long+:} false; then :
20526   $as_echo_n "(cached) " >&6
20527 else
20528   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20529
20530 else
20531   if test "$ac_cv_type_long_long" = yes; then
20532      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20534 as_fn_error 77 "cannot compute sizeof (long long)
20535 See \`config.log' for more details" "$LINENO" 5; }
20536    else
20537      ac_cv_sizeof_long_long=0
20538    fi
20539 fi
20540
20541 fi
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20543 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20544
20545
20546
20547 cat >>confdefs.h <<_ACEOF
20548 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20549 _ACEOF
20550
20551
20552         if test "$ac_cv_sizeof_long_long" != 0; then
20553                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20554         fi
20555     ;;
20556     * )
20557         # The cast to long int works around a bug in the HP C Compiler
20558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20560 # This bug is HP SR number 8606223364.
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20562 $as_echo_n "checking size of long long... " >&6; }
20563 if ${ac_cv_sizeof_long_long+:} false; then :
20564   $as_echo_n "(cached) " >&6
20565 else
20566   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20567
20568 else
20569   if test "$ac_cv_type_long_long" = yes; then
20570      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20572 as_fn_error 77 "cannot compute sizeof (long long)
20573 See \`config.log' for more details" "$LINENO" 5; }
20574    else
20575      ac_cv_sizeof_long_long=0
20576    fi
20577 fi
20578
20579 fi
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20581 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20582
20583
20584
20585 cat >>confdefs.h <<_ACEOF
20586 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20587 _ACEOF
20588
20589
20590 esac
20591
20592 # The cast to long int works around a bug in the HP C Compiler
20593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20595 # This bug is HP SR number 8606223364.
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20597 $as_echo_n "checking size of wchar_t... " >&6; }
20598 if ${ac_cv_sizeof_wchar_t+:} false; then :
20599   $as_echo_n "(cached) " >&6
20600 else
20601   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20602         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20603         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20604         #  error \"fake wchar_t\"
20605         #endif
20606         #ifdef HAVE_WCHAR_H
20607         #  ifdef __CYGWIN__
20608         #    include <stddef.h>
20609         #  endif
20610         #  include <wchar.h>
20611         #endif
20612         #ifdef HAVE_STDLIB_H
20613         #  include <stdlib.h>
20614         #endif
20615         #include <stdio.h>
20616
20617
20618 "; then :
20619
20620 else
20621   if test "$ac_cv_type_wchar_t" = yes; then
20622      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20624 as_fn_error 77 "cannot compute sizeof (wchar_t)
20625 See \`config.log' for more details" "$LINENO" 5; }
20626    else
20627      ac_cv_sizeof_wchar_t=0
20628    fi
20629 fi
20630
20631 fi
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20633 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20634
20635
20636
20637 cat >>confdefs.h <<_ACEOF
20638 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20639 _ACEOF
20640
20641
20642 if test "$ac_cv_sizeof_wchar_t" = 0; then
20643     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20644 fi
20645 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20646
20647
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20649 $as_echo_n "checking for va_copy... " >&6; }
20650 if ${wx_cv_func_va_copy+:} false; then :
20651   $as_echo_n "(cached) " >&6
20652 else
20653
20654         ac_ext=cpp
20655 ac_cpp='$CXXCPP $CPPFLAGS'
20656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20659
20660         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h.  */
20662
20663
20664                 #include <stdarg.h>
20665                 void foo(char *f, ...)
20666                 {
20667                     va_list ap1, ap2;
20668                     va_start(ap1, f);
20669                     va_copy(ap2, ap1);
20670                     va_end(ap2);
20671                     va_end(ap1);
20672                 }
20673                 int main()
20674                 {
20675                     foo("hi", 17);
20676                     return 0;
20677                 }
20678
20679 _ACEOF
20680 if ac_fn_cxx_try_link "$LINENO"; then :
20681   wx_cv_func_va_copy=yes
20682 else
20683   wx_cv_func_va_copy=no
20684
20685 fi
20686 rm -f core conftest.err conftest.$ac_objext \
20687     conftest$ac_exeext conftest.$ac_ext
20688         ac_ext=c
20689 ac_cpp='$CPP $CPPFLAGS'
20690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693
20694
20695
20696 fi
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20698 $as_echo "$wx_cv_func_va_copy" >&6; }
20699
20700 if test $wx_cv_func_va_copy = "yes"; then
20701     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20702
20703 else
20704         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20705 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20706 if ${wx_cv_type_va_list_lvalue+:} false; then :
20707   $as_echo_n "(cached) " >&6
20708 else
20709
20710             if test "$cross_compiling" = yes; then :
20711                   wx_cv_type_va_list_lvalue=yes
20712
20713 else
20714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h.  */
20716
20717
20718                     #include <stdarg.h>
20719                     int foo(char *f, ...)
20720                     {
20721                         va_list ap1, ap2;
20722                         va_start(ap1, f);
20723                         ap2 = ap1;
20724                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20725                             return 1;
20726                         va_end(ap2);
20727                         va_end(ap1);
20728                         return 0;
20729                     }
20730                     int main()
20731                     {
20732                         return foo("hi", 17);
20733                     }
20734
20735 _ACEOF
20736 if ac_fn_c_try_run "$LINENO"; then :
20737   wx_cv_type_va_list_lvalue=yes
20738 else
20739   wx_cv_type_va_list_lvalue=no
20740 fi
20741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20742   conftest.$ac_objext conftest.beam conftest.$ac_ext
20743 fi
20744
20745
20746
20747 fi
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20749 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20750
20751     if test $wx_cv_type_va_list_lvalue != "yes"; then
20752                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20753
20754     fi
20755 fi
20756
20757 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20758
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20760 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20761 if ${wx_cv_have_variadic_macros+:} false; then :
20762   $as_echo_n "(cached) " >&6
20763 else
20764
20765                         ac_ext=cpp
20766 ac_cpp='$CXXCPP $CPPFLAGS'
20767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20770
20771         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h.  */
20773
20774
20775                     #include <stdio.h>
20776                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20777
20778 int
20779 main ()
20780 {
20781
20782                     test("%s %d %p", "test", 1, 0);
20783
20784
20785   ;
20786   return 0;
20787 }
20788 _ACEOF
20789 if ac_fn_cxx_try_compile "$LINENO"; then :
20790   wx_cv_have_variadic_macros=yes
20791 else
20792   wx_cv_have_variadic_macros=no
20793
20794 fi
20795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796         ac_ext=c
20797 ac_cpp='$CPP $CPPFLAGS'
20798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20801
20802
20803
20804 fi
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20806 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20807
20808 if test $wx_cv_have_variadic_macros = "yes"; then
20809     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20810
20811 fi
20812
20813 else
20814     $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20815
20816 fi
20817
20818 LARGEFILE_CPPFLAGS=
20819 # Check whether --enable-largefile was given.
20820 if test "${enable_largefile+set}" = set; then :
20821   enableval=$enable_largefile;
20822 fi
20823
20824 if test "$enable_largefile" != no; then
20825             wx_largefile=no
20826
20827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20828 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20829 if ${ac_cv_sys_file_offset_bits+:} false; then :
20830   $as_echo_n "(cached) " >&6
20831 else
20832
20833           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h.  */
20835 #define _FILE_OFFSET_BITS 64
20836                           #include <sys/types.h>
20837 int
20838 main ()
20839 {
20840 typedef struct {
20841     unsigned int field: sizeof(off_t) == 8;
20842 } wxlf;
20843
20844   ;
20845   return 0;
20846 }
20847 _ACEOF
20848 if ac_fn_c_try_compile "$LINENO"; then :
20849   ac_cv_sys_file_offset_bits=64
20850 else
20851   ac_cv_sys_file_offset_bits=no
20852 fi
20853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854
20855
20856 fi
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20858 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20859
20860     if test "$ac_cv_sys_file_offset_bits" != no; then
20861         wx_largefile=yes
20862         cat >>confdefs.h <<_ACEOF
20863 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20864 _ACEOF
20865
20866     fi
20867
20868     if test "x$wx_largefile" != "xyes"; then
20869
20870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20871 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20872 if ${ac_cv_sys_large_files+:} false; then :
20873   $as_echo_n "(cached) " >&6
20874 else
20875
20876           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h.  */
20878 #define _LARGE_FILES 1
20879                           #include <sys/types.h>
20880 int
20881 main ()
20882 {
20883 typedef struct {
20884     unsigned int field: sizeof(off_t) == 8;
20885 } wxlf;
20886
20887   ;
20888   return 0;
20889 }
20890 _ACEOF
20891 if ac_fn_c_try_compile "$LINENO"; then :
20892   ac_cv_sys_large_files=1
20893 else
20894   ac_cv_sys_large_files=no
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20897
20898
20899 fi
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20901 $as_echo "$ac_cv_sys_large_files" >&6; }
20902
20903     if test "$ac_cv_sys_large_files" != no; then
20904         wx_largefile=yes
20905         cat >>confdefs.h <<_ACEOF
20906 #define _LARGE_FILES $ac_cv_sys_large_files
20907 _ACEOF
20908
20909     fi
20910
20911     fi
20912
20913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20914 $as_echo_n "checking if large file support is available... " >&6; }
20915     if test "x$wx_largefile" = "xyes"; then
20916         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20917
20918     fi
20919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20920 $as_echo "$wx_largefile" >&6; }
20921 fi
20922
20923 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20924     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20925 elif test "$ac_cv_sys_large_files" = 1; then
20926     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20927 fi
20928
20929 if test -n "$LARGEFILE_CPPFLAGS"; then
20930     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20931
20932                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20933         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20934 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20935 if ${wx_cv_STDC_EXT_required+:} false; then :
20936   $as_echo_n "(cached) " >&6
20937 else
20938
20939                 ac_ext=cpp
20940 ac_cpp='$CXXCPP $CPPFLAGS'
20941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20944
20945                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20946 /* end confdefs.h.  */
20947
20948 int
20949 main ()
20950 {
20951
20952                         #ifndef __STDC_EXT__
20953                             choke me
20954                         #endif
20955
20956   ;
20957   return 0;
20958 }
20959 _ACEOF
20960 if ac_fn_cxx_try_compile "$LINENO"; then :
20961   wx_cv_STDC_EXT_required=no
20962 else
20963   wx_cv_STDC_EXT_required=yes
20964
20965 fi
20966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20967                 ac_ext=c
20968 ac_cpp='$CPP $CPPFLAGS'
20969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20972
20973
20974
20975 fi
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20977 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20978         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20979             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20980         fi
20981     fi
20982 fi
20983
20984 ac_ext=cpp
20985 ac_cpp='$CXXCPP $CPPFLAGS'
20986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20989
20990 old_CPPFLAGS="$CPPFLAGS"
20991 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20993 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20994 if ${ac_cv_sys_largefile_source+:} false; then :
20995   $as_echo_n "(cached) " >&6
20996 else
20997   while :; do
20998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20999 /* end confdefs.h.  */
21000 #include <sys/types.h> /* for off_t */
21001      #include <stdio.h>
21002 int
21003 main ()
21004 {
21005 int (*fp) (FILE *, off_t, int) = fseeko;
21006      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21007   ;
21008   return 0;
21009 }
21010 _ACEOF
21011 if ac_fn_cxx_try_link "$LINENO"; then :
21012   ac_cv_sys_largefile_source=no; break
21013 fi
21014 rm -f core conftest.err conftest.$ac_objext \
21015     conftest$ac_exeext conftest.$ac_ext
21016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h.  */
21018 #define _LARGEFILE_SOURCE 1
21019 #include <sys/types.h> /* for off_t */
21020      #include <stdio.h>
21021 int
21022 main ()
21023 {
21024 int (*fp) (FILE *, off_t, int) = fseeko;
21025      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21026   ;
21027   return 0;
21028 }
21029 _ACEOF
21030 if ac_fn_cxx_try_link "$LINENO"; then :
21031   ac_cv_sys_largefile_source=1; break
21032 fi
21033 rm -f core conftest.err conftest.$ac_objext \
21034     conftest$ac_exeext conftest.$ac_ext
21035   ac_cv_sys_largefile_source=unknown
21036   break
21037 done
21038 fi
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21040 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21041 case $ac_cv_sys_largefile_source in #(
21042   no | unknown) ;;
21043   *)
21044 cat >>confdefs.h <<_ACEOF
21045 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21046 _ACEOF
21047 ;;
21048 esac
21049 rm -rf conftest*
21050
21051 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21052 # in glibc 2.1.3, but that breaks too many other things.
21053 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21054 if test $ac_cv_sys_largefile_source != unknown; then
21055
21056 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21057
21058 fi
21059
21060 CPPFLAGS="$old_CPPFLAGS"
21061 ac_ext=c
21062 ac_cpp='$CPP $CPPFLAGS'
21063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21066
21067 if test "$ac_cv_sys_largefile_source" != no; then
21068     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21069 fi
21070
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21072 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21073 if ${ac_cv_c_bigendian+:} false; then :
21074   $as_echo_n "(cached) " >&6
21075 else
21076   ac_cv_c_bigendian=unknown
21077 # See if sys/param.h defines the BYTE_ORDER macro.
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h.  */
21080 #include <sys/types.h>
21081 #include <sys/param.h>
21082 int
21083 main ()
21084 {
21085
21086 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21087  bogus endian macros
21088 #endif
21089   ;
21090   return 0;
21091 }
21092 _ACEOF
21093 if ac_fn_c_try_compile "$LINENO"; then :
21094   # It does; now see whether it defined to BIG_ENDIAN or not.
21095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h.  */
21097 #include <sys/types.h>
21098 #include <sys/param.h>
21099 int
21100 main ()
21101 {
21102
21103 #if BYTE_ORDER != BIG_ENDIAN
21104  not big endian
21105 #endif
21106   ;
21107   return 0;
21108 }
21109 _ACEOF
21110 if ac_fn_c_try_compile "$LINENO"; then :
21111   ac_cv_c_bigendian=yes
21112 else
21113   ac_cv_c_bigendian=no
21114 fi
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 fi
21117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 if test $ac_cv_c_bigendian = unknown; then
21119 if test "$cross_compiling" = yes; then :
21120   ac_cv_c_bigendian=unknown
21121 else
21122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h.  */
21124 main () {
21125   /* Are we little or big endian?  From Harbison&Steele.  */
21126   union
21127   {
21128     long l;
21129     char c[sizeof (long)];
21130   } u;
21131   u.l = 1;
21132   exit (u.c[sizeof (long) - 1] == 1);
21133 }
21134 _ACEOF
21135 if ac_fn_c_try_run "$LINENO"; then :
21136   ac_cv_c_bigendian=no
21137 else
21138   ac_cv_c_bigendian=yes
21139 fi
21140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21141   conftest.$ac_objext conftest.beam conftest.$ac_ext
21142 fi
21143
21144 fi
21145 fi
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21147 $as_echo "$ac_cv_c_bigendian" >&6; }
21148 if test $ac_cv_c_bigendian = unknown; then
21149   { $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
21150 $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;}
21151 fi
21152 if test $ac_cv_c_bigendian = yes; then
21153   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21154
21155 fi
21156
21157
21158
21159
21160     ac_ext=cpp
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21165
21166
21167     for ac_header in iostream
21168 do :
21169   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21170 "
21171 if test "x$ac_cv_header_iostream" = xyes; then :
21172   cat >>confdefs.h <<_ACEOF
21173 #define HAVE_IOSTREAM 1
21174 _ACEOF
21175
21176 fi
21177
21178 done
21179
21180
21181     if test "$ac_cv_header_iostream" = "yes" ; then
21182       :
21183     else
21184       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21185
21186     fi
21187
21188     ac_ext=c
21189 ac_cpp='$CPP $CPPFLAGS'
21190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21193
21194
21195
21196
21197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21198 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21199 if ${wx_cv_explicit+:} false; then :
21200   $as_echo_n "(cached) " >&6
21201 else
21202
21203
21204     ac_ext=cpp
21205 ac_cpp='$CXXCPP $CPPFLAGS'
21206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21209
21210
21211             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21212 /* end confdefs.h.  */
21213
21214         class Foo { public: explicit Foo(int) {} };
21215
21216 int
21217 main ()
21218 {
21219
21220         return 0;
21221
21222   ;
21223   return 0;
21224 }
21225 _ACEOF
21226 if ac_fn_cxx_try_compile "$LINENO"; then :
21227
21228         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h.  */
21230
21231                 class Foo { public: explicit Foo(int) {} };
21232                 static void TakeFoo(const Foo& foo) { }
21233
21234 int
21235 main ()
21236 {
21237
21238                 TakeFoo(17);
21239                 return 0;
21240
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246   wx_cv_explicit=no
21247 else
21248   wx_cv_explicit=yes
21249
21250 fi
21251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252
21253 else
21254   wx_cv_explicit=no
21255
21256 fi
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21258
21259     ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
21265
21266 fi
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21268 $as_echo "$wx_cv_explicit" >&6; }
21269
21270   if test "$wx_cv_explicit" = "yes"; then
21271     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21272
21273   fi
21274
21275
21276 if test "x$SUNCXX" = xyes; then
21277     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21278 fi
21279
21280 if test "x$SUNCC" = xyes; then
21281     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21282 fi
21283
21284 if test "x$SGICC" = "xyes"; then
21285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21286 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21287 if ${wx_cv_prog_sgicc744+:} false; then :
21288   $as_echo_n "(cached) " >&6
21289 else
21290
21291             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h.  */
21293
21294 int
21295 main ()
21296 {
21297
21298                     #if _SGI_COMPILER_VERSION >= 744
21299                     chock me: mipsPro is 7.4.4 or later
21300                     #endif
21301
21302   ;
21303   return 0;
21304 }
21305 _ACEOF
21306 if ac_fn_c_try_compile "$LINENO"; then :
21307   wx_cv_prog_sgicc744=no
21308 else
21309   wx_cv_prog_sgicc744=yes
21310
21311 fi
21312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21313
21314
21315 fi
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21317 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21318
21319     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21320         CFLAGS="-woff 3970 $CFLAGS"
21321     fi
21322 fi
21323 if test "x$SGICXX" = "xyes"; then
21324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21325 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21326 if ${wx_cv_prog_sgicxx744+:} false; then :
21327   $as_echo_n "(cached) " >&6
21328 else
21329
21330             ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335
21336             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h.  */
21338
21339 int
21340 main ()
21341 {
21342
21343                     #if _SGI_COMPILER_VERSION >= 744
21344                     chock me: mipsPro is 7.4.4 or later
21345                     #endif
21346
21347   ;
21348   return 0;
21349 }
21350 _ACEOF
21351 if ac_fn_cxx_try_compile "$LINENO"; then :
21352   wx_cv_prog_sgicxx744=no
21353 else
21354   wx_cv_prog_sgicxx744=yes
21355
21356 fi
21357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21358             ac_ext=c
21359 ac_cpp='$CPP $CPPFLAGS'
21360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21363
21364
21365
21366 fi
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21368 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21369
21370     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21371         CXXFLAGS="-woff 3970 $CXXFLAGS"
21372     fi
21373 fi
21374
21375 if test "x$HPCC" = "xyes"; then
21376                     CFLAGS="+W 2011,2450 $CFLAGS"
21377 fi
21378 if test "x$HPCXX" = "xyes"; then
21379                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21380 fi
21381
21382 if test "x$COMPAQCXX" = "xyes"; then
21383                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21384 fi
21385
21386 ac_ext=cpp
21387 ac_cpp='$CXXCPP $CPPFLAGS'
21388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21391
21392
21393 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21394     if test "$wxUSE_UNICODE" = "yes"; then
21395         std_string="std::wstring"
21396         char_type="wchar_t"
21397     else
21398         std_string="std::string"
21399         char_type="char"
21400     fi
21401
21402         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21403 $as_echo_n "checking for $std_string in <string>... " >&6; }
21404 if ${wx_cv_class_stdstring+:} false; then :
21405   $as_echo_n "(cached) " >&6
21406 else
21407
21408             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21409 /* end confdefs.h.  */
21410 #include <string>
21411 int
21412 main ()
21413 {
21414 $std_string foo;
21415   ;
21416   return 0;
21417 }
21418 _ACEOF
21419 if ac_fn_cxx_try_compile "$LINENO"; then :
21420   wx_cv_class_stdstring=yes
21421 else
21422   wx_cv_class_stdstring=no
21423
21424 fi
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426
21427
21428 fi
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21430 $as_echo "$wx_cv_class_stdstring" >&6; }
21431
21432     if test "$wx_cv_class_stdstring" = yes; then
21433         if test "$wxUSE_UNICODE" = "yes"; then
21434             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21435
21436         fi
21437                     else
21438         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21439 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21440 if ${wx_cv_class_stdbasicstring+:} false; then :
21441   $as_echo_n "(cached) " >&6
21442 else
21443
21444                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21445 /* end confdefs.h.  */
21446
21447                     #ifdef HAVE_WCHAR_H
21448                     #  ifdef __CYGWIN__
21449                     #    include <stddef.h>
21450                     #  endif
21451                     #  include <wchar.h>
21452                     #endif
21453                     #ifdef HAVE_STDLIB_H
21454                     #  include <stdlib.h>
21455                     #endif
21456                     #include <stdio.h>
21457                     #include <string>
21458
21459 int
21460 main ()
21461 {
21462 std::basic_string<$char_type> foo;
21463                      const $char_type* dummy = foo.c_str();
21464   ;
21465   return 0;
21466 }
21467 _ACEOF
21468 if ac_fn_cxx_try_compile "$LINENO"; then :
21469   wx_cv_class_stdbasicstring=yes
21470 else
21471   wx_cv_class_stdbasicstring=no
21472
21473 fi
21474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475
21476
21477 fi
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21479 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21480
21481         if test "$wx_cv_class_stdbasicstring" != yes; then
21482             if test "$wxUSE_STL" = "yes"; then
21483                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21484             elif test "$wxUSE_STD_STRING" = "yes"; then
21485                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21486             else
21487                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21488 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21489                 wxUSE_STD_STRING=no
21490             fi
21491         fi
21492     fi
21493 fi
21494
21495 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21496     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21497 "
21498 if test "x$ac_cv_type_std__istream" = xyes; then :
21499
21500 cat >>confdefs.h <<_ACEOF
21501 #define HAVE_STD__ISTREAM 1
21502 _ACEOF
21503
21504
21505 else
21506   wxUSE_STD_IOSTREAM=no
21507 fi
21508 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21509 "
21510 if test "x$ac_cv_type_std__ostream" = xyes; then :
21511
21512 cat >>confdefs.h <<_ACEOF
21513 #define HAVE_STD__OSTREAM 1
21514 _ACEOF
21515
21516
21517 else
21518   wxUSE_STD_IOSTREAM=no
21519 fi
21520
21521
21522     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21523         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21524             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21525         else
21526             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21527 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21528         fi
21529     fi
21530 fi
21531
21532 if test "$wxUSE_STL" = "yes"; then
21533         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21534 $as_echo_n "checking for basic STL functionality... " >&6; }
21535 if ${wx_cv_lib_stl+:} false; then :
21536   $as_echo_n "(cached) " >&6
21537 else
21538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21539 /* end confdefs.h.  */
21540 #include <string>
21541             #include <functional>
21542             #include <algorithm>
21543             #include <vector>
21544             #include <list>
21545 int
21546 main ()
21547 {
21548 std::vector<int> moo;
21549              std::list<int> foo;
21550              std::vector<int>::iterator it =
21551                  std::find_if(moo.begin(), moo.end(),
21552                               std::bind2nd(std::less<int>(), 3));
21553   ;
21554   return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558   wx_cv_lib_stl=yes
21559 else
21560   wx_cv_lib_stl=no
21561
21562 fi
21563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564
21565 fi
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21567 $as_echo "$wx_cv_lib_stl" >&6; }
21568
21569     if test "$wx_cv_lib_stl" != yes; then
21570          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21571     fi
21572
21573         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21574 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21575 if ${wx_cv_func_stdstring_compare+:} false; then :
21576   $as_echo_n "(cached) " >&6
21577 else
21578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h.  */
21580 #include <string>
21581 int
21582 main ()
21583 {
21584 std::string foo, bar;
21585             foo.compare(bar);
21586             foo.compare(1, 1, bar);
21587             foo.compare(1, 1, bar, 1, 1);
21588             foo.compare("");
21589             foo.compare(1, 1, "");
21590             foo.compare(1, 1, "", 2);
21591   ;
21592   return 0;
21593 }
21594 _ACEOF
21595 if ac_fn_cxx_try_compile "$LINENO"; then :
21596   wx_cv_func_stdstring_compare=yes
21597 else
21598   wx_cv_func_stdstring_compare=no
21599
21600 fi
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602
21603 fi
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21605 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21606
21607     if test "$wx_cv_func_stdstring_compare" = yes; then
21608         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21609
21610     fi
21611
21612     if test "$wx_cv_class_gnuhashmapset" = yes; then
21613          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21614
21615          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21616
21617     fi
21618
21619     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21620
21621 "
21622 if test "x$ac_cv_header_unordered_map" = xyes; then :
21623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21624 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21625 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21626   $as_echo_n "(cached) " >&6
21627 else
21628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h.  */
21630 #include <unordered_map>
21631                 #include <unordered_set>
21632 int
21633 main ()
21634 {
21635 std::unordered_map<double*, char*> test1;
21636                  std::unordered_set<char*> test2;
21637   ;
21638   return 0;
21639 }
21640 _ACEOF
21641 if ac_fn_cxx_try_compile "$LINENO"; then :
21642   wx_cv_class_stdunorderedmapset=yes
21643 else
21644   wx_cv_class_stdunorderedmapset=no
21645 fi
21646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647
21648
21649 fi
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21651 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21652 fi
21653
21654
21655
21656     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21657          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21658
21659          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21660
21661     else
21662         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21663
21664 "
21665 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21667 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21668 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21669   $as_echo_n "(cached) " >&6
21670 else
21671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h.  */
21673 #include <tr1/unordered_map>
21674                     #include <tr1/unordered_set>
21675 int
21676 main ()
21677 {
21678 std::tr1::unordered_map<double*, char*> test1;
21679                      std::tr1::unordered_set<char*> test2;
21680             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21681             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21682             #endif
21683   ;
21684   return 0;
21685 }
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688   wx_cv_class_tr1unorderedmapset=yes
21689 else
21690   wx_cv_class_tr1unorderedmapset=no
21691 fi
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693
21694
21695 fi
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21697 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21698 fi
21699
21700
21701
21702         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21703             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21704
21705             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21706
21707         else
21708                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21709
21710 "
21711 if test "x$ac_cv_header_hash_map" = xyes; then :
21712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21713 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21714 if ${wx_cv_class_stdhashmapset+:} false; then :
21715   $as_echo_n "(cached) " >&6
21716 else
21717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h.  */
21719 #include <hash_map>
21720                         #include <hash_set>
21721 int
21722 main ()
21723 {
21724 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21725                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21726   ;
21727   return 0;
21728 }
21729 _ACEOF
21730 if ac_fn_cxx_try_compile "$LINENO"; then :
21731   wx_cv_class_stdhashmapset=yes
21732 else
21733   wx_cv_class_stdhashmapset=no
21734 fi
21735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21736
21737
21738 fi
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21740 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21741 fi
21742
21743
21744
21745             if test "$wx_cv_class_stdhashmapset" = yes; then
21746                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21747
21748                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21749
21750             fi
21751
21752             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21753
21754 "
21755 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21757 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21758 if ${wx_cv_class_gnuhashmapset+:} false; then :
21759   $as_echo_n "(cached) " >&6
21760 else
21761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21762 /* end confdefs.h.  */
21763 #include <ext/hash_map>
21764                         #include <ext/hash_set>
21765 int
21766 main ()
21767 {
21768 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21769                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21770   ;
21771   return 0;
21772 }
21773 _ACEOF
21774 if ac_fn_cxx_try_compile "$LINENO"; then :
21775   wx_cv_class_gnuhashmapset=yes
21776 else
21777   wx_cv_class_gnuhashmapset=no
21778 fi
21779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780
21781
21782 fi
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21784 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21785 fi
21786
21787
21788
21789         fi
21790     fi
21791 fi
21792
21793 ac_ext=cpp
21794 ac_cpp='$CXXCPP $CPPFLAGS'
21795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21799 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21800 if test -z "$CXXCPP"; then
21801   if ${ac_cv_prog_CXXCPP+:} false; then :
21802   $as_echo_n "(cached) " >&6
21803 else
21804       # Double quotes because CXXCPP needs to be expanded
21805     for CXXCPP in "$CXX -E" "/lib/cpp"
21806     do
21807       ac_preproc_ok=false
21808 for ac_cxx_preproc_warn_flag in '' yes
21809 do
21810   # Use a header file that comes with gcc, so configuring glibc
21811   # with a fresh cross-compiler works.
21812   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21813   # <limits.h> exists even on freestanding compilers.
21814   # On the NeXT, cc -E runs the code through the compiler's parser,
21815   # not just through cpp. "Syntax error" is here to catch this case.
21816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h.  */
21818 #ifdef __STDC__
21819 # include <limits.h>
21820 #else
21821 # include <assert.h>
21822 #endif
21823                      Syntax error
21824 _ACEOF
21825 if ac_fn_cxx_try_cpp "$LINENO"; then :
21826
21827 else
21828   # Broken: fails on valid input.
21829 continue
21830 fi
21831 rm -f conftest.err conftest.i conftest.$ac_ext
21832
21833   # OK, works on sane cases.  Now check whether nonexistent headers
21834   # can be detected and how.
21835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21836 /* end confdefs.h.  */
21837 #include <ac_nonexistent.h>
21838 _ACEOF
21839 if ac_fn_cxx_try_cpp "$LINENO"; then :
21840   # Broken: success on invalid input.
21841 continue
21842 else
21843   # Passes both tests.
21844 ac_preproc_ok=:
21845 break
21846 fi
21847 rm -f conftest.err conftest.i conftest.$ac_ext
21848
21849 done
21850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21851 rm -f conftest.i conftest.err conftest.$ac_ext
21852 if $ac_preproc_ok; then :
21853   break
21854 fi
21855
21856     done
21857     ac_cv_prog_CXXCPP=$CXXCPP
21858
21859 fi
21860   CXXCPP=$ac_cv_prog_CXXCPP
21861 else
21862   ac_cv_prog_CXXCPP=$CXXCPP
21863 fi
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21865 $as_echo "$CXXCPP" >&6; }
21866 ac_preproc_ok=false
21867 for ac_cxx_preproc_warn_flag in '' yes
21868 do
21869   # Use a header file that comes with gcc, so configuring glibc
21870   # with a fresh cross-compiler works.
21871   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21872   # <limits.h> exists even on freestanding compilers.
21873   # On the NeXT, cc -E runs the code through the compiler's parser,
21874   # not just through cpp. "Syntax error" is here to catch this case.
21875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h.  */
21877 #ifdef __STDC__
21878 # include <limits.h>
21879 #else
21880 # include <assert.h>
21881 #endif
21882                      Syntax error
21883 _ACEOF
21884 if ac_fn_cxx_try_cpp "$LINENO"; then :
21885
21886 else
21887   # Broken: fails on valid input.
21888 continue
21889 fi
21890 rm -f conftest.err conftest.i conftest.$ac_ext
21891
21892   # OK, works on sane cases.  Now check whether nonexistent headers
21893   # can be detected and how.
21894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h.  */
21896 #include <ac_nonexistent.h>
21897 _ACEOF
21898 if ac_fn_cxx_try_cpp "$LINENO"; then :
21899   # Broken: success on invalid input.
21900 continue
21901 else
21902   # Passes both tests.
21903 ac_preproc_ok=:
21904 break
21905 fi
21906 rm -f conftest.err conftest.i conftest.$ac_ext
21907
21908 done
21909 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21910 rm -f conftest.i conftest.err conftest.$ac_ext
21911 if $ac_preproc_ok; then :
21912
21913 else
21914   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21916 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21917 See \`config.log' for more details" "$LINENO" 5; }
21918 fi
21919
21920 ac_ext=cpp
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21925
21926
21927 for ac_header in type_traits tr1/type_traits
21928 do :
21929   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21930 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21931 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21932   cat >>confdefs.h <<_ACEOF
21933 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21934 _ACEOF
21935
21936 fi
21937
21938 done
21939
21940
21941
21942
21943   if test -n "$GCC"; then
21944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21945 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21946     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21947   $as_echo_n "(cached) " >&6
21948 else
21949
21950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21951 /* end confdefs.h.  */
21952
21953 int
21954 main ()
21955 {
21956
21957           unsigned int value=0;
21958           /* wxAtomicInc doesn't use return value here */
21959           __sync_fetch_and_add(&value, 2);
21960           __sync_sub_and_fetch(&value, 1);
21961           /* but wxAtomicDec does, so mimic that: */
21962           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21963
21964   ;
21965   return 0;
21966 }
21967 _ACEOF
21968 if ac_fn_cxx_try_link "$LINENO"; then :
21969   wx_cv_cc_gcc_atomic_builtins=yes
21970 else
21971   wx_cv_cc_gcc_atomic_builtins=no
21972 fi
21973 rm -f core conftest.err conftest.$ac_objext \
21974     conftest$ac_exeext conftest.$ac_ext
21975
21976 fi
21977
21978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21979 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21980     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21981       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21982
21983     fi
21984   fi
21985
21986
21987 ac_ext=c
21988 ac_cpp='$CPP $CPPFLAGS'
21989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21992
21993
21994
21995 SEARCH_INCLUDE="\
21996     /usr/local/include        \
21997     /usr/local/X11/include    \
21998     /usr/local/include/X11    \
21999     /usr/local/X11R7/include  \
22000     /usr/local/X11R6/include  \
22001     /usr/local/include/X11R7  \
22002     /usr/local/include/X11R6  \
22003                               \
22004     /usr/Motif-2.1/include    \
22005     /usr/Motif-1.2/include    \
22006     /usr/include/Motif1.2     \
22007                               \
22008     /usr/dt/include           \
22009     /usr/openwin/include      \
22010                               \
22011     /usr/include/Xm           \
22012                               \
22013     /usr/X11R7/include        \
22014     /usr/X11R6/include        \
22015     /usr/X11R6.4/include      \
22016                               \
22017     /usr/include/X11R7        \
22018     /usr/include/X11R6        \
22019                               \
22020     /usr/X11/include          \
22021     /usr/include/X11          \
22022                               \
22023     /usr/XFree86/include/X11  \
22024     /usr/pkg/include          \
22025                               \
22026     /usr/local/X1R5/include  \
22027     /usr/local/include/X11R5  \
22028     /usr/X11R5/include        \
22029     /usr/include/X11R5        \
22030                               \
22031     /usr/local/X11R4/include  \
22032     /usr/local/include/X11R4  \
22033     /usr/X11R4/include        \
22034     /usr/include/X11R4        \
22035                               \
22036     /usr/openwin/share/include"
22037
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22039 $as_echo_n "checking for libraries directories... " >&6; }
22040
22041 case "${host}" in
22042     *-*-irix6* )
22043         if ${wx_cv_std_libpath+:} false; then :
22044   $as_echo_n "(cached) " >&6
22045 else
22046
22047                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
22048                     for e in a so sl dylib dll.a; do
22049                         libc="$d/libc.$e"
22050                         if test -f $libc; then
22051                             save_LIBS="$LIBS"
22052                             LIBS="$libc"
22053                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h.  */
22055
22056                                     int main() { return 0; }
22057
22058 _ACEOF
22059 if ac_fn_c_try_link "$LINENO"; then :
22060   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
22061 fi
22062 rm -f core conftest.err conftest.$ac_objext \
22063     conftest$ac_exeext conftest.$ac_ext
22064                             LIBS="$save_LIBS"
22065                             if test "x$wx_cv_std_libpath" != "x"; then
22066                                 break 2
22067                             fi
22068                         fi
22069                     done
22070                 done
22071
22072
22073 fi
22074
22075         ;;
22076
22077     *-*-solaris2* )
22078                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22079             wx_cv_std_libpath="lib/64"
22080         fi
22081         ;;
22082
22083     *-*-linux* )
22084                                         if test "$ac_cv_sizeof_void_p" = 8; then
22085             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22086                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
22087             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22088                 wx_cv_std_libpath="lib64"
22089             fi
22090         else
22091             case "${host}" in
22092                 i*86-*-linux* )
22093                     if test -d '/usr/lib/i386-linux-gnu'; then
22094                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
22095                     fi
22096             esac
22097         fi
22098
22099                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22100             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
22101         fi
22102         ;;
22103 esac
22104
22105 if test -z "$wx_cv_std_libpath"; then
22106     wx_cv_std_libpath="lib"
22107 fi
22108
22109 if test -z "$wx_cv_std_libfullpath"; then
22110     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22111 fi
22112
22113
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22115 $as_echo "$wx_cv_std_libfullpath" >&6; }
22116
22117 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22118
22119 if test "$build" != "$host" -a "$GCC" = yes; then
22120                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22121         cross_root=`dirname $cross_root`
22122         cross_root=`dirname $cross_root`
22123
22124                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22125         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22126         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22127
22128                 if test -z "$PKG_CONFIG_PATH"; then
22129             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22130             export PKG_CONFIG_PATH
22131         fi
22132
22133                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
22134
22135 ac_find_includes=
22136 for ac_dir in $SEARCH_INCLUDE /usr/include
22137   do
22138     if test -f "$ac_dir/X11/Intrinsic.h"; then
22139       ac_find_includes=$ac_dir
22140       break
22141     fi
22142   done
22143
22144             x_includes=$ac_find_includes
22145         fi
22146         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22147
22148   ac_find_libraries=
22149   for ac_dir in  $SEARCH_LIB
22150   do
22151     for ac_extension in a so sl dylib dll.a; do
22152       if test -f "$ac_dir/libXt.$ac_extension"; then
22153         ac_find_libraries=$ac_dir
22154         break 2
22155       fi
22156     done
22157   done
22158
22159             x_libraries=$ac_find_libraries
22160         fi
22161     fi
22162 fi
22163
22164
22165 cat >confcache <<\_ACEOF
22166 # This file is a shell script that caches the results of configure
22167 # tests run on this system so they can be shared between configure
22168 # scripts and configure runs, see configure's option --config-cache.
22169 # It is not useful on other systems.  If it contains results you don't
22170 # want to keep, you may remove or edit it.
22171 #
22172 # config.status only pays attention to the cache file if you give it
22173 # the --recheck option to rerun configure.
22174 #
22175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22177 # following values.
22178
22179 _ACEOF
22180
22181 # The following way of writing the cache mishandles newlines in values,
22182 # but we know of no workaround that is simple, portable, and efficient.
22183 # So, we kill variables containing newlines.
22184 # Ultrix sh set writes to stderr and can't be redirected directly,
22185 # and sets the high bit in the cache file unless we assign to the vars.
22186 (
22187   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22188     eval ac_val=\$$ac_var
22189     case $ac_val in #(
22190     *${as_nl}*)
22191       case $ac_var in #(
22192       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22194       esac
22195       case $ac_var in #(
22196       _ | IFS | as_nl) ;; #(
22197       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22198       *) { eval $ac_var=; unset $ac_var;} ;;
22199       esac ;;
22200     esac
22201   done
22202
22203   (set) 2>&1 |
22204     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22205     *${as_nl}ac_space=\ *)
22206       # `set' does not quote correctly, so add quotes: double-quote
22207       # substitution turns \\\\ into \\, and sed turns \\ into \.
22208       sed -n \
22209         "s/'/'\\\\''/g;
22210           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22211       ;; #(
22212     *)
22213       # `set' quotes correctly as required by POSIX, so do not add quotes.
22214       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22215       ;;
22216     esac |
22217     sort
22218 ) |
22219   sed '
22220      /^ac_cv_env_/b end
22221      t clear
22222      :clear
22223      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22224      t end
22225      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22226      :end' >>confcache
22227 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22228   if test -w "$cache_file"; then
22229     if test "x$cache_file" != "x/dev/null"; then
22230       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22231 $as_echo "$as_me: updating cache $cache_file" >&6;}
22232       if test ! -f "$cache_file" || test -h "$cache_file"; then
22233         cat confcache >"$cache_file"
22234       else
22235         case $cache_file in #(
22236         */* | ?:*)
22237           mv -f confcache "$cache_file"$$ &&
22238           mv -f "$cache_file"$$ "$cache_file" ;; #(
22239         *)
22240           mv -f confcache "$cache_file" ;;
22241         esac
22242       fi
22243     fi
22244   else
22245     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22247   fi
22248 fi
22249 rm -f confcache
22250
22251 have_cos=0
22252 have_floor=0
22253 for ac_func in cos
22254 do :
22255   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22256 if test "x$ac_cv_func_cos" = xyes; then :
22257   cat >>confdefs.h <<_ACEOF
22258 #define HAVE_COS 1
22259 _ACEOF
22260  have_cos=1
22261 fi
22262 done
22263
22264 for ac_func in floor
22265 do :
22266   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22267 if test "x$ac_cv_func_floor" = xyes; then :
22268   cat >>confdefs.h <<_ACEOF
22269 #define HAVE_FLOOR 1
22270 _ACEOF
22271  have_floor=1
22272 fi
22273 done
22274
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22276 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22277 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22278     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22279 $as_echo "yes" >&6; }
22280 else
22281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22282 $as_echo "no" >&6; }
22283     LIBS="$LIBS -lm"
22284     # use different functions to avoid configure caching
22285     have_sin=0
22286     have_ceil=0
22287     for ac_func in sin
22288 do :
22289   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22290 if test "x$ac_cv_func_sin" = xyes; then :
22291   cat >>confdefs.h <<_ACEOF
22292 #define HAVE_SIN 1
22293 _ACEOF
22294  have_sin=1
22295 fi
22296 done
22297
22298     for ac_func in ceil
22299 do :
22300   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22301 if test "x$ac_cv_func_ceil" = xyes; then :
22302   cat >>confdefs.h <<_ACEOF
22303 #define HAVE_CEIL 1
22304 _ACEOF
22305  have_ceil=1
22306 fi
22307 done
22308
22309     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22310 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22311     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22313 $as_echo "yes" >&6; }
22314     else
22315         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22316 $as_echo "no" >&6; }
22317         # not sure we should warn the user, crash, etc.
22318     fi
22319 fi
22320
22321 ac_ext=cpp
22322 ac_cpp='$CXXCPP $CPPFLAGS'
22323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22326
22327 if test "wxUSE_UNICODE" = "yes"; then
22328
22329   for wx_func in wcstoull
22330   do
22331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22332 $as_echo_n "checking for $wx_func... " >&6; }
22333 if eval \${wx_cv_func_$wx_func+:} false; then :
22334   $as_echo_n "(cached) " >&6
22335 else
22336
22337         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h.  */
22339
22340
22341
22342                 $ac_includes_default
22343
22344 int
22345 main ()
22346 {
22347
22348                 #ifndef $wx_func
22349                   &$wx_func;
22350                 #endif
22351
22352
22353   ;
22354   return 0;
22355 }
22356
22357 _ACEOF
22358 if ac_fn_cxx_try_link "$LINENO"; then :
22359   eval wx_cv_func_$wx_func=yes
22360 else
22361   eval wx_cv_func_$wx_func=no
22362 fi
22363 rm -f core conftest.err conftest.$ac_objext \
22364     conftest$ac_exeext conftest.$ac_ext
22365
22366 fi
22367 eval ac_res=\$wx_cv_func_$wx_func
22368                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22369 $as_echo "$ac_res" >&6; }
22370
22371     if eval test \$wx_cv_func_$wx_func = yes
22372     then
22373       cat >>confdefs.h <<_ACEOF
22374 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22375 _ACEOF
22376
22377
22378     else
22379       :
22380
22381     fi
22382   done
22383
22384 else
22385
22386   for wx_func in strtoull
22387   do
22388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22389 $as_echo_n "checking for $wx_func... " >&6; }
22390 if eval \${wx_cv_func_$wx_func+:} false; then :
22391   $as_echo_n "(cached) " >&6
22392 else
22393
22394         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h.  */
22396
22397
22398
22399                 $ac_includes_default
22400
22401 int
22402 main ()
22403 {
22404
22405                 #ifndef $wx_func
22406                   &$wx_func;
22407                 #endif
22408
22409
22410   ;
22411   return 0;
22412 }
22413
22414 _ACEOF
22415 if ac_fn_cxx_try_link "$LINENO"; then :
22416   eval wx_cv_func_$wx_func=yes
22417 else
22418   eval wx_cv_func_$wx_func=no
22419 fi
22420 rm -f core conftest.err conftest.$ac_objext \
22421     conftest$ac_exeext conftest.$ac_ext
22422
22423 fi
22424 eval ac_res=\$wx_cv_func_$wx_func
22425                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22426 $as_echo "$ac_res" >&6; }
22427
22428     if eval test \$wx_cv_func_$wx_func = yes
22429     then
22430       cat >>confdefs.h <<_ACEOF
22431 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22432 _ACEOF
22433
22434
22435     else
22436       :
22437
22438     fi
22439   done
22440
22441 fi
22442 ac_ext=c
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447
22448
22449
22450
22451 if test "$wxUSE_REGEX" != "no"; then
22452     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22453
22454
22455     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22456         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22457 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22458         wxUSE_REGEX=builtin
22459     fi
22460
22461     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22462                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22463 "
22464 if test "x$ac_cv_header_regex_h" = xyes; then :
22465   for ac_func in regcomp re_search
22466 do :
22467   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22470   cat >>confdefs.h <<_ACEOF
22471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22472 _ACEOF
22473
22474 fi
22475 done
22476
22477 fi
22478
22479
22480
22481         if test "x$ac_cv_func_regcomp" != "xyes"; then
22482             if test "$wxUSE_REGEX" = "sys" ; then
22483                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22484             else
22485                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22486 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22487                 wxUSE_REGEX=builtin
22488             fi
22489         else
22490                         wxUSE_REGEX=sys
22491                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22492
22493         fi
22494     fi
22495 fi
22496
22497
22498 ZLIB_LINK=
22499 if test "$wxUSE_ZLIB" != "no" ; then
22500     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22501
22502
22503     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22504                                                 if test "$USE_DARWIN" = 1; then
22505             system_zlib_h_ok="yes"
22506         else
22507                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22508 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22509 if ${ac_cv_header_zlib_h+:} false; then :
22510   $as_echo_n "(cached) " >&6
22511 else
22512   if test "$cross_compiling" = yes; then :
22513                       unset ac_cv_header_zlib_h
22514
22515 else
22516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22517 /* end confdefs.h.  */
22518
22519                         #include <zlib.h>
22520                         #include <stdio.h>
22521
22522                         int main()
22523                         {
22524                             FILE *f=fopen("conftestval", "w");
22525                             if (!f) exit(1);
22526                             fprintf(f, "%s",
22527                                     ZLIB_VERSION[0] == '1' &&
22528                                     (ZLIB_VERSION[2] > '1' ||
22529                                     (ZLIB_VERSION[2] == '1' &&
22530                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22531                             exit(0);
22532                         }
22533
22534 _ACEOF
22535 if ac_fn_c_try_run "$LINENO"; then :
22536   ac_cv_header_zlib_h=`cat conftestval`
22537 else
22538   ac_cv_header_zlib_h=no
22539 fi
22540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22541   conftest.$ac_objext conftest.beam conftest.$ac_ext
22542 fi
22543
22544
22545 fi
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22547 $as_echo "$ac_cv_header_zlib_h" >&6; }
22548                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22549 "
22550 if test "x$ac_cv_header_zlib_h" = xyes; then :
22551
22552 fi
22553
22554
22555
22556             system_zlib_h_ok=$ac_cv_header_zlib_h
22557         fi
22558
22559         if test "$system_zlib_h_ok" = "yes"; then
22560             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22561 $as_echo_n "checking for deflate in -lz... " >&6; }
22562 if ${ac_cv_lib_z_deflate+:} false; then :
22563   $as_echo_n "(cached) " >&6
22564 else
22565   ac_check_lib_save_LIBS=$LIBS
22566 LIBS="-lz  $LIBS"
22567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h.  */
22569
22570 /* Override any GCC internal prototype to avoid an error.
22571    Use char because int might match the return type of a GCC
22572    builtin and then its argument prototype would still apply.  */
22573 #ifdef __cplusplus
22574 extern "C"
22575 #endif
22576 char deflate ();
22577 int
22578 main ()
22579 {
22580 return deflate ();
22581   ;
22582   return 0;
22583 }
22584 _ACEOF
22585 if ac_fn_c_try_link "$LINENO"; then :
22586   ac_cv_lib_z_deflate=yes
22587 else
22588   ac_cv_lib_z_deflate=no
22589 fi
22590 rm -f core conftest.err conftest.$ac_objext \
22591     conftest$ac_exeext conftest.$ac_ext
22592 LIBS=$ac_check_lib_save_LIBS
22593 fi
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22595 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22596 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22597   ZLIB_LINK=" -lz"
22598 fi
22599
22600         fi
22601
22602         if test "x$ZLIB_LINK" = "x" ; then
22603             if test "$wxUSE_ZLIB" = "sys" ; then
22604                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22605             else
22606                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22607 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22608                 wxUSE_ZLIB=builtin
22609             fi
22610         else
22611                         wxUSE_ZLIB=sys
22612         fi
22613     fi
22614 fi
22615
22616
22617 PNG_LINK=
22618 if test "$wxUSE_LIBPNG" != "no" ; then
22619     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22620
22621
22622             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22623         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22624 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22625         wxUSE_LIBPNG=builtin
22626     fi
22627
22628     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22629                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22630 $as_echo_n "checking for png.h > 0.90... " >&6; }
22631 if ${ac_cv_header_png_h+:} false; then :
22632   $as_echo_n "(cached) " >&6
22633 else
22634   if test "$cross_compiling" = yes; then :
22635                   unset ac_cv_header_png_h
22636
22637 else
22638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 /* end confdefs.h.  */
22640
22641                     #include <png.h>
22642                     #include <stdio.h>
22643
22644                     int main()
22645                     {
22646                         FILE *f=fopen("conftestval", "w");
22647                         if (!f) exit(1);
22648                         fprintf(f, "%s",
22649                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22650                         exit(0);
22651                     }
22652
22653 _ACEOF
22654 if ac_fn_c_try_run "$LINENO"; then :
22655   ac_cv_header_png_h=`cat conftestval`
22656 else
22657   ac_cv_header_png_h=no
22658 fi
22659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22660   conftest.$ac_objext conftest.beam conftest.$ac_ext
22661 fi
22662
22663
22664 fi
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22666 $as_echo "$ac_cv_header_png_h" >&6; }
22667         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22668 "
22669 if test "x$ac_cv_header_png_h" = xyes; then :
22670
22671 fi
22672
22673
22674
22675         if test "$ac_cv_header_png_h" = "yes"; then
22676             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22677 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22678 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22679   $as_echo_n "(cached) " >&6
22680 else
22681   ac_check_lib_save_LIBS=$LIBS
22682 LIBS="-lpng -lz -lm $LIBS"
22683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22684 /* end confdefs.h.  */
22685
22686 /* Override any GCC internal prototype to avoid an error.
22687    Use char because int might match the return type of a GCC
22688    builtin and then its argument prototype would still apply.  */
22689 #ifdef __cplusplus
22690 extern "C"
22691 #endif
22692 char png_sig_cmp ();
22693 int
22694 main ()
22695 {
22696 return png_sig_cmp ();
22697   ;
22698   return 0;
22699 }
22700 _ACEOF
22701 if ac_fn_c_try_link "$LINENO"; then :
22702   ac_cv_lib_png_png_sig_cmp=yes
22703 else
22704   ac_cv_lib_png_png_sig_cmp=no
22705 fi
22706 rm -f core conftest.err conftest.$ac_objext \
22707     conftest$ac_exeext conftest.$ac_ext
22708 LIBS=$ac_check_lib_save_LIBS
22709 fi
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22711 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22712 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22713   PNG_LINK=" -lpng -lz"
22714 fi
22715
22716         fi
22717
22718         if test "x$PNG_LINK" = "x" ; then
22719             if test "$wxUSE_LIBPNG" = "sys" ; then
22720                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22721             else
22722                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22723 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22724                 wxUSE_LIBPNG=builtin
22725             fi
22726         else
22727                         wxUSE_LIBPNG=sys
22728         fi
22729     fi
22730 fi
22731
22732
22733 JPEG_LINK=
22734 if test "$wxUSE_LIBJPEG" != "no" ; then
22735     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22736
22737
22738     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22739                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22740 $as_echo_n "checking for jpeglib.h... " >&6; }
22741         if ${ac_cv_header_jpeglib_h+:} false; then :
22742   $as_echo_n "(cached) " >&6
22743 else
22744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h.  */
22746
22747                     #undef HAVE_STDLIB_H
22748                     #include <stdio.h>
22749                     #include <jpeglib.h>
22750
22751 int
22752 main ()
22753 {
22754
22755
22756   ;
22757   return 0;
22758 }
22759 _ACEOF
22760 if ac_fn_c_try_compile "$LINENO"; then :
22761   ac_cv_header_jpeglib_h=yes
22762 else
22763   ac_cv_header_jpeglib_h=no
22764
22765 fi
22766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22767
22768 fi
22769
22770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22771 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22772
22773         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22774             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22775 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22776 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22777   $as_echo_n "(cached) " >&6
22778 else
22779   ac_check_lib_save_LIBS=$LIBS
22780 LIBS="-ljpeg  $LIBS"
22781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h.  */
22783
22784 /* Override any GCC internal prototype to avoid an error.
22785    Use char because int might match the return type of a GCC
22786    builtin and then its argument prototype would still apply.  */
22787 #ifdef __cplusplus
22788 extern "C"
22789 #endif
22790 char jpeg_read_header ();
22791 int
22792 main ()
22793 {
22794 return jpeg_read_header ();
22795   ;
22796   return 0;
22797 }
22798 _ACEOF
22799 if ac_fn_c_try_link "$LINENO"; then :
22800   ac_cv_lib_jpeg_jpeg_read_header=yes
22801 else
22802   ac_cv_lib_jpeg_jpeg_read_header=no
22803 fi
22804 rm -f core conftest.err conftest.$ac_objext \
22805     conftest$ac_exeext conftest.$ac_ext
22806 LIBS=$ac_check_lib_save_LIBS
22807 fi
22808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22809 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22810 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22811   JPEG_LINK=" -ljpeg"
22812 fi
22813
22814         fi
22815
22816         if test "x$JPEG_LINK" = "x" ; then
22817             if test "$wxUSE_LIBJPEG" = "sys" ; then
22818                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22819             else
22820                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22821 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22822                 wxUSE_LIBJPEG=builtin
22823             fi
22824         else
22825                         wxUSE_LIBJPEG=sys
22826
22827             if test "$wxUSE_MSW" = 1; then
22828                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22829 "
22830 if test "x$ac_cv_type_boolean" = xyes; then :
22831
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE_BOOLEAN 1
22834 _ACEOF
22835
22836
22837                         # The cast to long int works around a bug in the HP C Compiler
22838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22840 # This bug is HP SR number 8606223364.
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22842 $as_echo_n "checking size of boolean... " >&6; }
22843 if ${ac_cv_sizeof_boolean+:} false; then :
22844   $as_echo_n "(cached) " >&6
22845 else
22846   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22847                                 #undef HAVE_BOOLEAN
22848                                 #include <stdio.h>
22849                                 #include <jpeglib.h>
22850
22851 "; then :
22852
22853 else
22854   if test "$ac_cv_type_boolean" = yes; then
22855      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22857 as_fn_error 77 "cannot compute sizeof (boolean)
22858 See \`config.log' for more details" "$LINENO" 5; }
22859    else
22860      ac_cv_sizeof_boolean=0
22861    fi
22862 fi
22863
22864 fi
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22866 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22867
22868
22869
22870 cat >>confdefs.h <<_ACEOF
22871 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22872 _ACEOF
22873
22874
22875                         cat >>confdefs.h <<_ACEOF
22876 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22877 _ACEOF
22878
22879
22880 fi
22881
22882             fi
22883         fi
22884     fi
22885 fi
22886
22887
22888 TIFF_LINK=
22889 TIFF_PREREQ_LINKS=-lm
22890 if test "$wxUSE_LIBTIFF" != "no" ; then
22891     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22892
22893
22894     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22895                         if test "$wxUSE_LIBJPEG" = "sys"; then
22896             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22897         fi
22898         if test "$wxUSE_ZLIB" = "sys"; then
22899             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22900         fi
22901         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22902
22903 "
22904 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22905
22906                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22907 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22908 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22909   $as_echo_n "(cached) " >&6
22910 else
22911   ac_check_lib_save_LIBS=$LIBS
22912 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22914 /* end confdefs.h.  */
22915
22916 /* Override any GCC internal prototype to avoid an error.
22917    Use char because int might match the return type of a GCC
22918    builtin and then its argument prototype would still apply.  */
22919 #ifdef __cplusplus
22920 extern "C"
22921 #endif
22922 char TIFFError ();
22923 int
22924 main ()
22925 {
22926 return TIFFError ();
22927   ;
22928   return 0;
22929 }
22930 _ACEOF
22931 if ac_fn_c_try_link "$LINENO"; then :
22932   ac_cv_lib_tiff_TIFFError=yes
22933 else
22934   ac_cv_lib_tiff_TIFFError=no
22935 fi
22936 rm -f core conftest.err conftest.$ac_objext \
22937     conftest$ac_exeext conftest.$ac_ext
22938 LIBS=$ac_check_lib_save_LIBS
22939 fi
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22941 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22942 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22943   TIFF_LINK=" -ltiff"
22944 fi
22945
22946
22947 fi
22948
22949
22950
22951         if test "x$TIFF_LINK" = "x" ; then
22952             if test "$wxUSE_LIBTIFF" = "sys" ; then
22953                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22954             else
22955                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22956 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22957                 wxUSE_LIBTIFF=builtin
22958             fi
22959         else
22960                         wxUSE_LIBTIFF=sys
22961         fi
22962     fi
22963     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22964         if test "$wxUSE_LIBJPEG" = "no"; then
22965                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22966         fi
22967
22968         if test "$wxUSE_LIBLZMA" = "yes"; then
22969                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22970 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22971 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
22972   $as_echo_n "(cached) " >&6
22973 else
22974   ac_check_lib_save_LIBS=$LIBS
22975 LIBS="-llzma  $LIBS"
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h.  */
22978
22979 /* Override any GCC internal prototype to avoid an error.
22980    Use char because int might match the return type of a GCC
22981    builtin and then its argument prototype would still apply.  */
22982 #ifdef __cplusplus
22983 extern "C"
22984 #endif
22985 char lzma_code ();
22986 int
22987 main ()
22988 {
22989 return lzma_code ();
22990   ;
22991   return 0;
22992 }
22993 _ACEOF
22994 if ac_fn_c_try_link "$LINENO"; then :
22995   ac_cv_lib_lzma_lzma_code=yes
22996 else
22997   ac_cv_lib_lzma_lzma_code=no
22998 fi
22999 rm -f core conftest.err conftest.$ac_objext \
23000     conftest$ac_exeext conftest.$ac_ext
23001 LIBS=$ac_check_lib_save_LIBS
23002 fi
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23004 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23005 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
23006   LIBS="$LIBS -llzma"
23007 fi
23008
23009         else
23010                                     ac_configure_args="$ac_configure_args --disable-lzma"
23011         fi
23012
23013                 if test "$wxUSE_LIBJBIG" = "yes"; then
23014             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23015 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23016 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
23017   $as_echo_n "(cached) " >&6
23018 else
23019   ac_check_lib_save_LIBS=$LIBS
23020 LIBS="-ljbig  $LIBS"
23021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h.  */
23023
23024 /* Override any GCC internal prototype to avoid an error.
23025    Use char because int might match the return type of a GCC
23026    builtin and then its argument prototype would still apply.  */
23027 #ifdef __cplusplus
23028 extern "C"
23029 #endif
23030 char jbg_dec_init ();
23031 int
23032 main ()
23033 {
23034 return jbg_dec_init ();
23035   ;
23036   return 0;
23037 }
23038 _ACEOF
23039 if ac_fn_c_try_link "$LINENO"; then :
23040   ac_cv_lib_jbig_jbg_dec_init=yes
23041 else
23042   ac_cv_lib_jbig_jbg_dec_init=no
23043 fi
23044 rm -f core conftest.err conftest.$ac_objext \
23045     conftest$ac_exeext conftest.$ac_ext
23046 LIBS=$ac_check_lib_save_LIBS
23047 fi
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23049 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23050 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
23051   LIBS="$LIBS -ljbig"
23052 fi
23053
23054         else
23055             ac_configure_args="$ac_configure_args --disable-jbig"
23056         fi
23057
23058
23059
23060 subdirs="$subdirs src/tiff"
23061
23062     fi
23063 fi
23064
23065
23066 if test "$wxUSE_EXPAT" != "no"; then
23067     wxUSE_XML=yes
23068     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23069
23070     $as_echo "#define wxUSE_XML 1" >>confdefs.h
23071
23072
23073     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23074         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
23075 "
23076 if test "x$ac_cv_header_expat_h" = xyes; then :
23077   found_expat_h=1
23078 fi
23079
23080
23081         if test "x$found_expat_h" = "x1"; then
23082                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23083 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23084 if ${wx_cv_expat_is_not_broken+:} false; then :
23085   $as_echo_n "(cached) " >&6
23086 else
23087
23088                 ac_ext=cpp
23089 ac_cpp='$CXXCPP $CPPFLAGS'
23090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23093
23094                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h.  */
23096 #include <expat.h>
23097 int
23098 main ()
23099 {
23100
23101   ;
23102   return 0;
23103 }
23104 _ACEOF
23105 if ac_fn_cxx_try_compile "$LINENO"; then :
23106   wx_cv_expat_is_not_broken=yes
23107 else
23108   wx_cv_expat_is_not_broken=no
23109
23110 fi
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112                 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117
23118
23119
23120 fi
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23122 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23123             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23124                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23125 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23126 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
23127   $as_echo_n "(cached) " >&6
23128 else
23129   ac_check_lib_save_LIBS=$LIBS
23130 LIBS="-lexpat  $LIBS"
23131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23132 /* end confdefs.h.  */
23133
23134 /* Override any GCC internal prototype to avoid an error.
23135    Use char because int might match the return type of a GCC
23136    builtin and then its argument prototype would still apply.  */
23137 #ifdef __cplusplus
23138 extern "C"
23139 #endif
23140 char XML_ParserCreate ();
23141 int
23142 main ()
23143 {
23144 return XML_ParserCreate ();
23145   ;
23146   return 0;
23147 }
23148 _ACEOF
23149 if ac_fn_c_try_link "$LINENO"; then :
23150   ac_cv_lib_expat_XML_ParserCreate=yes
23151 else
23152   ac_cv_lib_expat_XML_ParserCreate=no
23153 fi
23154 rm -f core conftest.err conftest.$ac_objext \
23155     conftest$ac_exeext conftest.$ac_ext
23156 LIBS=$ac_check_lib_save_LIBS
23157 fi
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23159 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23160 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
23161   EXPAT_LINK=" -lexpat"
23162 fi
23163
23164             fi
23165         fi
23166         if test "x$EXPAT_LINK" = "x" ; then
23167             if test "$wxUSE_EXPAT" = "sys" ; then
23168                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23169             else
23170                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23171 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23172                 wxUSE_EXPAT=builtin
23173             fi
23174         else
23175                         wxUSE_EXPAT=sys
23176         fi
23177     fi
23178     if test "$wxUSE_EXPAT" = "builtin" ; then
23179                 subdirs="$subdirs src/expat"
23180
23181     fi
23182 fi
23183
23184
23185
23186 if test "$wxUSE_LIBMSPACK" != "no"; then
23187     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23188 "
23189 if test "x$ac_cv_header_mspack_h" = xyes; then :
23190   found_mspack_h=1
23191 fi
23192
23193
23194     if test "x$found_mspack_h" = "x1"; then
23195         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23196 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23197 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
23198   $as_echo_n "(cached) " >&6
23199 else
23200   ac_check_lib_save_LIBS=$LIBS
23201 LIBS="-lmspack  $LIBS"
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h.  */
23204
23205 /* Override any GCC internal prototype to avoid an error.
23206    Use char because int might match the return type of a GCC
23207    builtin and then its argument prototype would still apply.  */
23208 #ifdef __cplusplus
23209 extern "C"
23210 #endif
23211 char mspack_create_chm_decompressor ();
23212 int
23213 main ()
23214 {
23215 return mspack_create_chm_decompressor ();
23216   ;
23217   return 0;
23218 }
23219 _ACEOF
23220 if ac_fn_c_try_link "$LINENO"; then :
23221   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23222 else
23223   ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23224 fi
23225 rm -f core conftest.err conftest.$ac_objext \
23226     conftest$ac_exeext conftest.$ac_ext
23227 LIBS=$ac_check_lib_save_LIBS
23228 fi
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23230 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23231 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23232   MSPACK_LINK=" -lmspack"
23233 fi
23234
23235     fi
23236     if test "x$MSPACK_LINK" = "x" ; then
23237         wxUSE_LIBMSPACK=no
23238     fi
23239 fi
23240
23241 if test "$wxUSE_LIBMSPACK" != "no"; then
23242     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23243
23244 fi
23245
23246
23247
23248 TOOLKIT=
23249 TOOLKIT_INCLUDE=
23250 WIDGET_SET=
23251
23252 if test "$USE_WIN32" = 1 ; then
23253     for ac_header in w32api.h
23254 do :
23255   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23256 "
23257 if test "x$ac_cv_header_w32api_h" = xyes; then :
23258   cat >>confdefs.h <<_ACEOF
23259 #define HAVE_W32API_H 1
23260 _ACEOF
23261
23262 fi
23263
23264 done
23265
23266     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23267 "
23268 if test "x$ac_cv_header_windows_h" = xyes; then :
23269
23270 else
23271
23272         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23273
23274 fi
23275
23276
23277
23278     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23279     case "${host}" in
23280         x86_64-*-mingw32* )
23281                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23282         ;;
23283     esac
23284     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23285         LIBS="$LIBS -loleacc"
23286     fi
23287
23288     case "${host}" in
23289         *-*-cygwin* )
23290                         LIBS="$LIBS -lkernel32 -luser32"
23291     esac
23292
23293         WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23294 fi
23295
23296 if test "$wxUSE_GUI" = "yes"; then
23297     USE_GUI=1
23298
23299     GUI_TK_LIBRARY=
23300
23301     WXGTK1=
23302     WXGTK127=
23303     WXGTK2=
23304     WXGTK3=
23305     WXGPE=
23306
23307     if test "$wxUSE_OLD_COCOA" = 1 ; then
23308         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23309             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23310 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23311             wxUSE_PRINTING_ARCHITECTURE=no
23312         fi
23313         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23314             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23315 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23316             wxUSE_DRAG_AND_DROP=no
23317         fi
23318         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23319             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23320 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23321             wxUSE_DRAGIMAGE=no
23322         fi
23323     fi
23324
23325     if test "$wxUSE_MSW" = 1 ; then
23326         TOOLKIT=MSW
23327         GUIDIST=MSW_DIST
23328
23329                 case "${host}" in
23330             *-*-mingw32* )
23331                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23332         esac
23333     fi
23334
23335     if test "$wxUSE_GTK" = 1; then
23336                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23337 $as_echo_n "checking for GTK+ version... " >&6; }
23338
23339         gtk_version_cached=1
23340         if ${wx_cv_lib_gtk+:} false; then :
23341   $as_echo_n "(cached) " >&6
23342 else
23343
23344                                                 gtk_version_cached=0
23345                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23346 $as_echo "" >&6; }
23347
23348                                                 GTK_MODULES=
23349                 if test "$wxUSE_THREADS" = "yes"; then
23350                     GTK_MODULES=gthread
23351                 fi
23352
23353                 if test -z "$wxGTK_VERSION"; then
23354                     wxGTK_VERSION=any
23355                 fi
23356
23357                                 wx_cv_lib_gtk=
23358                 if test "x$wxGTK_VERSION" != "x1"
23359                 then
23360                                                                                 case "${host}" in
23361                         *-*-solaris2* )
23362                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23363                                 enable_gtktest=no
23364                             fi
23365                     esac
23366
23367                     if test "$wxGTK_VERSION" != 3; then
23368                         # Check whether --enable-gtktest was given.
23369 if test "${enable_gtktest+set}" = set; then :
23370   enableval=$enable_gtktest;
23371 else
23372   enable_gtktest=yes
23373 fi
23374
23375
23376   pkg_config_args=gtk+-2.0
23377   for module in . $GTK_MODULES
23378   do
23379       case "$module" in
23380          gthread)
23381              pkg_config_args="$pkg_config_args gthread-2.0"
23382          ;;
23383       esac
23384   done
23385
23386   no_gtk=""
23387
23388   # Extract the first word of "pkg-config", so it can be a program name with args.
23389 set dummy pkg-config; ac_word=$2
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23391 $as_echo_n "checking for $ac_word... " >&6; }
23392 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23393   $as_echo_n "(cached) " >&6
23394 else
23395   case $PKG_CONFIG in
23396   [\\/]* | ?:[\\/]*)
23397   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23398   ;;
23399   *)
23400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23401 for as_dir in $PATH
23402 do
23403   IFS=$as_save_IFS
23404   test -z "$as_dir" && as_dir=.
23405     for ac_exec_ext in '' $ac_executable_extensions; do
23406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23407     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23409     break 2
23410   fi
23411 done
23412   done
23413 IFS=$as_save_IFS
23414
23415   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23416   ;;
23417 esac
23418 fi
23419 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23420 if test -n "$PKG_CONFIG"; then
23421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23422 $as_echo "$PKG_CONFIG" >&6; }
23423 else
23424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23425 $as_echo "no" >&6; }
23426 fi
23427
23428
23429
23430   if test x$PKG_CONFIG != xno ; then
23431     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23432       :
23433     else
23434       echo "*** pkg-config too old; version 0.7 or better required."
23435       no_gtk=yes
23436       PKG_CONFIG=no
23437     fi
23438   else
23439     no_gtk=yes
23440   fi
23441
23442   min_gtk_version=2.6.0
23443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23444 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23445
23446   if test x$PKG_CONFIG != xno ; then
23447     ## don't try to run the test against uninstalled libtool libs
23448     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23449           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23450           enable_gtktest=no
23451     fi
23452
23453     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23454           :
23455     else
23456           no_gtk=yes
23457     fi
23458   fi
23459
23460   if test x"$no_gtk" = x ; then
23461     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23462     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23463     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23464            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23465     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23466            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23467     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23468            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23469     if test "x$enable_gtktest" = "xyes" ; then
23470       ac_save_CFLAGS="$CFLAGS"
23471       ac_save_LIBS="$LIBS"
23472       CFLAGS="$CFLAGS $GTK_CFLAGS"
23473       LIBS="$GTK_LIBS $LIBS"
23474       rm -f conf.gtktest
23475       if test "$cross_compiling" = yes; then :
23476   echo $ac_n "cross compiling; assumed OK... $ac_c"
23477 else
23478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23479 /* end confdefs.h.  */
23480
23481 #include <gtk/gtk.h>
23482 #include <stdio.h>
23483 #include <stdlib.h>
23484
23485 int
23486 main ()
23487 {
23488   int major, minor, micro;
23489   char *tmp_version;
23490
23491   system ("touch conf.gtktest");
23492
23493   /* HP/UX 9 (%@#!) writes to sscanf strings */
23494   tmp_version = g_strdup("$min_gtk_version");
23495   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23496      printf("%s, bad version string\n", "$min_gtk_version");
23497      exit(1);
23498    }
23499
23500   if ((gtk_major_version != $gtk_config_major_version) ||
23501       (gtk_minor_version != $gtk_config_minor_version) ||
23502       (gtk_micro_version != $gtk_config_micro_version))
23503     {
23504       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23505              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23506              gtk_major_version, gtk_minor_version, gtk_micro_version);
23507       printf ("*** was found! If pkg-config was correct, then it is best\n");
23508       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23509       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23510       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23511       printf("*** required on your system.\n");
23512       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23513       printf("*** to point to the correct configuration files\n");
23514     }
23515   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23516            (gtk_minor_version != GTK_MINOR_VERSION) ||
23517            (gtk_micro_version != GTK_MICRO_VERSION))
23518     {
23519       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23520              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23521       printf("*** library (version %d.%d.%d)\n",
23522              gtk_major_version, gtk_minor_version, gtk_micro_version);
23523     }
23524   else
23525     {
23526       if ((gtk_major_version > major) ||
23527         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23528         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23529       {
23530         return 0;
23531        }
23532      else
23533       {
23534         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23535                gtk_major_version, gtk_minor_version, gtk_micro_version);
23536         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23537                major, minor, micro);
23538         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23539         printf("***\n");
23540         printf("*** If you have already installed a sufficiently new version, this error\n");
23541         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23542         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23543         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23544         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23545         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23546         printf("*** so that the correct libraries are found at run-time))\n");
23547       }
23548     }
23549   return 1;
23550 }
23551
23552 _ACEOF
23553 if ac_fn_c_try_run "$LINENO"; then :
23554
23555 else
23556   no_gtk=yes
23557 fi
23558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23559   conftest.$ac_objext conftest.beam conftest.$ac_ext
23560 fi
23561
23562        CFLAGS="$ac_save_CFLAGS"
23563        LIBS="$ac_save_LIBS"
23564      fi
23565   fi
23566   if test "x$no_gtk" = x ; then
23567      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23568 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23569      wx_cv_lib_gtk=2.0
23570   else
23571      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23572 $as_echo "no" >&6; }
23573      if test "$PKG_CONFIG" = "no" ; then
23574        echo "*** A new enough version of pkg-config was not found."
23575        echo "*** See http://pkgconfig.sourceforge.net"
23576      else
23577        if test -f conf.gtktest ; then
23578         :
23579        else
23580           echo "*** Could not run GTK+ test program, checking why..."
23581           ac_save_CFLAGS="$CFLAGS"
23582           ac_save_LIBS="$LIBS"
23583           CFLAGS="$CFLAGS $GTK_CFLAGS"
23584           LIBS="$LIBS $GTK_LIBS"
23585           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23586 /* end confdefs.h.  */
23587
23588 #include <gtk/gtk.h>
23589 #include <stdio.h>
23590
23591 int
23592 main ()
23593 {
23594  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23595   ;
23596   return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_c_try_link "$LINENO"; then :
23600    echo "*** The test program compiled, but did not run. This usually means"
23601           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23602           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23603           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23604           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23605           echo "*** is required on your system"
23606           echo "***"
23607           echo "*** If you have an old version installed, it is best to remove it, although"
23608           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23609 else
23610    echo "*** The test program failed to compile or link. See the file config.log for the"
23611           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23612 fi
23613 rm -f core conftest.err conftest.$ac_objext \
23614     conftest$ac_exeext conftest.$ac_ext
23615           CFLAGS="$ac_save_CFLAGS"
23616           LIBS="$ac_save_LIBS"
23617        fi
23618      fi
23619      GTK_CFLAGS=""
23620      GTK_LIBS=""
23621      :
23622   fi
23623
23624
23625   rm -f conf.gtktest
23626
23627                     fi
23628                     if test -z "$wx_cv_lib_gtk"; then
23629                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23630                             # Check whether --enable-gtktest was given.
23631 if test "${enable_gtktest+set}" = set; then :
23632   enableval=$enable_gtktest;
23633 else
23634   enable_gtktest=yes
23635 fi
23636
23637
23638   pkg_gtk_version=gtk+-3.0
23639   pkg_config_args=$pkg_gtk_version
23640   for module in . $GTK_MODULES
23641   do
23642       case "$module" in
23643          gthread)
23644              pkg_gthread_version=gthread-2.0
23645              pkg_config_args="$pkg_config_args $pkg_gthread_version"
23646          ;;
23647       esac
23648   done
23649
23650   no_gtk=""
23651
23652   # Extract the first word of "pkg-config", so it can be a program name with args.
23653 set dummy pkg-config; ac_word=$2
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23655 $as_echo_n "checking for $ac_word... " >&6; }
23656 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23657   $as_echo_n "(cached) " >&6
23658 else
23659   case $PKG_CONFIG in
23660   [\\/]* | ?:[\\/]*)
23661   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23662   ;;
23663   *)
23664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23665 for as_dir in $PATH
23666 do
23667   IFS=$as_save_IFS
23668   test -z "$as_dir" && as_dir=.
23669     for ac_exec_ext in '' $ac_executable_extensions; do
23670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23671     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23673     break 2
23674   fi
23675 done
23676   done
23677 IFS=$as_save_IFS
23678
23679   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23680   ;;
23681 esac
23682 fi
23683 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23684 if test -n "$PKG_CONFIG"; then
23685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23686 $as_echo "$PKG_CONFIG" >&6; }
23687 else
23688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23689 $as_echo "no" >&6; }
23690 fi
23691
23692
23693
23694   if test x$PKG_CONFIG != xno ; then
23695     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23696       :
23697     else
23698       echo "*** pkg-config too old; version 0.7 or better required."
23699       no_gtk=yes
23700       PKG_CONFIG=no
23701     fi
23702   else
23703     no_gtk=yes
23704   fi
23705
23706   min_gtk_version=3.0.0
23707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23708 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23709
23710   if test x$PKG_CONFIG != xno ; then
23711     ## don't try to run the test against uninstalled libtool libs
23712     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23713           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23714           enable_gtktest=no
23715     fi
23716     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23717           :
23718     else
23719           no_gtk=yes
23720     fi
23721   fi
23722
23723   if test x"$no_gtk" = x ; then
23724     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23725     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23726     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23727            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23728     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23729            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23730     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23731            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23732     if test "x$enable_gtktest" = "xyes" ; then
23733       ac_save_CFLAGS="$CFLAGS"
23734       ac_save_LIBS="$LIBS"
23735       CFLAGS="$CFLAGS $GTK_CFLAGS"
23736       LIBS="$GTK_LIBS $LIBS"
23737       rm -f conf.gtktest
23738       if test "$cross_compiling" = yes; then :
23739   echo $ac_n "cross compiling; assumed OK... $ac_c"
23740 else
23741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23742 /* end confdefs.h.  */
23743
23744 #include <gtk/gtk.h>
23745 #include <stdio.h>
23746 #include <stdlib.h>
23747
23748 int
23749 main ()
23750 {
23751   int major, minor, micro;
23752   char *tmp_version;
23753
23754   fclose (fopen ("conf.gtktest", "w"));
23755
23756   /* HP/UX 9 (%@#!) writes to sscanf strings */
23757   tmp_version = g_strdup("$min_gtk_version");
23758   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23759      printf("%s, bad version string\n", "$min_gtk_version");
23760      exit(1);
23761    }
23762
23763   if ((gtk_major_version != $gtk_config_major_version) ||
23764       (gtk_minor_version != $gtk_config_minor_version) ||
23765       (gtk_micro_version != $gtk_config_micro_version))
23766     {
23767       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23768              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23769              gtk_major_version, gtk_minor_version, gtk_micro_version);
23770       printf ("*** was found! If pkg-config was correct, then it is best\n");
23771       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23772       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23773       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23774       printf("*** required on your system.\n");
23775       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23776       printf("*** to point to the correct configuration files\n");
23777     }
23778   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23779            (gtk_minor_version != GTK_MINOR_VERSION) ||
23780            (gtk_micro_version != GTK_MICRO_VERSION))
23781     {
23782       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23783              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23784       printf("*** library (version %d.%d.%d)\n",
23785              gtk_major_version, gtk_minor_version, gtk_micro_version);
23786     }
23787   else
23788     {
23789       if ((gtk_major_version > major) ||
23790         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23791         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23792       {
23793         return 0;
23794        }
23795      else
23796       {
23797         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23798                gtk_major_version, gtk_minor_version, gtk_micro_version);
23799         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23800                major, minor, micro);
23801         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23802         printf("***\n");
23803         printf("*** If you have already installed a sufficiently new version, this error\n");
23804         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23805         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23806         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23807         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23808         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23809         printf("*** so that the correct libraries are found at run-time))\n");
23810       }
23811     }
23812   return 1;
23813 }
23814
23815 _ACEOF
23816 if ac_fn_c_try_run "$LINENO"; then :
23817
23818 else
23819   no_gtk=yes
23820 fi
23821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23822   conftest.$ac_objext conftest.beam conftest.$ac_ext
23823 fi
23824
23825        CFLAGS="$ac_save_CFLAGS"
23826        LIBS="$ac_save_LIBS"
23827      fi
23828   fi
23829   if test "x$no_gtk" = x ; then
23830      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23831 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23832      wx_cv_lib_gtk=3
23833   else
23834      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23835 $as_echo "no" >&6; }
23836      if test "$PKG_CONFIG" = "no" ; then
23837        echo "*** A new enough version of pkg-config was not found."
23838        echo "*** See http://pkgconfig.sourceforge.net"
23839      else
23840        if test -f conf.gtktest ; then
23841         :
23842        else
23843           echo "*** Could not run GTK+ test program, checking why..."
23844           ac_save_CFLAGS="$CFLAGS"
23845           ac_save_LIBS="$LIBS"
23846           CFLAGS="$CFLAGS $GTK_CFLAGS"
23847           LIBS="$LIBS $GTK_LIBS"
23848           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h.  */
23850
23851 #include <gtk/gtk.h>
23852 #include <stdio.h>
23853
23854 int
23855 main ()
23856 {
23857  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23858   ;
23859   return 0;
23860 }
23861 _ACEOF
23862 if ac_fn_c_try_link "$LINENO"; then :
23863    echo "*** The test program compiled, but did not run. This usually means"
23864           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23865           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23866           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23867           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23868           echo "*** is required on your system"
23869           echo "***"
23870           echo "*** If you have an old version installed, it is best to remove it, although"
23871           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23872 else
23873    echo "*** The test program failed to compile or link. See the file config.log for the"
23874           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23875 fi
23876 rm -f core conftest.err conftest.$ac_objext \
23877     conftest$ac_exeext conftest.$ac_ext
23878           CFLAGS="$ac_save_CFLAGS"
23879           LIBS="$ac_save_LIBS"
23880        fi
23881      fi
23882      GTK_CFLAGS=""
23883      GTK_LIBS=""
23884      :
23885   fi
23886
23887
23888   rm -f conf.gtktest
23889
23890                         fi
23891                     fi
23892                 fi
23893
23894                                 if test -z "$wx_cv_lib_gtk"; then
23895                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23896
23897 # Check whether --with-gtk-prefix was given.
23898 if test "${with_gtk_prefix+set}" = set; then :
23899   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23900 else
23901   gtk_config_prefix=""
23902 fi
23903
23904
23905 # Check whether --with-gtk-exec-prefix was given.
23906 if test "${with_gtk_exec_prefix+set}" = set; then :
23907   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23908 else
23909   gtk_config_exec_prefix=""
23910 fi
23911
23912 # Check whether --enable-gtktest was given.
23913 if test "${enable_gtktest+set}" = set; then :
23914   enableval=$enable_gtktest;
23915 else
23916   enable_gtktest=yes
23917 fi
23918
23919
23920   for module in . $GTK_MODULES
23921   do
23922       case "$module" in
23923          gthread)
23924              gtk_config_args="$gtk_config_args gthread"
23925          ;;
23926       esac
23927   done
23928
23929   if test x$gtk_config_exec_prefix != x ; then
23930      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23931      if test x${GTK_CONFIG+set} != xset ; then
23932         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23933      fi
23934   fi
23935   if test x$gtk_config_prefix != x ; then
23936      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23937      if test x${GTK_CONFIG+set} != xset ; then
23938         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23939      fi
23940   fi
23941
23942   # Extract the first word of "gtk-config", so it can be a program name with args.
23943 set dummy gtk-config; ac_word=$2
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23945 $as_echo_n "checking for $ac_word... " >&6; }
23946 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23947   $as_echo_n "(cached) " >&6
23948 else
23949   case $GTK_CONFIG in
23950   [\\/]* | ?:[\\/]*)
23951   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23952   ;;
23953   *)
23954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23955 for as_dir in $PATH
23956 do
23957   IFS=$as_save_IFS
23958   test -z "$as_dir" && as_dir=.
23959     for ac_exec_ext in '' $ac_executable_extensions; do
23960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23961     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23963     break 2
23964   fi
23965 done
23966   done
23967 IFS=$as_save_IFS
23968
23969   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23970   ;;
23971 esac
23972 fi
23973 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23974 if test -n "$GTK_CONFIG"; then
23975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23976 $as_echo "$GTK_CONFIG" >&6; }
23977 else
23978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23979 $as_echo "no" >&6; }
23980 fi
23981
23982
23983   min_gtk_version=1.2.7
23984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23985 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23986   no_gtk=""
23987   if test "$GTK_CONFIG" = "no" ; then
23988     no_gtk=yes
23989   else
23990     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23991     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23992     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23993            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23994     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23995            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23996     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23997            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23998     if test "x$enable_gtktest" = "xyes" ; then
23999       ac_save_CFLAGS="$CFLAGS"
24000       ac_save_LIBS="$LIBS"
24001       CFLAGS="$CFLAGS $GTK_CFLAGS"
24002       LIBS="$GTK_LIBS $LIBS"
24003       rm -f conf.gtktest
24004       if test "$cross_compiling" = yes; then :
24005   echo $ac_n "cross compiling; assumed OK... $ac_c"
24006 else
24007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24008 /* end confdefs.h.  */
24009
24010 #include <gtk/gtk.h>
24011 #include <stdio.h>
24012 #include <stdlib.h>
24013
24014 int
24015 main ()
24016 {
24017   int major, minor, micro;
24018   char *tmp_version;
24019
24020   system ("touch conf.gtktest");
24021
24022   /* HP/UX 9 (%@#!) writes to sscanf strings */
24023   tmp_version = g_strdup("$min_gtk_version");
24024   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24025      printf("%s, bad version string\n", "$min_gtk_version");
24026      exit(1);
24027    }
24028
24029   if ((gtk_major_version != $gtk_config_major_version) ||
24030       (gtk_minor_version != $gtk_config_minor_version) ||
24031       (gtk_micro_version != $gtk_config_micro_version))
24032     {
24033       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24034              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24035              gtk_major_version, gtk_minor_version, gtk_micro_version);
24036       printf ("*** was found! If gtk-config was correct, then it is best\n");
24037       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24038       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24039       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24040       printf("*** required on your system.\n");
24041       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24042       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24043       printf("*** before re-running configure\n");
24044     }
24045 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24046   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24047            (gtk_minor_version != GTK_MINOR_VERSION) ||
24048            (gtk_micro_version != GTK_MICRO_VERSION))
24049     {
24050       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24051              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24052       printf("*** library (version %d.%d.%d)\n",
24053              gtk_major_version, gtk_minor_version, gtk_micro_version);
24054     }
24055 #endif /* defined (GTK_MAJOR_VERSION) ... */
24056   else
24057     {
24058       if ((gtk_major_version > major) ||
24059         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24060         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24061       {
24062         return 0;
24063        }
24064      else
24065       {
24066         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24067                gtk_major_version, gtk_minor_version, gtk_micro_version);
24068         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24069                major, minor, micro);
24070         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24071         printf("***\n");
24072         printf("*** If you have already installed a sufficiently new version, this error\n");
24073         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24074         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24075         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24076         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24077         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24078         printf("*** so that the correct libraries are found at run-time))\n");
24079       }
24080     }
24081   return 1;
24082 }
24083
24084 _ACEOF
24085 if ac_fn_c_try_run "$LINENO"; then :
24086
24087 else
24088   no_gtk=yes
24089 fi
24090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24091   conftest.$ac_objext conftest.beam conftest.$ac_ext
24092 fi
24093
24094        CFLAGS="$ac_save_CFLAGS"
24095        LIBS="$ac_save_LIBS"
24096      fi
24097   fi
24098   if test "x$no_gtk" = x ; then
24099      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24100 $as_echo "yes" >&6; }
24101      wx_cv_lib_gtk=1.2.7
24102   else
24103      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24104 $as_echo "no" >&6; }
24105      if test "$GTK_CONFIG" = "no" ; then
24106        echo "*** The gtk-config script installed by GTK could not be found"
24107        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24108        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24109        echo "*** full path to gtk-config."
24110      else
24111        if test -f conf.gtktest ; then
24112         :
24113        else
24114           echo "*** Could not run GTK test program, checking why..."
24115           CFLAGS="$CFLAGS $GTK_CFLAGS"
24116           LIBS="$LIBS $GTK_LIBS"
24117           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24118 /* end confdefs.h.  */
24119
24120 #include <gtk/gtk.h>
24121 #include <stdio.h>
24122
24123 int
24124 main ()
24125 {
24126  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24127   ;
24128   return 0;
24129 }
24130 _ACEOF
24131 if ac_fn_c_try_link "$LINENO"; then :
24132    echo "*** The test program compiled, but did not run. This usually means"
24133           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24134           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24135           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24136           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24137           echo "*** is required on your system"
24138           echo "***"
24139           echo "*** If you have an old version installed, it is best to remove it, although"
24140           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24141           echo "***"
24142           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24143           echo "*** came with the system with the command"
24144           echo "***"
24145           echo "***    rpm --erase --nodeps gtk gtk-devel"
24146 else
24147    echo "*** The test program failed to compile or link. See the file config.log for the"
24148           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24149           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24150           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24151 fi
24152 rm -f core conftest.err conftest.$ac_objext \
24153     conftest$ac_exeext conftest.$ac_ext
24154           CFLAGS="$ac_save_CFLAGS"
24155           LIBS="$ac_save_LIBS"
24156        fi
24157      fi
24158      GTK_CFLAGS=""
24159      GTK_LIBS=""
24160      :
24161   fi
24162
24163
24164   rm -f conf.gtktest
24165
24166
24167                         if test -z "$wx_cv_lib_gtk"; then
24168
24169 # Check whether --with-gtk-prefix was given.
24170 if test "${with_gtk_prefix+set}" = set; then :
24171   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
24172 else
24173   gtk_config_prefix=""
24174 fi
24175
24176
24177 # Check whether --with-gtk-exec-prefix was given.
24178 if test "${with_gtk_exec_prefix+set}" = set; then :
24179   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
24180 else
24181   gtk_config_exec_prefix=""
24182 fi
24183
24184 # Check whether --enable-gtktest was given.
24185 if test "${enable_gtktest+set}" = set; then :
24186   enableval=$enable_gtktest;
24187 else
24188   enable_gtktest=yes
24189 fi
24190
24191
24192   for module in . $GTK_MODULES
24193   do
24194       case "$module" in
24195          gthread)
24196              gtk_config_args="$gtk_config_args gthread"
24197          ;;
24198       esac
24199   done
24200
24201   if test x$gtk_config_exec_prefix != x ; then
24202      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24203      if test x${GTK_CONFIG+set} != xset ; then
24204         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24205      fi
24206   fi
24207   if test x$gtk_config_prefix != x ; then
24208      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24209      if test x${GTK_CONFIG+set} != xset ; then
24210         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24211      fi
24212   fi
24213
24214   # Extract the first word of "gtk-config", so it can be a program name with args.
24215 set dummy gtk-config; ac_word=$2
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24217 $as_echo_n "checking for $ac_word... " >&6; }
24218 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24219   $as_echo_n "(cached) " >&6
24220 else
24221   case $GTK_CONFIG in
24222   [\\/]* | ?:[\\/]*)
24223   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24224   ;;
24225   *)
24226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24227 for as_dir in $PATH
24228 do
24229   IFS=$as_save_IFS
24230   test -z "$as_dir" && as_dir=.
24231     for ac_exec_ext in '' $ac_executable_extensions; do
24232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24233     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24235     break 2
24236   fi
24237 done
24238   done
24239 IFS=$as_save_IFS
24240
24241   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24242   ;;
24243 esac
24244 fi
24245 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24246 if test -n "$GTK_CONFIG"; then
24247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24248 $as_echo "$GTK_CONFIG" >&6; }
24249 else
24250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24251 $as_echo "no" >&6; }
24252 fi
24253
24254
24255   min_gtk_version=1.2.3
24256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24257 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24258   no_gtk=""
24259   if test "$GTK_CONFIG" = "no" ; then
24260     no_gtk=yes
24261   else
24262     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24263     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24264     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24265            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24266     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24267            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24268     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24269            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24270     if test "x$enable_gtktest" = "xyes" ; then
24271       ac_save_CFLAGS="$CFLAGS"
24272       ac_save_LIBS="$LIBS"
24273       CFLAGS="$CFLAGS $GTK_CFLAGS"
24274       LIBS="$GTK_LIBS $LIBS"
24275       rm -f conf.gtktest
24276       if test "$cross_compiling" = yes; then :
24277   echo $ac_n "cross compiling; assumed OK... $ac_c"
24278 else
24279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24280 /* end confdefs.h.  */
24281
24282 #include <gtk/gtk.h>
24283 #include <stdio.h>
24284 #include <stdlib.h>
24285
24286 int
24287 main ()
24288 {
24289   int major, minor, micro;
24290   char *tmp_version;
24291
24292   system ("touch conf.gtktest");
24293
24294   /* HP/UX 9 (%@#!) writes to sscanf strings */
24295   tmp_version = g_strdup("$min_gtk_version");
24296   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24297      printf("%s, bad version string\n", "$min_gtk_version");
24298      exit(1);
24299    }
24300
24301   if ((gtk_major_version != $gtk_config_major_version) ||
24302       (gtk_minor_version != $gtk_config_minor_version) ||
24303       (gtk_micro_version != $gtk_config_micro_version))
24304     {
24305       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24306              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24307              gtk_major_version, gtk_minor_version, gtk_micro_version);
24308       printf ("*** was found! If gtk-config was correct, then it is best\n");
24309       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24310       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24311       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24312       printf("*** required on your system.\n");
24313       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24314       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24315       printf("*** before re-running configure\n");
24316     }
24317 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24318   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24319            (gtk_minor_version != GTK_MINOR_VERSION) ||
24320            (gtk_micro_version != GTK_MICRO_VERSION))
24321     {
24322       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24323              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24324       printf("*** library (version %d.%d.%d)\n",
24325              gtk_major_version, gtk_minor_version, gtk_micro_version);
24326     }
24327 #endif /* defined (GTK_MAJOR_VERSION) ... */
24328   else
24329     {
24330       if ((gtk_major_version > major) ||
24331         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24332         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24333       {
24334         return 0;
24335        }
24336      else
24337       {
24338         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24339                gtk_major_version, gtk_minor_version, gtk_micro_version);
24340         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24341                major, minor, micro);
24342         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24343         printf("***\n");
24344         printf("*** If you have already installed a sufficiently new version, this error\n");
24345         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24346         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24347         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24348         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24349         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24350         printf("*** so that the correct libraries are found at run-time))\n");
24351       }
24352     }
24353   return 1;
24354 }
24355
24356 _ACEOF
24357 if ac_fn_c_try_run "$LINENO"; then :
24358
24359 else
24360   no_gtk=yes
24361 fi
24362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24363   conftest.$ac_objext conftest.beam conftest.$ac_ext
24364 fi
24365
24366        CFLAGS="$ac_save_CFLAGS"
24367        LIBS="$ac_save_LIBS"
24368      fi
24369   fi
24370   if test "x$no_gtk" = x ; then
24371      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24372 $as_echo "yes" >&6; }
24373      wx_cv_lib_gtk=1.2.3
24374   else
24375      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24376 $as_echo "no" >&6; }
24377      if test "$GTK_CONFIG" = "no" ; then
24378        echo "*** The gtk-config script installed by GTK could not be found"
24379        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24380        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24381        echo "*** full path to gtk-config."
24382      else
24383        if test -f conf.gtktest ; then
24384         :
24385        else
24386           echo "*** Could not run GTK test program, checking why..."
24387           CFLAGS="$CFLAGS $GTK_CFLAGS"
24388           LIBS="$LIBS $GTK_LIBS"
24389           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h.  */
24391
24392 #include <gtk/gtk.h>
24393 #include <stdio.h>
24394
24395 int
24396 main ()
24397 {
24398  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24399   ;
24400   return 0;
24401 }
24402 _ACEOF
24403 if ac_fn_c_try_link "$LINENO"; then :
24404    echo "*** The test program compiled, but did not run. This usually means"
24405           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24406           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24407           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24408           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24409           echo "*** is required on your system"
24410           echo "***"
24411           echo "*** If you have an old version installed, it is best to remove it, although"
24412           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24413           echo "***"
24414           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24415           echo "*** came with the system with the command"
24416           echo "***"
24417           echo "***    rpm --erase --nodeps gtk gtk-devel"
24418 else
24419    echo "*** The test program failed to compile or link. See the file config.log for the"
24420           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24421           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24422           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24423 fi
24424 rm -f core conftest.err conftest.$ac_objext \
24425     conftest$ac_exeext conftest.$ac_ext
24426           CFLAGS="$ac_save_CFLAGS"
24427           LIBS="$ac_save_LIBS"
24428        fi
24429      fi
24430      GTK_CFLAGS=""
24431      GTK_LIBS=""
24432      :
24433   fi
24434
24435
24436   rm -f conf.gtktest
24437
24438                         fi
24439                     fi
24440                 fi
24441
24442                 if test -z "$wx_cv_lib_gtk"; then
24443                                         wx_cv_lib_gtk=none
24444                 else
24445                                         GTK_LIBS="$GTK_LIBS -lX11"
24446
24447                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24448                     wx_cv_libs_gtk=$GTK_LIBS
24449                 fi
24450
24451
24452 fi
24453
24454
24455                         if test "$gtk_version_cached" = 1; then
24456             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24457 $as_echo "$wx_cv_lib_gtk" >&6; }
24458         fi
24459
24460         case "$wx_cv_lib_gtk" in
24461             3)      WXGTK3=1
24462                     TOOLKIT_VERSION=3
24463                     ;;
24464             2.0)    WXGTK2=1
24465                     TOOLKIT_VERSION=2
24466                     ;;
24467             1.2.7)  WXGTK127=1
24468                     WXGTK1=1
24469                     ;;
24470             1.2*)   WXGTK1=1 ;;
24471             *)      as_fn_error $? "
24472 The development files for GTK+ were not found. For GTK+ 2, please
24473 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24474 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24475 and that the version is 1.2.3 or above. Also check that the
24476 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24477 --libs' are in the LD_LIBRARY_PATH or equivalent.
24478                             " "$LINENO" 5
24479                     ;;
24480         esac
24481
24482         if test "$WXGTK3" = 1; then
24483             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24484
24485             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24486
24487         elif test "$WXGTK2" = 1; then
24488             save_CFLAGS="$CFLAGS"
24489             save_LIBS="$LIBS"
24490             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24491             LIBS="$LIBS $wx_cv_libs_gtk"
24492
24493                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24494 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24495             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24496 /* end confdefs.h.  */
24497
24498                             #include <gtk/gtk.h>
24499
24500 int
24501 main ()
24502 {
24503
24504                             #if !GTK_CHECK_VERSION(2,18,0)
24505                             Not GTK+ 2.18
24506                             #endif
24507
24508   ;
24509   return 0;
24510 }
24511 _ACEOF
24512 if ac_fn_c_try_compile "$LINENO"; then :
24513
24514                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24515
24516                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24517
24518                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24519 $as_echo "yes" >&6; }
24520                             ac_wxgtk218=1
24521
24522 else
24523
24524                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24525 $as_echo "no" >&6; }
24526                             ac_wxgtk218=0
24527
24528 fi
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530
24531             if test "$ac_wxgtk218" = 0; then
24532                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24533 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24534                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h.  */
24536
24537                                 #include <gtk/gtk.h>
24538
24539 int
24540 main ()
24541 {
24542
24543                                 #if !GTK_CHECK_VERSION(2,10,0)
24544                                 Not GTK+ 2.10
24545                                 #endif
24546
24547   ;
24548   return 0;
24549 }
24550 _ACEOF
24551 if ac_fn_c_try_compile "$LINENO"; then :
24552
24553                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24554
24555                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24556 $as_echo "yes" >&6; }
24557                                 ac_wxgtk210=1
24558
24559 else
24560
24561                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24562 $as_echo "no" >&6; }
24563                                 ac_wxgtk210=0
24564
24565 fi
24566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24567             fi
24568
24569             CFLAGS="$save_CFLAGS"
24570             LIBS="$save_LIBS"
24571         else
24572             if test "$wxUSE_UNICODE" = "yes"; then
24573                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24574 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24575                 wxUSE_UNICODE=no
24576             fi
24577
24578                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24579 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24580 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24581   $as_echo_n "(cached) " >&6
24582 else
24583   ac_check_lib_save_LIBS=$LIBS
24584 LIBS="-lgdk  $LIBS"
24585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24586 /* end confdefs.h.  */
24587
24588 /* Override any GCC internal prototype to avoid an error.
24589    Use char because int might match the return type of a GCC
24590    builtin and then its argument prototype would still apply.  */
24591 #ifdef __cplusplus
24592 extern "C"
24593 #endif
24594 char gdk_im_open ();
24595 int
24596 main ()
24597 {
24598 return gdk_im_open ();
24599   ;
24600   return 0;
24601 }
24602 _ACEOF
24603 if ac_fn_c_try_link "$LINENO"; then :
24604   ac_cv_lib_gdk_gdk_im_open=yes
24605 else
24606   ac_cv_lib_gdk_gdk_im_open=no
24607 fi
24608 rm -f core conftest.err conftest.$ac_objext \
24609     conftest$ac_exeext conftest.$ac_ext
24610 LIBS=$ac_check_lib_save_LIBS
24611 fi
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24613 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24614 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24615   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24616
24617 fi
24618
24619
24620                                     if test "$USE_DARWIN" != 1; then
24621                 for ac_func in poll
24622 do :
24623   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24624 if test "x$ac_cv_func_poll" = xyes; then :
24625   cat >>confdefs.h <<_ACEOF
24626 #define HAVE_POLL 1
24627 _ACEOF
24628
24629 fi
24630 done
24631
24632             fi
24633         fi
24634
24635         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24636         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24637         TOOLKIT=GTK
24638         GUIDIST=GTK_DIST
24639
24640                 if test "$wxUSE_GPE" = "yes"; then
24641             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24642 $as_echo_n "checking for gpewidget library... " >&6; }
24643
24644   ac_find_libraries=
24645   for ac_dir in  $SEARCH_LIB
24646   do
24647     for ac_extension in a so sl dylib dll.a; do
24648       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24649         ac_find_libraries=$ac_dir
24650         break 2
24651       fi
24652     done
24653   done
24654
24655             if test "$ac_find_libraries" != "" ; then
24656
24657     if test "$ac_find_libraries" = "default location"; then
24658     ac_path_to_link=""
24659   else
24660     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24661     result=$?
24662     if test $result = 0; then
24663       ac_path_to_link=""
24664     else
24665       ac_path_to_link=" -L$ac_find_libraries"
24666     fi
24667   fi
24668
24669                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24670                 WXGPE=1
24671                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24672 $as_echo "found in $ac_find_libraries" >&6; }
24673             else
24674                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24675 $as_echo "not found" >&6; }
24676             fi
24677
24678                                                                                                                     fi
24679     fi
24680
24681     if test "$wxUSE_DFB" = 1; then
24682
24683
24684 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24685         if test -n "$ac_tool_prefix"; then
24686   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24687 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24689 $as_echo_n "checking for $ac_word... " >&6; }
24690 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24691   $as_echo_n "(cached) " >&6
24692 else
24693   case $PKG_CONFIG in
24694   [\\/]* | ?:[\\/]*)
24695   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24696   ;;
24697   *)
24698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24699 for as_dir in $PATH
24700 do
24701   IFS=$as_save_IFS
24702   test -z "$as_dir" && as_dir=.
24703     for ac_exec_ext in '' $ac_executable_extensions; do
24704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24705     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24707     break 2
24708   fi
24709 done
24710   done
24711 IFS=$as_save_IFS
24712
24713   ;;
24714 esac
24715 fi
24716 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24717 if test -n "$PKG_CONFIG"; then
24718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24719 $as_echo "$PKG_CONFIG" >&6; }
24720 else
24721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24722 $as_echo "no" >&6; }
24723 fi
24724
24725
24726 fi
24727 if test -z "$ac_cv_path_PKG_CONFIG"; then
24728   ac_pt_PKG_CONFIG=$PKG_CONFIG
24729   # Extract the first word of "pkg-config", so it can be a program name with args.
24730 set dummy pkg-config; ac_word=$2
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24732 $as_echo_n "checking for $ac_word... " >&6; }
24733 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24734   $as_echo_n "(cached) " >&6
24735 else
24736   case $ac_pt_PKG_CONFIG in
24737   [\\/]* | ?:[\\/]*)
24738   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24739   ;;
24740   *)
24741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24742 for as_dir in $PATH
24743 do
24744   IFS=$as_save_IFS
24745   test -z "$as_dir" && as_dir=.
24746     for ac_exec_ext in '' $ac_executable_extensions; do
24747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24748     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24750     break 2
24751   fi
24752 done
24753   done
24754 IFS=$as_save_IFS
24755
24756   ;;
24757 esac
24758 fi
24759 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24760 if test -n "$ac_pt_PKG_CONFIG"; then
24761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24762 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24763 else
24764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24765 $as_echo "no" >&6; }
24766 fi
24767
24768   if test "x$ac_pt_PKG_CONFIG" = x; then
24769     PKG_CONFIG=""
24770   else
24771     case $cross_compiling:$ac_tool_warned in
24772 yes:)
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24775 ac_tool_warned=yes ;;
24776 esac
24777     PKG_CONFIG=$ac_pt_PKG_CONFIG
24778   fi
24779 else
24780   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24781 fi
24782
24783 fi
24784 if test -n "$PKG_CONFIG"; then
24785         _pkg_min_version=0.9.0
24786         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24787 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24788         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24789                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24790 $as_echo "yes" >&6; }
24791         else
24792                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24793 $as_echo "no" >&6; }
24794                 PKG_CONFIG=""
24795         fi
24796
24797 fi
24798
24799
24800 pkg_failed=no
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24802 $as_echo_n "checking for DIRECTFB... " >&6; }
24803
24804 if test -n "$PKG_CONFIG"; then
24805     if test -n "$DIRECTFB_CFLAGS"; then
24806         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24807     else
24808         if test -n "$PKG_CONFIG" && \
24809     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24810   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24811   ac_status=$?
24812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24813   test $ac_status = 0; }; then
24814   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24815 else
24816   pkg_failed=yes
24817 fi
24818     fi
24819 else
24820         pkg_failed=untried
24821 fi
24822 if test -n "$PKG_CONFIG"; then
24823     if test -n "$DIRECTFB_LIBS"; then
24824         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24825     else
24826         if test -n "$PKG_CONFIG" && \
24827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24828   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24829   ac_status=$?
24830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24831   test $ac_status = 0; }; then
24832   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24833 else
24834   pkg_failed=yes
24835 fi
24836     fi
24837 else
24838         pkg_failed=untried
24839 fi
24840
24841
24842
24843 if test $pkg_failed = yes; then
24844
24845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24846         _pkg_short_errors_supported=yes
24847 else
24848         _pkg_short_errors_supported=no
24849 fi
24850         if test $_pkg_short_errors_supported = yes; then
24851                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24852         else
24853                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24854         fi
24855         # Put the nasty error message in config.log where it belongs
24856         echo "$DIRECTFB_PKG_ERRORS" >&5
24857
24858
24859                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24860
24861
24862 elif test $pkg_failed = untried; then
24863
24864                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24865
24866
24867 else
24868         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24869         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24871 $as_echo "yes" >&6; }
24872
24873                            wxUSE_UNIVERSAL="yes"
24874                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24875                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24876                            TOOLKIT=DFB
24877                            GUIDIST=DFB_DIST
24878
24879 fi
24880     fi
24881
24882     if test "$wxUSE_MICROWIN" = 1; then
24883         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24884 $as_echo_n "checking for MicroWindows... " >&6; }
24885         if test "x$MICROWINDOWS" = x ; then
24886             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24887 $as_echo "not found" >&6; }
24888             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24889         else
24890             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24891 $as_echo "$MICROWINDOWS" >&6; }
24892         fi
24893
24894         if test -f $MICROWINDOWS/lib/libmwin.a; then
24895             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24896 $as_echo "MicroWindows' libraries found." >&6; }
24897         else
24898             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24899         fi
24900
24901         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24902         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24903
24904         wxUSE_UNIVERSAL="yes"
24905
24906         TOOLKIT=MICROWIN
24907         GUIDIST=MICROWIN_DIST
24908
24909         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24910     fi
24911
24912         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24913                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24914 $as_echo_n "checking for X... " >&6; }
24915
24916
24917 # Check whether --with-x was given.
24918 if test "${with_x+set}" = set; then :
24919   withval=$with_x;
24920 fi
24921
24922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24923 if test "x$with_x" = xno; then
24924   # The user explicitly disabled X.
24925   have_x=disabled
24926 else
24927   case $x_includes,$x_libraries in #(
24928     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24929     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24930   $as_echo_n "(cached) " >&6
24931 else
24932   # One or both of the vars are not set, and there is no cached value.
24933 ac_x_includes=no ac_x_libraries=no
24934 rm -f -r conftest.dir
24935 if mkdir conftest.dir; then
24936   cd conftest.dir
24937   cat >Imakefile <<'_ACEOF'
24938 incroot:
24939         @echo incroot='${INCROOT}'
24940 usrlibdir:
24941         @echo usrlibdir='${USRLIBDIR}'
24942 libdir:
24943         @echo libdir='${LIBDIR}'
24944 _ACEOF
24945   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24946     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24947     for ac_var in incroot usrlibdir libdir; do
24948       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24949     done
24950     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24951     for ac_extension in a so sl dylib la dll; do
24952       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24953          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24954         ac_im_usrlibdir=$ac_im_libdir; break
24955       fi
24956     done
24957     # Screen out bogus values from the imake configuration.  They are
24958     # bogus both because they are the default anyway, and because
24959     # using them would break gcc on systems where it needs fixed includes.
24960     case $ac_im_incroot in
24961         /usr/include) ac_x_includes= ;;
24962         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24963     esac
24964     case $ac_im_usrlibdir in
24965         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24966         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24967     esac
24968   fi
24969   cd ..
24970   rm -f -r conftest.dir
24971 fi
24972
24973 # Standard set of common directories for X headers.
24974 # Check X11 before X11Rn because it is often a symlink to the current release.
24975 ac_x_header_dirs='
24976 /usr/X11/include
24977 /usr/X11R7/include
24978 /usr/X11R6/include
24979 /usr/X11R5/include
24980 /usr/X11R4/include
24981
24982 /usr/include/X11
24983 /usr/include/X11R7
24984 /usr/include/X11R6
24985 /usr/include/X11R5
24986 /usr/include/X11R4
24987
24988 /usr/local/X11/include
24989 /usr/local/X11R7/include
24990 /usr/local/X11R6/include
24991 /usr/local/X11R5/include
24992 /usr/local/X11R4/include
24993
24994 /usr/local/include/X11
24995 /usr/local/include/X11R7
24996 /usr/local/include/X11R6
24997 /usr/local/include/X11R5
24998 /usr/local/include/X11R4
24999
25000 /usr/X386/include
25001 /usr/x386/include
25002 /usr/XFree86/include/X11
25003
25004 /usr/include
25005 /usr/local/include
25006 /usr/unsupported/include
25007 /usr/athena/include
25008 /usr/local/x11r5/include
25009 /usr/lpp/Xamples/include
25010
25011 /usr/openwin/include
25012 /usr/openwin/share/include'
25013
25014 if test "$ac_x_includes" = no; then
25015   # Guess where to find include files, by looking for Xlib.h.
25016   # First, try using that file with no special directory specified.
25017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25018 /* end confdefs.h.  */
25019 #include <X11/Xlib.h>
25020 _ACEOF
25021 if ac_fn_c_try_cpp "$LINENO"; then :
25022   # We can compile using X headers with no special include directory.
25023 ac_x_includes=
25024 else
25025   for ac_dir in $ac_x_header_dirs; do
25026   if test -r "$ac_dir/X11/Xlib.h"; then
25027     ac_x_includes=$ac_dir
25028     break
25029   fi
25030 done
25031 fi
25032 rm -f conftest.err conftest.i conftest.$ac_ext
25033 fi # $ac_x_includes = no
25034
25035 if test "$ac_x_libraries" = no; then
25036   # Check for the libraries.
25037   # See if we find them without any special options.
25038   # Don't add to $LIBS permanently.
25039   ac_save_LIBS=$LIBS
25040   LIBS="-lX11 $LIBS"
25041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h.  */
25043 #include <X11/Xlib.h>
25044 int
25045 main ()
25046 {
25047 XrmInitialize ()
25048   ;
25049   return 0;
25050 }
25051 _ACEOF
25052 if ac_fn_c_try_link "$LINENO"; then :
25053   LIBS=$ac_save_LIBS
25054 # We can link X programs with no special library path.
25055 ac_x_libraries=
25056 else
25057   LIBS=$ac_save_LIBS
25058 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25059 do
25060   # Don't even attempt the hair of trying to link an X program!
25061   for ac_extension in a so sl dylib la dll; do
25062     if test -r "$ac_dir/libX11.$ac_extension"; then
25063       ac_x_libraries=$ac_dir
25064       break 2
25065     fi
25066   done
25067 done
25068 fi
25069 rm -f core conftest.err conftest.$ac_objext \
25070     conftest$ac_exeext conftest.$ac_ext
25071 fi # $ac_x_libraries = no
25072
25073 case $ac_x_includes,$ac_x_libraries in #(
25074   no,* | *,no | *\'*)
25075     # Didn't find X, or a directory has "'" in its name.
25076     ac_cv_have_x="have_x=no";; #(
25077   *)
25078     # Record where we found X for the cache.
25079     ac_cv_have_x="have_x=yes\
25080         ac_x_includes='$ac_x_includes'\
25081         ac_x_libraries='$ac_x_libraries'"
25082 esac
25083 fi
25084 ;; #(
25085     *) have_x=yes;;
25086   esac
25087   eval "$ac_cv_have_x"
25088 fi # $with_x != no
25089
25090 if test "$have_x" != yes; then
25091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25092 $as_echo "$have_x" >&6; }
25093   no_x=yes
25094 else
25095   # If each of the values was on the command line, it overrides each guess.
25096   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25097   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25098   # Update the cache value to reflect the command line values.
25099   ac_cv_have_x="have_x=yes\
25100         ac_x_includes='$x_includes'\
25101         ac_x_libraries='$x_libraries'"
25102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25103 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25104 fi
25105
25106 if test "$no_x" = yes; then
25107   # Not all programs may use this symbol, but it does not hurt to define it.
25108
25109 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25110
25111   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25112 else
25113   if test -n "$x_includes"; then
25114     X_CFLAGS="$X_CFLAGS -I$x_includes"
25115   fi
25116
25117   # It would also be nice to do this for all -L options, not just this one.
25118   if test -n "$x_libraries"; then
25119     X_LIBS="$X_LIBS -L$x_libraries"
25120     # For Solaris; some versions of Sun CC require a space after -R and
25121     # others require no space.  Words are not sufficient . . . .
25122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25123 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25124     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25125     ac_xsave_c_werror_flag=$ac_c_werror_flag
25126     ac_c_werror_flag=yes
25127     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h.  */
25129
25130 int
25131 main ()
25132 {
25133
25134   ;
25135   return 0;
25136 }
25137 _ACEOF
25138 if ac_fn_c_try_link "$LINENO"; then :
25139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25140 $as_echo "no" >&6; }
25141        X_LIBS="$X_LIBS -R$x_libraries"
25142 else
25143   LIBS="$ac_xsave_LIBS -R $x_libraries"
25144        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h.  */
25146
25147 int
25148 main ()
25149 {
25150
25151   ;
25152   return 0;
25153 }
25154 _ACEOF
25155 if ac_fn_c_try_link "$LINENO"; then :
25156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25157 $as_echo "yes" >&6; }
25158           X_LIBS="$X_LIBS -R $x_libraries"
25159 else
25160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25161 $as_echo "neither works" >&6; }
25162 fi
25163 rm -f core conftest.err conftest.$ac_objext \
25164     conftest$ac_exeext conftest.$ac_ext
25165 fi
25166 rm -f core conftest.err conftest.$ac_objext \
25167     conftest$ac_exeext conftest.$ac_ext
25168     ac_c_werror_flag=$ac_xsave_c_werror_flag
25169     LIBS=$ac_xsave_LIBS
25170   fi
25171
25172   # Check for system-dependent libraries X programs must link with.
25173   # Do this before checking for the system-independent R6 libraries
25174   # (-lICE), since we may need -lsocket or whatever for X linking.
25175
25176   if test "$ISC" = yes; then
25177     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25178   else
25179     # Martyn Johnson says this is needed for Ultrix, if the X
25180     # libraries were built with DECnet support.  And Karl Berry says
25181     # the Alpha needs dnet_stub (dnet does not exist).
25182     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25183     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h.  */
25185
25186 /* Override any GCC internal prototype to avoid an error.
25187    Use char because int might match the return type of a GCC
25188    builtin and then its argument prototype would still apply.  */
25189 #ifdef __cplusplus
25190 extern "C"
25191 #endif
25192 char XOpenDisplay ();
25193 int
25194 main ()
25195 {
25196 return XOpenDisplay ();
25197   ;
25198   return 0;
25199 }
25200 _ACEOF
25201 if ac_fn_c_try_link "$LINENO"; then :
25202
25203 else
25204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25205 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25206 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25207   $as_echo_n "(cached) " >&6
25208 else
25209   ac_check_lib_save_LIBS=$LIBS
25210 LIBS="-ldnet  $LIBS"
25211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25212 /* end confdefs.h.  */
25213
25214 /* Override any GCC internal prototype to avoid an error.
25215    Use char because int might match the return type of a GCC
25216    builtin and then its argument prototype would still apply.  */
25217 #ifdef __cplusplus
25218 extern "C"
25219 #endif
25220 char dnet_ntoa ();
25221 int
25222 main ()
25223 {
25224 return dnet_ntoa ();
25225   ;
25226   return 0;
25227 }
25228 _ACEOF
25229 if ac_fn_c_try_link "$LINENO"; then :
25230   ac_cv_lib_dnet_dnet_ntoa=yes
25231 else
25232   ac_cv_lib_dnet_dnet_ntoa=no
25233 fi
25234 rm -f core conftest.err conftest.$ac_objext \
25235     conftest$ac_exeext conftest.$ac_ext
25236 LIBS=$ac_check_lib_save_LIBS
25237 fi
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25239 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25240 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25241   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25242 fi
25243
25244     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25245       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25246 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25247 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25248   $as_echo_n "(cached) " >&6
25249 else
25250   ac_check_lib_save_LIBS=$LIBS
25251 LIBS="-ldnet_stub  $LIBS"
25252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25253 /* end confdefs.h.  */
25254
25255 /* Override any GCC internal prototype to avoid an error.
25256    Use char because int might match the return type of a GCC
25257    builtin and then its argument prototype would still apply.  */
25258 #ifdef __cplusplus
25259 extern "C"
25260 #endif
25261 char dnet_ntoa ();
25262 int
25263 main ()
25264 {
25265 return dnet_ntoa ();
25266   ;
25267   return 0;
25268 }
25269 _ACEOF
25270 if ac_fn_c_try_link "$LINENO"; then :
25271   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25272 else
25273   ac_cv_lib_dnet_stub_dnet_ntoa=no
25274 fi
25275 rm -f core conftest.err conftest.$ac_objext \
25276     conftest$ac_exeext conftest.$ac_ext
25277 LIBS=$ac_check_lib_save_LIBS
25278 fi
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25280 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25281 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25282   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25283 fi
25284
25285     fi
25286 fi
25287 rm -f core conftest.err conftest.$ac_objext \
25288     conftest$ac_exeext conftest.$ac_ext
25289     LIBS="$ac_xsave_LIBS"
25290
25291     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25292     # to get the SysV transport functions.
25293     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25294     # needs -lnsl.
25295     # The nsl library prevents programs from opening the X display
25296     # on Irix 5.2, according to T.E. Dickey.
25297     # The functions gethostbyname, getservbyname, and inet_addr are
25298     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25299     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25300 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25301
25302 fi
25303
25304     if test $ac_cv_func_gethostbyname = no; then
25305       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25306 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25307 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25308   $as_echo_n "(cached) " >&6
25309 else
25310   ac_check_lib_save_LIBS=$LIBS
25311 LIBS="-lnsl  $LIBS"
25312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h.  */
25314
25315 /* Override any GCC internal prototype to avoid an error.
25316    Use char because int might match the return type of a GCC
25317    builtin and then its argument prototype would still apply.  */
25318 #ifdef __cplusplus
25319 extern "C"
25320 #endif
25321 char gethostbyname ();
25322 int
25323 main ()
25324 {
25325 return gethostbyname ();
25326   ;
25327   return 0;
25328 }
25329 _ACEOF
25330 if ac_fn_c_try_link "$LINENO"; then :
25331   ac_cv_lib_nsl_gethostbyname=yes
25332 else
25333   ac_cv_lib_nsl_gethostbyname=no
25334 fi
25335 rm -f core conftest.err conftest.$ac_objext \
25336     conftest$ac_exeext conftest.$ac_ext
25337 LIBS=$ac_check_lib_save_LIBS
25338 fi
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25340 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25341 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25342   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25343 fi
25344
25345       if test $ac_cv_lib_nsl_gethostbyname = no; then
25346         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25347 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25348 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25349   $as_echo_n "(cached) " >&6
25350 else
25351   ac_check_lib_save_LIBS=$LIBS
25352 LIBS="-lbsd  $LIBS"
25353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h.  */
25355
25356 /* Override any GCC internal prototype to avoid an error.
25357    Use char because int might match the return type of a GCC
25358    builtin and then its argument prototype would still apply.  */
25359 #ifdef __cplusplus
25360 extern "C"
25361 #endif
25362 char gethostbyname ();
25363 int
25364 main ()
25365 {
25366 return gethostbyname ();
25367   ;
25368   return 0;
25369 }
25370 _ACEOF
25371 if ac_fn_c_try_link "$LINENO"; then :
25372   ac_cv_lib_bsd_gethostbyname=yes
25373 else
25374   ac_cv_lib_bsd_gethostbyname=no
25375 fi
25376 rm -f core conftest.err conftest.$ac_objext \
25377     conftest$ac_exeext conftest.$ac_ext
25378 LIBS=$ac_check_lib_save_LIBS
25379 fi
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25381 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25382 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25383   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25384 fi
25385
25386       fi
25387     fi
25388
25389     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25390     # socket/setsockopt and other routines are undefined under SCO ODT
25391     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25392     # on later versions), says Simon Leinen: it contains gethostby*
25393     # variants that don't use the name server (or something).  -lsocket
25394     # must be given before -lnsl if both are needed.  We assume that
25395     # if connect needs -lnsl, so does gethostbyname.
25396     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25397 if test "x$ac_cv_func_connect" = xyes; then :
25398
25399 fi
25400
25401     if test $ac_cv_func_connect = no; then
25402       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25403 $as_echo_n "checking for connect in -lsocket... " >&6; }
25404 if ${ac_cv_lib_socket_connect+:} false; then :
25405   $as_echo_n "(cached) " >&6
25406 else
25407   ac_check_lib_save_LIBS=$LIBS
25408 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h.  */
25411
25412 /* Override any GCC internal prototype to avoid an error.
25413    Use char because int might match the return type of a GCC
25414    builtin and then its argument prototype would still apply.  */
25415 #ifdef __cplusplus
25416 extern "C"
25417 #endif
25418 char connect ();
25419 int
25420 main ()
25421 {
25422 return connect ();
25423   ;
25424   return 0;
25425 }
25426 _ACEOF
25427 if ac_fn_c_try_link "$LINENO"; then :
25428   ac_cv_lib_socket_connect=yes
25429 else
25430   ac_cv_lib_socket_connect=no
25431 fi
25432 rm -f core conftest.err conftest.$ac_objext \
25433     conftest$ac_exeext conftest.$ac_ext
25434 LIBS=$ac_check_lib_save_LIBS
25435 fi
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25437 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25438 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25439   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25440 fi
25441
25442     fi
25443
25444     # Guillermo Gomez says -lposix is necessary on A/UX.
25445     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25446 if test "x$ac_cv_func_remove" = xyes; then :
25447
25448 fi
25449
25450     if test $ac_cv_func_remove = no; then
25451       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25452 $as_echo_n "checking for remove in -lposix... " >&6; }
25453 if ${ac_cv_lib_posix_remove+:} false; then :
25454   $as_echo_n "(cached) " >&6
25455 else
25456   ac_check_lib_save_LIBS=$LIBS
25457 LIBS="-lposix  $LIBS"
25458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25459 /* end confdefs.h.  */
25460
25461 /* Override any GCC internal prototype to avoid an error.
25462    Use char because int might match the return type of a GCC
25463    builtin and then its argument prototype would still apply.  */
25464 #ifdef __cplusplus
25465 extern "C"
25466 #endif
25467 char remove ();
25468 int
25469 main ()
25470 {
25471 return remove ();
25472   ;
25473   return 0;
25474 }
25475 _ACEOF
25476 if ac_fn_c_try_link "$LINENO"; then :
25477   ac_cv_lib_posix_remove=yes
25478 else
25479   ac_cv_lib_posix_remove=no
25480 fi
25481 rm -f core conftest.err conftest.$ac_objext \
25482     conftest$ac_exeext conftest.$ac_ext
25483 LIBS=$ac_check_lib_save_LIBS
25484 fi
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25486 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25487 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25488   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25489 fi
25490
25491     fi
25492
25493     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25494     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25495 if test "x$ac_cv_func_shmat" = xyes; then :
25496
25497 fi
25498
25499     if test $ac_cv_func_shmat = no; then
25500       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25501 $as_echo_n "checking for shmat in -lipc... " >&6; }
25502 if ${ac_cv_lib_ipc_shmat+:} false; then :
25503   $as_echo_n "(cached) " >&6
25504 else
25505   ac_check_lib_save_LIBS=$LIBS
25506 LIBS="-lipc  $LIBS"
25507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25508 /* end confdefs.h.  */
25509
25510 /* Override any GCC internal prototype to avoid an error.
25511    Use char because int might match the return type of a GCC
25512    builtin and then its argument prototype would still apply.  */
25513 #ifdef __cplusplus
25514 extern "C"
25515 #endif
25516 char shmat ();
25517 int
25518 main ()
25519 {
25520 return shmat ();
25521   ;
25522   return 0;
25523 }
25524 _ACEOF
25525 if ac_fn_c_try_link "$LINENO"; then :
25526   ac_cv_lib_ipc_shmat=yes
25527 else
25528   ac_cv_lib_ipc_shmat=no
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext \
25531     conftest$ac_exeext conftest.$ac_ext
25532 LIBS=$ac_check_lib_save_LIBS
25533 fi
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25535 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25536 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25537   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25538 fi
25539
25540     fi
25541   fi
25542
25543   # Check for libraries that X11R6 Xt/Xaw programs need.
25544   ac_save_LDFLAGS=$LDFLAGS
25545   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25546   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25547   # check for ICE first), but we must link in the order -lSM -lICE or
25548   # we get undefined symbols.  So assume we have SM if we have ICE.
25549   # These have to be linked with before -lX11, unlike the other
25550   # libraries we check for below, so use a different variable.
25551   # John Interrante, Karl Berry
25552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25553 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25554 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25555   $as_echo_n "(cached) " >&6
25556 else
25557   ac_check_lib_save_LIBS=$LIBS
25558 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h.  */
25561
25562 /* Override any GCC internal prototype to avoid an error.
25563    Use char because int might match the return type of a GCC
25564    builtin and then its argument prototype would still apply.  */
25565 #ifdef __cplusplus
25566 extern "C"
25567 #endif
25568 char IceConnectionNumber ();
25569 int
25570 main ()
25571 {
25572 return IceConnectionNumber ();
25573   ;
25574   return 0;
25575 }
25576 _ACEOF
25577 if ac_fn_c_try_link "$LINENO"; then :
25578   ac_cv_lib_ICE_IceConnectionNumber=yes
25579 else
25580   ac_cv_lib_ICE_IceConnectionNumber=no
25581 fi
25582 rm -f core conftest.err conftest.$ac_objext \
25583     conftest$ac_exeext conftest.$ac_ext
25584 LIBS=$ac_check_lib_save_LIBS
25585 fi
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25587 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25588 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25589   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25590 fi
25591
25592   LDFLAGS=$ac_save_LDFLAGS
25593
25594 fi
25595
25596
25597         if test "$no_x" = "yes"; then
25598           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25599         fi
25600
25601                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25602         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25603         COMPILED_X_PROGRAM=0
25604
25605     fi
25606
25607     if test "$wxUSE_X11" = 1; then
25608         if test "$wxUSE_NANOX" = "yes"; then
25609             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25610 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25611             if test "x$MICROWIN" = x ; then
25612                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25613 $as_echo "not found" >&6; }
25614                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25615             else
25616                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25617 $as_echo "$MICROWIN" >&6; }
25618                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25619
25620             fi
25621         fi
25622
25623         if test "$wxUSE_UNICODE" = "yes"; then
25624
25625
25626 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25627         if test -n "$ac_tool_prefix"; then
25628   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25629 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25631 $as_echo_n "checking for $ac_word... " >&6; }
25632 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25633   $as_echo_n "(cached) " >&6
25634 else
25635   case $PKG_CONFIG in
25636   [\\/]* | ?:[\\/]*)
25637   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25638   ;;
25639   *)
25640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25641 for as_dir in $PATH
25642 do
25643   IFS=$as_save_IFS
25644   test -z "$as_dir" && as_dir=.
25645     for ac_exec_ext in '' $ac_executable_extensions; do
25646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25647     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25649     break 2
25650   fi
25651 done
25652   done
25653 IFS=$as_save_IFS
25654
25655   ;;
25656 esac
25657 fi
25658 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25659 if test -n "$PKG_CONFIG"; then
25660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25661 $as_echo "$PKG_CONFIG" >&6; }
25662 else
25663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25664 $as_echo "no" >&6; }
25665 fi
25666
25667
25668 fi
25669 if test -z "$ac_cv_path_PKG_CONFIG"; then
25670   ac_pt_PKG_CONFIG=$PKG_CONFIG
25671   # Extract the first word of "pkg-config", so it can be a program name with args.
25672 set dummy pkg-config; ac_word=$2
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25674 $as_echo_n "checking for $ac_word... " >&6; }
25675 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25676   $as_echo_n "(cached) " >&6
25677 else
25678   case $ac_pt_PKG_CONFIG in
25679   [\\/]* | ?:[\\/]*)
25680   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25681   ;;
25682   *)
25683   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25684 for as_dir in $PATH
25685 do
25686   IFS=$as_save_IFS
25687   test -z "$as_dir" && as_dir=.
25688     for ac_exec_ext in '' $ac_executable_extensions; do
25689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25690     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25692     break 2
25693   fi
25694 done
25695   done
25696 IFS=$as_save_IFS
25697
25698   ;;
25699 esac
25700 fi
25701 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25702 if test -n "$ac_pt_PKG_CONFIG"; then
25703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25704 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25705 else
25706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25707 $as_echo "no" >&6; }
25708 fi
25709
25710   if test "x$ac_pt_PKG_CONFIG" = x; then
25711     PKG_CONFIG=""
25712   else
25713     case $cross_compiling:$ac_tool_warned in
25714 yes:)
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25717 ac_tool_warned=yes ;;
25718 esac
25719     PKG_CONFIG=$ac_pt_PKG_CONFIG
25720   fi
25721 else
25722   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25723 fi
25724
25725 fi
25726 if test -n "$PKG_CONFIG"; then
25727         _pkg_min_version=0.9.0
25728         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25729 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25730         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25731                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25732 $as_echo "yes" >&6; }
25733         else
25734                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25735 $as_echo "no" >&6; }
25736                 PKG_CONFIG=""
25737         fi
25738
25739 fi
25740
25741
25742 pkg_failed=no
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25744 $as_echo_n "checking for PANGOX... " >&6; }
25745
25746 if test -n "$PKG_CONFIG"; then
25747     if test -n "$PANGOX_CFLAGS"; then
25748         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25749     else
25750         if test -n "$PKG_CONFIG" && \
25751     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25752   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25753   ac_status=$?
25754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25755   test $ac_status = 0; }; then
25756   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25757 else
25758   pkg_failed=yes
25759 fi
25760     fi
25761 else
25762         pkg_failed=untried
25763 fi
25764 if test -n "$PKG_CONFIG"; then
25765     if test -n "$PANGOX_LIBS"; then
25766         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25767     else
25768         if test -n "$PKG_CONFIG" && \
25769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25770   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25771   ac_status=$?
25772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25773   test $ac_status = 0; }; then
25774   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25775 else
25776   pkg_failed=yes
25777 fi
25778     fi
25779 else
25780         pkg_failed=untried
25781 fi
25782
25783
25784
25785 if test $pkg_failed = yes; then
25786
25787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25788         _pkg_short_errors_supported=yes
25789 else
25790         _pkg_short_errors_supported=no
25791 fi
25792         if test $_pkg_short_errors_supported = yes; then
25793                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25794         else
25795                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25796         fi
25797         # Put the nasty error message in config.log where it belongs
25798         echo "$PANGOX_PKG_ERRORS" >&5
25799
25800
25801                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25802
25803
25804 elif test $pkg_failed = untried; then
25805
25806                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25807
25808
25809 else
25810         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25811         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25813 $as_echo "yes" >&6; }
25814
25815                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25816                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25817                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25818
25819 fi
25820
25821 pkg_failed=no
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25823 $as_echo_n "checking for PANGOFT2... " >&6; }
25824
25825 if test -n "$PKG_CONFIG"; then
25826     if test -n "$PANGOFT2_CFLAGS"; then
25827         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25828     else
25829         if test -n "$PKG_CONFIG" && \
25830     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25831   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25832   ac_status=$?
25833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25834   test $ac_status = 0; }; then
25835   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25836 else
25837   pkg_failed=yes
25838 fi
25839     fi
25840 else
25841         pkg_failed=untried
25842 fi
25843 if test -n "$PKG_CONFIG"; then
25844     if test -n "$PANGOFT2_LIBS"; then
25845         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25846     else
25847         if test -n "$PKG_CONFIG" && \
25848     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25849   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25850   ac_status=$?
25851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25852   test $ac_status = 0; }; then
25853   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25854 else
25855   pkg_failed=yes
25856 fi
25857     fi
25858 else
25859         pkg_failed=untried
25860 fi
25861
25862
25863
25864 if test $pkg_failed = yes; then
25865
25866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25867         _pkg_short_errors_supported=yes
25868 else
25869         _pkg_short_errors_supported=no
25870 fi
25871         if test $_pkg_short_errors_supported = yes; then
25872                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25873         else
25874                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25875         fi
25876         # Put the nasty error message in config.log where it belongs
25877         echo "$PANGOFT2_PKG_ERRORS" >&5
25878
25879
25880                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25881 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25882                     wxUSE_PRINTING_ARCHITECTURE="no"
25883
25884
25885 elif test $pkg_failed = untried; then
25886
25887                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25888 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25889                     wxUSE_PRINTING_ARCHITECTURE="no"
25890
25891
25892 else
25893         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25894         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25896 $as_echo "yes" >&6; }
25897
25898                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25899                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25900                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25901
25902 fi
25903
25904 pkg_failed=no
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25906 $as_echo_n "checking for PANGOXFT... " >&6; }
25907
25908 if test -n "$PKG_CONFIG"; then
25909     if test -n "$PANGOXFT_CFLAGS"; then
25910         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25911     else
25912         if test -n "$PKG_CONFIG" && \
25913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25914   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25915   ac_status=$?
25916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25917   test $ac_status = 0; }; then
25918   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25919 else
25920   pkg_failed=yes
25921 fi
25922     fi
25923 else
25924         pkg_failed=untried
25925 fi
25926 if test -n "$PKG_CONFIG"; then
25927     if test -n "$PANGOXFT_LIBS"; then
25928         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25929     else
25930         if test -n "$PKG_CONFIG" && \
25931     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25932   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25933   ac_status=$?
25934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25935   test $ac_status = 0; }; then
25936   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25937 else
25938   pkg_failed=yes
25939 fi
25940     fi
25941 else
25942         pkg_failed=untried
25943 fi
25944
25945
25946
25947 if test $pkg_failed = yes; then
25948
25949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25950         _pkg_short_errors_supported=yes
25951 else
25952         _pkg_short_errors_supported=no
25953 fi
25954         if test $_pkg_short_errors_supported = yes; then
25955                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25956         else
25957                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25958         fi
25959         # Put the nasty error message in config.log where it belongs
25960         echo "$PANGOXFT_PKG_ERRORS" >&5
25961
25962
25963                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25964 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25965
25966
25967 elif test $pkg_failed = untried; then
25968
25969                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25970 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25971
25972
25973 else
25974         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25975         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25976         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25977 $as_echo "yes" >&6; }
25978
25979                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25980
25981                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25982                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25983                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25984
25985 fi
25986             save_LIBS="$LIBS"
25987             LIBS="$LIBS $PANGOX_LIBS"
25988             for ac_func in pango_font_family_is_monospace
25989 do :
25990   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25991 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25992   cat >>confdefs.h <<_ACEOF
25993 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25994 _ACEOF
25995
25996 fi
25997 done
25998
25999             LIBS="$save_LIBS"
26000         fi
26001
26002         wxUSE_UNIVERSAL="yes"
26003
26004         if test "$wxUSE_NANOX" = "yes"; then
26005             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26006             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"
26007             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26008         else
26009             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26010         fi
26011
26012         TOOLKIT=X11
26013         GUIDIST=X11_DIST
26014     fi
26015
26016     if test "$wxUSE_MOTIF" = 1; then
26017         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26018 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26019
26020 ac_find_includes=
26021 for ac_dir in $SEARCH_INCLUDE /usr/include
26022   do
26023     if test -f "$ac_dir/Xm/Xm.h"; then
26024       ac_find_includes=$ac_dir
26025       break
26026     fi
26027   done
26028
26029         if test "$ac_find_includes" != "" ; then
26030             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26031 $as_echo "found in $ac_find_includes" >&6; }
26032
26033     if test "x$ac_find_includes" = "x/usr/include"; then
26034     ac_path_to_include=""
26035   else
26036     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26037     result=$?
26038     if test $result = 0; then
26039       ac_path_to_include=""
26040     else
26041       ac_path_to_include=" -I$ac_find_includes"
26042     fi
26043   fi
26044
26045             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26046         else
26047             save_CFLAGS=$CFLAGS
26048             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26049
26050             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h.  */
26052
26053                     #include <Xm/Xm.h>
26054
26055 int
26056 main ()
26057 {
26058
26059                     int version;
26060                     version = xmUseVersion;
26061
26062   ;
26063   return 0;
26064 }
26065 _ACEOF
26066 if ac_fn_c_try_compile "$LINENO"; then :
26067
26068                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26069 $as_echo "found in default search path" >&6; }
26070                     COMPILED_X_PROGRAM=1
26071
26072 else
26073
26074                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26075 $as_echo "no" >&6; }
26076                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26077
26078
26079 fi
26080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26081
26082             CFLAGS=$save_CFLAGS
26083         fi
26084
26085
26086         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26087 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26088
26089   ac_find_libraries=
26090   for ac_dir in  $SEARCH_LIB
26091   do
26092     for ac_extension in a so sl dylib dll.a; do
26093       if test -f "$ac_dir/libXm.$ac_extension"; then
26094         ac_find_libraries=$ac_dir
26095         break 2
26096       fi
26097     done
26098   done
26099
26100
26101         if test "x$ac_find_libraries" != "x" ; then
26102             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26103 $as_echo "found in $ac_find_libraries" >&6; }
26104
26105
26106     if test "$ac_find_libraries" = "default location"; then
26107     ac_path_to_link=""
26108   else
26109     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26110     result=$?
26111     if test $result = 0; then
26112       ac_path_to_link=""
26113     else
26114       ac_path_to_link=" -L$ac_find_libraries"
26115     fi
26116   fi
26117
26118             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26119         else
26120                                                 save_CFLAGS=$CFLAGS
26121             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26122             save_LIBS="$LIBS"
26123             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26124
26125             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26126 /* end confdefs.h.  */
26127
26128                     #include <Xm/Xm.h>
26129
26130 int
26131 main ()
26132 {
26133
26134                     int version;
26135                     version = xmUseVersion;
26136
26137   ;
26138   return 0;
26139 }
26140 _ACEOF
26141 if ac_fn_c_try_link "$LINENO"; then :
26142
26143                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26144 $as_echo "found in default search path" >&6; }
26145                     COMPILED_X_PROGRAM=1
26146
26147 else
26148
26149                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26150 $as_echo "no" >&6; }
26151                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26152
26153
26154 fi
26155 rm -f core conftest.err conftest.$ac_objext \
26156     conftest$ac_exeext conftest.$ac_ext
26157
26158             CFLAGS=$save_CFLAGS
26159             LIBS="$save_LIBS"
26160         fi
26161
26162         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26163 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26164         libp_link=""
26165         libsm_ice_link=""
26166         libs_found=0
26167         for libp in "" " -lXp"; do
26168             if test "$libs_found" = 0; then
26169                 for libsm_ice in "" " -lSM -lICE"; do
26170                     if test "$libs_found" = 0; then
26171                         save_LIBS="$LIBS"
26172                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26173                         save_CFLAGS=$CFLAGS
26174                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26175
26176                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26177 /* end confdefs.h.  */
26178
26179                                 #include <Xm/Xm.h>
26180                                 #include <Xm/List.h>
26181
26182 int
26183 main ()
26184 {
26185
26186                                 XmString string = NULL;
26187                                 Widget w = NULL;
26188                                 int position = 0;
26189                                 XmListAddItem(w, string, position);
26190
26191   ;
26192   return 0;
26193 }
26194 _ACEOF
26195 if ac_fn_c_try_link "$LINENO"; then :
26196
26197                                 libp_link="$libp"
26198                                 libsm_ice_link="$libsm_ice"
26199                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26200 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26201                                 libs_found=1
26202
26203 fi
26204 rm -f core conftest.err conftest.$ac_objext \
26205     conftest$ac_exeext conftest.$ac_ext
26206
26207                         LIBS="$save_LIBS"
26208                         CFLAGS=$save_CFLAGS
26209                     fi
26210                 done
26211             fi
26212         done
26213
26214         if test "$libs_found" = 0; then
26215             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26216 $as_echo "can't find the right libraries" >&6; }
26217             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26218         fi
26219
26220                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26221 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26222 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26223   $as_echo_n "(cached) " >&6
26224 else
26225   ac_check_lib_save_LIBS=$LIBS
26226 LIBS="-lSgm  $LIBS"
26227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h.  */
26229
26230 /* Override any GCC internal prototype to avoid an error.
26231    Use char because int might match the return type of a GCC
26232    builtin and then its argument prototype would still apply.  */
26233 #ifdef __cplusplus
26234 extern "C"
26235 #endif
26236 char SgCreateList ();
26237 int
26238 main ()
26239 {
26240 return SgCreateList ();
26241   ;
26242   return 0;
26243 }
26244 _ACEOF
26245 if ac_fn_c_try_link "$LINENO"; then :
26246   ac_cv_lib_Sgm_SgCreateList=yes
26247 else
26248   ac_cv_lib_Sgm_SgCreateList=no
26249 fi
26250 rm -f core conftest.err conftest.$ac_objext \
26251     conftest$ac_exeext conftest.$ac_ext
26252 LIBS=$ac_check_lib_save_LIBS
26253 fi
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26255 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26256 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26257   libsgm_link=" -lSgm"
26258 fi
26259
26260
26261         save_CFLAGS=$CFLAGS
26262         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26263
26264         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26265 $as_echo_n "checking for Motif 2... " >&6; }
26266 if ${wx_cv_lib_motif2+:} false; then :
26267   $as_echo_n "(cached) " >&6
26268 else
26269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h.  */
26271
26272                             #include <Xm/Xm.h>
26273
26274 int
26275 main ()
26276 {
26277
26278                             #if XmVersion < 2000
26279                             Not Motif 2
26280                             #endif
26281
26282   ;
26283   return 0;
26284 }
26285 _ACEOF
26286 if ac_fn_c_try_compile "$LINENO"; then :
26287   wx_cv_lib_motif2="yes"
26288 else
26289   wx_cv_lib_motif2="no"
26290 fi
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 fi
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26294 $as_echo "$wx_cv_lib_motif2" >&6; }
26295         if test "$wx_cv_lib_motif2" = "yes"; then
26296             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26297
26298         else
26299             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26300
26301         fi
26302
26303         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26304 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26305 if ${wx_cv_lib_lesstif+:} false; then :
26306   $as_echo_n "(cached) " >&6
26307 else
26308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26309 /* end confdefs.h.  */
26310
26311                             #include <Xm/Xm.h>
26312
26313 int
26314 main ()
26315 {
26316
26317                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26318                             Not Lesstif
26319                             #endif
26320
26321   ;
26322   return 0;
26323 }
26324 _ACEOF
26325 if ac_fn_c_try_compile "$LINENO"; then :
26326   wx_cv_lib_lesstif="yes"
26327 else
26328   wx_cv_lib_lesstif="no"
26329 fi
26330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26331
26332 fi
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26334 $as_echo "$wx_cv_lib_lesstif" >&6; }
26335         if test "$wx_cv_lib_lesstif" = "yes"; then
26336             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26337
26338         else
26339             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26340
26341         fi
26342
26343         CFLAGS=$save_CFLAGS
26344
26345         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26346         TOOLKIT=MOTIF
26347         GUIDIST=MOTIF_DIST
26348     fi
26349
26350         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26351                 if test "$wxUSE_LIBXPM" = "sys"; then
26352             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26353 $as_echo_n "checking for Xpm library... " >&6; }
26354
26355   ac_find_libraries=
26356   for ac_dir in  $SEARCH_LIB
26357   do
26358     for ac_extension in a so sl dylib dll.a; do
26359       if test -f "$ac_dir/libXpm.$ac_extension"; then
26360         ac_find_libraries=$ac_dir
26361         break 2
26362       fi
26363     done
26364   done
26365
26366             if test "$ac_find_libraries" != "" ; then
26367
26368     if test "$ac_find_libraries" = "default location"; then
26369     ac_path_to_link=""
26370   else
26371     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26372     result=$?
26373     if test $result = 0; then
26374       ac_path_to_link=""
26375     else
26376       ac_path_to_link=" -L$ac_find_libraries"
26377     fi
26378   fi
26379
26380                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26381                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26382 $as_echo "found in $ac_find_libraries" >&6; }
26383
26384                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26385 $as_echo_n "checking for X11/xpm.h... " >&6; }
26386 if ${wx_cv_x11_xpm_h+:} false; then :
26387   $as_echo_n "(cached) " >&6
26388 else
26389
26390                         save_CFLAGS=$CFLAGS
26391                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26392
26393                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26394 /* end confdefs.h.  */
26395
26396                                 #include <X11/xpm.h>
26397
26398 int
26399 main ()
26400 {
26401
26402                                 int version;
26403                                 version = XpmLibraryVersion();
26404
26405   ;
26406   return 0;
26407 }
26408 _ACEOF
26409 if ac_fn_c_try_compile "$LINENO"; then :
26410   wx_cv_x11_xpm_h=yes
26411 else
26412   wx_cv_x11_xpm_h=no
26413
26414 fi
26415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26416
26417                         CFLAGS=$save_CFLAGS
26418
26419
26420 fi
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26422 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26423
26424                 if test $wx_cv_x11_xpm_h = "yes"; then
26425                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26426                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26427
26428                 else
26429                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26430 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26431                 fi
26432             fi
26433
26434         fi
26435
26436                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26437 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26438 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26439   $as_echo_n "(cached) " >&6
26440 else
26441   ac_check_lib_save_LIBS=$LIBS
26442 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26444 /* end confdefs.h.  */
26445
26446 /* Override any GCC internal prototype to avoid an error.
26447    Use char because int might match the return type of a GCC
26448    builtin and then its argument prototype would still apply.  */
26449 #ifdef __cplusplus
26450 extern "C"
26451 #endif
26452 char XShapeQueryExtension ();
26453 int
26454 main ()
26455 {
26456 return XShapeQueryExtension ();
26457   ;
26458   return 0;
26459 }
26460 _ACEOF
26461 if ac_fn_c_try_link "$LINENO"; then :
26462   ac_cv_lib_Xext_XShapeQueryExtension=yes
26463 else
26464   ac_cv_lib_Xext_XShapeQueryExtension=no
26465 fi
26466 rm -f core conftest.err conftest.$ac_objext \
26467     conftest$ac_exeext conftest.$ac_ext
26468 LIBS=$ac_check_lib_save_LIBS
26469 fi
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26471 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26472 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26473
26474                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26475                       wxHAVE_XEXT_LIB=1
26476
26477 fi
26478
26479
26480         if test "$wxHAVE_XEXT_LIB" = 1; then
26481             save_CFLAGS="$CFLAGS"
26482             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26483
26484             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26485 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26486             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26487 /* end confdefs.h.  */
26488
26489                             #include <X11/Xlib.h>
26490                             #include <X11/extensions/shape.h>
26491
26492 int
26493 main ()
26494 {
26495
26496                             int dummy1, dummy2;
26497                             XShapeQueryExtension((Display*)NULL,
26498                                                  (int*)NULL, (int*)NULL);
26499
26500   ;
26501   return 0;
26502 }
26503 _ACEOF
26504 if ac_fn_c_try_compile "$LINENO"; then :
26505
26506                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26507
26508                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26509 $as_echo "found" >&6; }
26510
26511 else
26512
26513                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26514 $as_echo "not found" >&6; }
26515
26516 fi
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26518             CFLAGS="$save_CFLAGS"
26519
26520         fi
26521     fi
26522
26523     if test "$wxUSE_OSX_CARBON" = 1; then
26524         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26525 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26526         if test "$GCC" = yes; then
26527             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26528 $as_echo "gcc" >&6; }
26529             CPPFLAGS_PASCAL="-fpascal-strings"
26530         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26531             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26532 $as_echo "xlc" >&6; }
26533             CPPFLAGS_PASCAL="-qmacpstr"
26534         else
26535             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26536 $as_echo "none" >&6; }
26537         fi
26538
26539         if test "x$wxUSE_UNIX" = "xyes"; then
26540             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26541         else
26542                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26543         fi
26544
26545         TOOLKIT=OSX_CARBON
26546                 GUIDIST=OSX_CARBON_DIST
26547                         WXBASEPORT="_carbon"
26548
26549                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26550     fi
26551
26552     if test "$wxUSE_OSX_COCOA" = 1; then
26553         TOOLKIT=OSX_COCOA
26554         GUIDIST=OSX_COCOA_DIST
26555
26556                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26557     fi
26558
26559     if test "$wxUSE_OSX_IPHONE" = 1; then
26560         TOOLKIT=OSX_IPHONE
26561     fi
26562
26563     if test "$wxUSE_OLD_COCOA" = 1; then
26564         TOOLKIT=COCOA
26565         GUIDIST=COCOA_DIST
26566     fi
26567
26568     if test "$wxUSE_PM" = 1; then
26569         TOOLKIT=PM
26570         GUIDIST=PM_DIST
26571         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26572 $as_echo_n "checking for type SPBCDATA... " >&6; }
26573 if ${wx_cv_spbcdata+:} false; then :
26574   $as_echo_n "(cached) " >&6
26575 else
26576
26577                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h.  */
26579
26580                         #define INCL_PM
26581                         #include <os2.h>
26582
26583 int
26584 main ()
26585 {
26586
26587                         SPBCDATA test;
26588
26589   ;
26590   return 0;
26591 }
26592 _ACEOF
26593 if ac_fn_c_try_compile "$LINENO"; then :
26594   wx_cv_spbcdata=yes
26595 else
26596   wx_cv_spbcdata=no
26597
26598 fi
26599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26600
26601
26602 fi
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26604 $as_echo "$wx_cv_spbcdata" >&6; }
26605
26606         if test $wx_cv_spbcdata = "yes"; then
26607             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26608
26609         fi
26610     fi
26611
26612         if test "$TOOLKIT" = "PM" ; then
26613         TOOLKIT_DIR="os2"
26614     else
26615         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26616     fi
26617
26618     if test "$wxUSE_UNIVERSAL" = "yes"; then
26619         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26620         WIDGET_SET=univ
26621     fi
26622
26623         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26624     DISTDIR="wx\$(TOOLKIT)"
26625 else
26626     USE_GUI=0
26627
26628             TOOLKIT_DIR="base"
26629
26630         if test "$USE_WIN32" = 1 ; then
26631                         TOOLKIT="MSW"
26632     fi
26633
26634         GUIDIST="BASE_DIST"
26635     DISTDIR="wxBase"
26636 fi
26637
26638
26639
26640 if test "$wxUSE_GUI" = "yes"; then
26641     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26642                 for ac_header in X11/Xlib.h
26643 do :
26644   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26645 "
26646 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26647   cat >>confdefs.h <<_ACEOF
26648 #define HAVE_X11_XLIB_H 1
26649 _ACEOF
26650
26651 fi
26652
26653 done
26654
26655         for ac_header in X11/XKBlib.h
26656 do :
26657   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26658                           #if HAVE_X11_XLIB_H
26659                             #include <X11/Xlib.h>
26660                           #endif
26661
26662 "
26663 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26664   cat >>confdefs.h <<_ACEOF
26665 #define HAVE_X11_XKBLIB_H 1
26666 _ACEOF
26667
26668 fi
26669
26670 done
26671
26672     fi
26673 fi
26674
26675
26676
26677 USE_XINERAMA=0
26678 if test "$wxUSE_DISPLAY" = "yes"; then
26679         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26680
26681   ac_find_libraries=
26682
26683     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26684
26685
26686 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26687         if test -n "$ac_tool_prefix"; then
26688   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26689 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26691 $as_echo_n "checking for $ac_word... " >&6; }
26692 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26693   $as_echo_n "(cached) " >&6
26694 else
26695   case $PKG_CONFIG in
26696   [\\/]* | ?:[\\/]*)
26697   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26698   ;;
26699   *)
26700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26701 for as_dir in $PATH
26702 do
26703   IFS=$as_save_IFS
26704   test -z "$as_dir" && as_dir=.
26705     for ac_exec_ext in '' $ac_executable_extensions; do
26706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26707     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26709     break 2
26710   fi
26711 done
26712   done
26713 IFS=$as_save_IFS
26714
26715   ;;
26716 esac
26717 fi
26718 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26719 if test -n "$PKG_CONFIG"; then
26720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26721 $as_echo "$PKG_CONFIG" >&6; }
26722 else
26723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26725 fi
26726
26727
26728 fi
26729 if test -z "$ac_cv_path_PKG_CONFIG"; then
26730   ac_pt_PKG_CONFIG=$PKG_CONFIG
26731   # Extract the first word of "pkg-config", so it can be a program name with args.
26732 set dummy pkg-config; ac_word=$2
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26734 $as_echo_n "checking for $ac_word... " >&6; }
26735 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26736   $as_echo_n "(cached) " >&6
26737 else
26738   case $ac_pt_PKG_CONFIG in
26739   [\\/]* | ?:[\\/]*)
26740   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26741   ;;
26742   *)
26743   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26744 for as_dir in $PATH
26745 do
26746   IFS=$as_save_IFS
26747   test -z "$as_dir" && as_dir=.
26748     for ac_exec_ext in '' $ac_executable_extensions; do
26749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26750     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26752     break 2
26753   fi
26754 done
26755   done
26756 IFS=$as_save_IFS
26757
26758   ;;
26759 esac
26760 fi
26761 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26762 if test -n "$ac_pt_PKG_CONFIG"; then
26763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26764 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26765 else
26766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26767 $as_echo "no" >&6; }
26768 fi
26769
26770   if test "x$ac_pt_PKG_CONFIG" = x; then
26771     PKG_CONFIG=""
26772   else
26773     case $cross_compiling:$ac_tool_warned in
26774 yes:)
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26777 ac_tool_warned=yes ;;
26778 esac
26779     PKG_CONFIG=$ac_pt_PKG_CONFIG
26780   fi
26781 else
26782   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26783 fi
26784
26785 fi
26786 if test -n "$PKG_CONFIG"; then
26787         _pkg_min_version=0.9.0
26788         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26789 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26790         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26791                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26792 $as_echo "yes" >&6; }
26793         else
26794                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26795 $as_echo "no" >&6; }
26796                 PKG_CONFIG=""
26797         fi
26798
26799 fi 6> /dev/null
26800
26801 pkg_failed=no
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26803 $as_echo_n "checking for Xinerama... " >&6; }
26804
26805 if test -n "$PKG_CONFIG"; then
26806     if test -n "$Xinerama_CFLAGS"; then
26807         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26808     else
26809         if test -n "$PKG_CONFIG" && \
26810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26811   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26812   ac_status=$?
26813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26814   test $ac_status = 0; }; then
26815   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26816 else
26817   pkg_failed=yes
26818 fi
26819     fi
26820 else
26821         pkg_failed=untried
26822 fi
26823 if test -n "$PKG_CONFIG"; then
26824     if test -n "$Xinerama_LIBS"; then
26825         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26826     else
26827         if test -n "$PKG_CONFIG" && \
26828     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26829   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26830   ac_status=$?
26831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26832   test $ac_status = 0; }; then
26833   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26834 else
26835   pkg_failed=yes
26836 fi
26837     fi
26838 else
26839         pkg_failed=untried
26840 fi
26841
26842
26843
26844 if test $pkg_failed = yes; then
26845
26846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26847         _pkg_short_errors_supported=yes
26848 else
26849         _pkg_short_errors_supported=no
26850 fi
26851         if test $_pkg_short_errors_supported = yes; then
26852                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26853         else
26854                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26855         fi
26856         # Put the nasty error message in config.log where it belongs
26857         echo "$Xinerama_PKG_ERRORS" >&5
26858
26859
26860       if test "x$ac_find_libraries" = "x"; then
26861                 if test "xXineramaQueryScreens" != "x"; then
26862           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26863 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26864 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26865   $as_echo_n "(cached) " >&6
26866 else
26867   ac_check_lib_save_LIBS=$LIBS
26868 LIBS="-lXinerama  $LIBS"
26869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870 /* end confdefs.h.  */
26871
26872 /* Override any GCC internal prototype to avoid an error.
26873    Use char because int might match the return type of a GCC
26874    builtin and then its argument prototype would still apply.  */
26875 #ifdef __cplusplus
26876 extern "C"
26877 #endif
26878 char XineramaQueryScreens ();
26879 int
26880 main ()
26881 {
26882 return XineramaQueryScreens ();
26883   ;
26884   return 0;
26885 }
26886 _ACEOF
26887 if ac_fn_c_try_link "$LINENO"; then :
26888   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26889 else
26890   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26891 fi
26892 rm -f core conftest.err conftest.$ac_objext \
26893     conftest$ac_exeext conftest.$ac_ext
26894 LIBS=$ac_check_lib_save_LIBS
26895 fi
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26897 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26898 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26899   ac_find_libraries="std"
26900 fi
26901
26902         fi
26903       fi
26904
26905       if test "x$ac_find_libraries" = "x"; then
26906                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26907 $as_echo_n "checking elsewhere... " >&6; }
26908
26909   ac_find_libraries=
26910   for ac_dir in  $SEARCH_LIB
26911   do
26912     for ac_extension in a so sl dylib dll.a; do
26913       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26914         ac_find_libraries=$ac_dir
26915         break 2
26916       fi
26917     done
26918   done
26919
26920         if test "x$ac_find_libraries" != "x"; then
26921           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26922 $as_echo "yes" >&6; }
26923         else
26924           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26925 $as_echo "no" >&6; }
26926         fi
26927       fi
26928
26929 elif test $pkg_failed = untried; then
26930
26931       if test "x$ac_find_libraries" = "x"; then
26932                 if test "xXineramaQueryScreens" != "x"; then
26933           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26934 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26935 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26936   $as_echo_n "(cached) " >&6
26937 else
26938   ac_check_lib_save_LIBS=$LIBS
26939 LIBS="-lXinerama  $LIBS"
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h.  */
26942
26943 /* Override any GCC internal prototype to avoid an error.
26944    Use char because int might match the return type of a GCC
26945    builtin and then its argument prototype would still apply.  */
26946 #ifdef __cplusplus
26947 extern "C"
26948 #endif
26949 char XineramaQueryScreens ();
26950 int
26951 main ()
26952 {
26953 return XineramaQueryScreens ();
26954   ;
26955   return 0;
26956 }
26957 _ACEOF
26958 if ac_fn_c_try_link "$LINENO"; then :
26959   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26960 else
26961   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26962 fi
26963 rm -f core conftest.err conftest.$ac_objext \
26964     conftest$ac_exeext conftest.$ac_ext
26965 LIBS=$ac_check_lib_save_LIBS
26966 fi
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26968 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26969 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26970   ac_find_libraries="std"
26971 fi
26972
26973         fi
26974       fi
26975
26976       if test "x$ac_find_libraries" = "x"; then
26977                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26978 $as_echo_n "checking elsewhere... " >&6; }
26979
26980   ac_find_libraries=
26981   for ac_dir in  $SEARCH_LIB
26982   do
26983     for ac_extension in a so sl dylib dll.a; do
26984       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26985         ac_find_libraries=$ac_dir
26986         break 2
26987       fi
26988     done
26989   done
26990
26991         if test "x$ac_find_libraries" != "x"; then
26992           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26993 $as_echo "yes" >&6; }
26994         else
26995           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26996 $as_echo "no" >&6; }
26997         fi
26998       fi
26999
27000 else
27001         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
27002         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
27003         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27004 $as_echo "yes" >&6; }
27005
27006             ac_find_libraries="std"
27007
27008                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
27009       eval fl_libs=\$Xinerama_LIBS
27010
27011                   for fl_path in $fl_libs
27012       do
27013         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27014                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27015         fi
27016       done
27017
27018 fi
27019
27020         if test "$ac_find_libraries" != "" ; then
27021             if test "$ac_find_libraries" != "std" ; then
27022
27023     if test "$ac_find_libraries" = "default location"; then
27024     ac_path_to_link=""
27025   else
27026     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27027     result=$?
27028     if test $result = 0; then
27029       ac_path_to_link=""
27030     else
27031       ac_path_to_link=" -L$ac_find_libraries"
27032     fi
27033   fi
27034
27035               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27036                   LDFLAGS="$LDFLAGS $ac_path_to_link"
27037               fi
27038             fi
27039             USE_XINERAMA=1
27040             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27041         else
27042             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27043 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27044             wxUSE_DISPLAY="no"
27045         fi
27046     elif test "$wxUSE_MSW" = 1; then
27047                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27048 "
27049 if test "x$ac_cv_header_ddraw_h" = xyes; then :
27050
27051 fi
27052
27053
27054     fi
27055 fi
27056
27057 if test "$wxUSE_DISPLAY" = "yes"; then
27058         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27059
27060   ac_find_libraries=
27061
27062     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27063
27064
27065 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27066         if test -n "$ac_tool_prefix"; then
27067   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27068 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27070 $as_echo_n "checking for $ac_word... " >&6; }
27071 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27072   $as_echo_n "(cached) " >&6
27073 else
27074   case $PKG_CONFIG in
27075   [\\/]* | ?:[\\/]*)
27076   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27077   ;;
27078   *)
27079   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27080 for as_dir in $PATH
27081 do
27082   IFS=$as_save_IFS
27083   test -z "$as_dir" && as_dir=.
27084     for ac_exec_ext in '' $ac_executable_extensions; do
27085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27086     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27088     break 2
27089   fi
27090 done
27091   done
27092 IFS=$as_save_IFS
27093
27094   ;;
27095 esac
27096 fi
27097 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27098 if test -n "$PKG_CONFIG"; then
27099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27100 $as_echo "$PKG_CONFIG" >&6; }
27101 else
27102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27103 $as_echo "no" >&6; }
27104 fi
27105
27106
27107 fi
27108 if test -z "$ac_cv_path_PKG_CONFIG"; then
27109   ac_pt_PKG_CONFIG=$PKG_CONFIG
27110   # Extract the first word of "pkg-config", so it can be a program name with args.
27111 set dummy pkg-config; ac_word=$2
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27113 $as_echo_n "checking for $ac_word... " >&6; }
27114 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27115   $as_echo_n "(cached) " >&6
27116 else
27117   case $ac_pt_PKG_CONFIG in
27118   [\\/]* | ?:[\\/]*)
27119   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27120   ;;
27121   *)
27122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27123 for as_dir in $PATH
27124 do
27125   IFS=$as_save_IFS
27126   test -z "$as_dir" && as_dir=.
27127     for ac_exec_ext in '' $ac_executable_extensions; do
27128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27129     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27131     break 2
27132   fi
27133 done
27134   done
27135 IFS=$as_save_IFS
27136
27137   ;;
27138 esac
27139 fi
27140 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27141 if test -n "$ac_pt_PKG_CONFIG"; then
27142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27143 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27144 else
27145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27146 $as_echo "no" >&6; }
27147 fi
27148
27149   if test "x$ac_pt_PKG_CONFIG" = x; then
27150     PKG_CONFIG=""
27151   else
27152     case $cross_compiling:$ac_tool_warned in
27153 yes:)
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27156 ac_tool_warned=yes ;;
27157 esac
27158     PKG_CONFIG=$ac_pt_PKG_CONFIG
27159   fi
27160 else
27161   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27162 fi
27163
27164 fi
27165 if test -n "$PKG_CONFIG"; then
27166         _pkg_min_version=0.9.0
27167         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27168 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27169         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27170                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27171 $as_echo "yes" >&6; }
27172         else
27173                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27174 $as_echo "no" >&6; }
27175                 PKG_CONFIG=""
27176         fi
27177
27178 fi 6> /dev/null
27179
27180 pkg_failed=no
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27182 $as_echo_n "checking for Xxf86vm... " >&6; }
27183
27184 if test -n "$PKG_CONFIG"; then
27185     if test -n "$Xxf86vm_CFLAGS"; then
27186         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27187     else
27188         if test -n "$PKG_CONFIG" && \
27189     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27190   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27191   ac_status=$?
27192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27193   test $ac_status = 0; }; then
27194   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27195 else
27196   pkg_failed=yes
27197 fi
27198     fi
27199 else
27200         pkg_failed=untried
27201 fi
27202 if test -n "$PKG_CONFIG"; then
27203     if test -n "$Xxf86vm_LIBS"; then
27204         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27205     else
27206         if test -n "$PKG_CONFIG" && \
27207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27208   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27209   ac_status=$?
27210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27211   test $ac_status = 0; }; then
27212   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27213 else
27214   pkg_failed=yes
27215 fi
27216     fi
27217 else
27218         pkg_failed=untried
27219 fi
27220
27221
27222
27223 if test $pkg_failed = yes; then
27224
27225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27226         _pkg_short_errors_supported=yes
27227 else
27228         _pkg_short_errors_supported=no
27229 fi
27230         if test $_pkg_short_errors_supported = yes; then
27231                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27232         else
27233                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27234         fi
27235         # Put the nasty error message in config.log where it belongs
27236         echo "$Xxf86vm_PKG_ERRORS" >&5
27237
27238
27239       if test "x$ac_find_libraries" = "x"; then
27240                 if test "xXF86VidModeQueryExtension" != "x"; then
27241           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27242 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27243 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27244   $as_echo_n "(cached) " >&6
27245 else
27246   ac_check_lib_save_LIBS=$LIBS
27247 LIBS="-lXxf86vm  $LIBS"
27248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27249 /* end confdefs.h.  */
27250
27251 /* Override any GCC internal prototype to avoid an error.
27252    Use char because int might match the return type of a GCC
27253    builtin and then its argument prototype would still apply.  */
27254 #ifdef __cplusplus
27255 extern "C"
27256 #endif
27257 char XF86VidModeQueryExtension ();
27258 int
27259 main ()
27260 {
27261 return XF86VidModeQueryExtension ();
27262   ;
27263   return 0;
27264 }
27265 _ACEOF
27266 if ac_fn_c_try_link "$LINENO"; then :
27267   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27268 else
27269   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27270 fi
27271 rm -f core conftest.err conftest.$ac_objext \
27272     conftest$ac_exeext conftest.$ac_ext
27273 LIBS=$ac_check_lib_save_LIBS
27274 fi
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27276 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27277 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27278   ac_find_libraries="std"
27279 fi
27280
27281         fi
27282       fi
27283
27284       if test "x$ac_find_libraries" = "x"; then
27285                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27286 $as_echo_n "checking elsewhere... " >&6; }
27287
27288   ac_find_libraries=
27289   for ac_dir in  $SEARCH_LIB
27290   do
27291     for ac_extension in a so sl dylib dll.a; do
27292       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27293         ac_find_libraries=$ac_dir
27294         break 2
27295       fi
27296     done
27297   done
27298
27299         if test "x$ac_find_libraries" != "x"; then
27300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27301 $as_echo "yes" >&6; }
27302         else
27303           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27304 $as_echo "no" >&6; }
27305         fi
27306       fi
27307
27308 elif test $pkg_failed = untried; then
27309
27310       if test "x$ac_find_libraries" = "x"; then
27311                 if test "xXF86VidModeQueryExtension" != "x"; then
27312           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27313 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27314 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27315   $as_echo_n "(cached) " >&6
27316 else
27317   ac_check_lib_save_LIBS=$LIBS
27318 LIBS="-lXxf86vm  $LIBS"
27319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27320 /* end confdefs.h.  */
27321
27322 /* Override any GCC internal prototype to avoid an error.
27323    Use char because int might match the return type of a GCC
27324    builtin and then its argument prototype would still apply.  */
27325 #ifdef __cplusplus
27326 extern "C"
27327 #endif
27328 char XF86VidModeQueryExtension ();
27329 int
27330 main ()
27331 {
27332 return XF86VidModeQueryExtension ();
27333   ;
27334   return 0;
27335 }
27336 _ACEOF
27337 if ac_fn_c_try_link "$LINENO"; then :
27338   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27339 else
27340   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27341 fi
27342 rm -f core conftest.err conftest.$ac_objext \
27343     conftest$ac_exeext conftest.$ac_ext
27344 LIBS=$ac_check_lib_save_LIBS
27345 fi
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27347 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27348 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27349   ac_find_libraries="std"
27350 fi
27351
27352         fi
27353       fi
27354
27355       if test "x$ac_find_libraries" = "x"; then
27356                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27357 $as_echo_n "checking elsewhere... " >&6; }
27358
27359   ac_find_libraries=
27360   for ac_dir in  $SEARCH_LIB
27361   do
27362     for ac_extension in a so sl dylib dll.a; do
27363       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27364         ac_find_libraries=$ac_dir
27365         break 2
27366       fi
27367     done
27368   done
27369
27370         if test "x$ac_find_libraries" != "x"; then
27371           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27372 $as_echo "yes" >&6; }
27373         else
27374           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27375 $as_echo "no" >&6; }
27376         fi
27377       fi
27378
27379 else
27380         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27381         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27382         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27383 $as_echo "yes" >&6; }
27384
27385             ac_find_libraries="std"
27386
27387                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27388       eval fl_libs=\$Xxf86vm_LIBS
27389
27390                   for fl_path in $fl_libs
27391       do
27392         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27393                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27394         fi
27395       done
27396
27397 fi
27398
27399         if test "$ac_find_libraries" != "" ; then
27400             for ac_header in X11/extensions/xf86vmode.h
27401 do :
27402   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27403                                   #if HAVE_X11_XLIB_H
27404                                     #include <X11/Xlib.h>
27405                                   #endif
27406
27407 "
27408 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27409   cat >>confdefs.h <<_ACEOF
27410 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27411 _ACEOF
27412
27413                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27414
27415 fi
27416
27417 done
27418
27419         fi
27420     fi
27421 fi
27422
27423 if test "$wxUSE_DETECT_SM" = "yes"; then
27424     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27425
27426   ac_find_libraries=
27427
27428     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27429
27430
27431 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27432         if test -n "$ac_tool_prefix"; then
27433   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27434 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27436 $as_echo_n "checking for $ac_word... " >&6; }
27437 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27438   $as_echo_n "(cached) " >&6
27439 else
27440   case $PKG_CONFIG in
27441   [\\/]* | ?:[\\/]*)
27442   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27443   ;;
27444   *)
27445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27446 for as_dir in $PATH
27447 do
27448   IFS=$as_save_IFS
27449   test -z "$as_dir" && as_dir=.
27450     for ac_exec_ext in '' $ac_executable_extensions; do
27451   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27452     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27454     break 2
27455   fi
27456 done
27457   done
27458 IFS=$as_save_IFS
27459
27460   ;;
27461 esac
27462 fi
27463 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27464 if test -n "$PKG_CONFIG"; then
27465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27466 $as_echo "$PKG_CONFIG" >&6; }
27467 else
27468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27469 $as_echo "no" >&6; }
27470 fi
27471
27472
27473 fi
27474 if test -z "$ac_cv_path_PKG_CONFIG"; then
27475   ac_pt_PKG_CONFIG=$PKG_CONFIG
27476   # Extract the first word of "pkg-config", so it can be a program name with args.
27477 set dummy pkg-config; ac_word=$2
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27479 $as_echo_n "checking for $ac_word... " >&6; }
27480 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27481   $as_echo_n "(cached) " >&6
27482 else
27483   case $ac_pt_PKG_CONFIG in
27484   [\\/]* | ?:[\\/]*)
27485   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27486   ;;
27487   *)
27488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27489 for as_dir in $PATH
27490 do
27491   IFS=$as_save_IFS
27492   test -z "$as_dir" && as_dir=.
27493     for ac_exec_ext in '' $ac_executable_extensions; do
27494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27495     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27497     break 2
27498   fi
27499 done
27500   done
27501 IFS=$as_save_IFS
27502
27503   ;;
27504 esac
27505 fi
27506 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27507 if test -n "$ac_pt_PKG_CONFIG"; then
27508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27509 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27510 else
27511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27512 $as_echo "no" >&6; }
27513 fi
27514
27515   if test "x$ac_pt_PKG_CONFIG" = x; then
27516     PKG_CONFIG=""
27517   else
27518     case $cross_compiling:$ac_tool_warned in
27519 yes:)
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27522 ac_tool_warned=yes ;;
27523 esac
27524     PKG_CONFIG=$ac_pt_PKG_CONFIG
27525   fi
27526 else
27527   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27528 fi
27529
27530 fi
27531 if test -n "$PKG_CONFIG"; then
27532         _pkg_min_version=0.9.0
27533         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27534 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27535         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27536                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27537 $as_echo "yes" >&6; }
27538         else
27539                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27540 $as_echo "no" >&6; }
27541                 PKG_CONFIG=""
27542         fi
27543
27544 fi 6> /dev/null
27545
27546 pkg_failed=no
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27548 $as_echo_n "checking for SM... " >&6; }
27549
27550 if test -n "$PKG_CONFIG"; then
27551     if test -n "$SM_CFLAGS"; then
27552         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27553     else
27554         if test -n "$PKG_CONFIG" && \
27555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27556   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27557   ac_status=$?
27558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27559   test $ac_status = 0; }; then
27560   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27561 else
27562   pkg_failed=yes
27563 fi
27564     fi
27565 else
27566         pkg_failed=untried
27567 fi
27568 if test -n "$PKG_CONFIG"; then
27569     if test -n "$SM_LIBS"; then
27570         pkg_cv_SM_LIBS="$SM_LIBS"
27571     else
27572         if test -n "$PKG_CONFIG" && \
27573     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27574   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27575   ac_status=$?
27576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27577   test $ac_status = 0; }; then
27578   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27579 else
27580   pkg_failed=yes
27581 fi
27582     fi
27583 else
27584         pkg_failed=untried
27585 fi
27586
27587
27588
27589 if test $pkg_failed = yes; then
27590
27591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27592         _pkg_short_errors_supported=yes
27593 else
27594         _pkg_short_errors_supported=no
27595 fi
27596         if test $_pkg_short_errors_supported = yes; then
27597                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27598         else
27599                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27600         fi
27601         # Put the nasty error message in config.log where it belongs
27602         echo "$SM_PKG_ERRORS" >&5
27603
27604
27605       if test "x$ac_find_libraries" = "x"; then
27606                 if test "xSmcOpenConnection" != "x"; then
27607           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27608 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27609 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27610   $as_echo_n "(cached) " >&6
27611 else
27612   ac_check_lib_save_LIBS=$LIBS
27613 LIBS="-lSM  $LIBS"
27614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27615 /* end confdefs.h.  */
27616
27617 /* Override any GCC internal prototype to avoid an error.
27618    Use char because int might match the return type of a GCC
27619    builtin and then its argument prototype would still apply.  */
27620 #ifdef __cplusplus
27621 extern "C"
27622 #endif
27623 char SmcOpenConnection ();
27624 int
27625 main ()
27626 {
27627 return SmcOpenConnection ();
27628   ;
27629   return 0;
27630 }
27631 _ACEOF
27632 if ac_fn_c_try_link "$LINENO"; then :
27633   ac_cv_lib_SM_SmcOpenConnection=yes
27634 else
27635   ac_cv_lib_SM_SmcOpenConnection=no
27636 fi
27637 rm -f core conftest.err conftest.$ac_objext \
27638     conftest$ac_exeext conftest.$ac_ext
27639 LIBS=$ac_check_lib_save_LIBS
27640 fi
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27642 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27643 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27644   ac_find_libraries="std"
27645 fi
27646
27647         fi
27648       fi
27649
27650       if test "x$ac_find_libraries" = "x"; then
27651                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27652 $as_echo_n "checking elsewhere... " >&6; }
27653
27654   ac_find_libraries=
27655   for ac_dir in  $SEARCH_LIB
27656   do
27657     for ac_extension in a so sl dylib dll.a; do
27658       if test -f "$ac_dir/libSM.$ac_extension"; then
27659         ac_find_libraries=$ac_dir
27660         break 2
27661       fi
27662     done
27663   done
27664
27665         if test "x$ac_find_libraries" != "x"; then
27666           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27667 $as_echo "yes" >&6; }
27668         else
27669           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27670 $as_echo "no" >&6; }
27671         fi
27672       fi
27673
27674 elif test $pkg_failed = untried; then
27675
27676       if test "x$ac_find_libraries" = "x"; then
27677                 if test "xSmcOpenConnection" != "x"; then
27678           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27679 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27680 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27681   $as_echo_n "(cached) " >&6
27682 else
27683   ac_check_lib_save_LIBS=$LIBS
27684 LIBS="-lSM  $LIBS"
27685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27686 /* end confdefs.h.  */
27687
27688 /* Override any GCC internal prototype to avoid an error.
27689    Use char because int might match the return type of a GCC
27690    builtin and then its argument prototype would still apply.  */
27691 #ifdef __cplusplus
27692 extern "C"
27693 #endif
27694 char SmcOpenConnection ();
27695 int
27696 main ()
27697 {
27698 return SmcOpenConnection ();
27699   ;
27700   return 0;
27701 }
27702 _ACEOF
27703 if ac_fn_c_try_link "$LINENO"; then :
27704   ac_cv_lib_SM_SmcOpenConnection=yes
27705 else
27706   ac_cv_lib_SM_SmcOpenConnection=no
27707 fi
27708 rm -f core conftest.err conftest.$ac_objext \
27709     conftest$ac_exeext conftest.$ac_ext
27710 LIBS=$ac_check_lib_save_LIBS
27711 fi
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27713 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27714 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27715   ac_find_libraries="std"
27716 fi
27717
27718         fi
27719       fi
27720
27721       if test "x$ac_find_libraries" = "x"; then
27722                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27723 $as_echo_n "checking elsewhere... " >&6; }
27724
27725   ac_find_libraries=
27726   for ac_dir in  $SEARCH_LIB
27727   do
27728     for ac_extension in a so sl dylib dll.a; do
27729       if test -f "$ac_dir/libSM.$ac_extension"; then
27730         ac_find_libraries=$ac_dir
27731         break 2
27732       fi
27733     done
27734   done
27735
27736         if test "x$ac_find_libraries" != "x"; then
27737           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27738 $as_echo "yes" >&6; }
27739         else
27740           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27741 $as_echo "no" >&6; }
27742         fi
27743       fi
27744
27745 else
27746         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27747         SM_LIBS=$pkg_cv_SM_LIBS
27748         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27749 $as_echo "yes" >&6; }
27750
27751             ac_find_libraries="std"
27752
27753                                                 eval ac_find_cflags=\$SM_CFLAGS
27754       eval fl_libs=\$SM_LIBS
27755
27756                   for fl_path in $fl_libs
27757       do
27758         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27759                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27760         fi
27761       done
27762
27763 fi
27764
27765         if test "$ac_find_libraries" != "" ; then
27766             if test "$ac_find_libraries" != "std" ; then
27767
27768     if test "$ac_find_libraries" = "default location"; then
27769     ac_path_to_link=""
27770   else
27771     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27772     result=$?
27773     if test $result = 0; then
27774       ac_path_to_link=""
27775     else
27776       ac_path_to_link=" -L$ac_find_libraries"
27777     fi
27778   fi
27779
27780               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27781                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27782               fi
27783             fi
27784             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27785         else
27786             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27787 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27788             wxUSE_DETECT_SM="no"
27789         fi
27790     else
27791         wxUSE_DETECT_SM="no"
27792     fi
27793 fi
27794
27795
27796
27797 USE_OPENGL=0
27798 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27799
27800
27801     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27802         OPENGL_LIBS="-framework OpenGL -framework AGL"
27803     elif test "$wxUSE_MSW" = 1; then
27804         OPENGL_LIBS="-lopengl32 -lglu32"
27805     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27806
27807                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27808 $as_echo_n "checking for OpenGL headers... " >&6; }
27809
27810 ac_find_includes=
27811 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27812   do
27813     if test -f "$ac_dir/GL/gl.h"; then
27814       ac_find_includes=$ac_dir
27815       break
27816     fi
27817   done
27818
27819         if test "$ac_find_includes" != "" ; then
27820             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27821 $as_echo "found in $ac_find_includes" >&6; }
27822
27823     if test "x$ac_find_includes" = "x/usr/include"; then
27824     ac_path_to_include=""
27825   else
27826     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27827     result=$?
27828     if test $result = 0; then
27829       ac_path_to_include=""
27830     else
27831       ac_path_to_include=" -I$ac_find_includes"
27832     fi
27833   fi
27834
27835             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27836         else
27837             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27838 $as_echo "not found" >&6; }
27839         fi
27840
27841         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27842 "
27843 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27844
27845             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27846 "
27847 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27848
27849                 found_gl=0
27850
27851
27852   ac_find_libraries=
27853
27854     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27855
27856
27857 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27858         if test -n "$ac_tool_prefix"; then
27859   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27860 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27862 $as_echo_n "checking for $ac_word... " >&6; }
27863 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27864   $as_echo_n "(cached) " >&6
27865 else
27866   case $PKG_CONFIG in
27867   [\\/]* | ?:[\\/]*)
27868   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27869   ;;
27870   *)
27871   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27872 for as_dir in $PATH
27873 do
27874   IFS=$as_save_IFS
27875   test -z "$as_dir" && as_dir=.
27876     for ac_exec_ext in '' $ac_executable_extensions; do
27877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27878     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27880     break 2
27881   fi
27882 done
27883   done
27884 IFS=$as_save_IFS
27885
27886   ;;
27887 esac
27888 fi
27889 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27890 if test -n "$PKG_CONFIG"; then
27891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27892 $as_echo "$PKG_CONFIG" >&6; }
27893 else
27894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27895 $as_echo "no" >&6; }
27896 fi
27897
27898
27899 fi
27900 if test -z "$ac_cv_path_PKG_CONFIG"; then
27901   ac_pt_PKG_CONFIG=$PKG_CONFIG
27902   # Extract the first word of "pkg-config", so it can be a program name with args.
27903 set dummy pkg-config; ac_word=$2
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27905 $as_echo_n "checking for $ac_word... " >&6; }
27906 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27907   $as_echo_n "(cached) " >&6
27908 else
27909   case $ac_pt_PKG_CONFIG in
27910   [\\/]* | ?:[\\/]*)
27911   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27912   ;;
27913   *)
27914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27915 for as_dir in $PATH
27916 do
27917   IFS=$as_save_IFS
27918   test -z "$as_dir" && as_dir=.
27919     for ac_exec_ext in '' $ac_executable_extensions; do
27920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27921     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27923     break 2
27924   fi
27925 done
27926   done
27927 IFS=$as_save_IFS
27928
27929   ;;
27930 esac
27931 fi
27932 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27933 if test -n "$ac_pt_PKG_CONFIG"; then
27934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27935 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27936 else
27937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27938 $as_echo "no" >&6; }
27939 fi
27940
27941   if test "x$ac_pt_PKG_CONFIG" = x; then
27942     PKG_CONFIG=""
27943   else
27944     case $cross_compiling:$ac_tool_warned in
27945 yes:)
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27948 ac_tool_warned=yes ;;
27949 esac
27950     PKG_CONFIG=$ac_pt_PKG_CONFIG
27951   fi
27952 else
27953   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27954 fi
27955
27956 fi
27957 if test -n "$PKG_CONFIG"; then
27958         _pkg_min_version=0.9.0
27959         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27960 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27961         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27962                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27963 $as_echo "yes" >&6; }
27964         else
27965                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27966 $as_echo "no" >&6; }
27967                 PKG_CONFIG=""
27968         fi
27969
27970 fi 6> /dev/null
27971
27972 pkg_failed=no
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27974 $as_echo_n "checking for GL... " >&6; }
27975
27976 if test -n "$PKG_CONFIG"; then
27977     if test -n "$GL_CFLAGS"; then
27978         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27979     else
27980         if test -n "$PKG_CONFIG" && \
27981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27982   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27983   ac_status=$?
27984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27985   test $ac_status = 0; }; then
27986   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27987 else
27988   pkg_failed=yes
27989 fi
27990     fi
27991 else
27992         pkg_failed=untried
27993 fi
27994 if test -n "$PKG_CONFIG"; then
27995     if test -n "$GL_LIBS"; then
27996         pkg_cv_GL_LIBS="$GL_LIBS"
27997     else
27998         if test -n "$PKG_CONFIG" && \
27999     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28000   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28001   ac_status=$?
28002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28003   test $ac_status = 0; }; then
28004   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28005 else
28006   pkg_failed=yes
28007 fi
28008     fi
28009 else
28010         pkg_failed=untried
28011 fi
28012
28013
28014
28015 if test $pkg_failed = yes; then
28016
28017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28018         _pkg_short_errors_supported=yes
28019 else
28020         _pkg_short_errors_supported=no
28021 fi
28022         if test $_pkg_short_errors_supported = yes; then
28023                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28024         else
28025                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28026         fi
28027         # Put the nasty error message in config.log where it belongs
28028         echo "$GL_PKG_ERRORS" >&5
28029
28030
28031       if test "x$ac_find_libraries" = "x"; then
28032                 if test "xglBegin" != "x"; then
28033           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28034 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28035 if ${ac_cv_lib_GL_glBegin+:} false; then :
28036   $as_echo_n "(cached) " >&6
28037 else
28038   ac_check_lib_save_LIBS=$LIBS
28039 LIBS="-lGL  $LIBS"
28040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28041 /* end confdefs.h.  */
28042
28043 /* Override any GCC internal prototype to avoid an error.
28044    Use char because int might match the return type of a GCC
28045    builtin and then its argument prototype would still apply.  */
28046 #ifdef __cplusplus
28047 extern "C"
28048 #endif
28049 char glBegin ();
28050 int
28051 main ()
28052 {
28053 return glBegin ();
28054   ;
28055   return 0;
28056 }
28057 _ACEOF
28058 if ac_fn_c_try_link "$LINENO"; then :
28059   ac_cv_lib_GL_glBegin=yes
28060 else
28061   ac_cv_lib_GL_glBegin=no
28062 fi
28063 rm -f core conftest.err conftest.$ac_objext \
28064     conftest$ac_exeext conftest.$ac_ext
28065 LIBS=$ac_check_lib_save_LIBS
28066 fi
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28068 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28069 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28070   ac_find_libraries="std"
28071 fi
28072
28073         fi
28074       fi
28075
28076       if test "x$ac_find_libraries" = "x"; then
28077                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28078 $as_echo_n "checking elsewhere... " >&6; }
28079
28080   ac_find_libraries=
28081   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28082   do
28083     for ac_extension in a so sl dylib dll.a; do
28084       if test -f "$ac_dir/libGL.$ac_extension"; then
28085         ac_find_libraries=$ac_dir
28086         break 2
28087       fi
28088     done
28089   done
28090
28091         if test "x$ac_find_libraries" != "x"; then
28092           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28093 $as_echo "yes" >&6; }
28094         else
28095           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28096 $as_echo "no" >&6; }
28097         fi
28098       fi
28099
28100 elif test $pkg_failed = untried; then
28101
28102       if test "x$ac_find_libraries" = "x"; then
28103                 if test "xglBegin" != "x"; then
28104           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28105 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28106 if ${ac_cv_lib_GL_glBegin+:} false; then :
28107   $as_echo_n "(cached) " >&6
28108 else
28109   ac_check_lib_save_LIBS=$LIBS
28110 LIBS="-lGL  $LIBS"
28111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28112 /* end confdefs.h.  */
28113
28114 /* Override any GCC internal prototype to avoid an error.
28115    Use char because int might match the return type of a GCC
28116    builtin and then its argument prototype would still apply.  */
28117 #ifdef __cplusplus
28118 extern "C"
28119 #endif
28120 char glBegin ();
28121 int
28122 main ()
28123 {
28124 return glBegin ();
28125   ;
28126   return 0;
28127 }
28128 _ACEOF
28129 if ac_fn_c_try_link "$LINENO"; then :
28130   ac_cv_lib_GL_glBegin=yes
28131 else
28132   ac_cv_lib_GL_glBegin=no
28133 fi
28134 rm -f core conftest.err conftest.$ac_objext \
28135     conftest$ac_exeext conftest.$ac_ext
28136 LIBS=$ac_check_lib_save_LIBS
28137 fi
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28139 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28140 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
28141   ac_find_libraries="std"
28142 fi
28143
28144         fi
28145       fi
28146
28147       if test "x$ac_find_libraries" = "x"; then
28148                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28149 $as_echo_n "checking elsewhere... " >&6; }
28150
28151   ac_find_libraries=
28152   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28153   do
28154     for ac_extension in a so sl dylib dll.a; do
28155       if test -f "$ac_dir/libGL.$ac_extension"; then
28156         ac_find_libraries=$ac_dir
28157         break 2
28158       fi
28159     done
28160   done
28161
28162         if test "x$ac_find_libraries" != "x"; then
28163           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28164 $as_echo "yes" >&6; }
28165         else
28166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28167 $as_echo "no" >&6; }
28168         fi
28169       fi
28170
28171 else
28172         GL_CFLAGS=$pkg_cv_GL_CFLAGS
28173         GL_LIBS=$pkg_cv_GL_LIBS
28174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28175 $as_echo "yes" >&6; }
28176
28177             ac_find_libraries="std"
28178
28179                                                 eval ac_find_cflags=\$GL_CFLAGS
28180       eval fl_libs=\$GL_LIBS
28181
28182                   for fl_path in $fl_libs
28183       do
28184         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28185                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28186         fi
28187       done
28188
28189 fi
28190
28191                 if test "$ac_find_libraries" != "" ; then
28192                     if test "$ac_find_libraries" != "std" ; then
28193
28194     if test "$ac_find_libraries" = "default location"; then
28195     ac_path_to_link=""
28196   else
28197     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28198     result=$?
28199     if test $result = 0; then
28200       ac_path_to_link=""
28201     else
28202       ac_path_to_link=" -L$ac_find_libraries"
28203     fi
28204   fi
28205
28206                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
28207                         LDFLAGS_GL="$ac_path_to_link"
28208                       fi
28209                     fi
28210
28211
28212   ac_find_libraries=
28213
28214     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28215
28216
28217 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28218         if test -n "$ac_tool_prefix"; then
28219   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28222 $as_echo_n "checking for $ac_word... " >&6; }
28223 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28224   $as_echo_n "(cached) " >&6
28225 else
28226   case $PKG_CONFIG in
28227   [\\/]* | ?:[\\/]*)
28228   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28229   ;;
28230   *)
28231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28232 for as_dir in $PATH
28233 do
28234   IFS=$as_save_IFS
28235   test -z "$as_dir" && as_dir=.
28236     for ac_exec_ext in '' $ac_executable_extensions; do
28237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28238     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28240     break 2
28241   fi
28242 done
28243   done
28244 IFS=$as_save_IFS
28245
28246   ;;
28247 esac
28248 fi
28249 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28250 if test -n "$PKG_CONFIG"; then
28251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28252 $as_echo "$PKG_CONFIG" >&6; }
28253 else
28254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28255 $as_echo "no" >&6; }
28256 fi
28257
28258
28259 fi
28260 if test -z "$ac_cv_path_PKG_CONFIG"; then
28261   ac_pt_PKG_CONFIG=$PKG_CONFIG
28262   # Extract the first word of "pkg-config", so it can be a program name with args.
28263 set dummy pkg-config; ac_word=$2
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28265 $as_echo_n "checking for $ac_word... " >&6; }
28266 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28267   $as_echo_n "(cached) " >&6
28268 else
28269   case $ac_pt_PKG_CONFIG in
28270   [\\/]* | ?:[\\/]*)
28271   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28272   ;;
28273   *)
28274   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28275 for as_dir in $PATH
28276 do
28277   IFS=$as_save_IFS
28278   test -z "$as_dir" && as_dir=.
28279     for ac_exec_ext in '' $ac_executable_extensions; do
28280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28281     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28283     break 2
28284   fi
28285 done
28286   done
28287 IFS=$as_save_IFS
28288
28289   ;;
28290 esac
28291 fi
28292 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28293 if test -n "$ac_pt_PKG_CONFIG"; then
28294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28295 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28296 else
28297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28298 $as_echo "no" >&6; }
28299 fi
28300
28301   if test "x$ac_pt_PKG_CONFIG" = x; then
28302     PKG_CONFIG=""
28303   else
28304     case $cross_compiling:$ac_tool_warned in
28305 yes:)
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28308 ac_tool_warned=yes ;;
28309 esac
28310     PKG_CONFIG=$ac_pt_PKG_CONFIG
28311   fi
28312 else
28313   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28314 fi
28315
28316 fi
28317 if test -n "$PKG_CONFIG"; then
28318         _pkg_min_version=0.9.0
28319         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28320 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28321         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28322                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28323 $as_echo "yes" >&6; }
28324         else
28325                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28326 $as_echo "no" >&6; }
28327                 PKG_CONFIG=""
28328         fi
28329
28330 fi 6> /dev/null
28331
28332 pkg_failed=no
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28334 $as_echo_n "checking for GLU... " >&6; }
28335
28336 if test -n "$PKG_CONFIG"; then
28337     if test -n "$GLU_CFLAGS"; then
28338         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28339     else
28340         if test -n "$PKG_CONFIG" && \
28341     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28342   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28343   ac_status=$?
28344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28345   test $ac_status = 0; }; then
28346   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28347 else
28348   pkg_failed=yes
28349 fi
28350     fi
28351 else
28352         pkg_failed=untried
28353 fi
28354 if test -n "$PKG_CONFIG"; then
28355     if test -n "$GLU_LIBS"; then
28356         pkg_cv_GLU_LIBS="$GLU_LIBS"
28357     else
28358         if test -n "$PKG_CONFIG" && \
28359     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28360   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28361   ac_status=$?
28362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28363   test $ac_status = 0; }; then
28364   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28365 else
28366   pkg_failed=yes
28367 fi
28368     fi
28369 else
28370         pkg_failed=untried
28371 fi
28372
28373
28374
28375 if test $pkg_failed = yes; then
28376
28377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28378         _pkg_short_errors_supported=yes
28379 else
28380         _pkg_short_errors_supported=no
28381 fi
28382         if test $_pkg_short_errors_supported = yes; then
28383                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28384         else
28385                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28386         fi
28387         # Put the nasty error message in config.log where it belongs
28388         echo "$GLU_PKG_ERRORS" >&5
28389
28390
28391       if test "x$ac_find_libraries" = "x"; then
28392                 if test "xgluBeginCurve" != "x"; then
28393           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28394 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28395 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28396   $as_echo_n "(cached) " >&6
28397 else
28398   ac_check_lib_save_LIBS=$LIBS
28399 LIBS="-lGLU  $LIBS"
28400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28401 /* end confdefs.h.  */
28402
28403 /* Override any GCC internal prototype to avoid an error.
28404    Use char because int might match the return type of a GCC
28405    builtin and then its argument prototype would still apply.  */
28406 #ifdef __cplusplus
28407 extern "C"
28408 #endif
28409 char gluBeginCurve ();
28410 int
28411 main ()
28412 {
28413 return gluBeginCurve ();
28414   ;
28415   return 0;
28416 }
28417 _ACEOF
28418 if ac_fn_c_try_link "$LINENO"; then :
28419   ac_cv_lib_GLU_gluBeginCurve=yes
28420 else
28421   ac_cv_lib_GLU_gluBeginCurve=no
28422 fi
28423 rm -f core conftest.err conftest.$ac_objext \
28424     conftest$ac_exeext conftest.$ac_ext
28425 LIBS=$ac_check_lib_save_LIBS
28426 fi
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28428 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28429 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28430   ac_find_libraries="std"
28431 fi
28432
28433         fi
28434       fi
28435
28436       if test "x$ac_find_libraries" = "x"; then
28437                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28438 $as_echo_n "checking elsewhere... " >&6; }
28439
28440   ac_find_libraries=
28441   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28442   do
28443     for ac_extension in a so sl dylib dll.a; do
28444       if test -f "$ac_dir/libGLU.$ac_extension"; then
28445         ac_find_libraries=$ac_dir
28446         break 2
28447       fi
28448     done
28449   done
28450
28451         if test "x$ac_find_libraries" != "x"; then
28452           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28453 $as_echo "yes" >&6; }
28454         else
28455           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28456 $as_echo "no" >&6; }
28457         fi
28458       fi
28459
28460 elif test $pkg_failed = untried; then
28461
28462       if test "x$ac_find_libraries" = "x"; then
28463                 if test "xgluBeginCurve" != "x"; then
28464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28465 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28466 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28467   $as_echo_n "(cached) " >&6
28468 else
28469   ac_check_lib_save_LIBS=$LIBS
28470 LIBS="-lGLU  $LIBS"
28471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28472 /* end confdefs.h.  */
28473
28474 /* Override any GCC internal prototype to avoid an error.
28475    Use char because int might match the return type of a GCC
28476    builtin and then its argument prototype would still apply.  */
28477 #ifdef __cplusplus
28478 extern "C"
28479 #endif
28480 char gluBeginCurve ();
28481 int
28482 main ()
28483 {
28484 return gluBeginCurve ();
28485   ;
28486   return 0;
28487 }
28488 _ACEOF
28489 if ac_fn_c_try_link "$LINENO"; then :
28490   ac_cv_lib_GLU_gluBeginCurve=yes
28491 else
28492   ac_cv_lib_GLU_gluBeginCurve=no
28493 fi
28494 rm -f core conftest.err conftest.$ac_objext \
28495     conftest$ac_exeext conftest.$ac_ext
28496 LIBS=$ac_check_lib_save_LIBS
28497 fi
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28499 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28500 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28501   ac_find_libraries="std"
28502 fi
28503
28504         fi
28505       fi
28506
28507       if test "x$ac_find_libraries" = "x"; then
28508                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28509 $as_echo_n "checking elsewhere... " >&6; }
28510
28511   ac_find_libraries=
28512   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28513   do
28514     for ac_extension in a so sl dylib dll.a; do
28515       if test -f "$ac_dir/libGLU.$ac_extension"; then
28516         ac_find_libraries=$ac_dir
28517         break 2
28518       fi
28519     done
28520   done
28521
28522         if test "x$ac_find_libraries" != "x"; then
28523           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28524 $as_echo "yes" >&6; }
28525         else
28526           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28527 $as_echo "no" >&6; }
28528         fi
28529       fi
28530
28531 else
28532         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28533         GLU_LIBS=$pkg_cv_GLU_LIBS
28534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28535 $as_echo "yes" >&6; }
28536
28537             ac_find_libraries="std"
28538
28539                                                 eval ac_find_cflags=\$GLU_CFLAGS
28540       eval fl_libs=\$GLU_LIBS
28541
28542                   for fl_path in $fl_libs
28543       do
28544         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28545                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28546         fi
28547       done
28548
28549 fi
28550
28551                     if test "$ac_find_libraries" != "" ; then
28552                       if test "$ac_find_libraries" != "std" ; then
28553
28554     if test "$ac_find_libraries" = "default location"; then
28555     ac_path_to_link=""
28556   else
28557     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28558     result=$?
28559     if test $result = 0; then
28560       ac_path_to_link=""
28561     else
28562       ac_path_to_link=" -L$ac_find_libraries"
28563     fi
28564   fi
28565
28566                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28567                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28568                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28569                         fi
28570                       fi
28571
28572                         found_gl=1
28573                         OPENGL_LIBS="-lGL -lGLU"
28574                     fi
28575                 fi
28576
28577                 if test "$found_gl" != 1; then
28578
28579   ac_find_libraries=
28580
28581     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28582
28583
28584 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28585         if test -n "$ac_tool_prefix"; then
28586   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28587 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28589 $as_echo_n "checking for $ac_word... " >&6; }
28590 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28591   $as_echo_n "(cached) " >&6
28592 else
28593   case $PKG_CONFIG in
28594   [\\/]* | ?:[\\/]*)
28595   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28596   ;;
28597   *)
28598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28599 for as_dir in $PATH
28600 do
28601   IFS=$as_save_IFS
28602   test -z "$as_dir" && as_dir=.
28603     for ac_exec_ext in '' $ac_executable_extensions; do
28604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28605     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28607     break 2
28608   fi
28609 done
28610   done
28611 IFS=$as_save_IFS
28612
28613   ;;
28614 esac
28615 fi
28616 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28617 if test -n "$PKG_CONFIG"; then
28618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28619 $as_echo "$PKG_CONFIG" >&6; }
28620 else
28621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28622 $as_echo "no" >&6; }
28623 fi
28624
28625
28626 fi
28627 if test -z "$ac_cv_path_PKG_CONFIG"; then
28628   ac_pt_PKG_CONFIG=$PKG_CONFIG
28629   # Extract the first word of "pkg-config", so it can be a program name with args.
28630 set dummy pkg-config; ac_word=$2
28631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28632 $as_echo_n "checking for $ac_word... " >&6; }
28633 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28634   $as_echo_n "(cached) " >&6
28635 else
28636   case $ac_pt_PKG_CONFIG in
28637   [\\/]* | ?:[\\/]*)
28638   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28639   ;;
28640   *)
28641   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28642 for as_dir in $PATH
28643 do
28644   IFS=$as_save_IFS
28645   test -z "$as_dir" && as_dir=.
28646     for ac_exec_ext in '' $ac_executable_extensions; do
28647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28648     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28650     break 2
28651   fi
28652 done
28653   done
28654 IFS=$as_save_IFS
28655
28656   ;;
28657 esac
28658 fi
28659 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28660 if test -n "$ac_pt_PKG_CONFIG"; then
28661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28662 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28663 else
28664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28665 $as_echo "no" >&6; }
28666 fi
28667
28668   if test "x$ac_pt_PKG_CONFIG" = x; then
28669     PKG_CONFIG=""
28670   else
28671     case $cross_compiling:$ac_tool_warned in
28672 yes:)
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28675 ac_tool_warned=yes ;;
28676 esac
28677     PKG_CONFIG=$ac_pt_PKG_CONFIG
28678   fi
28679 else
28680   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28681 fi
28682
28683 fi
28684 if test -n "$PKG_CONFIG"; then
28685         _pkg_min_version=0.9.0
28686         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28687 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28688         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28689                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28690 $as_echo "yes" >&6; }
28691         else
28692                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28693 $as_echo "no" >&6; }
28694                 PKG_CONFIG=""
28695         fi
28696
28697 fi 6> /dev/null
28698
28699 pkg_failed=no
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28701 $as_echo_n "checking for MesaGL... " >&6; }
28702
28703 if test -n "$PKG_CONFIG"; then
28704     if test -n "$MesaGL_CFLAGS"; then
28705         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28706     else
28707         if test -n "$PKG_CONFIG" && \
28708     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28709   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28710   ac_status=$?
28711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28712   test $ac_status = 0; }; then
28713   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28714 else
28715   pkg_failed=yes
28716 fi
28717     fi
28718 else
28719         pkg_failed=untried
28720 fi
28721 if test -n "$PKG_CONFIG"; then
28722     if test -n "$MesaGL_LIBS"; then
28723         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28724     else
28725         if test -n "$PKG_CONFIG" && \
28726     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28727   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28728   ac_status=$?
28729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28730   test $ac_status = 0; }; then
28731   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28732 else
28733   pkg_failed=yes
28734 fi
28735     fi
28736 else
28737         pkg_failed=untried
28738 fi
28739
28740
28741
28742 if test $pkg_failed = yes; then
28743
28744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28745         _pkg_short_errors_supported=yes
28746 else
28747         _pkg_short_errors_supported=no
28748 fi
28749         if test $_pkg_short_errors_supported = yes; then
28750                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28751         else
28752                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28753         fi
28754         # Put the nasty error message in config.log where it belongs
28755         echo "$MesaGL_PKG_ERRORS" >&5
28756
28757
28758       if test "x$ac_find_libraries" = "x"; then
28759                 if test "xglEnable" != "x"; then
28760           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28761 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28762 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28763   $as_echo_n "(cached) " >&6
28764 else
28765   ac_check_lib_save_LIBS=$LIBS
28766 LIBS="-lMesaGL  $LIBS"
28767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28768 /* end confdefs.h.  */
28769
28770 /* Override any GCC internal prototype to avoid an error.
28771    Use char because int might match the return type of a GCC
28772    builtin and then its argument prototype would still apply.  */
28773 #ifdef __cplusplus
28774 extern "C"
28775 #endif
28776 char glEnable ();
28777 int
28778 main ()
28779 {
28780 return glEnable ();
28781   ;
28782   return 0;
28783 }
28784 _ACEOF
28785 if ac_fn_c_try_link "$LINENO"; then :
28786   ac_cv_lib_MesaGL_glEnable=yes
28787 else
28788   ac_cv_lib_MesaGL_glEnable=no
28789 fi
28790 rm -f core conftest.err conftest.$ac_objext \
28791     conftest$ac_exeext conftest.$ac_ext
28792 LIBS=$ac_check_lib_save_LIBS
28793 fi
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28795 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28796 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28797   ac_find_libraries="std"
28798 fi
28799
28800         fi
28801       fi
28802
28803       if test "x$ac_find_libraries" = "x"; then
28804                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28805 $as_echo_n "checking elsewhere... " >&6; }
28806
28807   ac_find_libraries=
28808   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28809   do
28810     for ac_extension in a so sl dylib dll.a; do
28811       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28812         ac_find_libraries=$ac_dir
28813         break 2
28814       fi
28815     done
28816   done
28817
28818         if test "x$ac_find_libraries" != "x"; then
28819           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28820 $as_echo "yes" >&6; }
28821         else
28822           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28823 $as_echo "no" >&6; }
28824         fi
28825       fi
28826
28827 elif test $pkg_failed = untried; then
28828
28829       if test "x$ac_find_libraries" = "x"; then
28830                 if test "xglEnable" != "x"; then
28831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28832 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28833 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28834   $as_echo_n "(cached) " >&6
28835 else
28836   ac_check_lib_save_LIBS=$LIBS
28837 LIBS="-lMesaGL  $LIBS"
28838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28839 /* end confdefs.h.  */
28840
28841 /* Override any GCC internal prototype to avoid an error.
28842    Use char because int might match the return type of a GCC
28843    builtin and then its argument prototype would still apply.  */
28844 #ifdef __cplusplus
28845 extern "C"
28846 #endif
28847 char glEnable ();
28848 int
28849 main ()
28850 {
28851 return glEnable ();
28852   ;
28853   return 0;
28854 }
28855 _ACEOF
28856 if ac_fn_c_try_link "$LINENO"; then :
28857   ac_cv_lib_MesaGL_glEnable=yes
28858 else
28859   ac_cv_lib_MesaGL_glEnable=no
28860 fi
28861 rm -f core conftest.err conftest.$ac_objext \
28862     conftest$ac_exeext conftest.$ac_ext
28863 LIBS=$ac_check_lib_save_LIBS
28864 fi
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28866 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28867 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28868   ac_find_libraries="std"
28869 fi
28870
28871         fi
28872       fi
28873
28874       if test "x$ac_find_libraries" = "x"; then
28875                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28876 $as_echo_n "checking elsewhere... " >&6; }
28877
28878   ac_find_libraries=
28879   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28880   do
28881     for ac_extension in a so sl dylib dll.a; do
28882       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28883         ac_find_libraries=$ac_dir
28884         break 2
28885       fi
28886     done
28887   done
28888
28889         if test "x$ac_find_libraries" != "x"; then
28890           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28891 $as_echo "yes" >&6; }
28892         else
28893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28894 $as_echo "no" >&6; }
28895         fi
28896       fi
28897
28898 else
28899         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28900         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28902 $as_echo "yes" >&6; }
28903
28904             ac_find_libraries="std"
28905
28906                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28907       eval fl_libs=\$MesaGL_LIBS
28908
28909                   for fl_path in $fl_libs
28910       do
28911         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28912                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28913         fi
28914       done
28915
28916 fi
28917
28918                     if test "$ac_find_libraries" != "" ; then
28919                       if test "$ac_find_libraries" != "std" ; then
28920
28921     if test "$ac_find_libraries" = "default location"; then
28922     ac_path_to_link=""
28923   else
28924     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28925     result=$?
28926     if test $result = 0; then
28927       ac_path_to_link=""
28928     else
28929       ac_path_to_link=" -L$ac_find_libraries"
28930     fi
28931   fi
28932
28933                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28934                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28935                         fi
28936                       fi
28937                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28938                     fi
28939                 fi
28940
28941 fi
28942
28943
28944
28945 fi
28946
28947
28948
28949         if test "x$OPENGL_LIBS" = "x"; then
28950             if test "$wxUSE_OPENGL" = "yes"; then
28951                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28952             else
28953                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28954 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28955                 wxUSE_OPENGL=no
28956                 USE_OPENGL=0
28957             fi
28958         fi
28959     else
28960         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28961 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28962         wxUSE_OPENGL="no"
28963     fi
28964
28965     if test "$wxUSE_OPENGL" = "auto"; then
28966                                 wxUSE_OPENGL=yes
28967     fi
28968
28969     if test "$wxUSE_OPENGL" = "yes"; then
28970         USE_OPENGL=1
28971         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28972
28973         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28974
28975         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28976     fi
28977 fi
28978
28979
28980 if test -n "$TOOLKIT" ; then
28981     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28982 fi
28983
28984
28985
28986 if test "$wxUSE_SHARED" = "yes"; then
28987     case "${host}" in
28988       *-pc-msdosdjgpp )
28989                 wxUSE_SHARED=no
28990         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28991 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28992       ;;
28993     esac
28994 fi
28995
28996 if test "$wxUSE_SHARED" = "yes"; then
28997
28998
28999     case "${host}" in
29000         *-*-cygwin* | *-*-mingw* )
29001                                                                                                 wx_cv_version_script=no
29002             ;;
29003
29004         *)
29005             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29006 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29007 if ${wx_cv_version_script+:} false; then :
29008   $as_echo_n "(cached) " >&6
29009 else
29010
29011                 echo "VER_1 { *; };" >conftest.sym
29012                 echo "int main() { return 0; }" >conftest.cpp
29013
29014                 if { ac_try='
29015                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29016                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29017   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29018   (eval $ac_try) 2>&5
29019   ac_status=$?
29020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29021   test $ac_status = 0; }; } ; then
29022                   if test -s conftest.stderr ; then
29023                       wx_cv_version_script=no
29024                   else
29025                       wx_cv_version_script=yes
29026                   fi
29027                 else
29028                   wx_cv_version_script=no
29029                 fi
29030
29031                                                                                                                                                                                                 if test $wx_cv_version_script = yes
29032                 then
29033                   echo "struct B { virtual ~B() { } }; \
29034                         struct D : public B { }; \
29035                         void F() { D d; }" > conftest.cpp
29036
29037                   if { ac_try='
29038                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29039                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29040   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29041   (eval $ac_try) 2>&5
29042   ac_status=$?
29043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29044   test $ac_status = 0; }; } &&
29045                      { ac_try='
29046                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29047                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29048   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29049   (eval $ac_try) 2>&5
29050   ac_status=$?
29051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29052   test $ac_status = 0; }; }
29053                   then
29054                     if { ac_try='
29055                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29056                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29057   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29058   (eval $ac_try) 2>&5
29059   ac_status=$?
29060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29061   test $ac_status = 0; }; }
29062                     then
29063                       wx_cv_version_script=yes
29064                     else
29065                       wx_cv_version_script=no
29066                     fi
29067                   fi
29068                 fi
29069
29070                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29071                 rm -f conftest1.output conftest2.output conftest3.output
29072
29073 fi
29074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29075 $as_echo "$wx_cv_version_script" >&6; }
29076
29077             if test $wx_cv_version_script = yes ; then
29078                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29079             fi
29080             ;;
29081     esac
29082
29083
29084             if test "$wxUSE_VISIBILITY" != "no"; then
29085
29086
29087   if test -n "$GCC"; then
29088     CFLAGS_VISIBILITY="-fvisibility=hidden"
29089     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
29090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29091 $as_echo_n "checking for symbols visibility support... " >&6; }
29092     if ${wx_cv_cc_visibility+:} false; then :
29093   $as_echo_n "(cached) " >&6
29094 else
29095
29096       wx_save_CXXFLAGS="$CXXFLAGS"
29097       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29098       ac_ext=cpp
29099 ac_cpp='$CXXCPP $CPPFLAGS'
29100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29103
29104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29105 /* end confdefs.h.  */
29106
29107          /* we need gcc >= 4.0, older versions with visibility support
29108             didn't have class visibility: */
29109          #if defined(__GNUC__) && __GNUC__ < 4
29110          error this gcc is too old;
29111          #endif
29112
29113          /* visibility only makes sense for ELF shared libs: */
29114          #if !defined(__ELF__) && !defined(__APPLE__)
29115          error this platform has no visibility;
29116          #endif
29117
29118          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29119          #if defined(__clang__)
29120          clang compiler is still broken w.r.t. visibility;
29121          #endif
29122
29123          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29124          extern __attribute__((__visibility__("default"))) int exportedvar;
29125          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29126          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29127          class __attribute__((__visibility__("default"))) Foo {
29128            Foo() {}
29129          };
29130
29131 int
29132 main ()
29133 {
29134
29135   ;
29136   return 0;
29137 }
29138 _ACEOF
29139 if ac_fn_cxx_try_compile "$LINENO"; then :
29140   wx_cv_cc_visibility=yes
29141 else
29142   wx_cv_cc_visibility=no
29143 fi
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145       ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150
29151       CXXFLAGS="$wx_save_CXXFLAGS"
29152 fi
29153
29154     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29155 $as_echo "$wx_cv_cc_visibility" >&6; }
29156     if test $wx_cv_cc_visibility = yes; then
29157                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29158 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29159       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
29160   $as_echo_n "(cached) " >&6
29161 else
29162
29163         wx_save_CXXFLAGS="$CXXFLAGS"
29164         wx_save_LDFLAGS="$LDFLAGS"
29165         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29166         LDFLAGS="$LDFLAGS -shared -fPIC"
29167         ac_ext=cpp
29168 ac_cpp='$CXXCPP $CPPFLAGS'
29169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29172
29173         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29174 /* end confdefs.h.  */
29175
29176             #include <string>
29177
29178 int
29179 main ()
29180 {
29181
29182             std::string s("hello");
29183             return s.length();
29184
29185   ;
29186   return 0;
29187 }
29188 _ACEOF
29189 if ac_fn_cxx_try_link "$LINENO"; then :
29190   wx_cv_cc_broken_libstdcxx_visibility=no
29191 else
29192   wx_cv_cc_broken_libstdcxx_visibility=yes
29193 fi
29194 rm -f core conftest.err conftest.$ac_objext \
29195     conftest$ac_exeext conftest.$ac_ext
29196         ac_ext=c
29197 ac_cpp='$CPP $CPPFLAGS'
29198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29201
29202         CXXFLAGS="$wx_save_CXXFLAGS"
29203         LDFLAGS="$wx_save_LDFLAGS"
29204 fi
29205
29206       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29207 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29208
29209       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29210         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29211 $as_echo_n "checking whether we can work around it... " >&6; }
29212         if ${wx_cv_cc_visibility_workaround+:} false; then :
29213   $as_echo_n "(cached) " >&6
29214 else
29215
29216           ac_ext=cpp
29217 ac_cpp='$CXXCPP $CPPFLAGS'
29218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221
29222           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29223 /* end confdefs.h.  */
29224
29225               #pragma GCC visibility push(default)
29226               #include <string>
29227               #pragma GCC visibility pop
29228
29229 int
29230 main ()
29231 {
29232
29233               std::string s("hello");
29234               return s.length();
29235
29236   ;
29237   return 0;
29238 }
29239 _ACEOF
29240 if ac_fn_cxx_try_link "$LINENO"; then :
29241   wx_cv_cc_visibility_workaround=no
29242 else
29243   wx_cv_cc_visibility_workaround=yes
29244 fi
29245 rm -f core conftest.err conftest.$ac_objext \
29246     conftest$ac_exeext conftest.$ac_ext
29247           ac_ext=c
29248 ac_cpp='$CPP $CPPFLAGS'
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252
29253
29254 fi
29255
29256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29257 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29258
29259         if test $wx_cv_cc_visibility_workaround = no; then
29260                     wx_cv_cc_visibility=no
29261         fi
29262       fi
29263     fi
29264
29265     if test $wx_cv_cc_visibility = yes; then
29266       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29267
29268       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29269         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29270
29271       fi
29272     else
29273       CFLAGS_VISIBILITY=""
29274       CXXFLAGS_VISIBILITY=""
29275     fi
29276
29277
29278   fi
29279
29280     fi
29281
29282         if test "x$SUNCXX" = xyes; then
29283         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29284         WXCONFIG_RPATH="-R\$libdir"
29285     else
29286     case "${host}" in
29287       *-*-linux* | *-*-gnu* )
29288         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29289         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29290         ;;
29291
29292       *-*-solaris2* )
29293
29294                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29295
29296                         saveLdflags="$LDFLAGS"
29297         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29298         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29299 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29300         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h.  */
29302
29303 int
29304 main ()
29305 {
29306
29307   ;
29308   return 0;
29309 }
29310 _ACEOF
29311 if ac_fn_c_try_link "$LINENO"; then :
29312
29313                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29314 $as_echo "yes" >&6; }
29315                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29316                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29317
29318 else
29319
29320                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29321 $as_echo "no" >&6; }
29322                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29323 $as_echo_n "checking if the linker accepts -R... " >&6; }
29324                 LDFLAGS="$saveLdflags -Wl,-R,/"
29325                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h.  */
29327
29328 int
29329 main ()
29330 {
29331
29332   ;
29333   return 0;
29334 }
29335 _ACEOF
29336 if ac_fn_c_try_link "$LINENO"; then :
29337
29338                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29339 $as_echo "yes" >&6; }
29340                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29341                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29342
29343 else
29344
29345                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29346 $as_echo "no" >&6; }
29347
29348 fi
29349 rm -f core conftest.err conftest.$ac_objext \
29350     conftest$ac_exeext conftest.$ac_ext
29351
29352 fi
29353 rm -f core conftest.err conftest.$ac_objext \
29354     conftest$ac_exeext conftest.$ac_ext
29355         LDFLAGS="$saveLdflags"
29356       ;;
29357
29358       *-*-darwin* )
29359         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29360         if test "$install_name_tool" -a -x "$install_name_tool"; then
29361             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29362             cat <<EOF >change-install-names
29363 #!/bin/sh
29364 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29365 for i in \${libnames} ; do
29366     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29367     for dep in \${libnames} ; do
29368         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29369     done
29370 done
29371 EOF
29372             chmod +x change-install-names
29373             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29374         fi
29375
29376                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29377       ;;
29378
29379       *-*-cygwin* | *-*-mingw32* )
29380         ;;
29381
29382       *-*-hpux* )
29383         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29384         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29385         ;;
29386
29387     esac
29388     fi
29389
29390             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29391
29392     if test $wxUSE_RPATH = "no"; then
29393         SAMPLES_RPATH_FLAG=''
29394         DYLIB_PATH_POSTLINK=''
29395         WXCONFIG_RPATH=''
29396     fi
29397
29398     SHARED=1
29399
29400 else
29401
29402     config_linkage_component="-static"
29403     SHARED=0
29404
29405 fi
29406
29407
29408 UNICODE=0
29409 lib_unicode_suffix=
29410 WX_CHARTYPE="ansi"
29411 if test "$wxUSE_UNICODE" = "yes"; then
29412     lib_unicode_suffix=u
29413     WX_CHARTYPE="unicode"
29414     UNICODE=1
29415 fi
29416
29417 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29418 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29419
29420 DEBUG_INFO=0
29421 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29422     DEBUG_INFO=1
29423 fi
29424
29425 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29426
29427 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29428
29429 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29430
29431
29432 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29433     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29434 else
29435     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29436 fi
29437 if test "${TOOLKIT_DIR}" = "os2"; then
29438     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29439 else
29440     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29441 fi
29442
29443
29444
29445 if test "$wxUSE_OLD_COCOA" = 1; then
29446
29447     ac_ext=c
29448 ac_cpp='$CPP $CPPFLAGS'
29449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29452
29453 ac_ext=m
29454
29455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29456 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29457     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h.  */
29459 #include <AppKit/NSEvent.h>
29460 #include <CoreFoundation/CoreFoundation.h>
29461
29462 int
29463 main ()
29464 {
29465
29466   ;
29467   return 0;
29468 }
29469 _ACEOF
29470 if ac_fn_c_try_compile "$LINENO"; then :
29471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29472 $as_echo "no" >&6; }
29473 else
29474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29475 $as_echo "yes" >&6; }
29476         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29477 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29478         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29479 /* end confdefs.h.  */
29480 #define __Point__ 1
29481 #include <AppKit/NSEvent.h>
29482 #include <CoreFoundation/CoreFoundation.h>
29483
29484 int
29485 main ()
29486 {
29487
29488   ;
29489   return 0;
29490 }
29491 _ACEOF
29492 if ac_fn_c_try_compile "$LINENO"; then :
29493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29494 $as_echo "yes" >&6; }
29495             $as_echo "#define __Point__ 1" >>confdefs.h
29496
29497
29498 else
29499   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29501 as_fn_error $? "no
29502 See \`config.log' for more details" "$LINENO" 5; }
29503
29504 fi
29505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29506
29507 fi
29508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29509     ac_ext=c
29510 ac_cpp='$CPP $CPPFLAGS'
29511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29514
29515 fi
29516
29517
29518 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29519 if test "x$ac_cv_type_mode_t" = xyes; then :
29520
29521 else
29522
29523 cat >>confdefs.h <<_ACEOF
29524 #define mode_t int
29525 _ACEOF
29526
29527 fi
29528
29529 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29530 if test "x$ac_cv_type_off_t" = xyes; then :
29531
29532 else
29533
29534 cat >>confdefs.h <<_ACEOF
29535 #define off_t long int
29536 _ACEOF
29537
29538 fi
29539
29540 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29541 if test "x$ac_cv_type_pid_t" = xyes; then :
29542
29543 else
29544
29545 cat >>confdefs.h <<_ACEOF
29546 #define pid_t int
29547 _ACEOF
29548
29549 fi
29550
29551 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29552 if test "x$ac_cv_type_size_t" = xyes; then :
29553
29554 else
29555
29556 cat >>confdefs.h <<_ACEOF
29557 #define size_t unsigned int
29558 _ACEOF
29559
29560 fi
29561
29562
29563 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29564 if test "x$ac_cv_type_ssize_t" = xyes; then :
29565
29566 cat >>confdefs.h <<_ACEOF
29567 #define HAVE_SSIZE_T 1
29568 _ACEOF
29569
29570
29571 fi
29572
29573
29574 ac_ext=cpp
29575 ac_cpp='$CXXCPP $CPPFLAGS'
29576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29579  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29580 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29581 if ${wx_cv_size_t_is_uint+:} false; then :
29582   $as_echo_n "(cached) " >&6
29583 else
29584
29585                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29586 /* end confdefs.h.  */
29587 #include <stddef.h>
29588 int
29589 main ()
29590 {
29591
29592             return 0; }
29593
29594             struct Foo { void foo(size_t); void foo(unsigned int); };
29595
29596             int bar() {
29597
29598   ;
29599   return 0;
29600 }
29601 _ACEOF
29602 if ac_fn_cxx_try_compile "$LINENO"; then :
29603   wx_cv_size_t_is_uint=no
29604 else
29605   wx_cv_size_t_is_uint=yes
29606
29607 fi
29608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29609
29610
29611 fi
29612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29613 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29614
29615 if test "$wx_cv_size_t_is_uint" = "yes"; then
29616     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29617
29618 else
29619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29620 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29621 if ${wx_cv_size_t_is_ulong+:} false; then :
29622   $as_echo_n "(cached) " >&6
29623 else
29624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h.  */
29626 #include <stddef.h>
29627 int
29628 main ()
29629 {
29630
29631                 return 0; }
29632
29633                 struct Foo { void foo(size_t); void foo(unsigned long); };
29634
29635                 int bar() {
29636
29637   ;
29638   return 0;
29639 }
29640 _ACEOF
29641 if ac_fn_cxx_try_compile "$LINENO"; then :
29642   wx_cv_size_t_is_ulong=no
29643 else
29644   wx_cv_size_t_is_ulong=yes
29645
29646 fi
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648
29649 fi
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29651 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29652
29653     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29654         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29655
29656     fi
29657 fi
29658
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29660 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29661 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29662   $as_echo_n "(cached) " >&6
29663 else
29664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29665 /* end confdefs.h.  */
29666 #include <wchar.h>
29667 int
29668 main ()
29669 {
29670
29671             return 0; }
29672
29673             struct Foo { void foo(wchar_t);
29674                          void foo(unsigned short);
29675                          void foo(unsigned int);
29676                          void foo(unsigned long); };
29677
29678             int bar() {
29679
29680   ;
29681   return 0;
29682 }
29683 _ACEOF
29684 if ac_fn_cxx_try_compile "$LINENO"; then :
29685   wx_cv_wchar_t_is_separate_type=yes
29686 else
29687   wx_cv_wchar_t_is_separate_type=no
29688
29689 fi
29690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29691
29692 fi
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29694 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29695
29696 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29697     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29698
29699 else
29700     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29701
29702 fi
29703
29704 ac_ext=c
29705 ac_cpp='$CPP $CPPFLAGS'
29706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29709
29710
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29712 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29713 if ${wx_cv_struct_pw_gecos+:} false; then :
29714   $as_echo_n "(cached) " >&6
29715 else
29716
29717         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29718 /* end confdefs.h.  */
29719 #include <pwd.h>
29720 int
29721 main ()
29722 {
29723
29724                 char *p;
29725                 struct passwd *pw;
29726                 p = pw->pw_gecos;
29727
29728   ;
29729   return 0;
29730 }
29731 _ACEOF
29732 if ac_fn_c_try_compile "$LINENO"; then :
29733
29734                 wx_cv_struct_pw_gecos=yes
29735
29736 else
29737
29738                 wx_cv_struct_pw_gecos=no
29739
29740
29741 fi
29742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29743
29744
29745 fi
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29747 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29748
29749 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29750     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29751
29752 fi
29753
29754
29755 WCSLEN_FOUND=0
29756 WCHAR_LINK=
29757 for ac_func in wcslen
29758 do :
29759   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29760 if test "x$ac_cv_func_wcslen" = xyes; then :
29761   cat >>confdefs.h <<_ACEOF
29762 #define HAVE_WCSLEN 1
29763 _ACEOF
29764  WCSLEN_FOUND=1
29765 fi
29766 done
29767
29768
29769 if test "$WCSLEN_FOUND" = 0; then
29770     if test "$TOOLKIT" = "MSW"; then
29771         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29772 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29773 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29774   $as_echo_n "(cached) " >&6
29775 else
29776   ac_check_lib_save_LIBS=$LIBS
29777 LIBS="-lmsvcrt  $LIBS"
29778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29779 /* end confdefs.h.  */
29780
29781 /* Override any GCC internal prototype to avoid an error.
29782    Use char because int might match the return type of a GCC
29783    builtin and then its argument prototype would still apply.  */
29784 #ifdef __cplusplus
29785 extern "C"
29786 #endif
29787 char wcslen ();
29788 int
29789 main ()
29790 {
29791 return wcslen ();
29792   ;
29793   return 0;
29794 }
29795 _ACEOF
29796 if ac_fn_c_try_link "$LINENO"; then :
29797   ac_cv_lib_msvcrt_wcslen=yes
29798 else
29799   ac_cv_lib_msvcrt_wcslen=no
29800 fi
29801 rm -f core conftest.err conftest.$ac_objext \
29802     conftest$ac_exeext conftest.$ac_ext
29803 LIBS=$ac_check_lib_save_LIBS
29804 fi
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29806 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29807 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29808   WCHAR_OK=1
29809 fi
29810
29811     else
29812         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29813 $as_echo_n "checking for wcslen in -lw... " >&6; }
29814 if ${ac_cv_lib_w_wcslen+:} false; then :
29815   $as_echo_n "(cached) " >&6
29816 else
29817   ac_check_lib_save_LIBS=$LIBS
29818 LIBS="-lw  $LIBS"
29819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h.  */
29821
29822 /* Override any GCC internal prototype to avoid an error.
29823    Use char because int might match the return type of a GCC
29824    builtin and then its argument prototype would still apply.  */
29825 #ifdef __cplusplus
29826 extern "C"
29827 #endif
29828 char wcslen ();
29829 int
29830 main ()
29831 {
29832 return wcslen ();
29833   ;
29834   return 0;
29835 }
29836 _ACEOF
29837 if ac_fn_c_try_link "$LINENO"; then :
29838   ac_cv_lib_w_wcslen=yes
29839 else
29840   ac_cv_lib_w_wcslen=no
29841 fi
29842 rm -f core conftest.err conftest.$ac_objext \
29843     conftest$ac_exeext conftest.$ac_ext
29844 LIBS=$ac_check_lib_save_LIBS
29845 fi
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29847 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29848 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29849
29850                         WCHAR_LINK=" -lw"
29851                         WCSLEN_FOUND=1
29852
29853 fi
29854
29855     fi
29856 fi
29857
29858 if test "$WCSLEN_FOUND" = 1; then
29859     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29860
29861 fi
29862
29863 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29864 do :
29865   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29867 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29868   cat >>confdefs.h <<_ACEOF
29869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29870 _ACEOF
29871
29872 fi
29873 done
29874
29875
29876 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29877     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29878 fi
29879
29880 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29881 "
29882 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29883
29884 cat >>confdefs.h <<_ACEOF
29885 #define HAVE_MBSTATE_T 1
29886 _ACEOF
29887
29888 for ac_func in wcsrtombs
29889 do :
29890   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29891 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29892   cat >>confdefs.h <<_ACEOF
29893 #define HAVE_WCSRTOMBS 1
29894 _ACEOF
29895
29896 fi
29897 done
29898
29899 fi
29900
29901
29902 for ac_func in snprintf vsnprintf vsscanf
29903 do :
29904   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29906 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29907   cat >>confdefs.h <<_ACEOF
29908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29909 _ACEOF
29910
29911 fi
29912 done
29913
29914
29915 ac_ext=cpp
29916 ac_cpp='$CXXCPP $CPPFLAGS'
29917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29920
29921 if test "$ac_cv_func_vsnprintf" = "yes"; then
29922         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29923 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29924 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29925   $as_echo_n "(cached) " >&6
29926 else
29927
29928                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29929 /* end confdefs.h.  */
29930
29931                     #include <stdio.h>
29932                     #include <stdarg.h>
29933
29934 int
29935 main ()
29936 {
29937
29938                     char *buf;
29939                     va_list ap;
29940                     vsnprintf(buf, 10u, "%s", ap);
29941
29942   ;
29943   return 0;
29944 }
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947   wx_cv_func_vsnprintf_decl=yes
29948 else
29949   wx_cv_func_vsnprintf_decl=no
29950
29951 fi
29952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953
29954
29955 fi
29956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29957 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29958
29959     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29960         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29961
29962
29963                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29964 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29965 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29966   $as_echo_n "(cached) " >&6
29967 else
29968
29969                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29970 /* end confdefs.h.  */
29971
29972                         #include <stdio.h>
29973                         #include <stdarg.h>
29974                         #ifdef __MSL__
29975                         #if __MSL__ >= 0x6000
29976                         namespace std {}
29977                         using namespace std;
29978                         #endif
29979                         #endif
29980
29981 int
29982 main ()
29983 {
29984
29985                         char *buf;
29986                         va_list ap;
29987                         const char *fmt = "%s";
29988                         vsnprintf(buf, 10u, fmt, ap);
29989
29990   ;
29991   return 0;
29992 }
29993 _ACEOF
29994 if ac_fn_cxx_try_compile "$LINENO"; then :
29995   wx_cv_func_broken_vsnprintf_decl=no
29996 else
29997   wx_cv_func_broken_vsnprintf_decl=yes
29998
29999 fi
30000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30001
30002
30003 fi
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30005 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30006
30007         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30008             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30009
30010         fi
30011     fi
30012 fi
30013
30014 if test "$ac_cv_func_snprintf" = "yes"; then
30015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30016 $as_echo_n "checking for snprintf declaration... " >&6; }
30017 if ${wx_cv_func_snprintf_decl+:} false; then :
30018   $as_echo_n "(cached) " >&6
30019 else
30020
30021             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30022 /* end confdefs.h.  */
30023
30024                     #include <stdio.h>
30025                     #include <stdarg.h>
30026                     #ifdef __MSL__
30027                     #if __MSL__ >= 0x6000
30028                     namespace std {}
30029                     using namespace std;
30030                     #endif
30031                     #endif
30032
30033 int
30034 main ()
30035 {
30036
30037                     char *buf;
30038                     snprintf(buf, 10u, "%s", "wx");
30039
30040   ;
30041   return 0;
30042 }
30043 _ACEOF
30044 if ac_fn_cxx_try_compile "$LINENO"; then :
30045   wx_cv_func_snprintf_decl=yes
30046 else
30047   wx_cv_func_snprintf_decl=no
30048
30049 fi
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051
30052
30053 fi
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30055 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30056
30057     if test "$wx_cv_func_snprintf_decl" = "yes"; then
30058         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30059
30060     fi
30061
30062     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30063
30064                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30065 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30066 if ${wx_cv_func_snprintf_pos_params+:} false; then :
30067   $as_echo_n "(cached) " >&6
30068 else
30069
30070                 if test "$cross_compiling" = yes; then :
30071
30072                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30073 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30074 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30075 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30076                         wx_cv_func_snprintf_pos_params=no
30077
30078
30079 else
30080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30081 /* end confdefs.h.  */
30082
30083                         #include <stdio.h>
30084
30085                         int main (void)
30086                         {
30087                             char buffer[128];
30088                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30089                             if (strcmp ("2 3 1", buffer) == 0)
30090                                 exit (0);
30091                             exit (1);
30092                         }
30093
30094 _ACEOF
30095 if ac_fn_cxx_try_run "$LINENO"; then :
30096   wx_cv_func_snprintf_pos_params=no
30097 else
30098   wx_cv_func_snprintf_pos_params=yes
30099 fi
30100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30101   conftest.$ac_objext conftest.beam conftest.$ac_ext
30102 fi
30103
30104
30105
30106 fi
30107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30108 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30109
30110         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30111             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30112
30113         fi
30114     fi
30115 fi
30116
30117 if test "$ac_cv_func_vsscanf" = "yes"; then
30118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30119 $as_echo_n "checking for vsscanf declaration... " >&6; }
30120 if ${wx_cv_func_vsscanf_decl+:} false; then :
30121   $as_echo_n "(cached) " >&6
30122 else
30123
30124             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30125 /* end confdefs.h.  */
30126
30127                     #include <stdio.h>
30128                     #include <stdarg.h>
30129                     #ifdef __MSL__
30130                     #if __MSL__ >= 0x6000
30131                     namespace std {}
30132                     using namespace std;
30133                     #endif
30134                     #endif
30135
30136 int
30137 main ()
30138 {
30139
30140                     char *buf;
30141                     va_list args;
30142                     vsscanf(buf, "%s", args);
30143
30144   ;
30145   return 0;
30146 }
30147 _ACEOF
30148 if ac_fn_cxx_try_compile "$LINENO"; then :
30149   wx_cv_func_vsscanf_decl=yes
30150 else
30151   wx_cv_func_vsscanf_decl=no
30152
30153 fi
30154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30155
30156
30157 fi
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30159 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30160
30161     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30162         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30163
30164     fi
30165 fi
30166 ac_ext=c
30167 ac_cpp='$CPP $CPPFLAGS'
30168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30171
30172
30173 if test "$wxUSE_UNICODE" = yes; then
30174
30175             wchar_headers="#include <stdio.h>
30176 #include <wchar.h>"
30177     case "${host}" in
30178         *-*-solaris2* )
30179             for ac_header in widec.h
30180 do :
30181   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30182 "
30183 if test "x$ac_cv_header_widec_h" = xyes; then :
30184   cat >>confdefs.h <<_ACEOF
30185 #define HAVE_WIDEC_H 1
30186 _ACEOF
30187
30188 fi
30189
30190 done
30191
30192             if test "$ac_cv_header_widec_h" = "yes"; then
30193                 wchar_headers="$wchar_headers
30194 #include <widec.h>"
30195             fi
30196     esac
30197
30198
30199   for wx_func in putws fputws wprintf vswprintf vswscanf
30200   do
30201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30202 $as_echo_n "checking for $wx_func... " >&6; }
30203 if eval \${wx_cv_func_$wx_func+:} false; then :
30204   $as_echo_n "(cached) " >&6
30205 else
30206
30207         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30208 /* end confdefs.h.  */
30209
30210
30211                 $wchar_headers
30212                 $ac_includes_default
30213
30214 int
30215 main ()
30216 {
30217
30218                 #ifndef $wx_func
30219                   &$wx_func;
30220                 #endif
30221
30222
30223   ;
30224   return 0;
30225 }
30226
30227 _ACEOF
30228 if ac_fn_c_try_link "$LINENO"; then :
30229   eval wx_cv_func_$wx_func=yes
30230 else
30231   eval wx_cv_func_$wx_func=no
30232 fi
30233 rm -f core conftest.err conftest.$ac_objext \
30234     conftest$ac_exeext conftest.$ac_ext
30235
30236 fi
30237 eval ac_res=\$wx_cv_func_$wx_func
30238                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30239 $as_echo "$ac_res" >&6; }
30240
30241     if eval test \$wx_cv_func_$wx_func = yes
30242     then
30243       cat >>confdefs.h <<_ACEOF
30244 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30245 _ACEOF
30246
30247
30248     else
30249       :
30250
30251     fi
30252   done
30253
30254
30255                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30256 $as_echo_n "checking for _vsnwprintf... " >&6; }
30257     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30258 /* end confdefs.h.  */
30259 #include <wchar.h>
30260 int
30261 main ()
30262 {
30263 &_vsnwprintf;
30264   ;
30265   return 0;
30266 }
30267 _ACEOF
30268 if ac_fn_c_try_compile "$LINENO"; then :
30269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30270 $as_echo "yes" >&6; }
30271                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30272
30273 else
30274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30275 $as_echo "no" >&6; }
30276 fi
30277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30278 fi
30279
30280 if test "$wxUSE_FILE" = "yes"; then
30281
30282   for wx_func in fsync
30283   do
30284     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30285 $as_echo_n "checking for $wx_func... " >&6; }
30286 if eval \${wx_cv_func_$wx_func+:} false; then :
30287   $as_echo_n "(cached) " >&6
30288 else
30289
30290         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30291 /* end confdefs.h.  */
30292
30293
30294
30295                 $ac_includes_default
30296
30297 int
30298 main ()
30299 {
30300
30301                 #ifndef $wx_func
30302                   &$wx_func;
30303                 #endif
30304
30305
30306   ;
30307   return 0;
30308 }
30309
30310 _ACEOF
30311 if ac_fn_c_try_link "$LINENO"; then :
30312   eval wx_cv_func_$wx_func=yes
30313 else
30314   eval wx_cv_func_$wx_func=no
30315 fi
30316 rm -f core conftest.err conftest.$ac_objext \
30317     conftest$ac_exeext conftest.$ac_ext
30318
30319 fi
30320 eval ac_res=\$wx_cv_func_$wx_func
30321                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30322 $as_echo "$ac_res" >&6; }
30323
30324     if eval test \$wx_cv_func_$wx_func = yes
30325     then
30326       cat >>confdefs.h <<_ACEOF
30327 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30328 _ACEOF
30329
30330
30331     else
30332       :
30333
30334     fi
30335   done
30336
30337 fi
30338
30339 ac_ext=cpp
30340 ac_cpp='$CXXCPP $CPPFLAGS'
30341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30344
30345
30346   for wx_func in round
30347   do
30348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30349 $as_echo_n "checking for $wx_func... " >&6; }
30350 if eval \${wx_cv_func_$wx_func+:} false; then :
30351   $as_echo_n "(cached) " >&6
30352 else
30353
30354         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30355 /* end confdefs.h.  */
30356
30357
30358                 #include <math.h>
30359                 $ac_includes_default
30360
30361 int
30362 main ()
30363 {
30364
30365                 #ifndef $wx_func
30366                   &$wx_func;
30367                 #endif
30368
30369
30370   ;
30371   return 0;
30372 }
30373
30374 _ACEOF
30375 if ac_fn_cxx_try_link "$LINENO"; then :
30376   eval wx_cv_func_$wx_func=yes
30377 else
30378   eval wx_cv_func_$wx_func=no
30379 fi
30380 rm -f core conftest.err conftest.$ac_objext \
30381     conftest$ac_exeext conftest.$ac_ext
30382
30383 fi
30384 eval ac_res=\$wx_cv_func_$wx_func
30385                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30386 $as_echo "$ac_res" >&6; }
30387
30388     if eval test \$wx_cv_func_$wx_func = yes
30389     then
30390       cat >>confdefs.h <<_ACEOF
30391 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30392 _ACEOF
30393
30394
30395     else
30396       :
30397
30398     fi
30399   done
30400
30401 ac_ext=c
30402 ac_cpp='$CPP $CPPFLAGS'
30403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30406
30407
30408 if test "$TOOLKIT" != "MSW"; then
30409
30410 if test "$wxUSE_LIBICONV" != "no" ; then
30411
30412
30413
30414 # Check whether --with-libiconv-prefix was given.
30415 if test "${with_libiconv_prefix+set}" = set; then :
30416   withval=$with_libiconv_prefix;
30417     for dir in `echo "$withval" | tr : ' '`; do
30418       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30419       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30420     done
30421
30422 fi
30423
30424
30425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30426 $as_echo_n "checking for iconv... " >&6; }
30427 if ${am_cv_func_iconv+:} false; then :
30428   $as_echo_n "(cached) " >&6
30429 else
30430
30431     am_cv_func_iconv="no, consider installing GNU libiconv"
30432     am_cv_lib_iconv=no
30433     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h.  */
30435 #include <stdlib.h>
30436 #include <iconv.h>
30437 int
30438 main ()
30439 {
30440 iconv_t cd = iconv_open("","");
30441        iconv(cd,NULL,NULL,NULL,NULL);
30442        iconv_close(cd);
30443   ;
30444   return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_c_try_link "$LINENO"; then :
30448   am_cv_func_iconv=yes
30449 fi
30450 rm -f core conftest.err conftest.$ac_objext \
30451     conftest$ac_exeext conftest.$ac_ext
30452     if test "$am_cv_func_iconv" != yes; then
30453       am_save_LIBS="$LIBS"
30454       LIBS="$LIBS -liconv"
30455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30456 /* end confdefs.h.  */
30457 #include <stdlib.h>
30458 #include <iconv.h>
30459 int
30460 main ()
30461 {
30462 iconv_t cd = iconv_open("","");
30463          iconv(cd,NULL,NULL,NULL,NULL);
30464          iconv_close(cd);
30465   ;
30466   return 0;
30467 }
30468 _ACEOF
30469 if ac_fn_c_try_link "$LINENO"; then :
30470   am_cv_lib_iconv=yes
30471         am_cv_func_iconv=yes
30472 fi
30473 rm -f core conftest.err conftest.$ac_objext \
30474     conftest$ac_exeext conftest.$ac_ext
30475       LIBS="$am_save_LIBS"
30476     fi
30477
30478 fi
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30480 $as_echo "$am_cv_func_iconv" >&6; }
30481   if test "$am_cv_func_iconv" = yes; then
30482
30483 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30484
30485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30486 $as_echo_n "checking if iconv needs const... " >&6; }
30487 if ${wx_cv_func_iconv_const+:} false; then :
30488   $as_echo_n "(cached) " >&6
30489 else
30490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30491 /* end confdefs.h.  */
30492
30493 #include <stdlib.h>
30494 #include <iconv.h>
30495 extern
30496 #ifdef __cplusplus
30497 "C"
30498 #endif
30499 #if defined(__STDC__) || defined(__cplusplus)
30500 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30501 #else
30502 size_t iconv();
30503 #endif
30504
30505 int
30506 main ()
30507 {
30508
30509   ;
30510   return 0;
30511 }
30512 _ACEOF
30513 if ac_fn_c_try_compile "$LINENO"; then :
30514   wx_cv_func_iconv_const="no"
30515 else
30516   wx_cv_func_iconv_const="yes"
30517
30518 fi
30519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520
30521 fi
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30523 $as_echo "$wx_cv_func_iconv_const" >&6; }
30524
30525     iconv_const=
30526     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30527         iconv_const="const"
30528     fi
30529
30530
30531 cat >>confdefs.h <<_ACEOF
30532 #define ICONV_CONST $iconv_const
30533 _ACEOF
30534
30535   fi
30536   LIBICONV=
30537   if test "$am_cv_lib_iconv" = yes; then
30538     LIBICONV="-liconv"
30539   fi
30540
30541
30542     LIBS="$LIBICONV $LIBS"
30543 fi
30544
30545 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30546     for ac_func in sigaction
30547 do :
30548   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30549 if test "x$ac_cv_func_sigaction" = xyes; then :
30550   cat >>confdefs.h <<_ACEOF
30551 #define HAVE_SIGACTION 1
30552 _ACEOF
30553
30554 fi
30555 done
30556
30557
30558     if test "$ac_cv_func_sigaction" = "no"; then
30559         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30560 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30561         wxUSE_ON_FATAL_EXCEPTION=no
30562     fi
30563
30564     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30565       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30566 $as_echo_n "checking for sa_handler type... " >&6; }
30567 if ${wx_cv_type_sa_handler+:} false; then :
30568   $as_echo_n "(cached) " >&6
30569 else
30570
30571                 ac_ext=cpp
30572 ac_cpp='$CXXCPP $CPPFLAGS'
30573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30576
30577         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30578 /* end confdefs.h.  */
30579 #include <signal.h>
30580 int
30581 main ()
30582 {
30583
30584                         extern void testSigHandler(int);
30585
30586                         struct sigaction sa;
30587                         sa.sa_handler = testSigHandler;
30588
30589   ;
30590   return 0;
30591 }
30592 _ACEOF
30593 if ac_fn_cxx_try_compile "$LINENO"; then :
30594
30595                         wx_cv_type_sa_handler=int
30596
30597 else
30598
30599                         wx_cv_type_sa_handler=void
30600
30601 fi
30602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30603         ac_ext=c
30604 ac_cpp='$CPP $CPPFLAGS'
30605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30608
30609
30610 fi
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30612 $as_echo "$wx_cv_type_sa_handler" >&6; }
30613
30614       cat >>confdefs.h <<_ACEOF
30615 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30616 _ACEOF
30617
30618     fi
30619 fi
30620
30621 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30623 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30624 if ${wx_cv_func_backtrace+:} false; then :
30625   $as_echo_n "(cached) " >&6
30626 else
30627
30628             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30629 $as_echo_n "checking for library containing backtrace... " >&6; }
30630 if ${ac_cv_search_backtrace+:} false; then :
30631   $as_echo_n "(cached) " >&6
30632 else
30633   ac_func_search_save_LIBS=$LIBS
30634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30635 /* end confdefs.h.  */
30636
30637 /* Override any GCC internal prototype to avoid an error.
30638    Use char because int might match the return type of a GCC
30639    builtin and then its argument prototype would still apply.  */
30640 #ifdef __cplusplus
30641 extern "C"
30642 #endif
30643 char backtrace ();
30644 int
30645 main ()
30646 {
30647 return backtrace ();
30648   ;
30649   return 0;
30650 }
30651 _ACEOF
30652 for ac_lib in '' execinfo; do
30653   if test -z "$ac_lib"; then
30654     ac_res="none required"
30655   else
30656     ac_res=-l$ac_lib
30657     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30658   fi
30659   if ac_fn_c_try_link "$LINENO"; then :
30660   ac_cv_search_backtrace=$ac_res
30661 fi
30662 rm -f core conftest.err conftest.$ac_objext \
30663     conftest$ac_exeext
30664   if ${ac_cv_search_backtrace+:} false; then :
30665   break
30666 fi
30667 done
30668 if ${ac_cv_search_backtrace+:} false; then :
30669
30670 else
30671   ac_cv_search_backtrace=no
30672 fi
30673 rm conftest.$ac_ext
30674 LIBS=$ac_func_search_save_LIBS
30675 fi
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30677 $as_echo "$ac_cv_search_backtrace" >&6; }
30678 ac_res=$ac_cv_search_backtrace
30679 if test "$ac_res" != no; then :
30680   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30681
30682                     ac_ext=cpp
30683 ac_cpp='$CXXCPP $CPPFLAGS'
30684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30687
30688                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689 /* end confdefs.h.  */
30690 #include <execinfo.h>
30691 int
30692 main ()
30693 {
30694
30695                             void *trace[1];
30696                             char **messages;
30697                             backtrace(trace, 1);
30698                             messages = backtrace_symbols(trace, 1);
30699
30700   ;
30701   return 0;
30702 }
30703 _ACEOF
30704 if ac_fn_cxx_try_link "$LINENO"; then :
30705   wx_cv_func_backtrace=yes
30706 else
30707   wx_cv_func_backtrace=no
30708
30709 fi
30710 rm -f core conftest.err conftest.$ac_objext \
30711     conftest$ac_exeext conftest.$ac_ext
30712                     ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30717
30718
30719 else
30720   wx_cv_func_backtrace=no
30721
30722 fi
30723
30724
30725
30726 fi
30727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30728 $as_echo "$wx_cv_func_backtrace" >&6; }
30729
30730     if test "$wx_cv_func_backtrace" = "no"; then
30731         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30732 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30733         wxUSE_STACKWALKER=no
30734     else
30735         if test "$ac_cv_header_cxxabi_h" = "yes"; then
30736             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30737 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30738 if ${wx_cv_func_cxa_demangle+:} false; then :
30739   $as_echo_n "(cached) " >&6
30740 else
30741
30742                     ac_ext=cpp
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30747
30748                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h.  */
30750 #include <cxxabi.h>
30751 int
30752 main ()
30753 {
30754
30755                             int rc;
30756                             __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30757
30758   ;
30759   return 0;
30760 }
30761 _ACEOF
30762 if ac_fn_cxx_try_link "$LINENO"; then :
30763   wx_cv_func_cxa_demangle=yes
30764 else
30765   wx_cv_func_cxa_demangle=no
30766
30767 fi
30768 rm -f core conftest.err conftest.$ac_objext \
30769     conftest$ac_exeext conftest.$ac_ext
30770                     ac_ext=c
30771 ac_cpp='$CPP $CPPFLAGS'
30772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775
30776
30777
30778 fi
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30780 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30781         else
30782             wx_cv_func_cxa_demangle=no
30783         fi
30784
30785         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30786             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30787
30788         fi
30789     fi
30790 fi
30791
30792 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30794 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30795     wxUSE_STACKWALKER=no
30796 fi
30797
30798
30799 for ac_func in mkstemp mktemp
30800 do :
30801   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30803 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30804   cat >>confdefs.h <<_ACEOF
30805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30806 _ACEOF
30807  break
30808 fi
30809 done
30810
30811
30812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30813 $as_echo_n "checking for statfs... " >&6; }
30814 if ${wx_cv_func_statfs+:} false; then :
30815   $as_echo_n "(cached) " >&6
30816 else
30817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30818 /* end confdefs.h.  */
30819
30820              #if defined(__BSD__)
30821              #include <sys/param.h>
30822              #include <sys/mount.h>
30823              #else
30824              #include <sys/vfs.h>
30825              #endif
30826
30827 int
30828 main ()
30829 {
30830
30831              long l;
30832              struct statfs fs;
30833              statfs("/", &fs);
30834              l = fs.f_bsize;
30835              l += fs.f_blocks;
30836              l += fs.f_bavail;
30837
30838   ;
30839   return 0;
30840 }
30841 _ACEOF
30842 if ac_fn_c_try_compile "$LINENO"; then :
30843   wx_cv_func_statfs=yes
30844 else
30845   wx_cv_func_statfs=no
30846
30847 fi
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30849
30850 fi
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30852 $as_echo "$wx_cv_func_statfs" >&6; }
30853
30854 if test "$wx_cv_func_statfs" = "yes"; then
30855         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30856 $as_echo_n "checking for statfs declaration... " >&6; }
30857 if ${wx_cv_func_statfs_decl+:} false; then :
30858   $as_echo_n "(cached) " >&6
30859 else
30860   ac_ext=cpp
30861 ac_cpp='$CXXCPP $CPPFLAGS'
30862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30865
30866         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867 /* end confdefs.h.  */
30868
30869                  #if defined(__BSD__)
30870                  #include <sys/param.h>
30871                  #include <sys/mount.h>
30872                  #else
30873                  #include <sys/vfs.h>
30874                  #endif
30875
30876 int
30877 main ()
30878 {
30879
30880                 struct statfs fs;
30881                 statfs("", &fs);
30882
30883   ;
30884   return 0;
30885 }
30886 _ACEOF
30887 if ac_fn_cxx_try_compile "$LINENO"; then :
30888   wx_cv_func_statfs_decl=yes
30889 else
30890   wx_cv_func_statfs_decl=no
30891
30892 fi
30893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30894         ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30899
30900
30901 fi
30902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30903 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30904
30905     if test "$wx_cv_func_statfs_decl" = "yes"; then
30906         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30907
30908     fi
30909
30910     wx_cv_type_statvfs_t="struct statfs"
30911     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30912
30913 else
30914     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30915 $as_echo_n "checking for statvfs... " >&6; }
30916 if ${wx_cv_func_statvfs+:} false; then :
30917   $as_echo_n "(cached) " >&6
30918 else
30919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30920 /* end confdefs.h.  */
30921
30922                 #include <stddef.h>
30923                 #include <sys/statvfs.h>
30924
30925 int
30926 main ()
30927 {
30928
30929                 statvfs("/", NULL);
30930
30931   ;
30932   return 0;
30933 }
30934 _ACEOF
30935 if ac_fn_c_try_compile "$LINENO"; then :
30936   wx_cv_func_statvfs=yes
30937 else
30938   wx_cv_func_statvfs=no
30939
30940 fi
30941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30942
30943 fi
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30945 $as_echo "$wx_cv_func_statvfs" >&6; }
30946
30947     if test "$wx_cv_func_statvfs" = "yes"; then
30948                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30949 $as_echo_n "checking for statvfs argument type... " >&6; }
30950 if ${wx_cv_type_statvfs_t+:} false; then :
30951   $as_echo_n "(cached) " >&6
30952 else
30953   ac_ext=cpp
30954 ac_cpp='$CXXCPP $CPPFLAGS'
30955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30958
30959             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30960 /* end confdefs.h.  */
30961
30962                     #include <sys/statvfs.h>
30963
30964 int
30965 main ()
30966 {
30967
30968                     long l;
30969                     statvfs_t fs;
30970                     statvfs("/", &fs);
30971                     l = fs.f_bsize;
30972                     l += fs.f_blocks;
30973                     l += fs.f_bavail;
30974
30975   ;
30976   return 0;
30977 }
30978 _ACEOF
30979 if ac_fn_cxx_try_compile "$LINENO"; then :
30980   wx_cv_type_statvfs_t=statvfs_t
30981 else
30982
30983                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30984 /* end confdefs.h.  */
30985
30986                             #include <sys/statvfs.h>
30987
30988 int
30989 main ()
30990 {
30991
30992                             long l;
30993                             struct statvfs fs;
30994                             statvfs("/", &fs);
30995                             l = fs.f_bsize;
30996                             l += fs.f_blocks;
30997                             l += fs.f_bavail;
30998
30999   ;
31000   return 0;
31001 }
31002 _ACEOF
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004   wx_cv_type_statvfs_t="struct statvfs"
31005 else
31006   wx_cv_type_statvfs_t="unknown"
31007
31008 fi
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010
31011
31012 fi
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014             ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019
31020
31021 fi
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31023 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31024
31025         if test "$wx_cv_type_statvfs_t" != "unknown"; then
31026             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31027
31028         fi
31029     else
31030                 wx_cv_type_statvfs_t="unknown"
31031     fi
31032 fi
31033
31034 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31035     cat >>confdefs.h <<_ACEOF
31036 #define WX_STATFS_T $wx_cv_type_statvfs_t
31037 _ACEOF
31038
31039 else
31040     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31041 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31042 fi
31043
31044 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31045     for ac_func in fcntl flock
31046 do :
31047   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31049 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31050   cat >>confdefs.h <<_ACEOF
31051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31052 _ACEOF
31053  break
31054 fi
31055 done
31056
31057
31058     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31059         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31060 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31061         wxUSE_SNGLINST_CHECKER=no
31062     fi
31063 fi
31064
31065 for ac_func in setenv putenv
31066 do :
31067   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31070   cat >>confdefs.h <<_ACEOF
31071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31072 _ACEOF
31073  break
31074 fi
31075 done
31076
31077 if test "$ac_cv_func_setenv" = "yes"; then
31078     for ac_func in unsetenv
31079 do :
31080   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31081 if test "x$ac_cv_func_unsetenv" = xyes; then :
31082   cat >>confdefs.h <<_ACEOF
31083 #define HAVE_UNSETENV 1
31084 _ACEOF
31085
31086 fi
31087 done
31088
31089 fi
31090
31091 HAVE_SOME_SLEEP_FUNC=0
31092 if test "$USE_BEOS" = 1; then
31093             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31094
31095     HAVE_SOME_SLEEP_FUNC=1
31096 fi
31097
31098 if test "$USE_DARWIN" = 1; then
31099             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31100
31101     HAVE_SOME_SLEEP_FUNC=1
31102 fi
31103
31104 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31105         POSIX4_LINK=
31106     for ac_func in nanosleep
31107 do :
31108   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31109 if test "x$ac_cv_func_nanosleep" = xyes; then :
31110   cat >>confdefs.h <<_ACEOF
31111 #define HAVE_NANOSLEEP 1
31112 _ACEOF
31113  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31114
31115 else
31116
31117             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31118 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31119 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
31120   $as_echo_n "(cached) " >&6
31121 else
31122   ac_check_lib_save_LIBS=$LIBS
31123 LIBS="-lposix4  $LIBS"
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125 /* end confdefs.h.  */
31126
31127 /* Override any GCC internal prototype to avoid an error.
31128    Use char because int might match the return type of a GCC
31129    builtin and then its argument prototype would still apply.  */
31130 #ifdef __cplusplus
31131 extern "C"
31132 #endif
31133 char nanosleep ();
31134 int
31135 main ()
31136 {
31137 return nanosleep ();
31138   ;
31139   return 0;
31140 }
31141 _ACEOF
31142 if ac_fn_c_try_link "$LINENO"; then :
31143   ac_cv_lib_posix4_nanosleep=yes
31144 else
31145   ac_cv_lib_posix4_nanosleep=no
31146 fi
31147 rm -f core conftest.err conftest.$ac_objext \
31148     conftest$ac_exeext conftest.$ac_ext
31149 LIBS=$ac_check_lib_save_LIBS
31150 fi
31151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31152 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31153 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
31154
31155                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31156
31157                     POSIX4_LINK=" -lposix4"
31158
31159 else
31160
31161
31162   for wx_func in usleep
31163   do
31164     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31165 $as_echo_n "checking for $wx_func... " >&6; }
31166 if eval \${wx_cv_func_$wx_func+:} false; then :
31167   $as_echo_n "(cached) " >&6
31168 else
31169
31170         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31171 /* end confdefs.h.  */
31172
31173
31174
31175                 $ac_includes_default
31176
31177 int
31178 main ()
31179 {
31180
31181                 #ifndef $wx_func
31182                   &$wx_func;
31183                 #endif
31184
31185
31186   ;
31187   return 0;
31188 }
31189
31190 _ACEOF
31191 if ac_fn_c_try_link "$LINENO"; then :
31192   eval wx_cv_func_$wx_func=yes
31193 else
31194   eval wx_cv_func_$wx_func=no
31195 fi
31196 rm -f core conftest.err conftest.$ac_objext \
31197     conftest$ac_exeext conftest.$ac_ext
31198
31199 fi
31200 eval ac_res=\$wx_cv_func_$wx_func
31201                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31202 $as_echo "$ac_res" >&6; }
31203
31204     if eval test \$wx_cv_func_$wx_func = yes
31205     then
31206       cat >>confdefs.h <<_ACEOF
31207 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31208 _ACEOF
31209
31210
31211     else
31212       :
31213       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31214 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31215
31216     fi
31217   done
31218
31219
31220
31221 fi
31222
31223
31224
31225 fi
31226 done
31227
31228 fi
31229
31230
31231   for wx_func in uname
31232   do
31233     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31234 $as_echo_n "checking for $wx_func... " >&6; }
31235 if eval \${wx_cv_func_$wx_func+:} false; then :
31236   $as_echo_n "(cached) " >&6
31237 else
31238
31239         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h.  */
31241
31242
31243                 #include <sys/utsname.h>
31244                 $ac_includes_default
31245
31246 int
31247 main ()
31248 {
31249
31250                 #ifndef $wx_func
31251                   &$wx_func;
31252                 #endif
31253
31254
31255   ;
31256   return 0;
31257 }
31258
31259 _ACEOF
31260 if ac_fn_c_try_link "$LINENO"; then :
31261   eval wx_cv_func_$wx_func=yes
31262 else
31263   eval wx_cv_func_$wx_func=no
31264 fi
31265 rm -f core conftest.err conftest.$ac_objext \
31266     conftest$ac_exeext conftest.$ac_ext
31267
31268 fi
31269 eval ac_res=\$wx_cv_func_$wx_func
31270                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31271 $as_echo "$ac_res" >&6; }
31272
31273     if eval test \$wx_cv_func_$wx_func = yes
31274     then
31275       cat >>confdefs.h <<_ACEOF
31276 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31277 _ACEOF
31278
31279
31280     else
31281       :
31282
31283     fi
31284   done
31285
31286 if test "$wx_cv_func_uname" != yes; then
31287
31288   for wx_func in gethostname
31289   do
31290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31291 $as_echo_n "checking for $wx_func... " >&6; }
31292 if eval \${wx_cv_func_$wx_func+:} false; then :
31293   $as_echo_n "(cached) " >&6
31294 else
31295
31296         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31297 /* end confdefs.h.  */
31298
31299
31300
31301                 $ac_includes_default
31302
31303 int
31304 main ()
31305 {
31306
31307                 #ifndef $wx_func
31308                   &$wx_func;
31309                 #endif
31310
31311
31312   ;
31313   return 0;
31314 }
31315
31316 _ACEOF
31317 if ac_fn_c_try_link "$LINENO"; then :
31318   eval wx_cv_func_$wx_func=yes
31319 else
31320   eval wx_cv_func_$wx_func=no
31321 fi
31322 rm -f core conftest.err conftest.$ac_objext \
31323     conftest$ac_exeext conftest.$ac_ext
31324
31325 fi
31326 eval ac_res=\$wx_cv_func_$wx_func
31327                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31328 $as_echo "$ac_res" >&6; }
31329
31330     if eval test \$wx_cv_func_$wx_func = yes
31331     then
31332       cat >>confdefs.h <<_ACEOF
31333 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31334 _ACEOF
31335
31336
31337     else
31338       :
31339
31340     fi
31341   done
31342
31343 fi
31344
31345
31346   for wx_func in strtok_r
31347   do
31348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31349 $as_echo_n "checking for $wx_func... " >&6; }
31350 if eval \${wx_cv_func_$wx_func+:} false; then :
31351   $as_echo_n "(cached) " >&6
31352 else
31353
31354         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31355 /* end confdefs.h.  */
31356
31357
31358                 #define _REENTRANT
31359                 $ac_includes_default
31360
31361 int
31362 main ()
31363 {
31364
31365                 #ifndef $wx_func
31366                   &$wx_func;
31367                 #endif
31368
31369
31370   ;
31371   return 0;
31372 }
31373
31374 _ACEOF
31375 if ac_fn_c_try_link "$LINENO"; then :
31376   eval wx_cv_func_$wx_func=yes
31377 else
31378   eval wx_cv_func_$wx_func=no
31379 fi
31380 rm -f core conftest.err conftest.$ac_objext \
31381     conftest$ac_exeext conftest.$ac_ext
31382
31383 fi
31384 eval ac_res=\$wx_cv_func_$wx_func
31385                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31386 $as_echo "$ac_res" >&6; }
31387
31388     if eval test \$wx_cv_func_$wx_func = yes
31389     then
31390       cat >>confdefs.h <<_ACEOF
31391 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31392 _ACEOF
31393
31394
31395     else
31396       :
31397
31398     fi
31399   done
31400
31401
31402 INET_LINK=
31403 for ac_func in inet_addr
31404 do :
31405   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31406 if test "x$ac_cv_func_inet_addr" = xyes; then :
31407   cat >>confdefs.h <<_ACEOF
31408 #define HAVE_INET_ADDR 1
31409 _ACEOF
31410  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31411
31412 else
31413
31414         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31415 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31416 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31417   $as_echo_n "(cached) " >&6
31418 else
31419   ac_check_lib_save_LIBS=$LIBS
31420 LIBS="-lnsl  $LIBS"
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h.  */
31423
31424 /* Override any GCC internal prototype to avoid an error.
31425    Use char because int might match the return type of a GCC
31426    builtin and then its argument prototype would still apply.  */
31427 #ifdef __cplusplus
31428 extern "C"
31429 #endif
31430 char inet_addr ();
31431 int
31432 main ()
31433 {
31434 return inet_addr ();
31435   ;
31436   return 0;
31437 }
31438 _ACEOF
31439 if ac_fn_c_try_link "$LINENO"; then :
31440   ac_cv_lib_nsl_inet_addr=yes
31441 else
31442   ac_cv_lib_nsl_inet_addr=no
31443 fi
31444 rm -f core conftest.err conftest.$ac_objext \
31445     conftest$ac_exeext conftest.$ac_ext
31446 LIBS=$ac_check_lib_save_LIBS
31447 fi
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31449 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31450 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31451   INET_LINK="nsl"
31452 else
31453
31454                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31455 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31456 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31457   $as_echo_n "(cached) " >&6
31458 else
31459   ac_check_lib_save_LIBS=$LIBS
31460 LIBS="-lresolv  $LIBS"
31461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31462 /* end confdefs.h.  */
31463
31464 /* Override any GCC internal prototype to avoid an error.
31465    Use char because int might match the return type of a GCC
31466    builtin and then its argument prototype would still apply.  */
31467 #ifdef __cplusplus
31468 extern "C"
31469 #endif
31470 char inet_addr ();
31471 int
31472 main ()
31473 {
31474 return inet_addr ();
31475   ;
31476   return 0;
31477 }
31478 _ACEOF
31479 if ac_fn_c_try_link "$LINENO"; then :
31480   ac_cv_lib_resolv_inet_addr=yes
31481 else
31482   ac_cv_lib_resolv_inet_addr=no
31483 fi
31484 rm -f core conftest.err conftest.$ac_objext \
31485     conftest$ac_exeext conftest.$ac_ext
31486 LIBS=$ac_check_lib_save_LIBS
31487 fi
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31489 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31490 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31491   INET_LINK="resolv"
31492 else
31493
31494                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31495 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31496 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31497   $as_echo_n "(cached) " >&6
31498 else
31499   ac_check_lib_save_LIBS=$LIBS
31500 LIBS="-lsocket  $LIBS"
31501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31502 /* end confdefs.h.  */
31503
31504 /* Override any GCC internal prototype to avoid an error.
31505    Use char because int might match the return type of a GCC
31506    builtin and then its argument prototype would still apply.  */
31507 #ifdef __cplusplus
31508 extern "C"
31509 #endif
31510 char inet_addr ();
31511 int
31512 main ()
31513 {
31514 return inet_addr ();
31515   ;
31516   return 0;
31517 }
31518 _ACEOF
31519 if ac_fn_c_try_link "$LINENO"; then :
31520   ac_cv_lib_socket_inet_addr=yes
31521 else
31522   ac_cv_lib_socket_inet_addr=no
31523 fi
31524 rm -f core conftest.err conftest.$ac_objext \
31525     conftest$ac_exeext conftest.$ac_ext
31526 LIBS=$ac_check_lib_save_LIBS
31527 fi
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31529 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31530 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31531   INET_LINK="socket"
31532
31533 fi
31534
31535
31536
31537 fi
31538
31539
31540
31541 fi
31542
31543
31544
31545 fi
31546 done
31547
31548
31549 for ac_func in inet_aton
31550 do :
31551   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31552 if test "x$ac_cv_func_inet_aton" = xyes; then :
31553   cat >>confdefs.h <<_ACEOF
31554 #define HAVE_INET_ATON 1
31555 _ACEOF
31556  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31557
31558 else
31559
31560                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31562 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31563 if eval \${$as_ac_Lib+:} false; then :
31564   $as_echo_n "(cached) " >&6
31565 else
31566   ac_check_lib_save_LIBS=$LIBS
31567 LIBS="-l$INET_LINK  $LIBS"
31568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31569 /* end confdefs.h.  */
31570
31571 /* Override any GCC internal prototype to avoid an error.
31572    Use char because int might match the return type of a GCC
31573    builtin and then its argument prototype would still apply.  */
31574 #ifdef __cplusplus
31575 extern "C"
31576 #endif
31577 char inet_aton ();
31578 int
31579 main ()
31580 {
31581 return inet_aton ();
31582   ;
31583   return 0;
31584 }
31585 _ACEOF
31586 if ac_fn_c_try_link "$LINENO"; then :
31587   eval "$as_ac_Lib=yes"
31588 else
31589   eval "$as_ac_Lib=no"
31590 fi
31591 rm -f core conftest.err conftest.$ac_objext \
31592     conftest$ac_exeext conftest.$ac_ext
31593 LIBS=$ac_check_lib_save_LIBS
31594 fi
31595 eval ac_res=\$$as_ac_Lib
31596                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31597 $as_echo "$ac_res" >&6; }
31598 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31599   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31600
31601 fi
31602
31603
31604 fi
31605 done
31606
31607
31608 if test "x$INET_LINK" != "x"; then
31609     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31610
31611     INET_LINK=" -l$INET_LINK"
31612 fi
31613
31614
31615   for wx_func in fdopen
31616   do
31617     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31618 $as_echo_n "checking for $wx_func... " >&6; }
31619 if eval \${wx_cv_func_$wx_func+:} false; then :
31620   $as_echo_n "(cached) " >&6
31621 else
31622
31623         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31624 /* end confdefs.h.  */
31625
31626
31627
31628                 $ac_includes_default
31629
31630 int
31631 main ()
31632 {
31633
31634                 #ifndef $wx_func
31635                   &$wx_func;
31636                 #endif
31637
31638
31639   ;
31640   return 0;
31641 }
31642
31643 _ACEOF
31644 if ac_fn_c_try_link "$LINENO"; then :
31645   eval wx_cv_func_$wx_func=yes
31646 else
31647   eval wx_cv_func_$wx_func=no
31648 fi
31649 rm -f core conftest.err conftest.$ac_objext \
31650     conftest$ac_exeext conftest.$ac_ext
31651
31652 fi
31653 eval ac_res=\$wx_cv_func_$wx_func
31654                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31655 $as_echo "$ac_res" >&6; }
31656
31657     if eval test \$wx_cv_func_$wx_func = yes
31658     then
31659       cat >>confdefs.h <<_ACEOF
31660 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31661 _ACEOF
31662
31663
31664     else
31665       :
31666
31667     fi
31668   done
31669
31670
31671 if test "$wxUSE_TARSTREAM" = "yes"; then
31672
31673   for wx_func in sysconf
31674   do
31675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31676 $as_echo_n "checking for $wx_func... " >&6; }
31677 if eval \${wx_cv_func_$wx_func+:} false; then :
31678   $as_echo_n "(cached) " >&6
31679 else
31680
31681         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31682 /* end confdefs.h.  */
31683
31684
31685
31686                 $ac_includes_default
31687
31688 int
31689 main ()
31690 {
31691
31692                 #ifndef $wx_func
31693                   &$wx_func;
31694                 #endif
31695
31696
31697   ;
31698   return 0;
31699 }
31700
31701 _ACEOF
31702 if ac_fn_c_try_link "$LINENO"; then :
31703   eval wx_cv_func_$wx_func=yes
31704 else
31705   eval wx_cv_func_$wx_func=no
31706 fi
31707 rm -f core conftest.err conftest.$ac_objext \
31708     conftest$ac_exeext conftest.$ac_ext
31709
31710 fi
31711 eval ac_res=\$wx_cv_func_$wx_func
31712                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31713 $as_echo "$ac_res" >&6; }
31714
31715     if eval test \$wx_cv_func_$wx_func = yes
31716     then
31717       cat >>confdefs.h <<_ACEOF
31718 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31719 _ACEOF
31720
31721
31722     else
31723       :
31724
31725     fi
31726   done
31727
31728
31729
31730   for wx_func in getpwuid_r
31731   do
31732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31733 $as_echo_n "checking for $wx_func... " >&6; }
31734 if eval \${wx_cv_func_$wx_func+:} false; then :
31735   $as_echo_n "(cached) " >&6
31736 else
31737
31738         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31739 /* end confdefs.h.  */
31740
31741
31742
31743                     #define _REENTRANT
31744                     #include <pwd.h>
31745
31746                 $ac_includes_default
31747
31748 int
31749 main ()
31750 {
31751
31752                 #ifndef $wx_func
31753                   &$wx_func;
31754                 #endif
31755
31756                     struct passwd pw, *ppw;
31757                     char buf[1024];
31758                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31759
31760
31761   ;
31762   return 0;
31763 }
31764
31765 _ACEOF
31766 if ac_fn_c_try_link "$LINENO"; then :
31767   eval wx_cv_func_$wx_func=yes
31768 else
31769   eval wx_cv_func_$wx_func=no
31770 fi
31771 rm -f core conftest.err conftest.$ac_objext \
31772     conftest$ac_exeext conftest.$ac_ext
31773
31774 fi
31775 eval ac_res=\$wx_cv_func_$wx_func
31776                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31777 $as_echo "$ac_res" >&6; }
31778
31779     if eval test \$wx_cv_func_$wx_func = yes
31780     then
31781       cat >>confdefs.h <<_ACEOF
31782 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31783 _ACEOF
31784
31785
31786     else
31787       :
31788
31789     fi
31790   done
31791
31792
31793
31794   for wx_func in getgrgid_r
31795   do
31796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31797 $as_echo_n "checking for $wx_func... " >&6; }
31798 if eval \${wx_cv_func_$wx_func+:} false; then :
31799   $as_echo_n "(cached) " >&6
31800 else
31801
31802         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h.  */
31804
31805
31806
31807                     #define _REENTRANT
31808                     #include <grp.h>
31809
31810                 $ac_includes_default
31811
31812 int
31813 main ()
31814 {
31815
31816                 #ifndef $wx_func
31817                   &$wx_func;
31818                 #endif
31819
31820                     struct group grp, *pgrp;
31821                     char buf[1024];
31822                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31823
31824
31825   ;
31826   return 0;
31827 }
31828
31829 _ACEOF
31830 if ac_fn_c_try_link "$LINENO"; then :
31831   eval wx_cv_func_$wx_func=yes
31832 else
31833   eval wx_cv_func_$wx_func=no
31834 fi
31835 rm -f core conftest.err conftest.$ac_objext \
31836     conftest$ac_exeext conftest.$ac_ext
31837
31838 fi
31839 eval ac_res=\$wx_cv_func_$wx_func
31840                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31841 $as_echo "$ac_res" >&6; }
31842
31843     if eval test \$wx_cv_func_$wx_func = yes
31844     then
31845       cat >>confdefs.h <<_ACEOF
31846 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31847 _ACEOF
31848
31849
31850     else
31851       :
31852
31853     fi
31854   done
31855
31856 fi
31857
31858 fi
31859
31860
31861
31862 cat >confcache <<\_ACEOF
31863 # This file is a shell script that caches the results of configure
31864 # tests run on this system so they can be shared between configure
31865 # scripts and configure runs, see configure's option --config-cache.
31866 # It is not useful on other systems.  If it contains results you don't
31867 # want to keep, you may remove or edit it.
31868 #
31869 # config.status only pays attention to the cache file if you give it
31870 # the --recheck option to rerun configure.
31871 #
31872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31874 # following values.
31875
31876 _ACEOF
31877
31878 # The following way of writing the cache mishandles newlines in values,
31879 # but we know of no workaround that is simple, portable, and efficient.
31880 # So, we kill variables containing newlines.
31881 # Ultrix sh set writes to stderr and can't be redirected directly,
31882 # and sets the high bit in the cache file unless we assign to the vars.
31883 (
31884   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31885     eval ac_val=\$$ac_var
31886     case $ac_val in #(
31887     *${as_nl}*)
31888       case $ac_var in #(
31889       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31891       esac
31892       case $ac_var in #(
31893       _ | IFS | as_nl) ;; #(
31894       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31895       *) { eval $ac_var=; unset $ac_var;} ;;
31896       esac ;;
31897     esac
31898   done
31899
31900   (set) 2>&1 |
31901     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31902     *${as_nl}ac_space=\ *)
31903       # `set' does not quote correctly, so add quotes: double-quote
31904       # substitution turns \\\\ into \\, and sed turns \\ into \.
31905       sed -n \
31906         "s/'/'\\\\''/g;
31907           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31908       ;; #(
31909     *)
31910       # `set' quotes correctly as required by POSIX, so do not add quotes.
31911       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31912       ;;
31913     esac |
31914     sort
31915 ) |
31916   sed '
31917      /^ac_cv_env_/b end
31918      t clear
31919      :clear
31920      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31921      t end
31922      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31923      :end' >>confcache
31924 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31925   if test -w "$cache_file"; then
31926     if test "x$cache_file" != "x/dev/null"; then
31927       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31928 $as_echo "$as_me: updating cache $cache_file" >&6;}
31929       if test ! -f "$cache_file" || test -h "$cache_file"; then
31930         cat confcache >"$cache_file"
31931       else
31932         case $cache_file in #(
31933         */* | ?:*)
31934           mv -f confcache "$cache_file"$$ &&
31935           mv -f "$cache_file"$$ "$cache_file" ;; #(
31936         *)
31937           mv -f confcache "$cache_file" ;;
31938         esac
31939       fi
31940     fi
31941   else
31942     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31943 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31944   fi
31945 fi
31946 rm -f confcache
31947
31948
31949 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31950
31951
31952     THREADS_LINK=
31953     THREADS_CFLAGS=
31954
31955     if test "$wxUSE_THREADS" = "yes" ; then
31956         if test "$USE_BEOS" = 1; then
31957             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31958 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31959             wxUSE_THREADS="no"
31960         fi
31961     fi
31962
31963     if test "$wxUSE_THREADS" = "yes" ; then
31964
31965
31966                                 THREAD_OPTS="-pthread"
31967         if test "x$SUNCXX" = xyes; then
31968             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31969         fi
31970
31971         case "${host}" in
31972           *-*-solaris2* | *-*-sunos4* )
31973                 if test "x$GCC" = "xyes"; then
31974                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31975                 fi
31976                 ;;
31977           *-*-freebsd*)
31978                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31979                 ;;
31980           *-*-darwin* | *-*-cygwin* )
31981                                                 THREAD_OPTS=""
31982                 ;;
31983           *-*-aix*)
31984                                 THREAD_OPTS="pthreads"
31985                 ;;
31986           *-hp-hpux* )
31987                 if test "x$GCC" = "xyes"; then
31988                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31989                         THREAD_OPTS=""
31990                 else
31991                                                             THREAD_OPTS="-mt"
31992                 fi
31993                 ;;
31994
31995           *-*-irix* )
31996                                                                 if test "x$GCC" = "xyes"; then
31997                     THREAD_OPTS=""
31998                 fi
31999                 ;;
32000
32001           *-*-qnx*)
32002                                                 THREAD_OPTS=""
32003                 ;;
32004
32005           *-*-*UnixWare*)
32006                                 if test "x$GCC" != "xyes"; then
32007                     THREAD_OPTS="-Ethread"
32008                 fi
32009                 ;;
32010         esac
32011
32012         case "${host}" in
32013             *-*-qnx*)
32014                                                                 THREAD_OPTS="none pthread"
32015                 ;;
32016
32017             *)
32018                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
32019                 ;;
32020         esac
32021
32022                 THREADS_OK=no
32023         for flag in $THREAD_OPTS; do
32024             case $flag in
32025                 none)
32026                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32027 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32028                     ;;
32029
32030                 -*)
32031                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32032 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32033                     THREADS_CFLAGS="$flag"
32034                     ;;
32035
32036                 *)
32037                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32038 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32039                     THREADS_LINK="-l$flag"
32040                     ;;
32041               esac
32042
32043               save_LIBS="$LIBS"
32044               save_CFLAGS="$CFLAGS"
32045               LIBS="$THREADS_LINK $LIBS"
32046               CFLAGS="$THREADS_CFLAGS $CFLAGS"
32047
32048               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32049 /* end confdefs.h.  */
32050 #include <pthread.h>
32051 int
32052 main ()
32053 {
32054 pthread_create(0,0,0,0);
32055   ;
32056   return 0;
32057 }
32058 _ACEOF
32059 if ac_fn_c_try_link "$LINENO"; then :
32060   THREADS_OK=yes
32061 fi
32062 rm -f core conftest.err conftest.$ac_objext \
32063     conftest$ac_exeext conftest.$ac_ext
32064
32065               LIBS="$save_LIBS"
32066               CFLAGS="$save_CFLAGS"
32067
32068               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32069 $as_echo "$THREADS_OK" >&6; }
32070               if test "x$THREADS_OK" = "xyes"; then
32071                       break;
32072               fi
32073
32074               THREADS_LINK=""
32075               THREADS_CFLAGS=""
32076       done
32077
32078       if test "x$THREADS_OK" != "xyes"; then
32079           wxUSE_THREADS=no
32080           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32081 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32082       else
32083                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32084           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32085           LIBS="$THREADS_LINK $LIBS"
32086
32087           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32088 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32089           flag=no
32090           case "${host}" in
32091             *-aix*)
32092                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32093                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32094                 flag="-D_THREAD_SAFE"
32095                 ;;
32096             *-freebsd*)
32097                 flag="-D_THREAD_SAFE"
32098                 ;;
32099             *-hp-hpux* )
32100                 flag="-D_REENTRANT"
32101                 if test "x$GCC" != "xyes"; then
32102                                         flag="$flag -D_RWSTD_MULTI_THREAD"
32103                 fi
32104                 ;;
32105             *solaris* | alpha*-osf*)
32106                 flag="-D_REENTRANT"
32107                 ;;
32108           esac
32109           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32110 $as_echo "${flag}" >&6; }
32111           if test "x$flag" != xno; then
32112               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32113           fi
32114
32115                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32116       fi
32117     fi
32118
32119         if test "$wxUSE_THREADS" = "yes" ; then
32120         for ac_func in pthread_setconcurrency
32121 do :
32122   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32123 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
32124   cat >>confdefs.h <<_ACEOF
32125 #define HAVE_PTHREAD_SETCONCURRENCY 1
32126 _ACEOF
32127  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32128
32129 else
32130
32131                 for ac_func in thr_setconcurrency
32132 do :
32133   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32134 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
32135   cat >>confdefs.h <<_ACEOF
32136 #define HAVE_THR_SETCONCURRENCY 1
32137 _ACEOF
32138  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32139
32140 else
32141   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32142 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32143 fi
32144 done
32145
32146
32147 fi
32148 done
32149
32150
32151                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32152 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32153 if ${wx_cv_func_pthread_cleanup+:} false; then :
32154   $as_echo_n "(cached) " >&6
32155 else
32156
32157                                 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162
32163         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h.  */
32165 #include <pthread.h>
32166                void ThreadCleanupFunc(void *p);
32167
32168 int
32169 main ()
32170 {
32171
32172                 void *p;
32173                 pthread_cleanup_push(ThreadCleanupFunc, p);
32174                 pthread_cleanup_pop(0);
32175
32176   ;
32177   return 0;
32178 }
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181
32182                wx_cv_func_pthread_cleanup=yes
32183
32184 else
32185
32186                wx_cv_func_pthread_cleanup=no
32187
32188
32189 fi
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191         ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196
32197
32198 fi
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32200 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32201       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32202         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32203
32204       fi
32205
32206       for ac_header in sched.h
32207 do :
32208   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32209 "
32210 if test "x$ac_cv_header_sched_h" = xyes; then :
32211   cat >>confdefs.h <<_ACEOF
32212 #define HAVE_SCHED_H 1
32213 _ACEOF
32214
32215 fi
32216
32217 done
32218
32219       if test "$ac_cv_header_sched_h" = "yes"; then
32220           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32221 if test "x$ac_cv_func_sched_yield" = xyes; then :
32222   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32223
32224 else
32225
32226                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32227 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32228 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32229   $as_echo_n "(cached) " >&6
32230 else
32231   ac_check_lib_save_LIBS=$LIBS
32232 LIBS="-lposix4  $LIBS"
32233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32234 /* end confdefs.h.  */
32235
32236 /* Override any GCC internal prototype to avoid an error.
32237    Use char because int might match the return type of a GCC
32238    builtin and then its argument prototype would still apply.  */
32239 #ifdef __cplusplus
32240 extern "C"
32241 #endif
32242 char sched_yield ();
32243 int
32244 main ()
32245 {
32246 return sched_yield ();
32247   ;
32248   return 0;
32249 }
32250 _ACEOF
32251 if ac_fn_c_try_link "$LINENO"; then :
32252   ac_cv_lib_posix4_sched_yield=yes
32253 else
32254   ac_cv_lib_posix4_sched_yield=no
32255 fi
32256 rm -f core conftest.err conftest.$ac_objext \
32257     conftest$ac_exeext conftest.$ac_ext
32258 LIBS=$ac_check_lib_save_LIBS
32259 fi
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32261 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32262 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32263   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32264  POSIX4_LINK=" -lposix4"
32265 else
32266   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32267 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32268
32269 fi
32270
32271
32272
32273 fi
32274
32275       fi
32276
32277                                           HAVE_PRIOR_FUNCS=0
32278       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32279 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32280   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32281 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32282   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32283 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32284   HAVE_PRIOR_FUNCS=1
32285 else
32286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32287 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32288 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32289   $as_echo_n "(cached) " >&6
32290 else
32291   ac_check_lib_save_LIBS=$LIBS
32292 LIBS="-lposix4  $LIBS"
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h.  */
32295
32296 /* Override any GCC internal prototype to avoid an error.
32297    Use char because int might match the return type of a GCC
32298    builtin and then its argument prototype would still apply.  */
32299 #ifdef __cplusplus
32300 extern "C"
32301 #endif
32302 char sched_get_priority_max ();
32303 int
32304 main ()
32305 {
32306 return sched_get_priority_max ();
32307   ;
32308   return 0;
32309 }
32310 _ACEOF
32311 if ac_fn_c_try_link "$LINENO"; then :
32312   ac_cv_lib_posix4_sched_get_priority_max=yes
32313 else
32314   ac_cv_lib_posix4_sched_get_priority_max=no
32315 fi
32316 rm -f core conftest.err conftest.$ac_objext \
32317     conftest$ac_exeext conftest.$ac_ext
32318 LIBS=$ac_check_lib_save_LIBS
32319 fi
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32321 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32322 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32323
32324                                 HAVE_PRIOR_FUNCS=1
32325                                 POSIX4_LINK=" -lposix4"
32326
32327 fi
32328
32329
32330 fi
32331
32332
32333 fi
32334
32335
32336 fi
32337
32338
32339       if test "$HAVE_PRIOR_FUNCS" = 1; then
32340         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32341
32342       else
32343         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32344 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32345       fi
32346
32347       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32348 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32349   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32350
32351 else
32352   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32353 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32354 fi
32355
32356
32357       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32358 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32359   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32360
32361 else
32362   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32363 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32364 fi
32365
32366
32367       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32368 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32369   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32370
32371 fi
32372
32373
32374
32375       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32376 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32377 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32378   $as_echo_n "(cached) " >&6
32379 else
32380
32381         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32382 /* end confdefs.h.  */
32383 #include <pthread.h>
32384 int
32385 main ()
32386 {
32387
32388                pthread_mutexattr_t attr;
32389                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32390
32391   ;
32392   return 0;
32393 }
32394 _ACEOF
32395 if ac_fn_c_try_compile "$LINENO"; then :
32396   wx_cv_type_pthread_mutexattr_t=yes
32397 else
32398   wx_cv_type_pthread_mutexattr_t=no
32399
32400 fi
32401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32402
32403 fi
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32405 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32406
32407       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32408         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32409
32410
32411                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32412 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32413 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32414   $as_echo_n "(cached) " >&6
32415 else
32416
32417                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32418 /* end confdefs.h.  */
32419 #include <pthread.h>
32420 int
32421 main ()
32422 {
32423
32424                                pthread_mutexattr_t attr;
32425                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32426
32427   ;
32428   return 0;
32429 }
32430 _ACEOF
32431 if ac_fn_c_try_compile "$LINENO"; then :
32432   wx_cv_func_pthread_mutexattr_settype_decl=yes
32433 else
32434   wx_cv_func_pthread_mutexattr_settype_decl=no
32435
32436 fi
32437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32438
32439 fi
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32441 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32442         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32443             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32444
32445         fi
32446       else
32447                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32448 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32449 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32450   $as_echo_n "(cached) " >&6
32451 else
32452
32453             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32454 /* end confdefs.h.  */
32455 #include <pthread.h>
32456 int
32457 main ()
32458 {
32459
32460                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32461
32462   ;
32463   return 0;
32464 }
32465 _ACEOF
32466 if ac_fn_c_try_compile "$LINENO"; then :
32467
32468                     wx_cv_type_pthread_rec_mutex_init=yes
32469
32470 else
32471
32472                     wx_cv_type_pthread_rec_mutex_init=no
32473
32474
32475 fi
32476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32477
32478 fi
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32480 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32481         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32482           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32483
32484         else
32485                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32486 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32487         fi
32488       fi
32489
32490       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32491           if test "$USE_NETBSD" = 1; then
32492               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32493 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32494               wxUSE_COMPILER_TLS=no
32495           else
32496               wxUSE_COMPILER_TLS=yes
32497           fi
32498       fi
32499
32500       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32501                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32502 $as_echo_n "checking for __thread keyword... " >&6; }
32503 if ${wx_cv_cc___thread+:} false; then :
32504   $as_echo_n "(cached) " >&6
32505 else
32506
32507                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32508 /* end confdefs.h.  */
32509 #include <pthread.h>
32510 int
32511 main ()
32512 {
32513
32514                           static __thread int n = 0;
32515                           static __thread int *p = 0;
32516
32517   ;
32518   return 0;
32519 }
32520 _ACEOF
32521 if ac_fn_c_try_compile "$LINENO"; then :
32522   wx_cv_cc___thread=yes
32523 else
32524   wx_cv_cc___thread=no
32525
32526 fi
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528
32529
32530 fi
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32532 $as_echo "$wx_cv_cc___thread" >&6; }
32533
32534           if test "$wx_cv_cc___thread" = "yes"; then
32535
32536   GXX_VERSION=""
32537
32538
32539
32540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32541 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32542
32543   if  test "x$GCC" = "xyes" ; then :
32544
32545     if  test -z "" ; then :
32546
32547       ax_gcc_option_test="int main()
32548 {
32549         return 0;
32550 }"
32551
32552 else
32553
32554       ax_gcc_option_test=""
32555
32556 fi
32557
32558     # Dump the test program to file
32559     cat <<EOF > conftest.c
32560 $ax_gcc_option_test
32561 EOF
32562
32563     # Dump back the file to the log, useful for debugging purposes
32564     { ac_try='cat conftest.c 1>&5'
32565   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32566   (eval $ac_try) 2>&5
32567   ac_status=$?
32568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32569   test $ac_status = 0; }; }
32570
32571     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32572   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32573   (eval $ac_try) 2>&5
32574   ac_status=$?
32575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32576   test $ac_status = 0; }; } ; then :
32577
32578                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32579 $as_echo "yes" >&6; }
32580
32581     ax_gcc_version_option=yes
32582
32583
32584 else
32585
32586                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32587 $as_echo "no" >&6; }
32588
32589     ax_gcc_version_option=no
32590
32591
32592 fi
32593
32594 else
32595
32596     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32597 $as_echo "no gcc available" >&6; }
32598
32599 fi
32600
32601   if test "x$GXX" = "xyes"; then :
32602
32603     if test "x$ax_gxx_version_option" != "no"; then :
32604
32605       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32606 $as_echo_n "checking gxx version... " >&6; }
32607 if ${ax_cv_gxx_version+:} false; then :
32608   $as_echo_n "(cached) " >&6
32609 else
32610
32611         ax_cv_gxx_version="`$CXX -dumpversion`"
32612         if test "x$ax_cv_gxx_version" = "x"; then :
32613
32614           ax_cv_gxx_version=""
32615
32616 fi
32617
32618 fi
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32620 $as_echo "$ax_cv_gxx_version" >&6; }
32621       GXX_VERSION=$ax_cv_gxx_version
32622
32623 fi
32624
32625 fi
32626
32627
32628               if test -n "$ax_cv_gxx_version"; then
32629                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32630 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32631                   case "$ax_cv_gxx_version" in
32632                     1.* | 2.* | 3.* )
32633                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32634 $as_echo "no, it's broken" >&6; }
32635                         wx_cv_cc___thread=no
32636                         ;;
32637                     *)
32638                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32639 $as_echo "yes, it works" >&6; }
32640                         ;;
32641                   esac
32642               fi
32643           fi
32644
32645           if test "$wx_cv_cc___thread" = "yes"; then
32646             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32647
32648           fi
32649         fi
32650
32651         if test "$ac_cv_header_cxxabi_h" = "yes"; then
32652             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32653 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32654 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32655   $as_echo_n "(cached) " >&6
32656 else
32657
32658                     ac_ext=cpp
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32663
32664                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h.  */
32666 #include <cxxabi.h>
32667 int
32668 main ()
32669 {
32670
32671                             void foo(abi::__forced_unwind&);
32672
32673   ;
32674   return 0;
32675 }
32676 _ACEOF
32677 if ac_fn_cxx_try_compile "$LINENO"; then :
32678   wx_cv_type_abi_forced_unwind=yes
32679 else
32680   wx_cv_type_abi_forced_unwind=no
32681
32682 fi
32683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32684                     ac_ext=c
32685 ac_cpp='$CPP $CPPFLAGS'
32686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689
32690
32691
32692 fi
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32694 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32695         else
32696             wx_cv_type_abi_forced_unwind=no
32697         fi
32698
32699         if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32700             $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32701
32702         fi
32703     fi
32704
32705 else
32706     if test "$wxUSE_THREADS" = "yes" ; then
32707       case "${host}" in
32708         x86_64-*-mingw32* )
32709         ;;
32710         *-*-mingw32* )
32711                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32712 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32713 if ${wx_cv_cflags_mthread+:} false; then :
32714   $as_echo_n "(cached) " >&6
32715 else
32716
32717                     CFLAGS_OLD="$CFLAGS"
32718                     CFLAGS="-mthreads $CFLAGS"
32719                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h.  */
32721
32722 int
32723 main ()
32724 {
32725
32726   ;
32727   return 0;
32728 }
32729 _ACEOF
32730 if ac_fn_c_try_compile "$LINENO"; then :
32731   wx_cv_cflags_mthread=yes
32732 else
32733   wx_cv_cflags_mthread=no
32734
32735 fi
32736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32737
32738
32739 fi
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32741 $as_echo "$wx_cv_cflags_mthread" >&6; }
32742
32743             if test "$wx_cv_cflags_mthread" = "yes"; then
32744                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32745                 LDFLAGS="$LDFLAGS -mthreads"
32746             else
32747                                 CFLAGS="$CFLAGS_OLD"
32748             fi
32749         ;;
32750         *-pc-os2*emx )
32751             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32752             LDFLAGS="$LDFLAGS -Zmt"
32753         ;;
32754       esac
32755     fi
32756 fi
32757
32758 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32759 if test "x$ac_cv_func_localtime_r" = xyes; then :
32760    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32761
32762 fi
32763
32764 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32765 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32766    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32767
32768 fi
32769
32770
32771
32772
32773     ac_ext=c
32774 ac_cpp='$CPP $CPPFLAGS'
32775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32778
32779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32780 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32781
32782     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32783   $as_echo_n "(cached) " >&6
32784 else
32785
32786
32787 ################################################################
32788
32789 ac_cv_func_which_gethostbyname_r=unknown
32790
32791 #
32792 # ONE ARGUMENT (sanity check)
32793 #
32794
32795 # This should fail, as there is no variant of gethostbyname_r() that takes
32796 # a single argument. If it actually compiles, then we can assume that
32797 # netdb.h is not declaring the function, and the compiler is thereby
32798 # assuming an implicit prototype. In which case, we're out of luck.
32799 #
32800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32801 /* end confdefs.h.  */
32802 #include <netdb.h>
32803 int
32804 main ()
32805 {
32806
32807             char *name = "www.gnu.org";
32808             (void)gethostbyname_r(name) /* ; */
32809
32810
32811   ;
32812   return 0;
32813 }
32814 _ACEOF
32815 if ac_fn_c_try_compile "$LINENO"; then :
32816   ac_cv_func_which_gethostbyname_r=no
32817
32818 fi
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820
32821 #
32822 # SIX ARGUMENTS
32823 # (e.g. Linux)
32824 #
32825
32826 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32827
32828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32829 /* end confdefs.h.  */
32830 #include <netdb.h>
32831 int
32832 main ()
32833 {
32834
32835             char *name = "www.gnu.org";
32836             struct hostent ret, *retp;
32837             char buf[1024];
32838             int buflen = 1024;
32839             int my_h_errno;
32840             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32841
32842
32843   ;
32844   return 0;
32845 }
32846 _ACEOF
32847 if ac_fn_c_try_compile "$LINENO"; then :
32848   ac_cv_func_which_gethostbyname_r=six
32849
32850 fi
32851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32852
32853 fi
32854
32855 #
32856 # FIVE ARGUMENTS
32857 # (e.g. Solaris)
32858 #
32859
32860 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32861
32862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863 /* end confdefs.h.  */
32864 #include <netdb.h>
32865 int
32866 main ()
32867 {
32868
32869             char *name = "www.gnu.org";
32870             struct hostent ret;
32871             char buf[1024];
32872             int buflen = 1024;
32873             int my_h_errno;
32874             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32875
32876
32877   ;
32878   return 0;
32879 }
32880 _ACEOF
32881 if ac_fn_c_try_compile "$LINENO"; then :
32882   ac_cv_func_which_gethostbyname_r=five
32883
32884 fi
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886
32887 fi
32888
32889 #
32890 # THREE ARGUMENTS
32891 # (e.g. AIX, HP-UX, Tru64)
32892 #
32893
32894 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32895
32896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32897 /* end confdefs.h.  */
32898 #include <netdb.h>
32899 int
32900 main ()
32901 {
32902
32903             char *name = "www.gnu.org";
32904             struct hostent ret;
32905             struct hostent_data data;
32906             (void)gethostbyname_r(name, &ret, &data) /* ; */
32907
32908
32909   ;
32910   return 0;
32911 }
32912 _ACEOF
32913 if ac_fn_c_try_compile "$LINENO"; then :
32914   ac_cv_func_which_gethostbyname_r=three
32915
32916 fi
32917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32918
32919 fi
32920
32921 ################################################################
32922
32923
32924 fi
32925
32926 case "$ac_cv_func_which_gethostbyname_r" in
32927     three)
32928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32929 $as_echo "three" >&6; }
32930     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32931
32932     ;;
32933
32934     five)
32935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32936 $as_echo "five" >&6; }
32937     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32938
32939     ;;
32940
32941     six)
32942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32943 $as_echo "six" >&6; }
32944     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32945
32946     ;;
32947
32948     no)
32949     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32950 $as_echo "cannot find function declaration in netdb.h" >&6; }
32951     ;;
32952
32953     unknown)
32954     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32955 $as_echo "can't tell" >&6; }
32956     ;;
32957
32958     *)
32959     as_fn_error $? "internal error" "$LINENO" 5
32960     ;;
32961 esac
32962
32963 ac_ext=c
32964 ac_cpp='$CPP $CPPFLAGS'
32965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32968
32969
32970
32971       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32972               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32973           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32974 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32975    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32976
32977 fi
32978
32979       fi
32980
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32982 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32983 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32984   $as_echo_n "(cached) " >&6
32985 else
32986
32987                 ac_ext=cpp
32988 ac_cpp='$CXXCPP $CPPFLAGS'
32989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32992
32993
32994         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32995 /* end confdefs.h.  */
32996 #include <netdb.h>
32997 int
32998 main ()
32999 {
33000
33001                 char *name;
33002                 char *proto;
33003                 struct servent *se, *res;
33004                 char buffer[2048];
33005                 int buflen = 2048;
33006                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33007
33008   ;
33009   return 0;
33010 }
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013   ac_cv_func_which_getservbyname_r=six
33014 else
33015
33016                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33017 /* end confdefs.h.  */
33018 #include <netdb.h>
33019 int
33020 main ()
33021 {
33022
33023                         char *name;
33024                         char *proto;
33025                         struct servent *se;
33026                         char buffer[2048];
33027                         int buflen = 2048;
33028                         (void) getservbyname_r(name, proto, se, buffer, buflen)
33029
33030   ;
33031   return 0;
33032 }
33033 _ACEOF
33034 if ac_fn_cxx_try_compile "$LINENO"; then :
33035   ac_cv_func_which_getservbyname_r=five
33036 else
33037
33038                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33039 /* end confdefs.h.  */
33040 #include <netdb.h>
33041 int
33042 main ()
33043 {
33044
33045                                 char *name;
33046                                 char *proto;
33047                                 struct servent *se;
33048                                 struct servent_data data;
33049                                 (void) getservbyname_r(name, proto, se, &data);
33050
33051   ;
33052   return 0;
33053 }
33054 _ACEOF
33055 if ac_fn_cxx_try_compile "$LINENO"; then :
33056   ac_cv_func_which_getservbyname_r=four
33057 else
33058   ac_cv_func_which_getservbyname_r=no
33059
33060 fi
33061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33062
33063
33064 fi
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066
33067
33068 fi
33069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33070         ac_ext=c
33071 ac_cpp='$CPP $CPPFLAGS'
33072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33075
33076
33077
33078 fi
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33080 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33081
33082 if test $ac_cv_func_which_getservbyname_r = six; then
33083   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33084
33085 elif test $ac_cv_func_which_getservbyname_r = five; then
33086   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33087
33088 elif test $ac_cv_func_which_getservbyname_r = four; then
33089   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33090
33091 fi
33092
33093
33094       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33095               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33096           for ac_func in getservbyname
33097 do :
33098   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33099 if test "x$ac_cv_func_getservbyname" = xyes; then :
33100   cat >>confdefs.h <<_ACEOF
33101 #define HAVE_GETSERVBYNAME 1
33102 _ACEOF
33103   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33104
33105 fi
33106 done
33107
33108       fi
33109
33110 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33111
33112
33113 if test "$wxUSE_THREADS" = "yes"; then
33114   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33115
33116
33117   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33118 else
33119       if test "$wx_cv_func_strtok_r" = "yes"; then
33120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33121 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33122     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33123         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33124         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33125 $as_echo "yes" >&6; }
33126     else
33127         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33128 $as_echo "no" >&6; }
33129     fi
33130   fi
33131 fi
33132
33133 if test "$WXGTK3" = 1 ; then
33134     cat >>confdefs.h <<_ACEOF
33135 #define __WXGTK3__ 1
33136 _ACEOF
33137
33138     WXGTK2=1
33139 fi
33140 if test "$WXGTK2" = 1 ; then
33141   cat >>confdefs.h <<_ACEOF
33142 #define __WXGTK20__ $WXGTK2
33143 _ACEOF
33144
33145 fi
33146
33147 if test "$WXGTK127" = 1 ; then
33148   cat >>confdefs.h <<_ACEOF
33149 #define __WXGTK127__ $WXGTK127
33150 _ACEOF
33151
33152 fi
33153
33154 if test "$WXGPE" = 1 ; then
33155   cat >>confdefs.h <<_ACEOF
33156 #define __WXGPE__ $WXGPE
33157 _ACEOF
33158
33159 fi
33160
33161 DEBUG_CFLAGS=
33162 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33163                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33164 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33165 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33166     DEBUG_CFLAGS="-g"
33167 fi
33168
33169 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33170     wxUSE_DEBUG_INFO=yes
33171     if test "$GCC" = yes; then
33172         DEBUG_CFLAGS="-ggdb"
33173     fi
33174 fi
33175
33176 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33177     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33178
33179     if test "$wxUSE_GTK" = 1 ; then
33180         if test "$WXGTK2" = 1 ; then
33181             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33182         else
33183             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33184         fi
33185     fi
33186 fi
33187
33188 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33189     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33190
33191     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33192
33193     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33194
33195     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33196 fi
33197
33198 if test "$wxUSE_DMALLOC" = "yes" ; then
33199     DMALLOC_LIBS="-ldmallocthcxx"
33200 fi
33201
33202 PROFILE_FLAGS=
33203 if test "$wxUSE_PROFILE" = "yes" ; then
33204     PROFILE_FLAGS=" -pg"
33205 fi
33206
33207 if test "$GCC" = "yes" ; then
33208     if test "$wxUSE_NO_RTTI" = "yes" ; then
33209                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33210     fi
33211     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33212         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33213     fi
33214     if test "$wxUSE_PERMISSIVE" = "yes" ; then
33215         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33216     fi
33217
33218                                                 case "${host}" in
33219       powerpc*-*-aix* )
33220         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33221         ;;
33222       *-hppa* )
33223         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33224         ;;
33225     esac
33226 fi
33227
33228 OPTIMISE_CFLAGS=
33229 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33230                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33231 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33232 else
33233     if test "$wxUSE_OPTIMISE" = "no" ; then
33234         if test "$GCC" = yes ; then
33235                                     OPTIMISE_CFLAGS="-O0"
33236         fi
33237     else
33238         if test "$GCC" = yes ; then
33239             case "${host}" in
33240                 *-pc-os2_emx | *-pc-os2-emx )
33241                                                             OPTIMISE_CFLAGS="-O2"
33242                 ;;
33243                 *)
33244                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33245                 ;;
33246             esac
33247         else
33248             OPTIMISE_CFLAGS="-O"
33249         fi
33250     fi
33251 fi
33252
33253
33254 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33255     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33256
33257
33258     WXWIN_COMPATIBILITY_2_8="yes"
33259 fi
33260
33261 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33262     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33263
33264 fi
33265
33266
33267 if test "$wxUSE_GUI" = "yes"; then
33268     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33269
33270
33271                                             fi
33272
33273
33274 if test "$wxUSE_UNIX" = "yes"; then
33275   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33276
33277 fi
33278
33279
33280 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33281
33282     HAVE_DL_FUNCS=0
33283     HAVE_SHL_FUNCS=0
33284     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33285         if test "$USE_DOS" = 1; then
33286             HAVE_DL_FUNCS=0
33287         else
33288                                                 for ac_func in dlopen
33289 do :
33290   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33291 if test "x$ac_cv_func_dlopen" = xyes; then :
33292   cat >>confdefs.h <<_ACEOF
33293 #define HAVE_DLOPEN 1
33294 _ACEOF
33295
33296                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33297
33298                 HAVE_DL_FUNCS=1
33299
33300 else
33301
33302                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33303 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33304 if ${ac_cv_lib_dl_dlopen+:} false; then :
33305   $as_echo_n "(cached) " >&6
33306 else
33307   ac_check_lib_save_LIBS=$LIBS
33308 LIBS="-ldl  $LIBS"
33309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33310 /* end confdefs.h.  */
33311
33312 /* Override any GCC internal prototype to avoid an error.
33313    Use char because int might match the return type of a GCC
33314    builtin and then its argument prototype would still apply.  */
33315 #ifdef __cplusplus
33316 extern "C"
33317 #endif
33318 char dlopen ();
33319 int
33320 main ()
33321 {
33322 return dlopen ();
33323   ;
33324   return 0;
33325 }
33326 _ACEOF
33327 if ac_fn_c_try_link "$LINENO"; then :
33328   ac_cv_lib_dl_dlopen=yes
33329 else
33330   ac_cv_lib_dl_dlopen=no
33331 fi
33332 rm -f core conftest.err conftest.$ac_objext \
33333     conftest$ac_exeext conftest.$ac_ext
33334 LIBS=$ac_check_lib_save_LIBS
33335 fi
33336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33338 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33339
33340                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33341
33342                                 HAVE_DL_FUNCS=1
33343                                 DL_LINK=" -ldl$DL_LINK"
33344
33345 else
33346
33347                                 for ac_func in shl_load
33348 do :
33349   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33350 if test "x$ac_cv_func_shl_load" = xyes; then :
33351   cat >>confdefs.h <<_ACEOF
33352 #define HAVE_SHL_LOAD 1
33353 _ACEOF
33354
33355                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33356
33357                                                 HAVE_SHL_FUNCS=1
33358
33359 else
33360
33361                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33362 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33363 if ${ac_cv_lib_shl_load_dld+:} false; then :
33364   $as_echo_n "(cached) " >&6
33365 else
33366   ac_check_lib_save_LIBS=$LIBS
33367 LIBS="-lshl_load  $LIBS"
33368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369 /* end confdefs.h.  */
33370
33371 /* Override any GCC internal prototype to avoid an error.
33372    Use char because int might match the return type of a GCC
33373    builtin and then its argument prototype would still apply.  */
33374 #ifdef __cplusplus
33375 extern "C"
33376 #endif
33377 char dld ();
33378 int
33379 main ()
33380 {
33381 return dld ();
33382   ;
33383   return 0;
33384 }
33385 _ACEOF
33386 if ac_fn_c_try_link "$LINENO"; then :
33387   ac_cv_lib_shl_load_dld=yes
33388 else
33389   ac_cv_lib_shl_load_dld=no
33390 fi
33391 rm -f core conftest.err conftest.$ac_objext \
33392     conftest$ac_exeext conftest.$ac_ext
33393 LIBS=$ac_check_lib_save_LIBS
33394 fi
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33396 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33397 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33398
33399                                                                 HAVE_SHL_FUNCS=1
33400                                                                 DL_LINK=" -ldld$DL_LINK"
33401
33402 fi
33403
33404
33405 fi
33406 done
33407
33408
33409 fi
33410
33411
33412 fi
33413 done
33414
33415
33416                         if test "$HAVE_DL_FUNCS" = 1; then
33417                 for ac_func in dlerror
33418 do :
33419   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33420 if test "x$ac_cv_func_dlerror" = xyes; then :
33421   cat >>confdefs.h <<_ACEOF
33422 #define HAVE_DLERROR 1
33423 _ACEOF
33424  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33425
33426 else
33427
33428                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33429 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33430 if ${ac_cv_lib_dl_dlerror+:} false; then :
33431   $as_echo_n "(cached) " >&6
33432 else
33433   ac_check_lib_save_LIBS=$LIBS
33434 LIBS="-ldl  $LIBS"
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h.  */
33437
33438 /* Override any GCC internal prototype to avoid an error.
33439    Use char because int might match the return type of a GCC
33440    builtin and then its argument prototype would still apply.  */
33441 #ifdef __cplusplus
33442 extern "C"
33443 #endif
33444 char dlerror ();
33445 int
33446 main ()
33447 {
33448 return dlerror ();
33449   ;
33450   return 0;
33451 }
33452 _ACEOF
33453 if ac_fn_c_try_link "$LINENO"; then :
33454   ac_cv_lib_dl_dlerror=yes
33455 else
33456   ac_cv_lib_dl_dlerror=no
33457 fi
33458 rm -f core conftest.err conftest.$ac_objext \
33459     conftest$ac_exeext conftest.$ac_ext
33460 LIBS=$ac_check_lib_save_LIBS
33461 fi
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33463 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33464 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33465   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33466
33467 fi
33468
33469
33470
33471 fi
33472 done
33473
33474             fi
33475         fi
33476
33477                 if test "$USE_DARWIN" = 1; then
33478                         HAVE_DL_FUNCS=1
33479         fi
33480
33481         if test "$HAVE_DL_FUNCS" = 0; then
33482             if test "$HAVE_SHL_FUNCS" = 0; then
33483               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33484                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33485 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33486                   wxUSE_DYNAMIC_LOADER=no
33487                   wxUSE_DYNLIB_CLASS=no
33488               else
33489                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33490 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33491               fi
33492             fi
33493         fi
33494     fi
33495 fi
33496
33497 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33498     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33499
33500 fi
33501 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33502     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33503
33504 fi
33505
33506
33507
33508 if test "$wxUSE_PLUGINS" = "yes" ; then
33509     if test "$wxUSE_SHARED" = "no" ; then
33510         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33511 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33512         wxUSE_PLUGINS=no
33513     fi
33514     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33515         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33516 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33517         wxUSE_PLUGINS=no
33518     fi
33519     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33520         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33521 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33522         wxUSE_PLUGINS=no
33523     fi
33524     if test "$wxUSE_PLUGINS" = "yes" ; then
33525         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33526
33527     fi
33528 fi
33529
33530
33531 if test "$wxUSE_FSWATCHER" = "yes"; then
33532                 if test "$wxUSE_MSW" != "1"; then
33533         if test "$wxUSE_UNIX" = "yes"; then
33534             for ac_header in sys/inotify.h
33535 do :
33536   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33537 "
33538 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33539   cat >>confdefs.h <<_ACEOF
33540 #define HAVE_SYS_INOTIFY_H 1
33541 _ACEOF
33542
33543 fi
33544
33545 done
33546
33547             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33548                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33549
33550             else
33551                 for ac_header in sys/event.h
33552 do :
33553   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33554 "
33555 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33556   cat >>confdefs.h <<_ACEOF
33557 #define HAVE_SYS_EVENT_H 1
33558 _ACEOF
33559
33560 fi
33561
33562 done
33563
33564                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33565                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33566
33567                 else
33568                     wxUSE_FSWATCHER=no
33569                 fi
33570             fi
33571         else
33572             wxUSE_FSWATCHER=no
33573         fi
33574     else
33575         if test "$wxUSE_THREADS" != "yes"; then
33576             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33577 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33578             wxUSE_FSWATCHER=no
33579         fi
33580     fi
33581
33582     if test "$wxUSE_FSWATCHER" = "yes"; then
33583         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33584
33585         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33586     else
33587         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33588 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33589     fi
33590 fi
33591
33592
33593 if test "$wxUSE_STL" = "yes"; then
33594   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33595
33596 fi
33597
33598 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33599   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33600
33601 fi
33602
33603 if test "$wxUSE_ANY" = "yes"; then
33604     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33605
33606 fi
33607
33608 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33609   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33610
33611 fi
33612
33613 if test "$wxUSE_TIMER" = "yes"; then
33614   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33615
33616 fi
33617
33618 if test "$USE_UNIX" = 1 ; then
33619                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33620 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33621 if ${ac_cv_header_sys_soundcard+:} false; then :
33622   $as_echo_n "(cached) " >&6
33623 else
33624
33625         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h.  */
33627
33628                 #include <sys/ioctl.h>
33629                 #include <sys/soundcard.h>
33630
33631 int
33632 main ()
33633 {
33634
33635                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33636
33637   ;
33638   return 0;
33639 }
33640 _ACEOF
33641 if ac_fn_c_try_link "$LINENO"; then :
33642   ac_cv_header_sys_soundcard=yes
33643 else
33644
33645                 saveLibs="$LIBS"
33646                 LIBS="$saveLibs -lossaudio"
33647                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33648 /* end confdefs.h.  */
33649
33650                         #include <sys/ioctl.h>
33651                         #include <sys/soundcard.h>
33652
33653 int
33654 main ()
33655 {
33656
33657                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33658
33659   ;
33660   return 0;
33661 }
33662 _ACEOF
33663 if ac_fn_c_try_link "$LINENO"; then :
33664   ac_cv_header_sys_soundcard=yes
33665 else
33666
33667                         LIBS="$saveLibs"
33668                         ac_cv_header_sys_soundcard=no
33669
33670
33671 fi
33672 rm -f core conftest.err conftest.$ac_objext \
33673     conftest$ac_exeext conftest.$ac_ext
33674
33675
33676 fi
33677 rm -f core conftest.err conftest.$ac_objext \
33678     conftest$ac_exeext conftest.$ac_ext
33679
33680 fi
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33682 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33683
33684     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33685         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33686
33687     fi
33688 fi
33689
33690 WITH_PLUGIN_SDL=0
33691 if test "$wxUSE_SOUND" = "yes"; then
33692   if test "$USE_UNIX" = 1 ; then
33693     if test "$wxUSE_LIBSDL" != "no"; then
33694
33695 # Check whether --with-sdl-prefix was given.
33696 if test "${with_sdl_prefix+set}" = set; then :
33697   withval=$with_sdl_prefix; sdl_prefix="$withval"
33698 else
33699   sdl_prefix=""
33700 fi
33701
33702
33703 # Check whether --with-sdl-exec-prefix was given.
33704 if test "${with_sdl_exec_prefix+set}" = set; then :
33705   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33706 else
33707   sdl_exec_prefix=""
33708 fi
33709
33710 # Check whether --enable-sdltest was given.
33711 if test "${enable_sdltest+set}" = set; then :
33712   enableval=$enable_sdltest;
33713 else
33714   enable_sdltest=yes
33715 fi
33716
33717
33718   if test x$sdl_exec_prefix != x ; then
33719     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33720     if test x${SDL_CONFIG+set} != xset ; then
33721       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33722     fi
33723   fi
33724   if test x$sdl_prefix != x ; then
33725     sdl_args="$sdl_args --prefix=$sdl_prefix"
33726     if test x${SDL_CONFIG+set} != xset ; then
33727       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33728     fi
33729   fi
33730
33731   if test "x$prefix" != xNONE; then
33732     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33733   fi
33734   # Extract the first word of "sdl-config", so it can be a program name with args.
33735 set dummy sdl-config; ac_word=$2
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33737 $as_echo_n "checking for $ac_word... " >&6; }
33738 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33739   $as_echo_n "(cached) " >&6
33740 else
33741   case $SDL_CONFIG in
33742   [\\/]* | ?:[\\/]*)
33743   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33744   ;;
33745   *)
33746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33747 for as_dir in $PATH
33748 do
33749   IFS=$as_save_IFS
33750   test -z "$as_dir" && as_dir=.
33751     for ac_exec_ext in '' $ac_executable_extensions; do
33752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33753     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33755     break 2
33756   fi
33757 done
33758   done
33759 IFS=$as_save_IFS
33760
33761   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33762   ;;
33763 esac
33764 fi
33765 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33766 if test -n "$SDL_CONFIG"; then
33767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33768 $as_echo "$SDL_CONFIG" >&6; }
33769 else
33770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33771 $as_echo "no" >&6; }
33772 fi
33773
33774
33775   min_sdl_version=1.2.0
33776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33777 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33778   no_sdl=""
33779   if test "$SDL_CONFIG" = "no" ; then
33780     no_sdl=yes
33781   else
33782     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33783     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33784
33785     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33786            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33787     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33788            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33789     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33790            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33791     if test "x$enable_sdltest" = "xyes" ; then
33792       ac_save_CFLAGS="$CFLAGS"
33793       ac_save_CXXFLAGS="$CXXFLAGS"
33794       ac_save_LIBS="$LIBS"
33795       CFLAGS="$CFLAGS $SDL_CFLAGS"
33796       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33797       LIBS="$LIBS $SDL_LIBS"
33798       rm -f conf.sdltest
33799       if test "$cross_compiling" = yes; then :
33800   echo $ac_n "cross compiling; assumed OK... $ac_c"
33801 else
33802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33803 /* end confdefs.h.  */
33804
33805 #include <stdio.h>
33806 #include <stdlib.h>
33807 #include <string.h>
33808 #include "SDL.h"
33809
33810 char*
33811 my_strdup (char *str)
33812 {
33813   char *new_str;
33814
33815   if (str)
33816     {
33817       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33818       strcpy (new_str, str);
33819     }
33820   else
33821     new_str = NULL;
33822
33823   return new_str;
33824 }
33825
33826 int main (int argc, char *argv[])
33827 {
33828   int major, minor, micro;
33829   char *tmp_version;
33830
33831   /* This hangs on some systems (?)
33832   system ("touch conf.sdltest");
33833   */
33834   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33835
33836   /* HP/UX 9 (%@#!) writes to sscanf strings */
33837   tmp_version = my_strdup("$min_sdl_version");
33838   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33839      printf("%s, bad version string\n", "$min_sdl_version");
33840      exit(1);
33841    }
33842
33843    if (($sdl_major_version > major) ||
33844       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33845       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33846     {
33847       return 0;
33848     }
33849   else
33850     {
33851       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33852       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33853       printf("*** best to upgrade to the required version.\n");
33854       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33855       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33856       printf("*** config.cache before re-running configure\n");
33857       return 1;
33858     }
33859 }
33860
33861
33862 _ACEOF
33863 if ac_fn_c_try_run "$LINENO"; then :
33864
33865 else
33866   no_sdl=yes
33867 fi
33868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33869   conftest.$ac_objext conftest.beam conftest.$ac_ext
33870 fi
33871
33872        CFLAGS="$ac_save_CFLAGS"
33873        CXXFLAGS="$ac_save_CXXFLAGS"
33874        LIBS="$ac_save_LIBS"
33875      fi
33876   fi
33877   if test "x$no_sdl" = x ; then
33878      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33879 $as_echo "yes" >&6; }
33880
33881                     EXTRALIBS_SDL="$SDL_LIBS"
33882                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33883                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33884                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33885
33886
33887   else
33888      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33889 $as_echo "no" >&6; }
33890      if test "$SDL_CONFIG" = "no" ; then
33891        echo "*** The sdl-config script installed by SDL could not be found"
33892        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33893        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33894        echo "*** full path to sdl-config."
33895      else
33896        if test -f conf.sdltest ; then
33897         :
33898        else
33899           echo "*** Could not run SDL test program, checking why..."
33900           CFLAGS="$CFLAGS $SDL_CFLAGS"
33901           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33902           LIBS="$LIBS $SDL_LIBS"
33903           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33904 /* end confdefs.h.  */
33905
33906 #include <stdio.h>
33907 #include "SDL.h"
33908
33909 int main(int argc, char *argv[])
33910 { return 0; }
33911 #undef  main
33912 #define main K_and_R_C_main
33913
33914 int
33915 main ()
33916 {
33917  return 0;
33918   ;
33919   return 0;
33920 }
33921 _ACEOF
33922 if ac_fn_c_try_link "$LINENO"; then :
33923    echo "*** The test program compiled, but did not run. This usually means"
33924           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33925           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33926           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33927           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33928           echo "*** is required on your system"
33929           echo "***"
33930           echo "*** If you have an old version installed, it is best to remove it, although"
33931           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33932 else
33933    echo "*** The test program failed to compile or link. See the file config.log for the"
33934           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33935           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33936           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33937 fi
33938 rm -f core conftest.err conftest.$ac_objext \
33939     conftest$ac_exeext conftest.$ac_ext
33940           CFLAGS="$ac_save_CFLAGS"
33941           CXXFLAGS="$ac_save_CXXFLAGS"
33942           LIBS="$ac_save_LIBS"
33943        fi
33944      fi
33945      SDL_CFLAGS=""
33946      SDL_LIBS=""
33947      wxUSE_LIBSDL="no"
33948   fi
33949
33950
33951   rm -f conf.sdltest
33952
33953       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33954         WITH_PLUGIN_SDL=1
33955       fi
33956     fi
33957   fi
33958 fi
33959
33960 if test "$wxUSE_SOUND" = "yes"; then
33961   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33962
33963   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33964 fi
33965
33966 if test "$WXGTK2" = 1; then
33967
33968
33969 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33970         if test -n "$ac_tool_prefix"; then
33971   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33972 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33974 $as_echo_n "checking for $ac_word... " >&6; }
33975 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33976   $as_echo_n "(cached) " >&6
33977 else
33978   case $PKG_CONFIG in
33979   [\\/]* | ?:[\\/]*)
33980   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33981   ;;
33982   *)
33983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33984 for as_dir in $PATH
33985 do
33986   IFS=$as_save_IFS
33987   test -z "$as_dir" && as_dir=.
33988     for ac_exec_ext in '' $ac_executable_extensions; do
33989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33990     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33992     break 2
33993   fi
33994 done
33995   done
33996 IFS=$as_save_IFS
33997
33998   ;;
33999 esac
34000 fi
34001 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34002 if test -n "$PKG_CONFIG"; then
34003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34004 $as_echo "$PKG_CONFIG" >&6; }
34005 else
34006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34007 $as_echo "no" >&6; }
34008 fi
34009
34010
34011 fi
34012 if test -z "$ac_cv_path_PKG_CONFIG"; then
34013   ac_pt_PKG_CONFIG=$PKG_CONFIG
34014   # Extract the first word of "pkg-config", so it can be a program name with args.
34015 set dummy pkg-config; ac_word=$2
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34017 $as_echo_n "checking for $ac_word... " >&6; }
34018 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
34019   $as_echo_n "(cached) " >&6
34020 else
34021   case $ac_pt_PKG_CONFIG in
34022   [\\/]* | ?:[\\/]*)
34023   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34024   ;;
34025   *)
34026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34027 for as_dir in $PATH
34028 do
34029   IFS=$as_save_IFS
34030   test -z "$as_dir" && as_dir=.
34031     for ac_exec_ext in '' $ac_executable_extensions; do
34032   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34033     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34035     break 2
34036   fi
34037 done
34038   done
34039 IFS=$as_save_IFS
34040
34041   ;;
34042 esac
34043 fi
34044 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34045 if test -n "$ac_pt_PKG_CONFIG"; then
34046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34047 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34048 else
34049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34050 $as_echo "no" >&6; }
34051 fi
34052
34053   if test "x$ac_pt_PKG_CONFIG" = x; then
34054     PKG_CONFIG=""
34055   else
34056     case $cross_compiling:$ac_tool_warned in
34057 yes:)
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34060 ac_tool_warned=yes ;;
34061 esac
34062     PKG_CONFIG=$ac_pt_PKG_CONFIG
34063   fi
34064 else
34065   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34066 fi
34067
34068 fi
34069 if test -n "$PKG_CONFIG"; then
34070         _pkg_min_version=0.9.0
34071         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34072 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34073         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34074                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34075 $as_echo "yes" >&6; }
34076         else
34077                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34078 $as_echo "no" >&6; }
34079                 PKG_CONFIG=""
34080         fi
34081
34082 fi
34083
34084     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34085
34086         if test "$wxUSE_GTKPRINT" = "yes" ; then
34087             if test "$WXGTK3" = 1; then
34088                 gtk_unix_print="gtk+-unix-print-3.0"
34089             else
34090                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
34091             fi
34092
34093 pkg_failed=no
34094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34095 $as_echo_n "checking for GTKPRINT... " >&6; }
34096
34097 if test -n "$PKG_CONFIG"; then
34098     if test -n "$GTKPRINT_CFLAGS"; then
34099         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
34100     else
34101         if test -n "$PKG_CONFIG" && \
34102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34103   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34104   ac_status=$?
34105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34106   test $ac_status = 0; }; then
34107   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34108 else
34109   pkg_failed=yes
34110 fi
34111     fi
34112 else
34113         pkg_failed=untried
34114 fi
34115 if test -n "$PKG_CONFIG"; then
34116     if test -n "$GTKPRINT_LIBS"; then
34117         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
34118     else
34119         if test -n "$PKG_CONFIG" && \
34120     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34121   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34122   ac_status=$?
34123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34124   test $ac_status = 0; }; then
34125   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34126 else
34127   pkg_failed=yes
34128 fi
34129     fi
34130 else
34131         pkg_failed=untried
34132 fi
34133
34134
34135
34136 if test $pkg_failed = yes; then
34137
34138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34139         _pkg_short_errors_supported=yes
34140 else
34141         _pkg_short_errors_supported=no
34142 fi
34143         if test $_pkg_short_errors_supported = yes; then
34144                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34145         else
34146                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34147         fi
34148         # Put the nasty error message in config.log where it belongs
34149         echo "$GTKPRINT_PKG_ERRORS" >&5
34150
34151
34152                         { $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
34153 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34154                         wxUSE_GTKPRINT="no"
34155
34156
34157 elif test $pkg_failed = untried; then
34158
34159                         { $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
34160 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34161                         wxUSE_GTKPRINT="no"
34162
34163
34164 else
34165         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
34166         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
34167         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34168 $as_echo "yes" >&6; }
34169
34170                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34171                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
34172                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
34173                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34174
34175
34176 fi
34177         fi
34178
34179         if test "$WXGTK3" = 1; then
34180             wxUSE_LIBGNOMEPRINT=no
34181         fi
34182
34183         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34184
34185
34186 pkg_failed=no
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34188 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34189
34190 if test -n "$PKG_CONFIG"; then
34191     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34192         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34193     else
34194         if test -n "$PKG_CONFIG" && \
34195     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34196   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34197   ac_status=$?
34198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34199   test $ac_status = 0; }; then
34200   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34201 else
34202   pkg_failed=yes
34203 fi
34204     fi
34205 else
34206         pkg_failed=untried
34207 fi
34208 if test -n "$PKG_CONFIG"; then
34209     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34210         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34211     else
34212         if test -n "$PKG_CONFIG" && \
34213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34214   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34215   ac_status=$?
34216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34217   test $ac_status = 0; }; then
34218   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34219 else
34220   pkg_failed=yes
34221 fi
34222     fi
34223 else
34224         pkg_failed=untried
34225 fi
34226
34227
34228
34229 if test $pkg_failed = yes; then
34230
34231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34232         _pkg_short_errors_supported=yes
34233 else
34234         _pkg_short_errors_supported=no
34235 fi
34236         if test $_pkg_short_errors_supported = yes; then
34237                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34238         else
34239                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34240         fi
34241         # Put the nasty error message in config.log where it belongs
34242         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34243
34244
34245                         if test "$wxUSE_GTKPRINT" = yes; then
34246                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34247 $as_echo "no" >&6; }
34248                         else
34249                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34250 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34251                         fi
34252                         wxUSE_LIBGNOMEPRINT="no"
34253
34254
34255 elif test $pkg_failed = untried; then
34256
34257                         if test "$wxUSE_GTKPRINT" = yes; then
34258                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34259 $as_echo "no" >&6; }
34260                         else
34261                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34262 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34263                         fi
34264                         wxUSE_LIBGNOMEPRINT="no"
34265
34266
34267 else
34268         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34269         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34271 $as_echo "yes" >&6; }
34272
34273                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34274                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34275                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34276                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34277
34278
34279 fi
34280         fi
34281     fi
34282
34283     if test "$wxUSE_MIMETYPE" = "yes" ; then
34284         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34285
34286
34287 pkg_failed=no
34288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34289 $as_echo_n "checking for GNOMEVFS... " >&6; }
34290
34291 if test -n "$PKG_CONFIG"; then
34292     if test -n "$GNOMEVFS_CFLAGS"; then
34293         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34294     else
34295         if test -n "$PKG_CONFIG" && \
34296     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34297   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34298   ac_status=$?
34299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34300   test $ac_status = 0; }; then
34301   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34302 else
34303   pkg_failed=yes
34304 fi
34305     fi
34306 else
34307         pkg_failed=untried
34308 fi
34309 if test -n "$PKG_CONFIG"; then
34310     if test -n "$GNOMEVFS_LIBS"; then
34311         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34312     else
34313         if test -n "$PKG_CONFIG" && \
34314     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34315   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34316   ac_status=$?
34317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34318   test $ac_status = 0; }; then
34319   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34320 else
34321   pkg_failed=yes
34322 fi
34323     fi
34324 else
34325         pkg_failed=untried
34326 fi
34327
34328
34329
34330 if test $pkg_failed = yes; then
34331
34332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34333         _pkg_short_errors_supported=yes
34334 else
34335         _pkg_short_errors_supported=no
34336 fi
34337         if test $_pkg_short_errors_supported = yes; then
34338                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34339         else
34340                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34341         fi
34342         # Put the nasty error message in config.log where it belongs
34343         echo "$GNOMEVFS_PKG_ERRORS" >&5
34344
34345
34346                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34347 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34348                         wxUSE_LIBGNOMEVFS="no"
34349
34350
34351 elif test $pkg_failed = untried; then
34352
34353                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34354 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34355                         wxUSE_LIBGNOMEVFS="no"
34356
34357
34358 else
34359         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34360         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34361         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34362 $as_echo "yes" >&6; }
34363
34364                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34365                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34366                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34367                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34368
34369
34370 fi
34371         fi
34372     fi
34373
34374     if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34375         if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34376             HAVE_LIBNOTIFY=0
34377
34378 pkg_failed=no
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34380 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34381
34382 if test -n "$PKG_CONFIG"; then
34383     if test -n "$LIBNOTIFY_CFLAGS"; then
34384         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34385     else
34386         if test -n "$PKG_CONFIG" && \
34387     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34388   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34389   ac_status=$?
34390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34391   test $ac_status = 0; }; then
34392   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34393 else
34394   pkg_failed=yes
34395 fi
34396     fi
34397 else
34398         pkg_failed=untried
34399 fi
34400 if test -n "$PKG_CONFIG"; then
34401     if test -n "$LIBNOTIFY_LIBS"; then
34402         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34403     else
34404         if test -n "$PKG_CONFIG" && \
34405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34406   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34407   ac_status=$?
34408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34409   test $ac_status = 0; }; then
34410   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34411 else
34412   pkg_failed=yes
34413 fi
34414     fi
34415 else
34416         pkg_failed=untried
34417 fi
34418
34419
34420
34421 if test $pkg_failed = yes; then
34422
34423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34424         _pkg_short_errors_supported=yes
34425 else
34426         _pkg_short_errors_supported=no
34427 fi
34428         if test $_pkg_short_errors_supported = yes; then
34429                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34430         else
34431                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34432         fi
34433         # Put the nasty error message in config.log where it belongs
34434         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34435
34436
34437
34438 pkg_failed=no
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34440 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34441
34442 if test -n "$PKG_CONFIG"; then
34443     if test -n "$LIBNOTIFY_CFLAGS"; then
34444         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34445     else
34446         if test -n "$PKG_CONFIG" && \
34447     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34448   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34449   ac_status=$?
34450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34451   test $ac_status = 0; }; then
34452   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34453 else
34454   pkg_failed=yes
34455 fi
34456     fi
34457 else
34458         pkg_failed=untried
34459 fi
34460 if test -n "$PKG_CONFIG"; then
34461     if test -n "$LIBNOTIFY_LIBS"; then
34462         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34463     else
34464         if test -n "$PKG_CONFIG" && \
34465     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34466   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34467   ac_status=$?
34468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34469   test $ac_status = 0; }; then
34470   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34471 else
34472   pkg_failed=yes
34473 fi
34474     fi
34475 else
34476         pkg_failed=untried
34477 fi
34478
34479
34480
34481 if test $pkg_failed = yes; then
34482
34483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34484         _pkg_short_errors_supported=yes
34485 else
34486         _pkg_short_errors_supported=no
34487 fi
34488         if test $_pkg_short_errors_supported = yes; then
34489                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34490         else
34491                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34492         fi
34493         # Put the nasty error message in config.log where it belongs
34494         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34495
34496         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34497 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34498
34499 elif test $pkg_failed = untried; then
34500         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34501 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34502
34503 else
34504         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34505         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34507 $as_echo "yes" >&6; }
34508         HAVE_LIBNOTIFY=1
34509 fi
34510
34511
34512 elif test $pkg_failed = untried; then
34513
34514
34515 pkg_failed=no
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34517 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34518
34519 if test -n "$PKG_CONFIG"; then
34520     if test -n "$LIBNOTIFY_CFLAGS"; then
34521         pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34522     else
34523         if test -n "$PKG_CONFIG" && \
34524     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34525   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34526   ac_status=$?
34527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34528   test $ac_status = 0; }; then
34529   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34530 else
34531   pkg_failed=yes
34532 fi
34533     fi
34534 else
34535         pkg_failed=untried
34536 fi
34537 if test -n "$PKG_CONFIG"; then
34538     if test -n "$LIBNOTIFY_LIBS"; then
34539         pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34540     else
34541         if test -n "$PKG_CONFIG" && \
34542     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34543   ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34544   ac_status=$?
34545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34546   test $ac_status = 0; }; then
34547   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34548 else
34549   pkg_failed=yes
34550 fi
34551     fi
34552 else
34553         pkg_failed=untried
34554 fi
34555
34556
34557
34558 if test $pkg_failed = yes; then
34559
34560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34561         _pkg_short_errors_supported=yes
34562 else
34563         _pkg_short_errors_supported=no
34564 fi
34565         if test $_pkg_short_errors_supported = yes; then
34566                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34567         else
34568                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34569         fi
34570         # Put the nasty error message in config.log where it belongs
34571         echo "$LIBNOTIFY_PKG_ERRORS" >&5
34572
34573         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34574 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34575
34576 elif test $pkg_failed = untried; then
34577         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34578 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34579
34580 else
34581         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34582         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34583         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34584 $as_echo "yes" >&6; }
34585         HAVE_LIBNOTIFY=1
34586 fi
34587
34588
34589 else
34590         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34591         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34592         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34593 $as_echo "yes" >&6; }
34594
34595                     HAVE_LIBNOTIFY=1
34596                     $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34597
34598
34599 fi
34600
34601             if test "$HAVE_LIBNOTIFY" = "1" ; then
34602                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34603                 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34604                 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34605                 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34606
34607             fi
34608         fi
34609     fi
34610
34611     if test "$wxUSE_LIBHILDON" = "yes" ; then
34612
34613 pkg_failed=no
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34615 $as_echo_n "checking for HILDON... " >&6; }
34616
34617 if test -n "$PKG_CONFIG"; then
34618     if test -n "$HILDON_CFLAGS"; then
34619         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34620     else
34621         if test -n "$PKG_CONFIG" && \
34622     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34623   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34624   ac_status=$?
34625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34626   test $ac_status = 0; }; then
34627   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34628 else
34629   pkg_failed=yes
34630 fi
34631     fi
34632 else
34633         pkg_failed=untried
34634 fi
34635 if test -n "$PKG_CONFIG"; then
34636     if test -n "$HILDON_LIBS"; then
34637         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34638     else
34639         if test -n "$PKG_CONFIG" && \
34640     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34641   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34642   ac_status=$?
34643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34644   test $ac_status = 0; }; then
34645   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34646 else
34647   pkg_failed=yes
34648 fi
34649     fi
34650 else
34651         pkg_failed=untried
34652 fi
34653
34654
34655
34656 if test $pkg_failed = yes; then
34657
34658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34659         _pkg_short_errors_supported=yes
34660 else
34661         _pkg_short_errors_supported=no
34662 fi
34663         if test $_pkg_short_errors_supported = yes; then
34664                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34665         else
34666                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34667         fi
34668         # Put the nasty error message in config.log where it belongs
34669         echo "$HILDON_PKG_ERRORS" >&5
34670
34671
34672                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34673 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34674                         wxUSE_LIBHILDON="no"
34675                         ac_hildon_lgpl=0
34676
34677
34678 elif test $pkg_failed = untried; then
34679
34680                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34681 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34682                         wxUSE_LIBHILDON="no"
34683                         ac_hildon_lgpl=0
34684
34685
34686 else
34687         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34688         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34689         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34690 $as_echo "yes" >&6; }
34691
34692                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34693                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34694                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34695                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34696
34697                 ac_hildon_lgpl=1
34698
34699 fi
34700
34701         if test "$ac_hildon_lgpl" = 0 ; then
34702
34703 pkg_failed=no
34704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34705 $as_echo_n "checking for HILDON2... " >&6; }
34706
34707 if test -n "$PKG_CONFIG"; then
34708     if test -n "$HILDON2_CFLAGS"; then
34709         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34710     else
34711         if test -n "$PKG_CONFIG" && \
34712     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34713   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34714   ac_status=$?
34715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34716   test $ac_status = 0; }; then
34717   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34718 else
34719   pkg_failed=yes
34720 fi
34721     fi
34722 else
34723         pkg_failed=untried
34724 fi
34725 if test -n "$PKG_CONFIG"; then
34726     if test -n "$HILDON2_LIBS"; then
34727         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34728     else
34729         if test -n "$PKG_CONFIG" && \
34730     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34731   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34732   ac_status=$?
34733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34734   test $ac_status = 0; }; then
34735   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34736 else
34737   pkg_failed=yes
34738 fi
34739     fi
34740 else
34741         pkg_failed=untried
34742 fi
34743
34744
34745
34746 if test $pkg_failed = yes; then
34747
34748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34749         _pkg_short_errors_supported=yes
34750 else
34751         _pkg_short_errors_supported=no
34752 fi
34753         if test $_pkg_short_errors_supported = yes; then
34754                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34755         else
34756                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34757         fi
34758         # Put the nasty error message in config.log where it belongs
34759         echo "$HILDON2_PKG_ERRORS" >&5
34760
34761
34762                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34763 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34764                             wxUSE_LIBHILDON2="no"
34765
34766
34767 elif test $pkg_failed = untried; then
34768
34769                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34770 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34771                             wxUSE_LIBHILDON2="no"
34772
34773
34774 else
34775         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34776         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34777         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34778 $as_echo "yes" >&6; }
34779
34780                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34781                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34782                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34783                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34784
34785
34786 fi
34787         fi
34788     fi
34789 fi
34790
34791 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34792   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34793
34794 fi
34795
34796 if test "$wxUSE_STOPWATCH" = "yes"; then
34797   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34798
34799 fi
34800
34801 if test "$wxUSE_DATETIME" = "yes"; then
34802   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34803
34804 fi
34805
34806 if test "$wxUSE_FILE" = "yes"; then
34807   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34808
34809 fi
34810
34811 if test "$wxUSE_FFILE" = "yes"; then
34812   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34813
34814 fi
34815
34816 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34817   if test "$wxUSE_STREAMS" != yes; then
34818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34819 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34820     wxUSE_ARCHIVE_STREAMS=no
34821   else
34822     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34823
34824   fi
34825 fi
34826
34827 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34828   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34829     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34830 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34831   elif test "$wxUSE_ZLIB" = "no"; then
34832     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34833 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34834   else
34835     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34836
34837   fi
34838 fi
34839
34840 if test "$wxUSE_TARSTREAM" = "yes"; then
34841   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34842     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34843 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34844   else
34845     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34846
34847   fi
34848 fi
34849
34850 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34851   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34852
34853 fi
34854
34855 if test "$wxUSE_FILESYSTEM" = "yes"; then
34856   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34857     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34858 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34859     wxUSE_FILESYSTEM=no
34860   else
34861     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34862
34863   fi
34864 fi
34865
34866 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34867   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34869 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34870   else
34871     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34872
34873   fi
34874 fi
34875
34876 if test "$wxUSE_FS_ZIP" = "yes"; then
34877   if test "$wxUSE_FS_ARCHIVE" != yes; then
34878     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34879 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34880   else
34881     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34882
34883   fi
34884 fi
34885
34886 if test "$wxUSE_FSVOLUME" = "yes"; then
34887   $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34888
34889 fi
34890
34891 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34892   if test "$USE_UNIX" != 1; then
34893     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34894 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34895     wxUSE_ON_FATAL_EXCEPTION=no
34896   else
34897     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34898
34899   fi
34900 fi
34901
34902 if test "$wxUSE_STACKWALKER" = "yes"; then
34903     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34904
34905 fi
34906
34907 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34908     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34909         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34910 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34911         wxUSE_DEBUGREPORT=no
34912     else
34913         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34914
34915         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34916             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34917         fi
34918     fi
34919 fi
34920
34921 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34922   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34923
34924 fi
34925
34926 if test "$wxUSE_BUSYINFO" = "yes"; then
34927   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34928
34929 fi
34930
34931 if test "$wxUSE_HOTKEY" = "yes"; then
34932   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34934 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34935     wxUSE_HOTKEY=no
34936   fi
34937 elif test "$wxUSE_HOTKEY" = "auto"; then
34938   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34939     wxUSE_HOTKEY=yes
34940   fi
34941 fi
34942 if test "$wxUSE_HOTKEY" = "yes"; then
34943   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34944
34945 fi
34946
34947 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34948   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34949
34950 fi
34951
34952 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34953   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34954
34955 fi
34956
34957 if test "$wxUSE_STD_STRING" = "yes"; then
34958   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34959
34960 fi
34961
34962 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34963   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34964
34965 fi
34966
34967 if test "$wxUSE_STDPATHS" = "yes"; then
34968   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34969
34970 fi
34971
34972 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34973     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34974
34975 fi
34976
34977 if test "$wxUSE_TEXTFILE" = "yes"; then
34978   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34980 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34981   else
34982     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34983
34984   fi
34985 fi
34986
34987 if test "$wxUSE_CONFIG" = "yes" ; then
34988   if test "$wxUSE_TEXTFILE" != "yes"; then
34989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34990 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34991   else
34992     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34993
34994     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34995
34996     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34997   fi
34998 fi
34999
35000 if test "$wxUSE_INTL" = "yes" ; then
35001   if test "$wxUSE_FILE" != "yes"; then
35002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35003 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35004   else
35005     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35006
35007     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35008     GUIDIST="$GUIDIST INTL_DIST"
35009   fi
35010 fi
35011
35012 if test "$wxUSE_XLOCALE" = "yes" ; then
35013     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35014
35015     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35016                     #include <locale.h>
35017 "
35018 if test "x$ac_cv_type_locale_t" = xyes; then :
35019
35020 cat >>confdefs.h <<_ACEOF
35021 #define HAVE_LOCALE_T 1
35022 _ACEOF
35023
35024
35025 fi
35026
35027 fi
35028
35029 if test "$wxUSE_LOG" = "yes"; then
35030   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35031
35032
35033     if test "$wxUSE_LOGGUI" = "yes"; then
35034       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35035
35036     fi
35037
35038     if test "$wxUSE_LOGWINDOW" = "yes"; then
35039       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35040
35041     fi
35042
35043     if test "$wxUSE_LOGDIALOG" = "yes"; then
35044       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35045
35046     fi
35047
35048         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
35049 fi
35050
35051 if test "$wxUSE_LONGLONG" = "yes"; then
35052   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35053
35054 fi
35055
35056 if test "$wxUSE_GEOMETRY" = "yes"; then
35057   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35058
35059 fi
35060
35061 if test "$wxUSE_BASE64" = "yes"; then
35062   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35063
35064 fi
35065
35066 if test "$wxUSE_STREAMS" = "yes" ; then
35067   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35068
35069 fi
35070
35071 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35072   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35073
35074 fi
35075
35076 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35077   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35078
35079 fi
35080
35081
35082 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35083     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35084
35085
35086     if test "$wxUSE_UNIX" = "yes"; then
35087         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35088             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35089
35090         fi
35091
35092         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35093             for ac_header in sys/epoll.h
35094 do :
35095   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35096 "
35097 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
35098   cat >>confdefs.h <<_ACEOF
35099 #define HAVE_SYS_EPOLL_H 1
35100 _ACEOF
35101
35102 fi
35103
35104 done
35105
35106             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35107                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35108
35109             else
35110                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35111 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35112             fi
35113         fi
35114     fi
35115 fi
35116
35117
35118 for ac_func in gettimeofday ftime
35119 do :
35120   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
35123   cat >>confdefs.h <<_ACEOF
35124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35125 _ACEOF
35126  break
35127 fi
35128 done
35129
35130
35131 if test "$ac_cv_func_gettimeofday" = "yes"; then
35132     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35133 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35134 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
35135   $as_echo_n "(cached) " >&6
35136 else
35137
35138                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35139 /* end confdefs.h.  */
35140
35141                 #include <sys/time.h>
35142                 #include <unistd.h>
35143
35144 int
35145 main ()
35146 {
35147
35148                 struct timeval tv;
35149                 gettimeofday(&tv, NULL);
35150
35151   ;
35152   return 0;
35153 }
35154 _ACEOF
35155 if ac_fn_c_try_compile "$LINENO"; then :
35156   wx_cv_func_gettimeofday_has_2_args=yes
35157 else
35158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35159 /* end confdefs.h.  */
35160
35161                     #include <sys/time.h>
35162                     #include <unistd.h>
35163
35164 int
35165 main ()
35166 {
35167
35168                     struct timeval tv;
35169                     gettimeofday(&tv);
35170
35171   ;
35172   return 0;
35173 }
35174 _ACEOF
35175 if ac_fn_c_try_compile "$LINENO"; then :
35176   wx_cv_func_gettimeofday_has_2_args=no
35177 else
35178
35179                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35180 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35181                     wx_cv_func_gettimeofday_has_2_args=unknown
35182
35183
35184 fi
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186
35187 fi
35188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35189
35190 fi
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35192 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35193
35194     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35195         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35196
35197     fi
35198 fi
35199
35200 if test "$wxUSE_DATETIME" = "yes"; then
35201             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35202 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35203 if ${wx_cv_var_timezone+:} false; then :
35204   $as_echo_n "(cached) " >&6
35205 else
35206
35207                         ac_ext=cpp
35208 ac_cpp='$CXXCPP $CPPFLAGS'
35209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35212
35213                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35214 /* end confdefs.h.  */
35215
35216                                 #include <time.h>
35217
35218 int
35219 main ()
35220 {
35221
35222                                 int tz;
35223                                 tz = timezone;
35224
35225   ;
35226   return 0;
35227 }
35228 _ACEOF
35229 if ac_fn_cxx_try_compile "$LINENO"; then :
35230
35231                                 wx_cv_var_timezone=timezone
35232
35233 else
35234
35235                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35236 /* end confdefs.h.  */
35237
35238                                         #include <time.h>
35239
35240 int
35241 main ()
35242 {
35243
35244                                         int tz;
35245                                         tz = _timezone;
35246
35247   ;
35248   return 0;
35249 }
35250 _ACEOF
35251 if ac_fn_cxx_try_compile "$LINENO"; then :
35252
35253                                         wx_cv_var_timezone=_timezone
35254
35255 else
35256
35257                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35258 /* end confdefs.h.  */
35259
35260                                                 #include <time.h>
35261
35262 int
35263 main ()
35264 {
35265
35266                                                 int tz;
35267                                                 tz = __timezone;
35268
35269   ;
35270   return 0;
35271 }
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274
35275                                                 wx_cv_var_timezone=__timezone
35276
35277 else
35278
35279                                                 if test "$USE_DOS" = 0 ; then
35280                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35281 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35282                                                 fi
35283
35284
35285 fi
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287
35288
35289 fi
35290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291
35292
35293 fi
35294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295                         ac_ext=c
35296 ac_cpp='$CPP $CPPFLAGS'
35297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35300
35301
35302
35303 fi
35304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35305 $as_echo "$wx_cv_var_timezone" >&6; }
35306
35307         if test "x$wx_cv_var_timezone" != x ; then
35308         cat >>confdefs.h <<_ACEOF
35309 #define WX_TIMEZONE $wx_cv_var_timezone
35310 _ACEOF
35311
35312     fi
35313
35314         for ac_func in localtime
35315 do :
35316   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35317 if test "x$ac_cv_func_localtime" = xyes; then :
35318   cat >>confdefs.h <<_ACEOF
35319 #define HAVE_LOCALTIME 1
35320 _ACEOF
35321
35322 fi
35323 done
35324
35325
35326     if test "$ac_cv_func_localtime" = "yes"; then
35327         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35328 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35329 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35330   $as_echo_n "(cached) " >&6
35331 else
35332
35333             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35334 /* end confdefs.h.  */
35335
35336                     #include <time.h>
35337
35338 int
35339 main ()
35340 {
35341
35342                     struct tm tm;
35343                     tm.tm_gmtoff++;
35344
35345   ;
35346   return 0;
35347 }
35348 _ACEOF
35349 if ac_fn_c_try_compile "$LINENO"; then :
35350
35351                     wx_cv_struct_tm_has_gmtoff=yes
35352
35353 else
35354   wx_cv_struct_tm_has_gmtoff=no
35355
35356 fi
35357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35358
35359 fi
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35361 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35362     fi
35363
35364     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35365         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35366
35367     fi
35368
35369     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35370 fi
35371
35372
35373 for ac_func in setpriority
35374 do :
35375   ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35376 if test "x$ac_cv_func_setpriority" = xyes; then :
35377   cat >>confdefs.h <<_ACEOF
35378 #define HAVE_SETPRIORITY 1
35379 _ACEOF
35380
35381 fi
35382 done
35383
35384
35385
35386 if test "$wxUSE_SOCKETS" = "yes"; then
35387         if test "$TOOLKIT" != "MSW"; then
35388                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35389 if test "x$ac_cv_func_socket" = xyes; then :
35390
35391 else
35392
35393                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35394 $as_echo_n "checking for socket in -lsocket... " >&6; }
35395 if ${ac_cv_lib_socket_socket+:} false; then :
35396   $as_echo_n "(cached) " >&6
35397 else
35398   ac_check_lib_save_LIBS=$LIBS
35399 LIBS="-lsocket  $LIBS"
35400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35401 /* end confdefs.h.  */
35402
35403 /* Override any GCC internal prototype to avoid an error.
35404    Use char because int might match the return type of a GCC
35405    builtin and then its argument prototype would still apply.  */
35406 #ifdef __cplusplus
35407 extern "C"
35408 #endif
35409 char socket ();
35410 int
35411 main ()
35412 {
35413 return socket ();
35414   ;
35415   return 0;
35416 }
35417 _ACEOF
35418 if ac_fn_c_try_link "$LINENO"; then :
35419   ac_cv_lib_socket_socket=yes
35420 else
35421   ac_cv_lib_socket_socket=no
35422 fi
35423 rm -f core conftest.err conftest.$ac_objext \
35424     conftest$ac_exeext conftest.$ac_ext
35425 LIBS=$ac_check_lib_save_LIBS
35426 fi
35427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35428 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35429 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35430   if test "$INET_LINK" != " -lsocket"; then
35431                         INET_LINK="$INET_LINK -lsocket"
35432                     fi
35433 else
35434
35435                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35436 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35437                         wxUSE_SOCKETS=no
35438
35439
35440 fi
35441
35442
35443
35444 fi
35445
35446     fi
35447 fi
35448
35449 if test "$wxUSE_SOCKETS" = "yes" ; then
35450                 if test "$TOOLKIT" != "MSW"; then
35451                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35452 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35453 if ${wx_cv_type_getsockname3+:} false; then :
35454   $as_echo_n "(cached) " >&6
35455 else
35456
35457                 ac_ext=cpp
35458 ac_cpp='$CXXCPP $CPPFLAGS'
35459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35462
35463                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35464 /* end confdefs.h.  */
35465
35466                         #include <sys/types.h>
35467                         #include <sys/socket.h>
35468
35469 int
35470 main ()
35471 {
35472
35473                         socklen_t len;
35474                         getsockname(0, 0, &len);
35475
35476   ;
35477   return 0;
35478 }
35479 _ACEOF
35480 if ac_fn_cxx_try_compile "$LINENO"; then :
35481   wx_cv_type_getsockname3=socklen_t
35482 else
35483
35484                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
35485                         if test "$GCC" = yes ; then
35486                             CFLAGS="-Werror $CFLAGS"
35487                         fi
35488
35489                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35490 /* end confdefs.h.  */
35491
35492                                 #include <sys/types.h>
35493                                 #include <sys/socket.h>
35494
35495 int
35496 main ()
35497 {
35498
35499                                 size_t len;
35500                                 getsockname(0, 0, &len);
35501
35502   ;
35503   return 0;
35504 }
35505 _ACEOF
35506 if ac_fn_cxx_try_compile "$LINENO"; then :
35507   wx_cv_type_getsockname3=size_t
35508 else
35509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 /* end confdefs.h.  */
35511
35512                                     #include <sys/types.h>
35513                                     #include <sys/socket.h>
35514
35515 int
35516 main ()
35517 {
35518
35519                                     int len;
35520                                     getsockname(0, 0, &len);
35521
35522   ;
35523   return 0;
35524 }
35525 _ACEOF
35526 if ac_fn_cxx_try_compile "$LINENO"; then :
35527   wx_cv_type_getsockname3=int
35528 else
35529   wx_cv_type_getsockname3=unknown
35530
35531 fi
35532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35533
35534 fi
35535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35536
35537                         CFLAGS="$CFLAGS_OLD"
35538
35539
35540 fi
35541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35542                 ac_ext=c
35543 ac_cpp='$CPP $CPPFLAGS'
35544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35547
35548
35549 fi
35550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35551 $as_echo "$wx_cv_type_getsockname3" >&6; }
35552
35553         if test "$wx_cv_type_getsockname3" = "unknown"; then
35554             wxUSE_SOCKETS=no
35555             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35556 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35557         else
35558             cat >>confdefs.h <<_ACEOF
35559 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35560 _ACEOF
35561
35562         fi
35563                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35564 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35565 if ${wx_cv_type_getsockopt5+:} false; then :
35566   $as_echo_n "(cached) " >&6
35567 else
35568
35569                                                                                                 ac_ext=cpp
35570 ac_cpp='$CXXCPP $CPPFLAGS'
35571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35574
35575                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35576 /* end confdefs.h.  */
35577
35578                         #include <sys/types.h>
35579                         #include <sys/socket.h>
35580
35581 int
35582 main ()
35583 {
35584
35585                         socklen_t len;
35586                         getsockopt(0, 0, 0, 0, &len);
35587
35588   ;
35589   return 0;
35590 }
35591 _ACEOF
35592 if ac_fn_cxx_try_compile "$LINENO"; then :
35593   wx_cv_type_getsockopt5=socklen_t
35594 else
35595
35596                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35597 /* end confdefs.h.  */
35598
35599                                 #include <sys/types.h>
35600                                 #include <sys/socket.h>
35601
35602 int
35603 main ()
35604 {
35605
35606                                 size_t len;
35607                                 getsockopt(0, 0, 0, 0, &len);
35608
35609   ;
35610   return 0;
35611 }
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614   wx_cv_type_getsockopt5=size_t
35615 else
35616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35617 /* end confdefs.h.  */
35618
35619                                     #include <sys/types.h>
35620                                     #include <sys/socket.h>
35621
35622 int
35623 main ()
35624 {
35625
35626                                     int len;
35627                                     getsockopt(0, 0, 0, 0, &len);
35628
35629   ;
35630   return 0;
35631 }
35632 _ACEOF
35633 if ac_fn_cxx_try_compile "$LINENO"; then :
35634   wx_cv_type_getsockopt5=int
35635 else
35636   wx_cv_type_getsockopt5=unknown
35637
35638 fi
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640
35641 fi
35642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35643
35644
35645 fi
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647                 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652
35653
35654 fi
35655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35656 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35657
35658         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35659             wxUSE_SOCKETS=no
35660             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35661 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35662         else
35663             cat >>confdefs.h <<_ACEOF
35664 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35665 _ACEOF
35666
35667         fi
35668     fi
35669 fi
35670
35671 if test "$wxUSE_SOCKETS" = "yes" ; then
35672     if test "$wxUSE_IPV6" = "yes"; then
35673         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35674 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35675 if ${wx_cv_type_sockaddr_in6+:} false; then :
35676   $as_echo_n "(cached) " >&6
35677 else
35678
35679                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35680 /* end confdefs.h.  */
35681
35682                         #include <sys/types.h>
35683                         #include <sys/socket.h>
35684                         #include <netinet/in.h>
35685
35686 int
35687 main ()
35688 {
35689
35690                         struct sockaddr_in6 sa6;
35691
35692   ;
35693   return 0;
35694 }
35695 _ACEOF
35696 if ac_fn_c_try_compile "$LINENO"; then :
35697   wx_cv_type_sockaddr_in6=yes
35698 else
35699   wx_cv_type_sockaddr_in6=no
35700
35701 fi
35702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35703
35704
35705 fi
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35707 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35708
35709         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35710             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35711
35712         else
35713             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35714 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35715         fi
35716     fi
35717
35718     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35719
35720     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35721 fi
35722
35723 if test "$wxUSE_PROTOCOL" = "yes"; then
35724     if test "$wxUSE_SOCKETS" != "yes"; then
35725         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35726 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35727         wxUSE_PROTOCOL=no
35728     fi
35729 fi
35730
35731 if test "$wxUSE_PROTOCOL" = "yes"; then
35732     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35733
35734
35735     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35736         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35737
35738     fi
35739     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35740         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35741
35742     fi
35743     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35744         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35745
35746     fi
35747 else
35748     if test "$wxUSE_FS_INET" = "yes"; then
35749         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35750 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35751         wxUSE_FS_INET="no"
35752     fi
35753 fi
35754
35755 if test "$wxUSE_URL" = "yes"; then
35756     if test "$wxUSE_PROTOCOL" != "yes"; then
35757         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35758 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35759         wxUSE_URL=no
35760     fi
35761     if test "$wxUSE_URL" = "yes"; then
35762         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35763
35764     fi
35765 fi
35766
35767 if test "$wxUSE_VARIANT" = "yes"; then
35768     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35769
35770 fi
35771
35772 if test "$wxUSE_FS_INET" = "yes"; then
35773   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35774
35775 fi
35776
35777
35778 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35779     wxUSE_JOYSTICK=no
35780
35781         if test "$TOOLKIT" = "MSW"; then
35782         wxUSE_JOYSTICK=yes
35783
35784         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35785         if test "$USE_DARWIN" = 1; then
35786                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35787 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35788             ac_ext=cpp
35789 ac_cpp='$CXXCPP $CPPFLAGS'
35790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35793
35794             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35795 /* end confdefs.h.  */
35796  #include <IOKit/hid/IOHIDLib.h>
35797 int
35798 main ()
35799 {
35800  IOHIDQueueInterface *qi = NULL;
35801                               IOHIDCallbackFunction cb = NULL;
35802                               qi->setEventCallout(NULL, cb, NULL, NULL);
35803   ;
35804   return 0;
35805 }
35806 _ACEOF
35807 if ac_fn_cxx_try_compile "$LINENO"; then :
35808    wxUSE_JOYSTICK=yes
35809
35810 fi
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35812             ac_ext=c
35813 ac_cpp='$CPP $CPPFLAGS'
35814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817
35818             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35819 $as_echo "$wxUSE_JOYSTICK" >&6; }
35820         fi
35821
35822         else
35823                                                         for ac_header in linux/joystick.h
35824 do :
35825   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35826 "
35827 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35828   cat >>confdefs.h <<_ACEOF
35829 #define HAVE_LINUX_JOYSTICK_H 1
35830 _ACEOF
35831  wxUSE_JOYSTICK=yes
35832 fi
35833
35834 done
35835
35836     fi
35837
35838     if test "$wxUSE_JOYSTICK" = "yes"; then
35839         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35840
35841         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35842     else
35843         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35844 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35845     fi
35846 fi
35847
35848
35849
35850 if test "$wxUSE_FONTENUM" = "yes" ; then
35851   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35852
35853 fi
35854
35855 if test "$wxUSE_FONTMAP" = "yes" ; then
35856   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35857
35858 fi
35859
35860 if test "$wxUSE_UNICODE" = "yes" ; then
35861   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35862
35863
35864   if test "$USE_WIN32" != 1; then
35865       wxUSE_UNICODE_MSLU=no
35866   fi
35867
35868   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35869         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35870 $as_echo_n "checking for main in -lunicows... " >&6; }
35871 if ${ac_cv_lib_unicows_main+:} false; then :
35872   $as_echo_n "(cached) " >&6
35873 else
35874   ac_check_lib_save_LIBS=$LIBS
35875 LIBS="-lunicows  $LIBS"
35876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35877 /* end confdefs.h.  */
35878
35879
35880 int
35881 main ()
35882 {
35883 return main ();
35884   ;
35885   return 0;
35886 }
35887 _ACEOF
35888 if ac_fn_c_try_link "$LINENO"; then :
35889   ac_cv_lib_unicows_main=yes
35890 else
35891   ac_cv_lib_unicows_main=no
35892 fi
35893 rm -f core conftest.err conftest.$ac_objext \
35894     conftest$ac_exeext conftest.$ac_ext
35895 LIBS=$ac_check_lib_save_LIBS
35896 fi
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35898 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35899 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35900
35901                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35902
35903
35904 else
35905
35906                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35907                              Applications will only run on Windows NT/2000/XP!" >&5
35908 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35909                              Applications will only run on Windows NT/2000/XP!" >&2;}
35910                 wxUSE_UNICODE_MSLU=no
35911
35912 fi
35913
35914     fi
35915 fi
35916
35917 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35918     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35919
35920
35921     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35922         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35923
35924     fi
35925 fi
35926
35927
35928 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35929     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35930
35931     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35932 fi
35933
35934 if test "$wxUSE_MDI" = "yes"; then
35935     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35936
35937
35938     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35939         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35940
35941         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35942     fi
35943 fi
35944
35945 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35946     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35947
35948     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35949 fi
35950
35951 if test "$wxUSE_HELP" = "yes"; then
35952     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35953
35954     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35955
35956     if test "$wxUSE_MSW" = 1; then
35957       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35958         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35959
35960       fi
35961     fi
35962
35963     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35964       if test "$wxUSE_HTML" = "yes"; then
35965         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35966
35967       else
35968         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35969 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35970         wxUSE_WXHTML_HELP=no
35971       fi
35972     fi
35973 fi
35974
35975 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35976     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35977
35978     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35979 fi
35980
35981 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35982   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35983
35984 fi
35985
35986 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35987
35988
35989 if test "$wxUSE_SVG" = "yes"; then
35990     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35991
35992 fi
35993
35994
35995 if test "$wxUSE_METAFILE" = "yes"; then
35996     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35997         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35998 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35999         wxUSE_METAFILE=no
36000     fi
36001 elif test "$wxUSE_METAFILE" = "auto"; then
36002     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36003         wxUSE_METAFILE=yes
36004     fi
36005 fi
36006
36007 if test "$wxUSE_METAFILE" = "yes"; then
36008     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36009
36010     if test "$wxUSE_MSW" = 1; then
36011                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36012
36013     fi
36014 fi
36015
36016
36017 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
36018                           -o "$wxUSE_CLIPBOARD"     = "yes" \
36019                           -o "$wxUSE_OLE"     = "yes" \
36020                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36021     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36022 "
36023 if test "x$ac_cv_header_ole2_h" = xyes; then :
36024
36025 fi
36026
36027
36028
36029     if test "$ac_cv_header_ole2_h" = "yes" ; then
36030         if test "$GCC" = yes ; then
36031             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36032 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36033             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36034 /* end confdefs.h.  */
36035 #include <windows.h>
36036                             #include <ole2.h>
36037 int
36038 main ()
36039 {
36040
36041   ;
36042   return 0;
36043 }
36044 _ACEOF
36045 if ac_fn_c_try_compile "$LINENO"; then :
36046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36047 $as_echo "no" >&6; }
36048 else
36049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36050 $as_echo "yes" >&6; }
36051                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36052 fi
36053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36054             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36055             if test "$wxUSE_OLE" = "yes" ; then
36056                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36057
36058                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36059
36060                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36061
36062                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
36063             fi
36064         fi
36065
36066                 if test "$wxUSE_DATAOBJ" = "yes" ; then
36067             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36068
36069         fi
36070     else
36071         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36072 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36073
36074         wxUSE_CLIPBOARD=no
36075         wxUSE_DRAG_AND_DROP=no
36076         wxUSE_DATAOBJ=no
36077         wxUSE_OLE=no
36078     fi
36079 fi
36080
36081 if test "$wxUSE_IPC" = "yes"; then
36082     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36083         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36084 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36085         wxUSE_IPC=no
36086     fi
36087
36088     if test "$wxUSE_IPC" = "yes"; then
36089         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36090
36091         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36092     fi
36093 fi
36094
36095 if test "$wxUSE_DATAOBJ" = "yes"; then
36096     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36097
36098 else
36099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36100 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36101     wxUSE_CLIPBOARD=no
36102     wxUSE_DRAG_AND_DROP=no
36103 fi
36104
36105 if test "$wxUSE_CLIPBOARD" = "yes"; then
36106     if test "$wxUSE_DFB" = 1; then
36107         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36108 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36109         wxUSE_CLIPBOARD=no
36110     fi
36111
36112     if test "$wxUSE_CLIPBOARD" = "yes"; then
36113         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36114
36115     fi
36116 fi
36117
36118 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36119     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36120         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36121 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36122         wxUSE_DRAG_AND_DROP=no
36123     fi
36124
36125     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36126         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36127
36128     fi
36129
36130 fi
36131
36132 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36133     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36134 fi
36135
36136 if test "$wxUSE_CLIPBOARD" = "yes"; then
36137     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
36138 fi
36139
36140 if test "$wxUSE_SPLINES" = "yes" ; then
36141   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36142
36143 fi
36144
36145 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36146   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36147
36148 fi
36149
36150 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36151     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36152
36153     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
36154 fi
36155
36156 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36157     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36158
36159 fi
36160
36161
36162 USES_CONTROLS=0
36163 if test "$wxUSE_CONTROLS" = "yes"; then
36164   USES_CONTROLS=1
36165 fi
36166
36167 if test "$wxUSE_MARKUP" = "yes"; then
36168   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36169
36170 fi
36171
36172 if test "$wxUSE_ACCEL" = "yes"; then
36173   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36174
36175   USES_CONTROLS=1
36176 fi
36177
36178 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36179   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36180
36181   USES_CONTROLS=1
36182   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
36183 fi
36184
36185 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36186   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36187
36188 fi
36189
36190 if test "$wxUSE_BUTTON" = "yes"; then
36191   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36192
36193   USES_CONTROLS=1
36194 fi
36195
36196 if test "$wxUSE_BMPBUTTON" = "yes"; then
36197   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36198
36199   USES_CONTROLS=1
36200 fi
36201
36202 if test "$wxUSE_CALCTRL" = "yes"; then
36203   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36204
36205   USES_CONTROLS=1
36206   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36207 fi
36208
36209 if test "$wxUSE_CARET" = "yes"; then
36210   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36211
36212   USES_CONTROLS=1
36213   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36214 fi
36215
36216 if test "$wxUSE_COLLPANE" = "yes"; then
36217     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36218
36219     USES_CONTROLS=1
36220     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36221 fi
36222
36223 if test "$wxUSE_COMBOBOX" = "yes"; then
36224   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36225
36226   USES_CONTROLS=1
36227 fi
36228
36229 if test "$wxUSE_COMBOCTRL" = "yes"; then
36230   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36231
36232   USES_CONTROLS=1
36233 fi
36234
36235 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36236   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36237
36238   USES_CONTROLS=1
36239 fi
36240
36241 if test "$wxUSE_CHOICE" = "yes"; then
36242   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36243
36244   USES_CONTROLS=1
36245 fi
36246
36247 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36248     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36249
36250     USES_CONTROLS=1
36251 fi
36252
36253 if test "$wxUSE_CHECKBOX" = "yes"; then
36254   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36255
36256   USES_CONTROLS=1
36257 fi
36258
36259 if test "$wxUSE_CHECKLST" = "yes"; then
36260   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36261
36262   USES_CONTROLS=1
36263 fi
36264
36265 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36266   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36267
36268   USES_CONTROLS=1
36269 fi
36270
36271 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36272   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36273
36274   USES_CONTROLS=1
36275 fi
36276
36277 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36278   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36279
36280   USES_CONTROLS=1
36281 fi
36282
36283 if test "$wxUSE_FILECTRL" = "yes"; then
36284   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36285
36286   USES_CONTROLS=1
36287 fi
36288
36289 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36290   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36291
36292   USES_CONTROLS=1
36293 fi
36294
36295 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36296   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36297
36298   USES_CONTROLS=1
36299 fi
36300
36301 if test "$wxUSE_DISPLAY" = "yes"; then
36302     if test "$wxUSE_DFB" = 1; then
36303         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36304 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36305         wxUSE_DISPLAY=no
36306     else
36307         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36308
36309         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36310     fi
36311 fi
36312
36313 if test "$wxUSE_DETECT_SM" = "yes"; then
36314     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36315
36316 fi
36317
36318 if test "$wxUSE_GAUGE" = "yes"; then
36319   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36320
36321   USES_CONTROLS=1
36322 fi
36323
36324 if test "$wxUSE_GRID" = "yes"; then
36325   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36326
36327   USES_CONTROLS=1
36328   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36329 fi
36330
36331 if test "$wxUSE_HEADERCTRL" = "yes"; then
36332   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36333
36334   USES_CONTROLS=1
36335 fi
36336
36337 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36338   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36339
36340   USES_CONTROLS=1
36341 fi
36342
36343 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36344   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36345
36346   USES_CONTROLS=1
36347 fi
36348
36349 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36350   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36351
36352   USES_CONTROLS=1
36353   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36354 fi
36355
36356 if test "$wxUSE_IMAGLIST" = "yes"; then
36357     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36358
36359 fi
36360
36361 if test "$wxUSE_INFOBAR" = "yes"; then
36362     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36363
36364 fi
36365
36366 if test "$wxUSE_LISTBOOK" = "yes"; then
36367     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36368
36369     USES_CONTROLS=1
36370 fi
36371
36372 if test "$wxUSE_LISTBOX" = "yes"; then
36373     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36374
36375     USES_CONTROLS=1
36376 fi
36377
36378 if test "$wxUSE_LISTCTRL" = "yes"; then
36379     if test "$wxUSE_IMAGLIST" = "yes"; then
36380         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36381
36382         USES_CONTROLS=1
36383         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36384     else
36385         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36386 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36387     fi
36388 fi
36389
36390 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36391     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36392
36393     USES_CONTROLS=1
36394 fi
36395
36396 if test "$wxUSE_NOTEBOOK" = "yes"; then
36397     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36398
36399     USES_CONTROLS=1
36400     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36401 fi
36402
36403 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36404     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36405
36406 fi
36407
36408 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36409   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36410
36411   USES_CONTROLS=1
36412   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36413 fi
36414
36415 if test "$wxUSE_RADIOBOX" = "yes"; then
36416     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36417
36418     USES_CONTROLS=1
36419 fi
36420
36421 if test "$wxUSE_RADIOBTN" = "yes"; then
36422     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36423
36424     USES_CONTROLS=1
36425 fi
36426
36427 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36428     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36429
36430 fi
36431
36432 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36433     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36434
36435 fi
36436
36437 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36438     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36439
36440 fi
36441
36442 if test "$wxUSE_SASH" = "yes"; then
36443     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36444
36445     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36446 fi
36447
36448 if test "$wxUSE_SCROLLBAR" = "yes"; then
36449     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36450
36451     USES_CONTROLS=1
36452     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36453 fi
36454
36455 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36456     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36457
36458     USES_CONTROLS=1
36459 fi
36460
36461 if test "$wxUSE_SLIDER" = "yes"; then
36462     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36463
36464     USES_CONTROLS=1
36465 fi
36466
36467 if test "$wxUSE_SPINBTN" = "yes"; then
36468     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36469
36470     USES_CONTROLS=1
36471 fi
36472
36473 if test "$wxUSE_SPINCTRL" = "yes"; then
36474     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36475
36476     USES_CONTROLS=1
36477 fi
36478
36479 if test "$wxUSE_SPLITTER" = "yes"; then
36480     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36481
36482     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36483 fi
36484
36485 if test "$wxUSE_STATBMP" = "yes"; then
36486     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36487
36488     USES_CONTROLS=1
36489 fi
36490
36491 if test "$wxUSE_STATBOX" = "yes"; then
36492     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36493
36494     USES_CONTROLS=1
36495 fi
36496
36497 if test "$wxUSE_STATTEXT" = "yes"; then
36498     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36499
36500     USES_CONTROLS=1
36501 fi
36502
36503 if test "$wxUSE_STATLINE" = "yes"; then
36504     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36505
36506     USES_CONTROLS=1
36507 fi
36508
36509 if test "$wxUSE_STATUSBAR" = "yes"; then
36510         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36511
36512     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36513
36514     USES_CONTROLS=1
36515
36516     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36517 fi
36518
36519 if test "$wxUSE_TEXTCTRL" = "yes"; then
36520     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36521
36522     USES_CONTROLS=1
36523     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36524
36525             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36526
36527     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36528
36529 fi
36530
36531 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36532   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36533
36534   USES_CONTROLS=1
36535 fi
36536
36537 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36538     if test "$wxUSE_OLD_COCOA" = 1 ; then
36539         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36540 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36541         wxUSE_TOGGLEBTN=no
36542     fi
36543
36544     if test "$wxUSE_TOGGLEBTN" = "yes"; then
36545         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36546
36547         USES_CONTROLS=1
36548     fi
36549 fi
36550
36551 if test "$wxUSE_TOOLBAR" = "yes"; then
36552     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36553
36554     USES_CONTROLS=1
36555
36556     if test "$wxUSE_UNIVERSAL" = "yes"; then
36557         wxUSE_TOOLBAR_NATIVE="no"
36558     else
36559         wxUSE_TOOLBAR_NATIVE="yes"
36560         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36561
36562     fi
36563
36564     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36565 fi
36566
36567 if test "$wxUSE_TOOLTIPS" = "yes"; then
36568     if test "$wxUSE_MOTIF" = 1; then
36569         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36570 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36571     else
36572         if test "$wxUSE_UNIVERSAL" = "yes"; then
36573             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36574 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36575         else
36576             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36577
36578         fi
36579     fi
36580 fi
36581
36582 if test "$wxUSE_TREEBOOK" = "yes"; then
36583     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36584
36585     USES_CONTROLS=1
36586 fi
36587
36588 if test "$wxUSE_TOOLBOOK" = "yes"; then
36589     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36590
36591     USES_CONTROLS=1
36592 fi
36593
36594 if test "$wxUSE_TREECTRL" = "yes"; then
36595     if test "$wxUSE_IMAGLIST" = "yes"; then
36596         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36597
36598         USES_CONTROLS=1
36599         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36600     else
36601         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36602 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36603     fi
36604 fi
36605
36606 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36607     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36608
36609     USES_CONTROLS=1
36610     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36611 fi
36612
36613 if test "$wxUSE_POPUPWIN" = "yes"; then
36614     if test "$wxUSE_OLD_COCOA" = 1 ; then
36615         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36616 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36617     else
36618         if test "$wxUSE_PM" = 1; then
36619             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36620 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36621         else
36622             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36623
36624             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36625
36626             USES_CONTROLS=1
36627         fi
36628     fi
36629 fi
36630
36631 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36632     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36633         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36634 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36635     else
36636         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36637
36638         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36639     fi
36640 fi
36641
36642 if test "$wxUSE_TIPWINDOW" = "yes"; then
36643     if test "$wxUSE_PM" = 1; then
36644         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36645 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36646     else
36647         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36648
36649     fi
36650 fi
36651
36652 if test "$USES_CONTROLS" = 1; then
36653     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36654
36655 fi
36656
36657
36658 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36659     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36660
36661     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36662 fi
36663
36664 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36665     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36666
36667 fi
36668
36669 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36670             if test "$wxUSE_GTK" != 1; then
36671                 if test "$wxUSE_LIBPNG" != no -a \
36672                 "$wxUSE_IMAGE" = yes -a \
36673                 "$wxUSE_STREAMS" = yes; then
36674             wxUSE_ARTPROVIDER_TANGO="yes"
36675         fi
36676     fi
36677 fi
36678
36679 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36680     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36681
36682 fi
36683
36684 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36685     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36686
36687     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36688 fi
36689
36690 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36691     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36692         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36693 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36694     else
36695         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36696
36697         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36698     fi
36699 fi
36700
36701 USE_HTML=0
36702 if test "$wxUSE_HTML" = "yes"; then
36703     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36704
36705     USE_HTML=1
36706     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36707 fi
36708 if test "$wxUSE_WEBKIT" = "yes"; then
36709     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36710         old_CPPFLAGS="$CPPFLAGS"
36711         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36712         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36713                            #include <Carbon/Carbon.h>
36714                            #include <WebKit/WebKit.h>
36715
36716 "
36717 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36718
36719                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36720
36721                            WEBKIT_LINK="-framework WebKit"
36722
36723 else
36724
36725                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36726 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36727                            wxUSE_WEBKIT=no
36728
36729 fi
36730
36731
36732         CPPFLAGS="$old_CPPFLAGS"
36733     elif test "$wxUSE_OLD_COCOA" = 1; then
36734         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36735
36736     else
36737         wxUSE_WEBKIT=no
36738     fi
36739     if test "$wxUSE_WEBKIT" = "yes"; then
36740         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36741     fi
36742 fi
36743
36744 USE_XRC=0
36745 if test "$wxUSE_XRC" = "yes"; then
36746     if test "$wxUSE_XML" != "yes"; then
36747         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36748 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36749         wxUSE_XRC=no
36750     else
36751         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36752
36753         USE_XRC=1
36754         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36755     fi
36756 fi
36757
36758 USE_AUI=0
36759 if test "$wxUSE_AUI" = "yes"; then
36760    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36761
36762    USE_AUI=1
36763    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36764 fi
36765
36766 USE_PROPGRID=0
36767 if test "$wxUSE_PROPGRID" = "yes"; then
36768    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36769
36770    USE_PROPGRID=1
36771    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36772 fi
36773
36774 USE_RIBBON=0
36775 if test "$wxUSE_RIBBON" = "yes"; then
36776    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36777
36778    USE_RIBBON=1
36779    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36780 fi
36781
36782 USE_STC=0
36783 if test "$wxUSE_STC" = "yes"; then
36784    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36785
36786    USE_STC=1
36787    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36788
36789       # Extract the first word of "python", so it can be a program name with args.
36790 set dummy python; ac_word=$2
36791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36792 $as_echo_n "checking for $ac_word... " >&6; }
36793 if ${ac_cv_path_PYTHON+:} false; then :
36794   $as_echo_n "(cached) " >&6
36795 else
36796   case $PYTHON in
36797   [\\/]* | ?:[\\/]*)
36798   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36799   ;;
36800   *)
36801   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36802 for as_dir in $PATH
36803 do
36804   IFS=$as_save_IFS
36805   test -z "$as_dir" && as_dir=.
36806     for ac_exec_ext in '' $ac_executable_extensions; do
36807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36808     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36810     break 2
36811   fi
36812 done
36813   done
36814 IFS=$as_save_IFS
36815
36816   ;;
36817 esac
36818 fi
36819 PYTHON=$ac_cv_path_PYTHON
36820 if test -n "$PYTHON"; then
36821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36822 $as_echo "$PYTHON" >&6; }
36823 else
36824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36825 $as_echo "no" >&6; }
36826 fi
36827
36828
36829    if test "x$PYTHON" = "x"; then
36830      COND_PYTHON="#"
36831    fi
36832
36833 fi
36834
36835 if test "$wxUSE_MENUS" = "yes"; then
36836     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36837
36838     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36839 fi
36840
36841 if test "$wxUSE_MIMETYPE" = "yes"; then
36842     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36843
36844 fi
36845
36846 if test "$wxUSE_MINIFRAME" = "yes"; then
36847     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36848
36849 fi
36850
36851 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36852     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36853
36854 fi
36855
36856 if test "$wxUSE_TASKBARICON" = "yes"; then
36857     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36858
36859                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36860
36861     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36862 fi
36863
36864
36865 if test "$wxUSE_VALIDATORS" = "yes"; then
36866     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36867
36868     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36869 fi
36870
36871 if test "$wxUSE_PALETTE" = "yes" ; then
36872     if test "$wxUSE_DFB" = 1; then
36873         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36874 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36875         wxUSE_PALETTE=no
36876     else
36877         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36878
36879     fi
36880 fi
36881
36882 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36883     LIBS=" -lunicows $LIBS"
36884 fi
36885
36886 USE_RICHTEXT=0
36887 if test "$wxUSE_RICHTEXT" = "yes"; then
36888     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36889
36890     USE_RICHTEXT=1
36891     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36892 fi
36893
36894 if test "$wxUSE_WEBVIEW" = "yes"; then
36895     USE_WEBVIEW_WEBKIT=0
36896     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36897         if test "$wxUSE_GTK" = 1; then
36898             webkitgtk=webkit-1.0
36899             if test "$WXGTK3" = 1; then
36900                 webkitgtk=webkitgtk-3.0
36901             fi
36902
36903 pkg_failed=no
36904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36905 $as_echo_n "checking for WEBKIT... " >&6; }
36906
36907 if test -n "$PKG_CONFIG"; then
36908     if test -n "$WEBKIT_CFLAGS"; then
36909         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36910     else
36911         if test -n "$PKG_CONFIG" && \
36912     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36913   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36914   ac_status=$?
36915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36916   test $ac_status = 0; }; then
36917   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36918 else
36919   pkg_failed=yes
36920 fi
36921     fi
36922 else
36923         pkg_failed=untried
36924 fi
36925 if test -n "$PKG_CONFIG"; then
36926     if test -n "$WEBKIT_LIBS"; then
36927         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36928     else
36929         if test -n "$PKG_CONFIG" && \
36930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36931   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36932   ac_status=$?
36933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36934   test $ac_status = 0; }; then
36935   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36936 else
36937   pkg_failed=yes
36938 fi
36939     fi
36940 else
36941         pkg_failed=untried
36942 fi
36943
36944
36945
36946 if test $pkg_failed = yes; then
36947
36948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36949         _pkg_short_errors_supported=yes
36950 else
36951         _pkg_short_errors_supported=no
36952 fi
36953         if test $_pkg_short_errors_supported = yes; then
36954                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36955         else
36956                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36957         fi
36958         # Put the nasty error message in config.log where it belongs
36959         echo "$WEBKIT_PKG_ERRORS" >&5
36960
36961
36962                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36963 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36964
36965 elif test $pkg_failed = untried; then
36966
36967                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36968 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36969
36970 else
36971         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36972         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36974 $as_echo "yes" >&6; }
36975
36976                                 USE_WEBVIEW_WEBKIT=1
36977                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36978                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36979
36980 fi
36981         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36982                                     old_CPPFLAGS="$CPPFLAGS"
36983             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36984             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36985                                 #include <Carbon/Carbon.h>
36986                                 #include <WebKit/WebKit.h>
36987
36988 "
36989 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36990
36991                                 USE_WEBVIEW_WEBKIT=1
36992                                 WEBKIT_LINK="-framework WebKit"
36993
36994 else
36995
36996                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36997 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36998
36999 fi
37000
37001
37002             CPPFLAGS="$old_CPPFLAGS"
37003         fi
37004     fi
37005
37006     wxUSE_WEBVIEW="no"
37007     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37008         if test "$USE_WEBVIEW_WEBKIT" = 1; then
37009             wxUSE_WEBVIEW="yes"
37010             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37011
37012         else
37013             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37014 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37015         fi
37016     elif test "$wxUSE_MSW" = 1; then
37017         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37018                                     wxUSE_WEBVIEW="yes"
37019             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37020
37021         fi
37022     fi
37023 fi
37024
37025 if test "$wxUSE_WEBVIEW" = "yes"; then
37026     USE_WEBVIEW=1
37027     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37028
37029     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
37030 else
37031     USE_WEBVIEW=0
37032 fi
37033
37034
37035 if test "$wxUSE_IMAGE" = "yes" ; then
37036     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37037
37038
37039     if test "$wxUSE_GIF" = "yes" ; then
37040       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37041
37042     fi
37043
37044     if test "$wxUSE_PCX" = "yes" ; then
37045       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37046
37047     fi
37048
37049     if test "$wxUSE_TGA" = "yes" ; then
37050       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37051
37052     fi
37053
37054     if test "$wxUSE_IFF" = "yes" ; then
37055       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37056
37057     fi
37058
37059     if test "$wxUSE_PNM" = "yes" ; then
37060       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37061
37062     fi
37063
37064     if test "$wxUSE_XPM" = "yes" ; then
37065       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37066
37067     fi
37068
37069     if test "$wxUSE_ICO_CUR" = "yes" ; then
37070       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37071
37072     fi
37073 fi
37074
37075
37076 if test "$wxUSE_ABOUTDLG" = "yes"; then
37077     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37078
37079 fi
37080
37081 if test "$wxUSE_CHOICEDLG" = "yes"; then
37082     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37083
37084 fi
37085
37086 if test "$wxUSE_COLOURDLG" = "yes"; then
37087     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37088
37089 fi
37090
37091 if test "$wxUSE_FILEDLG" = "yes"; then
37092     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37093
37094 fi
37095
37096 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37097     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37098
37099 fi
37100
37101 if test "$wxUSE_FONTDLG" = "yes"; then
37102     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37103
37104 fi
37105
37106 if test "$wxUSE_DIRDLG" = "yes"; then
37107     if test "$wxUSE_TREECTRL" != "yes"; then
37108         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37109 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37110     else
37111         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37112
37113     fi
37114 fi
37115
37116 if test "$wxUSE_MSGDLG" = "yes"; then
37117     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37118
37119 fi
37120
37121 if test "$wxUSE_NUMBERDLG" = "yes"; then
37122     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37123
37124 fi
37125
37126 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37127     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37128
37129 fi
37130
37131 if test "$wxUSE_SPLASH" = "yes"; then
37132     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37133
37134     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37135 fi
37136
37137 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37138     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37139
37140 fi
37141
37142 if test "$wxUSE_TEXTDLG" = "yes"; then
37143     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37144
37145 fi
37146
37147 if test "$wxUSE_WIZARDDLG" = "yes"; then
37148     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37149
37150     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37151 fi
37152
37153
37154 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37155     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37156         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37157
37158     fi
37159 fi
37160
37161
37162 if test "$wxUSE_MSW" = 1 ; then
37163
37164     if test "$wxUSE_DC_CACHEING" = "yes"; then
37165         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37166
37167     fi
37168
37169     if test "$wxUSE_DIB" = "yes"; then
37170         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37171
37172     fi
37173
37174     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37175         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37176
37177     fi
37178
37179     if test "$wxUSE_UXTHEME" = "yes"; then
37180         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37181
37182     fi
37183
37184 fi
37185
37186 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37187     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37188
37189 fi
37190
37191 if test "$USE_WIN32" = 1 ; then
37192     if test "$wxUSE_INICONF" = "yes"; then
37193         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37194
37195     fi
37196
37197     if test "$wxUSE_REGKEY" = "yes"; then
37198         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37199
37200     fi
37201 fi
37202
37203
37204 if test "$wxUSE_MAC" = 1; then
37205     wxUSE_GRAPHICS_CONTEXT="yes"
37206 fi
37207
37208 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37209     wx_has_graphics=0
37210     if test "$wxUSE_MSW" = 1; then
37211         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37212 $as_echo_n "checking if GDI+ is available... " >&6; }
37213 if ${wx_cv_lib_gdiplus+:} false; then :
37214   $as_echo_n "(cached) " >&6
37215 else
37216
37217                                                 ac_ext=cpp
37218 ac_cpp='$CXXCPP $CPPFLAGS'
37219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37222
37223                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37224 /* end confdefs.h.  */
37225 #include <windows.h>
37226                      #include <gdiplus.h>
37227 int
37228 main ()
37229 {
37230
37231                         using namespace Gdiplus;
37232
37233   ;
37234   return 0;
37235 }
37236 _ACEOF
37237 if ac_fn_cxx_try_compile "$LINENO"; then :
37238   wx_cv_lib_gdiplus=yes
37239 else
37240   wx_cv_lib_gdiplus=no
37241
37242 fi
37243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37244                 ac_ext=c
37245 ac_cpp='$CPP $CPPFLAGS'
37246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37249
37250
37251
37252 fi
37253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37254 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37255         if test "$wx_cv_lib_gdiplus" = "yes"; then
37256             wx_has_graphics=1
37257         fi
37258     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37259
37260 pkg_failed=no
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37262 $as_echo_n "checking for CAIRO... " >&6; }
37263
37264 if test -n "$PKG_CONFIG"; then
37265     if test -n "$CAIRO_CFLAGS"; then
37266         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37267     else
37268         if test -n "$PKG_CONFIG" && \
37269     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37270   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37271   ac_status=$?
37272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37273   test $ac_status = 0; }; then
37274   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37275 else
37276   pkg_failed=yes
37277 fi
37278     fi
37279 else
37280         pkg_failed=untried
37281 fi
37282 if test -n "$PKG_CONFIG"; then
37283     if test -n "$CAIRO_LIBS"; then
37284         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37285     else
37286         if test -n "$PKG_CONFIG" && \
37287     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37288   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37289   ac_status=$?
37290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37291   test $ac_status = 0; }; then
37292   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37293 else
37294   pkg_failed=yes
37295 fi
37296     fi
37297 else
37298         pkg_failed=untried
37299 fi
37300
37301
37302
37303 if test $pkg_failed = yes; then
37304
37305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37306         _pkg_short_errors_supported=yes
37307 else
37308         _pkg_short_errors_supported=no
37309 fi
37310         if test $_pkg_short_errors_supported = yes; then
37311                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37312         else
37313                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37314         fi
37315         # Put the nasty error message in config.log where it belongs
37316         echo "$CAIRO_PKG_ERRORS" >&5
37317
37318         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37319 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37320
37321 elif test $pkg_failed = untried; then
37322         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37323 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37324
37325 else
37326         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37327         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37328         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37329 $as_echo "yes" >&6; }
37330         wx_has_graphics=1
37331 fi
37332         if test "$wx_has_graphics" = 1; then
37333                                                 save_LIBS="$LIBS"
37334             LIBS="$LIBS $CAIRO_LIBS"
37335             for ac_func in cairo_push_group
37336 do :
37337   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37338 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37339   cat >>confdefs.h <<_ACEOF
37340 #define HAVE_CAIRO_PUSH_GROUP 1
37341 _ACEOF
37342
37343 fi
37344 done
37345
37346             LIBS="$save_LIBS"
37347             if test "$ac_cv_func_cairo_push_group" = "no"; then
37348                 wx_has_graphics=0
37349                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37350 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37351             else
37352                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37353
37354
37355                                                 if test "$wxUSE_GTK" != 1; then
37356                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37357                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37358                 fi
37359             fi
37360         fi
37361     else
37362                 wx_has_graphics=1
37363     fi
37364
37365     if test "$wx_has_graphics" = 1; then
37366         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37367
37368     else
37369         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37370 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37371     fi
37372 fi
37373
37374
37375 USE_MEDIA=0
37376
37377 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37378     USE_MEDIA=1
37379
37380                 if test "$wxUSE_GTK" = 1; then
37381         wxUSE_GSTREAMER="no"
37382
37383                                                                 GST_VERSION_MAJOR=0
37384         GST_VERSION_MINOR=10
37385         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37386
37387         if test "$wxUSE_GSTREAMER8" = "no"; then
37388
37389 pkg_failed=no
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37391 $as_echo_n "checking for GST... " >&6; }
37392
37393 if test -n "$PKG_CONFIG"; then
37394     if test -n "$GST_CFLAGS"; then
37395         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37396     else
37397         if test -n "$PKG_CONFIG" && \
37398     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37399   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37400   ac_status=$?
37401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37402   test $ac_status = 0; }; then
37403   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37404 else
37405   pkg_failed=yes
37406 fi
37407     fi
37408 else
37409         pkg_failed=untried
37410 fi
37411 if test -n "$PKG_CONFIG"; then
37412     if test -n "$GST_LIBS"; then
37413         pkg_cv_GST_LIBS="$GST_LIBS"
37414     else
37415         if test -n "$PKG_CONFIG" && \
37416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37417   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37418   ac_status=$?
37419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37420   test $ac_status = 0; }; then
37421   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37422 else
37423   pkg_failed=yes
37424 fi
37425     fi
37426 else
37427         pkg_failed=untried
37428 fi
37429
37430
37431
37432 if test $pkg_failed = yes; then
37433
37434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37435         _pkg_short_errors_supported=yes
37436 else
37437         _pkg_short_errors_supported=no
37438 fi
37439         if test $_pkg_short_errors_supported = yes; then
37440                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37441         else
37442                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37443         fi
37444         # Put the nasty error message in config.log where it belongs
37445         echo "$GST_PKG_ERRORS" >&5
37446
37447
37448                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37449 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37450                     GST_VERSION_MINOR=8
37451
37452
37453 elif test $pkg_failed = untried; then
37454
37455                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37456 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37457                     GST_VERSION_MINOR=8
37458
37459
37460 else
37461         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37462         GST_LIBS=$pkg_cv_GST_LIBS
37463         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37464 $as_echo "yes" >&6; }
37465
37466                     wxUSE_GSTREAMER="yes"
37467                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37468
37469 fi
37470         else
37471                         GST_VERSION_MINOR=8
37472         fi
37473
37474         if test $GST_VERSION_MINOR = "8"; then
37475             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37476
37477 pkg_failed=no
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37479 $as_echo_n "checking for GST... " >&6; }
37480
37481 if test -n "$PKG_CONFIG"; then
37482     if test -n "$GST_CFLAGS"; then
37483         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37484     else
37485         if test -n "$PKG_CONFIG" && \
37486     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37487   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37488   ac_status=$?
37489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37490   test $ac_status = 0; }; then
37491   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37492 else
37493   pkg_failed=yes
37494 fi
37495     fi
37496 else
37497         pkg_failed=untried
37498 fi
37499 if test -n "$PKG_CONFIG"; then
37500     if test -n "$GST_LIBS"; then
37501         pkg_cv_GST_LIBS="$GST_LIBS"
37502     else
37503         if test -n "$PKG_CONFIG" && \
37504     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37505   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37506   ac_status=$?
37507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37508   test $ac_status = 0; }; then
37509   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37510 else
37511   pkg_failed=yes
37512 fi
37513     fi
37514 else
37515         pkg_failed=untried
37516 fi
37517
37518
37519
37520 if test $pkg_failed = yes; then
37521
37522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37523         _pkg_short_errors_supported=yes
37524 else
37525         _pkg_short_errors_supported=no
37526 fi
37527         if test $_pkg_short_errors_supported = yes; then
37528                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37529         else
37530                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37531         fi
37532         # Put the nasty error message in config.log where it belongs
37533         echo "$GST_PKG_ERRORS" >&5
37534
37535
37536                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37537 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37538
37539 elif test $pkg_failed = untried; then
37540
37541                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37542 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37543
37544 else
37545         GST_CFLAGS=$pkg_cv_GST_CFLAGS
37546         GST_LIBS=$pkg_cv_GST_LIBS
37547         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37548 $as_echo "yes" >&6; }
37549         wxUSE_GSTREAMER="yes"
37550 fi
37551         fi
37552
37553
37554         if test "$wxUSE_GSTREAMER" = "yes"; then
37555             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37556             EXTRALIBS_MEDIA="$GST_LIBS"
37557
37558             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37559
37560         else
37561             USE_MEDIA=0
37562         fi
37563
37564     elif test "$wxUSE_MAC" = 1; then
37565                            GST_LIBS="-framework QTKit"
37566     fi
37567
37568     if test $USE_MEDIA = 1; then
37569         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37570         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37571
37572     else
37573         if test "$wxUSE_MEDIACTRL" = "yes"; then
37574             as_fn_error $? "GStreamer not available" "$LINENO" 5
37575         else
37576                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37577 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37578         fi
37579     fi
37580 fi
37581
37582
37583 if test "$cross_compiling" != "no"; then
37584         OSINFO="\"$host\""
37585 else
37586         OSINFO=`uname -s -r -m`
37587     OSINFO="\"$OSINFO\""
37588 fi
37589
37590 cat >>confdefs.h <<_ACEOF
37591 #define WXWIN_OS_DESCRIPTION $OSINFO
37592 _ACEOF
37593
37594
37595
37596 if test "x$prefix" != "xNONE"; then
37597     wxPREFIX=$prefix
37598 else
37599     wxPREFIX=$ac_default_prefix
37600 fi
37601
37602 cat >>confdefs.h <<_ACEOF
37603 #define wxINSTALL_PREFIX "$wxPREFIX"
37604 _ACEOF
37605
37606
37607
37608
37609 STD_BASE_LIBS="base"
37610 STD_GUI_LIBS=""
37611 BUILT_WX_LIBS="base"
37612 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37613
37614 if test "$wxUSE_SOCKETS" = "yes" ; then
37615     STD_BASE_LIBS="net $STD_BASE_LIBS"
37616     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37617 fi
37618 if test "$wxUSE_XML" = "yes" ; then
37619     STD_BASE_LIBS="xml $STD_BASE_LIBS"
37620     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37621 fi
37622
37623 if test "$wxUSE_GUI" = "yes"; then
37624     STD_GUI_LIBS="adv core"
37625     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37626
37627     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37628         STD_GUI_LIBS="qa $STD_GUI_LIBS"
37629         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37630     fi
37631     if test "$wxUSE_HTML" = "yes" ; then
37632         STD_GUI_LIBS="html $STD_GUI_LIBS"
37633         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37634     fi
37635     if test "$wxUSE_MEDIACTRL" = "yes" ; then
37636         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37637     fi
37638     if test "$wxUSE_OPENGL" = "yes" ; then
37639         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37640     fi
37641     if test "$wxUSE_AUI" = "yes" ; then
37642         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37643     fi
37644     if test "$wxUSE_PROPGRID" = "yes" ; then
37645         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37646     fi
37647     if test "$wxUSE_RIBBON" = "yes" ; then
37648         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37649     fi
37650     if test "$wxUSE_RICHTEXT" = "yes" ; then
37651         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37652     fi
37653     if test "$wxUSE_STC" = "yes" ; then
37654         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37655     fi
37656     if test "$wxUSE_WEBVIEW" = "yes" ; then
37657         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37658         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37659     fi
37660     if test "$wxUSE_XRC" = "yes" ; then
37661         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37662         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37663     fi
37664 fi
37665
37666
37667
37668
37669
37670
37671
37672 EXTRA_FRAMEWORKS=
37673 if test "$wxUSE_MAC" = 1 ; then
37674     if test "$USE_DARWIN" = 1; then
37675         if test "$wxUSE_OSX_IPHONE" = 1; then
37676             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37677         else
37678             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37679
37680
37681             if test "$cross_compiling" != "no"; then
37682                                                                                                 wx_cv_target_x86_64=no
37683             else
37684                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37685 $as_echo_n "checking if we target only x86_64... " >&6; }
37686 if ${wx_cv_target_x86_64+:} false; then :
37687   $as_echo_n "(cached) " >&6
37688 else
37689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37690 /* end confdefs.h.  */
37691 int main() { return 0; }
37692 _ACEOF
37693 if ac_fn_c_try_link "$LINENO"; then :
37694   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37695                             wx_cv_target_x86_64=no
37696                         else
37697                             wx_cv_target_x86_64=yes
37698                         fi
37699
37700 fi
37701 rm -f core conftest.err conftest.$ac_objext \
37702     conftest$ac_exeext conftest.$ac_ext
37703
37704 fi
37705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37706 $as_echo "$wx_cv_target_x86_64" >&6; }
37707             fi
37708
37709             if test "$wx_cv_target_x86_64" != "yes"; then
37710                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37711             fi
37712         fi
37713     fi
37714 fi
37715 if test "$wxUSE_OLD_COCOA" = 1 ; then
37716     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37717     if test "$wxUSE_MEDIACTRL" = "yes"; then
37718         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37719     fi
37720 fi
37721 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37722     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37723 fi
37724
37725 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37726 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37727
37728 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37729
37730 if test "$wxUSE_GUI" = "yes"; then
37731
37732
37733         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37734                      erase event exec font image minimal preferences render \
37735                      shaped svg taborder vscroll widgets wrapsizer"
37736
37737     if test "$wxUSE_MONOLITHIC" != "yes"; then
37738         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37739     fi
37740     if test "$TOOLKIT" = "MSW"; then
37741         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37742         if test "$wxUSE_UNIVERSAL" != "yes"; then
37743             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37744         fi
37745     fi
37746     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37747         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37748     fi
37749 else
37750     SAMPLES_SUBDIRS="console"
37751     if test "$wxUSE_SOCKETS" = "yes" ; then
37752         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37753     fi
37754     if test "$wxUSE_IPC" = "yes" ; then
37755         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37756     fi
37757 fi
37758
37759
37760 if test "x$INTELCC" = "xyes" ; then
37761                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37762 elif test "$GCC" = yes ; then
37763     CWARNINGS="-Wall -Wundef"
37764 fi
37765
37766 if test "x$INTELCXX" = "xyes" ; then
37767                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37768 elif test "$GXX" = yes ; then
37769     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37771 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37772 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37773   $as_echo_n "(cached) " >&6
37774 else
37775   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37776
37777  ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37782
37783  ac_save_CXXFLAGS="$CXXFLAGS"
37784 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37785 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37787 /* end confdefs.h.  */
37788
37789 int
37790 main ()
37791 {
37792 return 0;
37793   ;
37794   return 0;
37795 }
37796 _ACEOF
37797 if ac_fn_cxx_try_compile "$LINENO"; then :
37798   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37799 fi
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 done
37802  CXXFLAGS="$ac_save_CXXFLAGS"
37803  ac_ext=c
37804 ac_cpp='$CPP $CPPFLAGS'
37805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37808
37809
37810 fi
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37812 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37813 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37814      .ok|.ok,*)  ;;
37815    .|.no|.no,*)  ;;
37816    *)
37817    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37818    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37819   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37820   ac_status=$?
37821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37822   test $ac_status = 0; }
37823    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37824   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37825   ac_status=$?
37826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37827   test $ac_status = 0; }
37828                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37829    fi
37830  ;;
37831 esac
37832
37833
37834                     if test "$wxUSE_MAC" = 1 ; then
37835         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37836     fi
37837 fi
37838
37839
37840 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37841 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37842
37843
37844 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37845  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37846  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37847  $CPPFLAGS `
37848
37849 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37850 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37851 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37852 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37853 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37854
37855 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37856
37857
37858 if test "x$MWCC" = "xyes"; then
37859
37860             CC="$CC -cwd source -I-"
37861     CXX="$CXX -cwd source -I-"
37862 fi
37863
37864
37865 LIBS=`echo $LIBS`
37866 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37867 EXTRALIBS_XML="$EXPAT_LINK"
37868 EXTRALIBS_HTML="$MSPACK_LINK"
37869 EXTRALIBS_MEDIA="$GST_LIBS"
37870 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37871 if test "$wxUSE_GUI" = "yes"; then
37872     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37873 fi
37874 if test "$wxUSE_OPENGL" = "yes"; then
37875     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37876 fi
37877
37878 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37879
37880 WXCONFIG_LIBS="$LIBS"
37881
37882 if test "$wxUSE_REGEX" = "builtin" ; then
37883     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37884 fi
37885 if test "$wxUSE_EXPAT" = "builtin" ; then
37886     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37887 fi
37888 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37889     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37890 fi
37891 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37892     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37893 fi
37894 if test "$wxUSE_LIBPNG" = "builtin" ; then
37895     wxconfig_3rdparty="png $wxconfig_3rdparty"
37896 fi
37897 if test "$wxUSE_ZLIB" = "builtin" ; then
37898     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37899 fi
37900
37901 for i in $wxconfig_3rdparty ; do
37902     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37903 done
37904
37905
37906 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37907     WXUNIV=1
37908
37909     case "$wxUNIV_THEMES" in
37910         ''|all)
37911             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37912
37913             ;;
37914
37915         *)
37916             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37917                 cat >>confdefs.h <<_ACEOF
37918 #define wxUSE_THEME_$t 1
37919 _ACEOF
37920
37921             done
37922     esac
37923 else
37924     WXUNIV=0
37925 fi
37926
37927
37928
37929
37930
37931
37932
37933
37934 if test $wxUSE_MONOLITHIC = "yes" ; then
37935     MONOLITHIC=1
37936 else
37937     MONOLITHIC=0
37938 fi
37939
37940 if test $wxUSE_PLUGINS = "yes" ; then
37941     USE_PLUGINS=1
37942 else
37943     USE_PLUGINS=0
37944 fi
37945
37946 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37947     USE_QA=1
37948 else
37949     USE_QA=0
37950 fi
37951
37952 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37953     OFFICIAL_BUILD=1
37954 else
37955     OFFICIAL_BUILD=0
37956 fi
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991 case "$TOOLKIT" in
37992     GTK)
37993         TOOLKIT_DESC="GTK+"
37994         if test "$WXGTK2" = 1; then
37995             if test "$WXGTK3" = 1; then
37996                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37997             else
37998                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37999             fi
38000             if test "$wxUSE_GTKPRINT" = "yes" ; then
38001                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
38002             fi
38003             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38004                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
38005             fi
38006             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38007                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
38008             fi
38009             if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38010                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
38011             fi
38012             if test "$wxUSE_LIBHILDON" = "yes"; then
38013                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38014             fi
38015             if test "$wxUSE_LIBHILDON2" = "yes"; then
38016                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
38017             fi
38018
38019             if test "$TOOLKIT_EXTRA" != ""; then
38020                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38021             fi
38022         fi
38023         ;;
38024
38025     ?*)
38026         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
38027         ;;
38028
38029     *)
38030         TOOLKIT_DESC="base only"
38031         ;;
38032 esac
38033
38034 if test "$wxUSE_WINE" = "yes"; then
38035     BAKEFILE_FORCE_PLATFORM=win32
38036 fi
38037
38038 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38039 then
38040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38041 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38042 if ${wx_cv_gcc_pch_bug+:} false; then :
38043   $as_echo_n "(cached) " >&6
38044 else
38045
38046             echo '#include <stdio.h>
38047                   const wchar_t test_var[] = L"awidetest";' > conftest.h
38048
38049             echo '#include "conftest.h"
38050                   int main()
38051                   {
38052                      printf("%ls", test_var);
38053                      return 0;
38054                   }' > conftest.cpp
38055
38056             wx_cv_gcc_pch_bug="pch not supported"
38057
38058             if $CXX conftest.h >/dev/null 2>&1
38059             then
38060                 wx_cv_gcc_pch_bug=
38061
38062                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
38063                 then
38064                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
38065                         grep awidetest >/dev/null
38066                     then
38067                         wx_cv_gcc_pch_bug=no
38068                     else
38069                         wx_cv_gcc_pch_bug=yes
38070                     fi
38071                 fi
38072             fi
38073
38074             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
38075
38076 fi
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38078 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38079
38080     if test "$wx_cv_gcc_pch_bug" = yes; then
38081                         bk_use_pch=no
38082     fi
38083 fi
38084
38085 # Find a good install program.  We prefer a C program (faster),
38086 # so one script is as good as another.  But avoid the broken or
38087 # incompatible versions:
38088 # SysV /etc/install, /usr/sbin/install
38089 # SunOS /usr/etc/install
38090 # IRIX /sbin/install
38091 # AIX /bin/install
38092 # AmigaOS /C/install, which installs bootblocks on floppy discs
38093 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38094 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38095 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38096 # OS/2's system install, which has a completely different semantic
38097 # ./install, which can be erroneously created by make from ./install.sh.
38098 # Reject install programs that cannot install multiple files.
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38100 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38101 if test -z "$INSTALL"; then
38102 if ${ac_cv_path_install+:} false; then :
38103   $as_echo_n "(cached) " >&6
38104 else
38105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38106 for as_dir in $PATH
38107 do
38108   IFS=$as_save_IFS
38109   test -z "$as_dir" && as_dir=.
38110     # Account for people who put trailing slashes in PATH elements.
38111 case $as_dir/ in #((
38112   ./ | .// | /[cC]/* | \
38113   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38114   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
38115   /usr/ucb/* ) ;;
38116   *)
38117     # OSF1 and SCO ODT 3.0 have their own names for install.
38118     # Don't use installbsd from OSF since it installs stuff as root
38119     # by default.
38120     for ac_prog in ginstall scoinst install; do
38121       for ac_exec_ext in '' $ac_executable_extensions; do
38122         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38123           if test $ac_prog = install &&
38124             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38125             # AIX install.  It has an incompatible calling convention.
38126             :
38127           elif test $ac_prog = install &&
38128             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38129             # program-specific install script used by HP pwplus--don't use.
38130             :
38131           else
38132             rm -rf conftest.one conftest.two conftest.dir
38133             echo one > conftest.one
38134             echo two > conftest.two
38135             mkdir conftest.dir
38136             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
38137               test -s conftest.one && test -s conftest.two &&
38138               test -s conftest.dir/conftest.one &&
38139               test -s conftest.dir/conftest.two
38140             then
38141               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38142               break 3
38143             fi
38144           fi
38145         fi
38146       done
38147     done
38148     ;;
38149 esac
38150
38151   done
38152 IFS=$as_save_IFS
38153
38154 rm -rf conftest.one conftest.two conftest.dir
38155
38156 fi
38157   if test "${ac_cv_path_install+set}" = set; then
38158     INSTALL=$ac_cv_path_install
38159   else
38160     # As a last resort, use the slow shell script.  Don't cache a
38161     # value for INSTALL within a source directory, because that will
38162     # break other packages using the cache if that directory is
38163     # removed, or if the value is a relative name.
38164     INSTALL=$ac_install_sh
38165   fi
38166 fi
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38168 $as_echo "$INSTALL" >&6; }
38169
38170 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38171 # It thinks the first close brace ends the variable substitution.
38172 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38173
38174 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38175
38176 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38177
38178
38179
38180
38181
38182
38183
38184     if test "x$BAKEFILE_HOST" = "x"; then
38185                if test "x${host}" = "x" ; then
38186                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38187                fi
38188
38189         BAKEFILE_HOST="${host}"
38190     fi
38191
38192     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38193
38194     if test -n "$ac_tool_prefix"; then
38195   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38198 $as_echo_n "checking for $ac_word... " >&6; }
38199 if ${ac_cv_prog_RANLIB+:} false; then :
38200   $as_echo_n "(cached) " >&6
38201 else
38202   if test -n "$RANLIB"; then
38203   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38204 else
38205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38206 for as_dir in $PATH
38207 do
38208   IFS=$as_save_IFS
38209   test -z "$as_dir" && as_dir=.
38210     for ac_exec_ext in '' $ac_executable_extensions; do
38211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38212     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38214     break 2
38215   fi
38216 done
38217   done
38218 IFS=$as_save_IFS
38219
38220 fi
38221 fi
38222 RANLIB=$ac_cv_prog_RANLIB
38223 if test -n "$RANLIB"; then
38224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38225 $as_echo "$RANLIB" >&6; }
38226 else
38227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38228 $as_echo "no" >&6; }
38229 fi
38230
38231
38232 fi
38233 if test -z "$ac_cv_prog_RANLIB"; then
38234   ac_ct_RANLIB=$RANLIB
38235   # Extract the first word of "ranlib", so it can be a program name with args.
38236 set dummy ranlib; ac_word=$2
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38238 $as_echo_n "checking for $ac_word... " >&6; }
38239 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38240   $as_echo_n "(cached) " >&6
38241 else
38242   if test -n "$ac_ct_RANLIB"; then
38243   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38244 else
38245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38246 for as_dir in $PATH
38247 do
38248   IFS=$as_save_IFS
38249   test -z "$as_dir" && as_dir=.
38250     for ac_exec_ext in '' $ac_executable_extensions; do
38251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38252     ac_cv_prog_ac_ct_RANLIB="ranlib"
38253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38254     break 2
38255   fi
38256 done
38257   done
38258 IFS=$as_save_IFS
38259
38260 fi
38261 fi
38262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38263 if test -n "$ac_ct_RANLIB"; then
38264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38265 $as_echo "$ac_ct_RANLIB" >&6; }
38266 else
38267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38268 $as_echo "no" >&6; }
38269 fi
38270
38271   if test "x$ac_ct_RANLIB" = x; then
38272     RANLIB=":"
38273   else
38274     case $cross_compiling:$ac_tool_warned in
38275 yes:)
38276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38278 ac_tool_warned=yes ;;
38279 esac
38280     RANLIB=$ac_ct_RANLIB
38281   fi
38282 else
38283   RANLIB="$ac_cv_prog_RANLIB"
38284 fi
38285
38286
38287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38288 $as_echo_n "checking whether ln -s works... " >&6; }
38289 LN_S=$as_ln_s
38290 if test "$LN_S" = "ln -s"; then
38291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38292 $as_echo "yes" >&6; }
38293 else
38294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38295 $as_echo "no, using $LN_S" >&6; }
38296 fi
38297
38298
38299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38301 set x ${MAKE-make}
38302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38303 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38304   $as_echo_n "(cached) " >&6
38305 else
38306   cat >conftest.make <<\_ACEOF
38307 SHELL = /bin/sh
38308 all:
38309         @echo '@@@%%%=$(MAKE)=@@@%%%'
38310 _ACEOF
38311 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38313   *@@@%%%=?*=@@@%%%*)
38314     eval ac_cv_prog_make_${ac_make}_set=yes;;
38315   *)
38316     eval ac_cv_prog_make_${ac_make}_set=no;;
38317 esac
38318 rm -f conftest.make
38319 fi
38320 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38322 $as_echo "yes" >&6; }
38323   SET_MAKE=
38324 else
38325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38326 $as_echo "no" >&6; }
38327   SET_MAKE="MAKE=${MAKE-make}"
38328 fi
38329
38330
38331
38332     if test "x$SUNCXX" = "xyes"; then
38333                                 AR=$CXX
38334         AROPTIONS="-xar -o"
38335
38336     elif test "x$SGICC" = "xyes"; then
38337                 AR=$CXX
38338         AROPTIONS="-ar -o"
38339
38340     else
38341         if test -n "$ac_tool_prefix"; then
38342   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38343 set dummy ${ac_tool_prefix}ar; ac_word=$2
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38345 $as_echo_n "checking for $ac_word... " >&6; }
38346 if ${ac_cv_prog_AR+:} false; then :
38347   $as_echo_n "(cached) " >&6
38348 else
38349   if test -n "$AR"; then
38350   ac_cv_prog_AR="$AR" # Let the user override the test.
38351 else
38352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38353 for as_dir in $PATH
38354 do
38355   IFS=$as_save_IFS
38356   test -z "$as_dir" && as_dir=.
38357     for ac_exec_ext in '' $ac_executable_extensions; do
38358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38359     ac_cv_prog_AR="${ac_tool_prefix}ar"
38360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38361     break 2
38362   fi
38363 done
38364   done
38365 IFS=$as_save_IFS
38366
38367 fi
38368 fi
38369 AR=$ac_cv_prog_AR
38370 if test -n "$AR"; then
38371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38372 $as_echo "$AR" >&6; }
38373 else
38374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38375 $as_echo "no" >&6; }
38376 fi
38377
38378
38379 fi
38380 if test -z "$ac_cv_prog_AR"; then
38381   ac_ct_AR=$AR
38382   # Extract the first word of "ar", so it can be a program name with args.
38383 set dummy ar; ac_word=$2
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38385 $as_echo_n "checking for $ac_word... " >&6; }
38386 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38387   $as_echo_n "(cached) " >&6
38388 else
38389   if test -n "$ac_ct_AR"; then
38390   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38391 else
38392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38393 for as_dir in $PATH
38394 do
38395   IFS=$as_save_IFS
38396   test -z "$as_dir" && as_dir=.
38397     for ac_exec_ext in '' $ac_executable_extensions; do
38398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38399     ac_cv_prog_ac_ct_AR="ar"
38400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38401     break 2
38402   fi
38403 done
38404   done
38405 IFS=$as_save_IFS
38406
38407 fi
38408 fi
38409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38410 if test -n "$ac_ct_AR"; then
38411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38412 $as_echo "$ac_ct_AR" >&6; }
38413 else
38414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38415 $as_echo "no" >&6; }
38416 fi
38417
38418   if test "x$ac_ct_AR" = x; then
38419     AR="ar"
38420   else
38421     case $cross_compiling:$ac_tool_warned in
38422 yes:)
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38425 ac_tool_warned=yes ;;
38426 esac
38427     AR=$ac_ct_AR
38428   fi
38429 else
38430   AR="$ac_cv_prog_AR"
38431 fi
38432
38433         AROPTIONS=rcu
38434     fi
38435
38436
38437     if test -n "$ac_tool_prefix"; then
38438   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38439 set dummy ${ac_tool_prefix}strip; ac_word=$2
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38441 $as_echo_n "checking for $ac_word... " >&6; }
38442 if ${ac_cv_prog_STRIP+:} false; then :
38443   $as_echo_n "(cached) " >&6
38444 else
38445   if test -n "$STRIP"; then
38446   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38447 else
38448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38449 for as_dir in $PATH
38450 do
38451   IFS=$as_save_IFS
38452   test -z "$as_dir" && as_dir=.
38453     for ac_exec_ext in '' $ac_executable_extensions; do
38454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38455     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38457     break 2
38458   fi
38459 done
38460   done
38461 IFS=$as_save_IFS
38462
38463 fi
38464 fi
38465 STRIP=$ac_cv_prog_STRIP
38466 if test -n "$STRIP"; then
38467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38468 $as_echo "$STRIP" >&6; }
38469 else
38470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38471 $as_echo "no" >&6; }
38472 fi
38473
38474
38475 fi
38476 if test -z "$ac_cv_prog_STRIP"; then
38477   ac_ct_STRIP=$STRIP
38478   # Extract the first word of "strip", so it can be a program name with args.
38479 set dummy strip; ac_word=$2
38480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38481 $as_echo_n "checking for $ac_word... " >&6; }
38482 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38483   $as_echo_n "(cached) " >&6
38484 else
38485   if test -n "$ac_ct_STRIP"; then
38486   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38487 else
38488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38489 for as_dir in $PATH
38490 do
38491   IFS=$as_save_IFS
38492   test -z "$as_dir" && as_dir=.
38493     for ac_exec_ext in '' $ac_executable_extensions; do
38494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38495     ac_cv_prog_ac_ct_STRIP="strip"
38496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38497     break 2
38498   fi
38499 done
38500   done
38501 IFS=$as_save_IFS
38502
38503 fi
38504 fi
38505 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38506 if test -n "$ac_ct_STRIP"; then
38507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38508 $as_echo "$ac_ct_STRIP" >&6; }
38509 else
38510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38511 $as_echo "no" >&6; }
38512 fi
38513
38514   if test "x$ac_ct_STRIP" = x; then
38515     STRIP=":"
38516   else
38517     case $cross_compiling:$ac_tool_warned in
38518 yes:)
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38521 ac_tool_warned=yes ;;
38522 esac
38523     STRIP=$ac_ct_STRIP
38524   fi
38525 else
38526   STRIP="$ac_cv_prog_STRIP"
38527 fi
38528
38529     if test -n "$ac_tool_prefix"; then
38530   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38531 set dummy ${ac_tool_prefix}nm; ac_word=$2
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38533 $as_echo_n "checking for $ac_word... " >&6; }
38534 if ${ac_cv_prog_NM+:} false; then :
38535   $as_echo_n "(cached) " >&6
38536 else
38537   if test -n "$NM"; then
38538   ac_cv_prog_NM="$NM" # Let the user override the test.
38539 else
38540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38541 for as_dir in $PATH
38542 do
38543   IFS=$as_save_IFS
38544   test -z "$as_dir" && as_dir=.
38545     for ac_exec_ext in '' $ac_executable_extensions; do
38546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38547     ac_cv_prog_NM="${ac_tool_prefix}nm"
38548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38549     break 2
38550   fi
38551 done
38552   done
38553 IFS=$as_save_IFS
38554
38555 fi
38556 fi
38557 NM=$ac_cv_prog_NM
38558 if test -n "$NM"; then
38559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38560 $as_echo "$NM" >&6; }
38561 else
38562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38563 $as_echo "no" >&6; }
38564 fi
38565
38566
38567 fi
38568 if test -z "$ac_cv_prog_NM"; then
38569   ac_ct_NM=$NM
38570   # Extract the first word of "nm", so it can be a program name with args.
38571 set dummy nm; ac_word=$2
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38573 $as_echo_n "checking for $ac_word... " >&6; }
38574 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38575   $as_echo_n "(cached) " >&6
38576 else
38577   if test -n "$ac_ct_NM"; then
38578   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38579 else
38580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38581 for as_dir in $PATH
38582 do
38583   IFS=$as_save_IFS
38584   test -z "$as_dir" && as_dir=.
38585     for ac_exec_ext in '' $ac_executable_extensions; do
38586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38587     ac_cv_prog_ac_ct_NM="nm"
38588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38589     break 2
38590   fi
38591 done
38592   done
38593 IFS=$as_save_IFS
38594
38595 fi
38596 fi
38597 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38598 if test -n "$ac_ct_NM"; then
38599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38600 $as_echo "$ac_ct_NM" >&6; }
38601 else
38602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38603 $as_echo "no" >&6; }
38604 fi
38605
38606   if test "x$ac_ct_NM" = x; then
38607     NM=":"
38608   else
38609     case $cross_compiling:$ac_tool_warned in
38610 yes:)
38611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38613 ac_tool_warned=yes ;;
38614 esac
38615     NM=$ac_ct_NM
38616   fi
38617 else
38618   NM="$ac_cv_prog_NM"
38619 fi
38620
38621
38622         INSTALL_DIR="mkdir -p"
38623
38624
38625     LDFLAGS_GUI=
38626     case ${BAKEFILE_HOST} in
38627         *-*-cygwin* | *-*-mingw32* )
38628         LDFLAGS_GUI="-mwindows"
38629     esac
38630
38631
38632     fi
38633
38634         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38635 $as_echo_n "checking if make is GNU make... " >&6; }
38636 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38637   $as_echo_n "(cached) " >&6
38638 else
38639
38640         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38641                 egrep -s GNU > /dev/null); then
38642             bakefile_cv_prog_makeisgnu="yes"
38643         else
38644             bakefile_cv_prog_makeisgnu="no"
38645         fi
38646
38647 fi
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38649 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38650
38651     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38652         IF_GNU_MAKE=""
38653     else
38654         IF_GNU_MAKE="#"
38655     fi
38656
38657
38658
38659     PLATFORM_UNIX=0
38660     PLATFORM_WIN32=0
38661     PLATFORM_MSDOS=0
38662     PLATFORM_MAC=0
38663     PLATFORM_MACOS=0
38664     PLATFORM_MACOSX=0
38665     PLATFORM_OS2=0
38666     PLATFORM_BEOS=0
38667
38668     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38669         case "${BAKEFILE_HOST}" in
38670             *-*-mingw32* )
38671                 PLATFORM_WIN32=1
38672             ;;
38673             *-pc-msdosdjgpp )
38674                 PLATFORM_MSDOS=1
38675             ;;
38676             *-pc-os2_emx | *-pc-os2-emx )
38677                 PLATFORM_OS2=1
38678             ;;
38679             *-*-darwin* )
38680                 PLATFORM_MAC=1
38681                 PLATFORM_MACOSX=1
38682             ;;
38683             *-*-beos* )
38684                 PLATFORM_BEOS=1
38685             ;;
38686             powerpc-apple-macos* )
38687                 PLATFORM_MAC=1
38688                 PLATFORM_MACOS=1
38689             ;;
38690             * )
38691                 PLATFORM_UNIX=1
38692             ;;
38693         esac
38694     else
38695         case "$BAKEFILE_FORCE_PLATFORM" in
38696             win32 )
38697                 PLATFORM_WIN32=1
38698             ;;
38699             msdos )
38700                 PLATFORM_MSDOS=1
38701             ;;
38702             os2 )
38703                 PLATFORM_OS2=1
38704             ;;
38705             darwin )
38706                 PLATFORM_MAC=1
38707                 PLATFORM_MACOSX=1
38708             ;;
38709             unix )
38710                 PLATFORM_UNIX=1
38711             ;;
38712             beos )
38713                 PLATFORM_BEOS=1
38714             ;;
38715             * )
38716                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38717             ;;
38718         esac
38719     fi
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731     # Check whether --enable-omf was given.
38732 if test "${enable_omf+set}" = set; then :
38733   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38734 fi
38735
38736
38737     case "${BAKEFILE_HOST}" in
38738       *-*-darwin* )
38739                         if test "x$GCC" = "xyes"; then
38740             CFLAGS="$CFLAGS -fno-common"
38741             CXXFLAGS="$CXXFLAGS -fno-common"
38742         fi
38743         if test "x$XLCC" = "xyes"; then
38744             CFLAGS="$CFLAGS -qnocommon"
38745             CXXFLAGS="$CXXFLAGS -qnocommon"
38746         fi
38747         ;;
38748
38749       *-pc-os2_emx | *-pc-os2-emx )
38750         if test "x$bk_os2_use_omf" = "xyes" ; then
38751             AR=emxomfar
38752             RANLIB=:
38753             LDFLAGS="-Zomf $LDFLAGS"
38754             CFLAGS="-Zomf $CFLAGS"
38755             CXXFLAGS="-Zomf $CXXFLAGS"
38756             OS2_LIBEXT="lib"
38757         else
38758             OS2_LIBEXT="a"
38759         fi
38760         ;;
38761
38762       i*86-*-beos* )
38763         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38764         ;;
38765     esac
38766
38767
38768     SO_SUFFIX="so"
38769     SO_SUFFIX_MODULE="so"
38770     EXEEXT=""
38771     LIBPREFIX="lib"
38772     LIBEXT=".a"
38773     DLLPREFIX="lib"
38774     DLLPREFIX_MODULE=""
38775     DLLIMP_SUFFIX=""
38776     dlldir="$libdir"
38777
38778     case "${BAKEFILE_HOST}" in
38779                         ia64-hp-hpux* )
38780         ;;
38781         *-hp-hpux* )
38782             SO_SUFFIX="sl"
38783             SO_SUFFIX_MODULE="sl"
38784         ;;
38785         *-*-aix* )
38786                                                                         SO_SUFFIX="a"
38787             SO_SUFFIX_MODULE="a"
38788         ;;
38789         *-*-cygwin* )
38790             SO_SUFFIX="dll"
38791             SO_SUFFIX_MODULE="dll"
38792             DLLIMP_SUFFIX="dll.a"
38793             EXEEXT=".exe"
38794             DLLPREFIX="cyg"
38795             dlldir="$bindir"
38796         ;;
38797         *-*-mingw32* )
38798             SO_SUFFIX="dll"
38799             SO_SUFFIX_MODULE="dll"
38800             DLLIMP_SUFFIX="dll.a"
38801             EXEEXT=".exe"
38802             DLLPREFIX=""
38803             dlldir="$bindir"
38804         ;;
38805         *-pc-msdosdjgpp )
38806             EXEEXT=".exe"
38807             DLLPREFIX=""
38808             dlldir="$bindir"
38809         ;;
38810         *-pc-os2_emx | *-pc-os2-emx )
38811             SO_SUFFIX="dll"
38812             SO_SUFFIX_MODULE="dll"
38813             DLLIMP_SUFFIX=$OS2_LIBEXT
38814             EXEEXT=".exe"
38815             DLLPREFIX=""
38816             LIBPREFIX=""
38817             LIBEXT=".$OS2_LIBEXT"
38818             dlldir="$bindir"
38819         ;;
38820         *-*-darwin* )
38821             SO_SUFFIX="dylib"
38822             SO_SUFFIX_MODULE="bundle"
38823         ;;
38824     esac
38825
38826     if test "x$DLLIMP_SUFFIX" = "x" ; then
38827         DLLIMP_SUFFIX="$SO_SUFFIX"
38828     fi
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841         PIC_FLAG=""
38842     if test "x$GCC" = "xyes"; then
38843                 PIC_FLAG="-fPIC"
38844     fi
38845
38846         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38847     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38848     WINDOWS_IMPLIB=0
38849
38850     case "${BAKEFILE_HOST}" in
38851       *-hp-hpux* )
38852                 if test "x$GCC" != "xyes"; then
38853                         LDFLAGS="$LDFLAGS -L/usr/lib"
38854
38855             SHARED_LD_CC="${CC} -b -o"
38856             SHARED_LD_CXX="${CXX} -b -o"
38857             PIC_FLAG="+Z"
38858         fi
38859       ;;
38860
38861       *-*-linux* )
38862                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38863             PIC_FLAG="-KPIC"
38864         elif test "x$SUNCXX" = "xyes"; then
38865             SHARED_LD_CC="${CC} -G -o"
38866             SHARED_LD_CXX="${CXX} -G -o"
38867             PIC_FLAG="-KPIC"
38868         fi
38869       ;;
38870
38871       *-*-solaris2* )
38872         if test "x$SUNCXX" = xyes ; then
38873             SHARED_LD_CC="${CC} -G -o"
38874             SHARED_LD_CXX="${CXX} -G -o"
38875             PIC_FLAG="-KPIC"
38876         fi
38877       ;;
38878
38879       *-*-darwin* )
38880
38881 D='$'
38882 cat <<EOF >shared-ld-sh
38883 #!/bin/sh
38884 #-----------------------------------------------------------------------------
38885 #-- Name:        distrib/mac/shared-ld-sh
38886 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38887 #-- Author:      Gilles Depeyrot
38888 #-- Copyright:   (c) 2002 Gilles Depeyrot
38889 #-- Licence:     any use permitted
38890 #-----------------------------------------------------------------------------
38891
38892 verbose=0
38893 args=""
38894 objects=""
38895 linking_flag="-dynamiclib"
38896 ldargs="-r -keep_private_externs -nostdlib"
38897
38898 if test "x${D}CXX" = "x"; then
38899     CXX="c++"
38900 fi
38901
38902 while test ${D}# -gt 0; do
38903     case ${D}1 in
38904
38905        -v)
38906         verbose=1
38907         ;;
38908
38909        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38910         # collect these options and values
38911         args="${D}{args} ${D}1 ${D}2"
38912         shift
38913         ;;
38914
38915        -arch|-isysroot)
38916         # collect these options and values
38917         ldargs="${D}{ldargs} ${D}1 ${D}2"
38918         shift
38919         ;;
38920
38921        -s|-Wl,*)
38922         # collect these load args
38923         ldargs="${D}{ldargs} ${D}1"
38924         ;;
38925
38926        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38927         # collect these options
38928         args="${D}{args} ${D}1"
38929         ;;
38930
38931        -dynamiclib|-bundle)
38932         linking_flag="${D}1"
38933         ;;
38934
38935        -*)
38936         echo "shared-ld: unhandled option '${D}1'"
38937         exit 1
38938         ;;
38939
38940         *.o | *.a | *.dylib)
38941         # collect object files
38942         objects="${D}{objects} ${D}1"
38943         ;;
38944
38945         *)
38946         echo "shared-ld: unhandled argument '${D}1'"
38947         exit 1
38948         ;;
38949
38950     esac
38951     shift
38952 done
38953
38954 status=0
38955
38956 #
38957 # Link one module containing all the others
38958 #
38959 if test ${D}{verbose} = 1; then
38960     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38961 fi
38962 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38963 status=${D}?
38964
38965 #
38966 # Link the shared library from the single module created, but only if the
38967 # previous command didn't fail:
38968 #
38969 if test ${D}{status} = 0; then
38970     if test ${D}{verbose} = 1; then
38971         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38972     fi
38973     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38974     status=${D}?
38975 fi
38976
38977 #
38978 # Remove intermediate module
38979 #
38980 rm -f master.${D}${D}.o
38981
38982 exit ${D}status
38983 EOF
38984
38985         chmod +x shared-ld-sh
38986
38987         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38988         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38989
38990
38991                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38992 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38993 if ${bakefile_cv_gcc31+:} false; then :
38994   $as_echo_n "(cached) " >&6
38995 else
38996
38997            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38998 /* end confdefs.h.  */
38999
39000 int
39001 main ()
39002 {
39003
39004                    #if (__GNUC__ < 3) || \
39005                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39006                        This is old gcc
39007                    #endif
39008
39009   ;
39010   return 0;
39011 }
39012 _ACEOF
39013 if ac_fn_c_try_compile "$LINENO"; then :
39014
39015                    bakefile_cv_gcc31=yes
39016
39017 else
39018
39019                    bakefile_cv_gcc31=no
39020
39021
39022 fi
39023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39024
39025 fi
39026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39027 $as_echo "$bakefile_cv_gcc31" >&6; }
39028         if test "$bakefile_cv_gcc31" = "no"; then
39029                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39030             SHARED_LD_CXX="$SHARED_LD_CC"
39031         else
39032                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39033             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39034         fi
39035
39036         if test "x$GCC" == "xyes"; then
39037             PIC_FLAG="-dynamic -fPIC"
39038         fi
39039         if test "x$XLCC" = "xyes"; then
39040             PIC_FLAG="-dynamic -DPIC"
39041         fi
39042       ;;
39043
39044       *-*-aix* )
39045         if test "x$GCC" = "xyes"; then
39046                                                             PIC_FLAG=""
39047
39048                                                                                     case "${BAKEFILE_HOST}" in
39049                 *-*-aix5* )
39050                     LD_EXPFULL="-Wl,-bexpfull"
39051                     ;;
39052             esac
39053
39054             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
39055             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
39056         else
39057                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39058 set dummy makeC++SharedLib; ac_word=$2
39059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39060 $as_echo_n "checking for $ac_word... " >&6; }
39061 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
39062   $as_echo_n "(cached) " >&6
39063 else
39064   if test -n "$AIX_CXX_LD"; then
39065   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39066 else
39067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39068 for as_dir in $PATH
39069 do
39070   IFS=$as_save_IFS
39071   test -z "$as_dir" && as_dir=.
39072     for ac_exec_ext in '' $ac_executable_extensions; do
39073   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39074     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39076     break 2
39077   fi
39078 done
39079   done
39080 IFS=$as_save_IFS
39081
39082   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39083 fi
39084 fi
39085 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39086 if test -n "$AIX_CXX_LD"; then
39087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39088 $as_echo "$AIX_CXX_LD" >&6; }
39089 else
39090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39091 $as_echo "no" >&6; }
39092 fi
39093
39094
39095             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39096             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39097         fi
39098       ;;
39099
39100       *-*-beos* )
39101                         SHARED_LD_CC="${LD} -nostart -o"
39102         SHARED_LD_CXX="${LD} -nostart -o"
39103       ;;
39104
39105       *-*-irix* )
39106                 if test "x$GCC" != "xyes"; then
39107             PIC_FLAG="-KPIC"
39108         fi
39109       ;;
39110
39111       *-*-cygwin* | *-*-mingw32* )
39112         PIC_FLAG=""
39113         SHARED_LD_CC="\$(CC) -shared -o"
39114         SHARED_LD_CXX="\$(CXX) -shared -o"
39115         WINDOWS_IMPLIB=1
39116       ;;
39117
39118       *-pc-os2_emx | *-pc-os2-emx )
39119         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39120         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39121         PIC_FLAG=""
39122
39123 D='$'
39124 cat <<EOF >dllar.sh
39125 #!/bin/sh
39126 #
39127 # dllar - a tool to build both a .dll and an .a file
39128 # from a set of object (.o) files for EMX/OS2.
39129 #
39130 #  Written by Andrew Zabolotny, bit@freya.etu.ru
39131 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39132 #
39133 #  This script will accept a set of files on the command line.
39134 #  All the public symbols from the .o files will be exported into
39135 #  a .DEF file, then linker will be run (through gcc) against them to
39136 #  build a shared library consisting of all given .o files. All libraries
39137 #  (.a) will be first decompressed into component .o files then act as
39138 #  described above. You can optionally give a description (-d "description")
39139 #  which will be put into .DLL. To see the list of accepted options (as well
39140 #  as command-line format) simply run this program without options. The .DLL
39141 #  is built to be imported by name (there is no guarantee that new versions
39142 #  of the library you build will have same ordinals for same symbols).
39143 #
39144 #  dllar is free software; you can redistribute it and/or modify
39145 #  it under the terms of the GNU General Public License as published by
39146 #  the Free Software Foundation; either version 2, or (at your option)
39147 #  any later version.
39148 #
39149 #  dllar is distributed in the hope that it will be useful,
39150 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
39151 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39152 #  GNU General Public License for more details.
39153 #
39154 #  You should have received a copy of the GNU General Public License
39155 #  along with dllar; see the file COPYING.  If not, write to the Free
39156 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39157 #  02111-1307, USA.
39158
39159 # To successfuly run this program you will need:
39160 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
39161 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39162 #  - gcc
39163 #    (used to build the .dll)
39164 #  - emxexp
39165 #    (used to create .def file from .o files)
39166 #  - emximp
39167 #    (used to create .a file from .def file)
39168 #  - GNU text utilites (cat, sort, uniq)
39169 #    used to process emxexp output
39170 #  - GNU file utilities (mv, rm)
39171 #  - GNU sed
39172 #  - lxlite (optional, see flag below)
39173 #    (used for general .dll cleanup)
39174 #
39175
39176 flag_USE_LXLITE=1;
39177
39178 #
39179 # helper functions
39180 # basnam, variant of basename, which does _not_ remove the path, _iff_
39181 #                              second argument (suffix to remove) is given
39182 basnam(){
39183     case ${D}# in
39184     1)
39185         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39186         ;;
39187     2)
39188         echo ${D}1 | sed 's/'${D}2'${D}//'
39189         ;;
39190     *)
39191         echo "error in basnam ${D}*"
39192         exit 8
39193         ;;
39194     esac
39195 }
39196
39197 # Cleanup temporary files and output
39198 CleanUp() {
39199     cd ${D}curDir
39200     for i in ${D}inputFiles ; do
39201         case ${D}i in
39202         *!)
39203             rm -rf \`basnam ${D}i !\`
39204             ;;
39205         *)
39206             ;;
39207         esac
39208     done
39209
39210     # Kill result in case of failure as there is just to many stupid make/nmake
39211     # things out there which doesn't do this.
39212     if [ ${D}# -eq 0 ]; then
39213         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39214     fi
39215 }
39216
39217 # Print usage and exit script with rc=1.
39218 PrintHelp() {
39219  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39220  echo '       [-name-mangler-script script.sh]'
39221  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39222  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
39223  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39224  echo '       [*.o] [*.a]'
39225  echo '*> "output_file" should have no extension.'
39226  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
39227  echo '   The import library name is derived from this and is set to "name".a,'
39228  echo '   unless overridden by -import'
39229  echo '*> "importlib_name" should have no extension.'
39230  echo '   If it has the .o, or .a extension, it is automatically removed.'
39231  echo '   This name is used as the import library name and may be longer and'
39232  echo '   more descriptive than the DLL name which has to follow the old '
39233  echo '   8.3 convention of FAT.'
39234  echo '*> "script.sh may be given to override the output_file name by a'
39235  echo '   different name. It is mainly useful if the regular make process'
39236  echo '   of some package does not take into account OS/2 restriction of'
39237  echo '   DLL name lengths. It takes the importlib name as input and is'
39238  echo '   supposed to procude a shorter name as output. The script should'
39239  echo '   expect to get importlib_name without extension and should produce'
39240  echo '   a (max.) 8 letter name without extension.'
39241  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
39242  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39243  echo '   These flags will be put at the start of GCC command line.'
39244  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39245  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39246  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39247  echo '   If the last character of a symbol is "*", all symbols beginning'
39248  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39249  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39250  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39251  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39252  echo '   C runtime DLLs.'
39253  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39254  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39255  echo '   unchanged to GCC at the end of command line.'
39256  echo '*> If you create a DLL from a library and you do not specify -o,'
39257  echo '   the basename for DLL and import library will be set to library name,'
39258  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
39259  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39260  echo '   library will be renamed into gcc_s.a.'
39261  echo '--------'
39262  echo 'Example:'
39263  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39264  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39265  CleanUp
39266  exit 1
39267 }
39268
39269 # Execute a command.
39270 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39271 # @Uses    Whatever CleanUp() uses.
39272 doCommand() {
39273     echo "${D}*"
39274     eval ${D}*
39275     rcCmd=${D}?
39276
39277     if [ ${D}rcCmd -ne 0 ]; then
39278         echo "command failed, exit code="${D}rcCmd
39279         CleanUp
39280         exit ${D}rcCmd
39281     fi
39282 }
39283
39284 # main routine
39285 # setup globals
39286 cmdLine=${D}*
39287 outFile=""
39288 outimpFile=""
39289 inputFiles=""
39290 renameScript=""
39291 description=""
39292 CC=gcc.exe
39293 CFLAGS="-s -Zcrtdll"
39294 EXTRA_CFLAGS=""
39295 EXPORT_BY_ORDINALS=0
39296 exclude_symbols=""
39297 library_flags=""
39298 curDir=\`pwd\`
39299 curDirS=curDir
39300 case ${D}curDirS in
39301 */)
39302   ;;
39303 *)
39304   curDirS=${D}{curDirS}"/"
39305   ;;
39306 esac
39307 # Parse commandline
39308 libsToLink=0
39309 omfLinking=0
39310 while [ ${D}1 ]; do
39311     case ${D}1 in
39312     -ord*)
39313         EXPORT_BY_ORDINALS=1;
39314         ;;
39315     -o*)
39316         shift
39317         outFile=${D}1
39318         ;;
39319     -i*)
39320         shift
39321         outimpFile=${D}1
39322         ;;
39323     -name-mangler-script)
39324         shift
39325         renameScript=${D}1
39326         ;;
39327     -d*)
39328         shift
39329         description=${D}1
39330         ;;
39331     -f*)
39332         shift
39333         CFLAGS=${D}1
39334         ;;
39335     -c*)
39336         shift
39337         CC=${D}1
39338         ;;
39339     -h*)
39340         PrintHelp
39341         ;;
39342     -ex*)
39343         shift
39344         exclude_symbols=${D}{exclude_symbols}${D}1" "
39345         ;;
39346     -libf*)
39347         shift
39348         library_flags=${D}{library_flags}${D}1" "
39349         ;;
39350     -nocrt*)
39351         CFLAGS="-s"
39352         ;;
39353     -nolxl*)
39354         flag_USE_LXLITE=0
39355         ;;
39356     -* | /*)
39357         case ${D}1 in
39358         -L* | -l*)
39359             libsToLink=1
39360             ;;
39361         -Zomf)
39362             omfLinking=1
39363             ;;
39364         *)
39365             ;;
39366         esac
39367         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39368         ;;
39369     *.dll)
39370         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39371         if [ ${D}omfLinking -eq 1 ]; then
39372             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39373         else
39374             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39375         fi
39376         ;;
39377     *)
39378         found=0;
39379         if [ ${D}libsToLink -ne 0 ]; then
39380             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39381         else
39382             for file in ${D}1 ; do
39383                 if [ -f ${D}file ]; then
39384                     inputFiles="${D}{inputFiles} ${D}file"
39385                     found=1
39386                 fi
39387             done
39388             if [ ${D}found -eq 0 ]; then
39389                 echo "ERROR: No file(s) found: "${D}1
39390                 exit 8
39391             fi
39392         fi
39393       ;;
39394     esac
39395     shift
39396 done # iterate cmdline words
39397
39398 #
39399 if [ -z "${D}inputFiles" ]; then
39400     echo "dllar: no input files"
39401     PrintHelp
39402 fi
39403
39404 # Now extract all .o files from .a files
39405 newInputFiles=""
39406 for file in ${D}inputFiles ; do
39407     case ${D}file in
39408     *.a | *.lib)
39409         case ${D}file in
39410         *.a)
39411             suffix=".a"
39412             AR="ar"
39413             ;;
39414         *.lib)
39415             suffix=".lib"
39416             AR="emxomfar"
39417             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39418             ;;
39419         *)
39420             ;;
39421         esac
39422         dirname=\`basnam ${D}file ${D}suffix\`"_%"
39423         mkdir ${D}dirname
39424         if [ ${D}? -ne 0 ]; then
39425             echo "Failed to create subdirectory ./${D}dirname"
39426             CleanUp
39427             exit 8;
39428         fi
39429         # Append '!' to indicate archive
39430         newInputFiles="${D}newInputFiles ${D}{dirname}!"
39431         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39432         cd ${D}curDir
39433         found=0;
39434         for subfile in ${D}dirname/*.o* ; do
39435             if [ -f ${D}subfile ]; then
39436                 found=1
39437                 if [ -s ${D}subfile ]; then
39438                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39439                     newInputFiles="${D}newInputFiles ${D}subfile"
39440                 fi
39441             fi
39442         done
39443         if [ ${D}found -eq 0 ]; then
39444             echo "WARNING: there are no files in archive \\'${D}file\\'"
39445         fi
39446         ;;
39447     *)
39448         newInputFiles="${D}{newInputFiles} ${D}file"
39449         ;;
39450     esac
39451 done
39452 inputFiles="${D}newInputFiles"
39453
39454 # Output filename(s).
39455 do_backup=0;
39456 if [ -z ${D}outFile ]; then
39457     do_backup=1;
39458     set outFile ${D}inputFiles; outFile=${D}2
39459 fi
39460
39461 # If it is an archive, remove the '!' and the '_%' suffixes
39462 case ${D}outFile in
39463 *_%!)
39464     outFile=\`basnam ${D}outFile _%!\`
39465     ;;
39466 *)
39467     ;;
39468 esac
39469 case ${D}outFile in
39470 *.dll)
39471     outFile=\`basnam ${D}outFile .dll\`
39472     ;;
39473 *.DLL)
39474     outFile=\`basnam ${D}outFile .DLL\`
39475     ;;
39476 *.o)
39477     outFile=\`basnam ${D}outFile .o\`
39478     ;;
39479 *.obj)
39480     outFile=\`basnam ${D}outFile .obj\`
39481     ;;
39482 *.a)
39483     outFile=\`basnam ${D}outFile .a\`
39484     ;;
39485 *.lib)
39486     outFile=\`basnam ${D}outFile .lib\`
39487     ;;
39488 *)
39489     ;;
39490 esac
39491 case ${D}outimpFile in
39492 *.a)
39493     outimpFile=\`basnam ${D}outimpFile .a\`
39494     ;;
39495 *.lib)
39496     outimpFile=\`basnam ${D}outimpFile .lib\`
39497     ;;
39498 *)
39499     ;;
39500 esac
39501 if [ -z ${D}outimpFile ]; then
39502     outimpFile=${D}outFile
39503 fi
39504 defFile="${D}{outFile}.def"
39505 arcFile="${D}{outimpFile}.a"
39506 arcFile2="${D}{outimpFile}.lib"
39507
39508 #create ${D}dllFile as something matching 8.3 restrictions,
39509 if [ -z ${D}renameScript ] ; then
39510     dllFile="${D}outFile"
39511 else
39512     dllFile=\`${D}renameScript ${D}outimpFile\`
39513 fi
39514
39515 if [ ${D}do_backup -ne 0 ] ; then
39516     if [ -f ${D}arcFile ] ; then
39517         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39518     fi
39519     if [ -f ${D}arcFile2 ] ; then
39520         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39521     fi
39522 fi
39523
39524 # Extract public symbols from all the object files.
39525 tmpdefFile=${D}{defFile}_%
39526 rm -f ${D}tmpdefFile
39527 for file in ${D}inputFiles ; do
39528     case ${D}file in
39529     *!)
39530         ;;
39531     *)
39532         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39533         ;;
39534     esac
39535 done
39536
39537 # Create the def file.
39538 rm -f ${D}defFile
39539 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39540 dllFile="${D}{dllFile}.dll"
39541 if [ ! -z ${D}description ]; then
39542     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
39543 fi
39544 echo "EXPORTS" >> ${D}defFile
39545
39546 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39547 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39548
39549 # Checks if the export is ok or not.
39550 for word in ${D}exclude_symbols; do
39551     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39552     mv ${D}{tmpdefFile}% ${D}tmpdefFile
39553 done
39554
39555
39556 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39557     sed "=" < ${D}tmpdefFile | \\
39558     sed '
39559       N
39560       : loop
39561       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39562       t loop
39563     ' > ${D}{tmpdefFile}%
39564     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39565 else
39566     rm -f ${D}{tmpdefFile}%
39567 fi
39568 cat ${D}tmpdefFile >> ${D}defFile
39569 rm -f ${D}tmpdefFile
39570
39571 # Do linking, create implib, and apply lxlite.
39572 gccCmdl="";
39573 for file in ${D}inputFiles ; do
39574     case ${D}file in
39575     *!)
39576         ;;
39577     *)
39578         gccCmdl="${D}gccCmdl ${D}file"
39579         ;;
39580     esac
39581 done
39582 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39583 touch "${D}{outFile}.dll"
39584
39585 doCommand "emximp -o ${D}arcFile ${D}defFile"
39586 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39587     add_flags="";
39588     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39589         add_flags="-ynd"
39590     fi
39591     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39592 fi
39593 doCommand "emxomf -s -l ${D}arcFile"
39594
39595 # Successful exit.
39596 CleanUp 1
39597 exit 0
39598 EOF
39599
39600         chmod +x dllar.sh
39601       ;;
39602
39603       powerpc-apple-macos* | \
39604       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39605       *-*-mirbsd* | \
39606       *-*-sunos4* | \
39607       *-*-osf* | \
39608       *-*-dgux5* | \
39609       *-*-sysv5* | \
39610       *-pc-msdosdjgpp )
39611               ;;
39612
39613       *)
39614         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39615     esac
39616
39617     if test "x$PIC_FLAG" != "x" ; then
39618         PIC_FLAG="$PIC_FLAG -DPIC"
39619     fi
39620
39621     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39622         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39623     fi
39624     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39625         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39626     fi
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636     USE_SOVERSION=0
39637     USE_SOVERLINUX=0
39638     USE_SOVERSOLARIS=0
39639     USE_SOVERCYGWIN=0
39640     USE_SOTWOSYMLINKS=0
39641     USE_MACVERSION=0
39642     SONAME_FLAG=
39643
39644     case "${BAKEFILE_HOST}" in
39645       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39646       *-*-k*bsd*-gnu | *-*-mirbsd* )
39647         if test "x$SUNCXX" = "xyes"; then
39648             SONAME_FLAG="-h "
39649         else
39650             SONAME_FLAG="-Wl,-soname,"
39651         fi
39652         USE_SOVERSION=1
39653         USE_SOVERLINUX=1
39654         USE_SOTWOSYMLINKS=1
39655       ;;
39656
39657       *-*-solaris2* )
39658         SONAME_FLAG="-h "
39659         USE_SOVERSION=1
39660         USE_SOVERSOLARIS=1
39661       ;;
39662
39663       *-*-darwin* )
39664         USE_MACVERSION=1
39665         USE_SOVERSION=1
39666         USE_SOTWOSYMLINKS=1
39667       ;;
39668
39669       *-*-cygwin* )
39670         USE_SOVERSION=1
39671         USE_SOVERCYGWIN=1
39672       ;;
39673     esac
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684     # Check whether --enable-dependency-tracking was given.
39685 if test "${enable_dependency_tracking+set}" = set; then :
39686   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39687 fi
39688
39689
39690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39691 $as_echo_n "checking for dependency tracking method... " >&6; }
39692
39693     BK_DEPS=""
39694     if test "x$bk_use_trackdeps" = "xno" ; then
39695         DEPS_TRACKING=0
39696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39697 $as_echo "disabled" >&6; }
39698     else
39699         DEPS_TRACKING=1
39700
39701         if test "x$GCC" = "xyes"; then
39702             DEPSMODE=gcc
39703             DEPSFLAG="-MMD"
39704             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39705 $as_echo "gcc" >&6; }
39706         elif test "x$MWCC" = "xyes"; then
39707             DEPSMODE=mwcc
39708             DEPSFLAG="-MM"
39709             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39710 $as_echo "mwcc" >&6; }
39711         elif test "x$SUNCC" = "xyes"; then
39712             DEPSMODE=unixcc
39713             DEPSFLAG="-xM1"
39714             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39715 $as_echo "Sun cc" >&6; }
39716         elif test "x$SGICC" = "xyes"; then
39717             DEPSMODE=unixcc
39718             DEPSFLAG="-M"
39719             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39720 $as_echo "SGI cc" >&6; }
39721         elif test "x$HPCC" = "xyes"; then
39722             DEPSMODE=unixcc
39723             DEPSFLAG="+make"
39724             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39725 $as_echo "HP cc" >&6; }
39726         elif test "x$COMPAQCC" = "xyes"; then
39727             DEPSMODE=gcc
39728             DEPSFLAG="-MD"
39729             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39730 $as_echo "Compaq cc" >&6; }
39731         else
39732             DEPS_TRACKING=0
39733             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39734 $as_echo "none" >&6; }
39735         fi
39736
39737         if test $DEPS_TRACKING = 1 ; then
39738
39739 D='$'
39740 cat <<EOF >bk-deps
39741 #!/bin/sh
39742
39743 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39744 # script. It is used to track C/C++ files dependencies in portable way.
39745 #
39746 # Permission is given to use this file in any way.
39747
39748 DEPSMODE=${DEPSMODE}
39749 DEPSFLAG="${DEPSFLAG}"
39750 DEPSDIRBASE=.deps
39751
39752 if test ${D}DEPSMODE = gcc ; then
39753     ${D}* ${D}{DEPSFLAG}
39754     status=${D}?
39755
39756     # determine location of created files:
39757     while test ${D}# -gt 0; do
39758         case "${D}1" in
39759             -o )
39760                 shift
39761                 objfile=${D}1
39762             ;;
39763             -* )
39764             ;;
39765             * )
39766                 srcfile=${D}1
39767             ;;
39768         esac
39769         shift
39770     done
39771     objfilebase=\`basename ${D}objfile\`
39772     builddir=\`dirname ${D}objfile\`
39773     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39774     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39775     depsdir=${D}builddir/${D}DEPSDIRBASE
39776     mkdir -p ${D}depsdir
39777
39778     # if the compiler failed, we're done:
39779     if test ${D}{status} != 0 ; then
39780         rm -f ${D}depfile
39781         exit ${D}{status}
39782     fi
39783
39784     # move created file to the location we want it in:
39785     if test -f ${D}depfile ; then
39786         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39787         rm -f ${D}depfile
39788     else
39789         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39790         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39791         if test ! -f ${D}depfile ; then
39792             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39793             depfile="${D}objfile.d"
39794         fi
39795         if test -f ${D}depfile ; then
39796             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39797             rm -f ${D}depfile
39798         fi
39799     fi
39800     exit 0
39801
39802 elif test ${D}DEPSMODE = mwcc ; then
39803     ${D}* || exit ${D}?
39804     # Run mwcc again with -MM and redirect into the dep file we want
39805     # NOTE: We can't use shift here because we need ${D}* to be valid
39806     prevarg=
39807     for arg in ${D}* ; do
39808         if test "${D}prevarg" = "-o"; then
39809             objfile=${D}arg
39810         else
39811             case "${D}arg" in
39812                 -* )
39813                 ;;
39814                 * )
39815                     srcfile=${D}arg
39816                 ;;
39817             esac
39818         fi
39819         prevarg="${D}arg"
39820     done
39821
39822     objfilebase=\`basename ${D}objfile\`
39823     builddir=\`dirname ${D}objfile\`
39824     depsdir=${D}builddir/${D}DEPSDIRBASE
39825     mkdir -p ${D}depsdir
39826
39827     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39828     exit 0
39829
39830 elif test ${D}DEPSMODE = unixcc; then
39831     ${D}* || exit ${D}?
39832     # Run compiler again with deps flag and redirect into the dep file.
39833     # It doesn't work if the '-o FILE' option is used, but without it the
39834     # dependency file will contain the wrong name for the object. So it is
39835     # removed from the command line, and the dep file is fixed with sed.
39836     cmd=""
39837     while test ${D}# -gt 0; do
39838         case "${D}1" in
39839             -o )
39840                 shift
39841                 objfile=${D}1
39842             ;;
39843             * )
39844                 eval arg${D}#=\\${D}1
39845                 cmd="${D}cmd \\${D}arg${D}#"
39846             ;;
39847         esac
39848         shift
39849     done
39850
39851     objfilebase=\`basename ${D}objfile\`
39852     builddir=\`dirname ${D}objfile\`
39853     depsdir=${D}builddir/${D}DEPSDIRBASE
39854     mkdir -p ${D}depsdir
39855
39856     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39857     exit 0
39858
39859 else
39860     ${D}*
39861     exit ${D}?
39862 fi
39863 EOF
39864
39865             chmod +x bk-deps
39866                                     BK_DEPS="`pwd`/bk-deps"
39867         fi
39868     fi
39869
39870
39871
39872
39873
39874     case ${BAKEFILE_HOST} in
39875         *-*-cygwin* | *-*-mingw32* )
39876                         if test -n "$ac_tool_prefix"; then
39877   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39878 set dummy ${ac_tool_prefix}windres; ac_word=$2
39879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39880 $as_echo_n "checking for $ac_word... " >&6; }
39881 if ${ac_cv_prog_WINDRES+:} false; then :
39882   $as_echo_n "(cached) " >&6
39883 else
39884   if test -n "$WINDRES"; then
39885   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39886 else
39887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39888 for as_dir in $PATH
39889 do
39890   IFS=$as_save_IFS
39891   test -z "$as_dir" && as_dir=.
39892     for ac_exec_ext in '' $ac_executable_extensions; do
39893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39894     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39896     break 2
39897   fi
39898 done
39899   done
39900 IFS=$as_save_IFS
39901
39902 fi
39903 fi
39904 WINDRES=$ac_cv_prog_WINDRES
39905 if test -n "$WINDRES"; then
39906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39907 $as_echo "$WINDRES" >&6; }
39908 else
39909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39910 $as_echo "no" >&6; }
39911 fi
39912
39913
39914 fi
39915 if test -z "$ac_cv_prog_WINDRES"; then
39916   ac_ct_WINDRES=$WINDRES
39917   # Extract the first word of "windres", so it can be a program name with args.
39918 set dummy windres; ac_word=$2
39919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39920 $as_echo_n "checking for $ac_word... " >&6; }
39921 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39922   $as_echo_n "(cached) " >&6
39923 else
39924   if test -n "$ac_ct_WINDRES"; then
39925   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39926 else
39927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39928 for as_dir in $PATH
39929 do
39930   IFS=$as_save_IFS
39931   test -z "$as_dir" && as_dir=.
39932     for ac_exec_ext in '' $ac_executable_extensions; do
39933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39934     ac_cv_prog_ac_ct_WINDRES="windres"
39935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39936     break 2
39937   fi
39938 done
39939   done
39940 IFS=$as_save_IFS
39941
39942 fi
39943 fi
39944 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39945 if test -n "$ac_ct_WINDRES"; then
39946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39947 $as_echo "$ac_ct_WINDRES" >&6; }
39948 else
39949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39950 $as_echo "no" >&6; }
39951 fi
39952
39953   if test "x$ac_ct_WINDRES" = x; then
39954     WINDRES=""
39955   else
39956     case $cross_compiling:$ac_tool_warned in
39957 yes:)
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39960 ac_tool_warned=yes ;;
39961 esac
39962     WINDRES=$ac_ct_WINDRES
39963   fi
39964 else
39965   WINDRES="$ac_cv_prog_WINDRES"
39966 fi
39967
39968          ;;
39969
39970       *-*-darwin* | powerpc-apple-macos* )
39971             # Extract the first word of "Rez", so it can be a program name with args.
39972 set dummy Rez; ac_word=$2
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39974 $as_echo_n "checking for $ac_word... " >&6; }
39975 if ${ac_cv_prog_REZ+:} false; then :
39976   $as_echo_n "(cached) " >&6
39977 else
39978   if test -n "$REZ"; then
39979   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39980 else
39981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39982 for as_dir in $PATH
39983 do
39984   IFS=$as_save_IFS
39985   test -z "$as_dir" && as_dir=.
39986     for ac_exec_ext in '' $ac_executable_extensions; do
39987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39988     ac_cv_prog_REZ="Rez"
39989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39990     break 2
39991   fi
39992 done
39993   done
39994 IFS=$as_save_IFS
39995
39996   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39997 fi
39998 fi
39999 REZ=$ac_cv_prog_REZ
40000 if test -n "$REZ"; then
40001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40002 $as_echo "$REZ" >&6; }
40003 else
40004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40005 $as_echo "no" >&6; }
40006 fi
40007
40008
40009             # Extract the first word of "SetFile", so it can be a program name with args.
40010 set dummy SetFile; ac_word=$2
40011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40012 $as_echo_n "checking for $ac_word... " >&6; }
40013 if ${ac_cv_prog_SETFILE+:} false; then :
40014   $as_echo_n "(cached) " >&6
40015 else
40016   if test -n "$SETFILE"; then
40017   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40018 else
40019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40020 for as_dir in $PATH
40021 do
40022   IFS=$as_save_IFS
40023   test -z "$as_dir" && as_dir=.
40024     for ac_exec_ext in '' $ac_executable_extensions; do
40025   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40026     ac_cv_prog_SETFILE="SetFile"
40027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40028     break 2
40029   fi
40030 done
40031   done
40032 IFS=$as_save_IFS
40033
40034   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40035 fi
40036 fi
40037 SETFILE=$ac_cv_prog_SETFILE
40038 if test -n "$SETFILE"; then
40039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40040 $as_echo "$SETFILE" >&6; }
40041 else
40042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40043 $as_echo "no" >&6; }
40044 fi
40045
40046
40047         ;;
40048     esac
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
40059
40060
40061 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
40062
40063
40064
40065     # Check whether --enable-precomp-headers was given.
40066 if test "${enable_precomp_headers+set}" = set; then :
40067   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
40068 fi
40069
40070
40071     GCC_PCH=0
40072     ICC_PCH=0
40073     USE_PCH=0
40074     BK_MAKE_PCH=""
40075
40076     case ${BAKEFILE_HOST} in
40077         *-*-cygwin* )
40078                                                 bk_use_pch="no"
40079             ;;
40080     esac
40081
40082     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40083         if test "x$GCC" = "xyes"; then
40084                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40085 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40086             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40087 /* end confdefs.h.  */
40088
40089 int
40090 main ()
40091 {
40092
40093                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40094                         There is no PCH support
40095                     #endif
40096                     #if (__GNUC__ < 3)
40097                         There is no PCH support
40098                     #endif
40099                     #if (__GNUC__ == 3) && \
40100                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40101                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40102                        ( defined(__INTEL_COMPILER) )
40103                         There is no PCH support
40104                     #endif
40105
40106   ;
40107   return 0;
40108 }
40109 _ACEOF
40110 if ac_fn_c_try_compile "$LINENO"; then :
40111
40112                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40113 $as_echo "yes" >&6; }
40114                     GCC_PCH=1
40115
40116 else
40117
40118                     if test "$INTELCXX8" = "yes"; then
40119                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40120 $as_echo "yes" >&6; }
40121                         ICC_PCH=1
40122                         if test "$INTELCXX10" = "yes"; then
40123                             ICC_PCH_CREATE_SWITCH="-pch-create"
40124                             ICC_PCH_USE_SWITCH="-pch-use"
40125                         else
40126                             ICC_PCH_CREATE_SWITCH="-create-pch"
40127                             ICC_PCH_USE_SWITCH="-use-pch"
40128                         fi
40129                     else
40130                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40131 $as_echo "no" >&6; }
40132                     fi
40133
40134 fi
40135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40136             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40137                 USE_PCH=1
40138
40139 D='$'
40140 cat <<EOF >bk-make-pch
40141 #!/bin/sh
40142
40143 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40144 # script. It is used to generated precompiled headers.
40145 #
40146 # Permission is given to use this file in any way.
40147
40148 outfile="${D}{1}"
40149 header="${D}{2}"
40150 shift
40151 shift
40152
40153 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40154
40155 compiler=""
40156 headerfile=""
40157
40158 while test ${D}{#} -gt 0; do
40159     add_to_cmdline=1
40160     case "${D}{1}" in
40161         -I* )
40162             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40163             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40164                 headerfile="${D}{incdir}/${D}{header}"
40165             fi
40166         ;;
40167         -use-pch|-use_pch|-pch-use )
40168             shift
40169             add_to_cmdline=0
40170         ;;
40171     esac
40172     if test ${D}add_to_cmdline = 1 ; then
40173         compiler="${D}{compiler} ${D}{1}"
40174     fi
40175     shift
40176 done
40177
40178 if test "x${D}{headerfile}" = "x" ; then
40179     echo "error: can't find header ${D}{header} in include paths" >&2
40180 else
40181     if test -f ${D}{outfile} ; then
40182         rm -f ${D}{outfile}
40183     else
40184         mkdir -p \`dirname ${D}{outfile}\`
40185     fi
40186     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40187     mkdir -p ${D}{builddir}/.deps
40188     if test "x${GCC_PCH}" = "x1" ; then
40189         # can do this because gcc is >= 3.4:
40190         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40191     elif test "x${ICC_PCH}" = "x1" ; then
40192         filename=pch_gen-${D}${D}
40193         file=${D}{filename}.c
40194         dfile=${D}{filename}.d
40195         cat > ${D}file <<EOT
40196 #include "${D}header"
40197 EOT
40198         # using -MF icc complains about differing command lines in creation/use
40199         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40200           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40201           rm -f ${D}file ${D}dfile ${D}{filename}.o
40202     fi
40203     exit ${D}{?}
40204 fi
40205 EOF
40206
40207                 chmod +x bk-make-pch
40208                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
40209             fi
40210         fi
40211     fi
40212
40213
40214
40215
40216
40217
40218
40219     COND_BUILD_debug="#"
40220     if test "x$BUILD" = "xdebug" ; then
40221         COND_BUILD_debug=""
40222     fi
40223
40224     COND_BUILD_debug_DEBUG_INFO_default="#"
40225     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40226         COND_BUILD_debug_DEBUG_INFO_default=""
40227     fi
40228
40229     COND_BUILD_release="#"
40230     if test "x$BUILD" = "xrelease" ; then
40231         COND_BUILD_release=""
40232     fi
40233
40234     COND_BUILD_release_DEBUG_INFO_default="#"
40235     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40236         COND_BUILD_release_DEBUG_INFO_default=""
40237     fi
40238
40239     COND_DEBUG_FLAG_0="#"
40240     if test "x$DEBUG_FLAG" = "x0" ; then
40241         COND_DEBUG_FLAG_0=""
40242     fi
40243
40244     COND_DEBUG_INFO_0="#"
40245     if test "x$DEBUG_INFO" = "x0" ; then
40246         COND_DEBUG_INFO_0=""
40247     fi
40248
40249     COND_DEBUG_INFO_1="#"
40250     if test "x$DEBUG_INFO" = "x1" ; then
40251         COND_DEBUG_INFO_1=""
40252     fi
40253
40254     COND_DEPS_TRACKING_0="#"
40255     if test "x$DEPS_TRACKING" = "x0" ; then
40256         COND_DEPS_TRACKING_0=""
40257     fi
40258
40259     COND_DEPS_TRACKING_1="#"
40260     if test "x$DEPS_TRACKING" = "x1" ; then
40261         COND_DEPS_TRACKING_1=""
40262     fi
40263
40264     COND_GCC_PCH_1="#"
40265     if test "x$GCC_PCH" = "x1" ; then
40266         COND_GCC_PCH_1=""
40267     fi
40268
40269     COND_ICC_PCH_1="#"
40270     if test "x$ICC_PCH" = "x1" ; then
40271         COND_ICC_PCH_1=""
40272     fi
40273
40274     COND_MONOLITHIC_0="#"
40275     if test "x$MONOLITHIC" = "x0" ; then
40276         COND_MONOLITHIC_0=""
40277     fi
40278
40279     COND_MONOLITHIC_0_SHARED_0="#"
40280     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40281         COND_MONOLITHIC_0_SHARED_0=""
40282     fi
40283
40284     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40285     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40286         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40287     fi
40288
40289     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40290     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40291         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40292     fi
40293
40294     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40295     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40296         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40297     fi
40298
40299     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40300     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40301         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40302     fi
40303
40304     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40305     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40306         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40307     fi
40308
40309     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40310     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40311         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40312     fi
40313
40314     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40315     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40316         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40317     fi
40318
40319     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40320     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40321         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40322     fi
40323
40324     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40325     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40326         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40327     fi
40328
40329     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40330     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40331         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40332     fi
40333
40334     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40335     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40336         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40337     fi
40338
40339     COND_MONOLITHIC_0_SHARED_1="#"
40340     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40341         COND_MONOLITHIC_0_SHARED_1=""
40342     fi
40343
40344     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40345     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40346         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40347     fi
40348
40349     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40350     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40351         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40352     fi
40353
40354     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40355     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40356         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40357     fi
40358
40359     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40360     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40361         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40362     fi
40363
40364     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40365     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40366         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40367     fi
40368
40369     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40370     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40371         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40372     fi
40373
40374     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40375     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40376         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40377     fi
40378
40379     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40380     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40381         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40382     fi
40383
40384     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40385     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40386         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40387     fi
40388
40389     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40390     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40391         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40392     fi
40393
40394     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40395     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40396         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40397     fi
40398
40399     COND_MONOLITHIC_0_USE_AUI_1="#"
40400     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40401         COND_MONOLITHIC_0_USE_AUI_1=""
40402     fi
40403
40404     COND_MONOLITHIC_0_USE_GUI_1="#"
40405     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40406         COND_MONOLITHIC_0_USE_GUI_1=""
40407     fi
40408
40409     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40410     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40411         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40412     fi
40413
40414     COND_MONOLITHIC_0_USE_HTML_1="#"
40415     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40416         COND_MONOLITHIC_0_USE_HTML_1=""
40417     fi
40418
40419     COND_MONOLITHIC_0_USE_MEDIA_1="#"
40420     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40421         COND_MONOLITHIC_0_USE_MEDIA_1=""
40422     fi
40423
40424     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40425     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40426         COND_MONOLITHIC_0_USE_PROPGRID_1=""
40427     fi
40428
40429     COND_MONOLITHIC_0_USE_QA_1="#"
40430     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40431         COND_MONOLITHIC_0_USE_QA_1=""
40432     fi
40433
40434     COND_MONOLITHIC_0_USE_RIBBON_1="#"
40435     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40436         COND_MONOLITHIC_0_USE_RIBBON_1=""
40437     fi
40438
40439     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40440     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40441         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40442     fi
40443
40444     COND_MONOLITHIC_0_USE_STC_1="#"
40445     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40446         COND_MONOLITHIC_0_USE_STC_1=""
40447     fi
40448
40449     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40450     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40451         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40452     fi
40453
40454     COND_MONOLITHIC_0_USE_XRC_1="#"
40455     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40456         COND_MONOLITHIC_0_USE_XRC_1=""
40457     fi
40458
40459     COND_MONOLITHIC_1="#"
40460     if test "x$MONOLITHIC" = "x1" ; then
40461         COND_MONOLITHIC_1=""
40462     fi
40463
40464     COND_MONOLITHIC_1_SHARED_0="#"
40465     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40466         COND_MONOLITHIC_1_SHARED_0=""
40467     fi
40468
40469     COND_MONOLITHIC_1_SHARED_1="#"
40470     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40471         COND_MONOLITHIC_1_SHARED_1=""
40472     fi
40473
40474     COND_MONOLITHIC_1_USE_STC_1="#"
40475     if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40476         COND_MONOLITHIC_1_USE_STC_1=""
40477     fi
40478
40479     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40480     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40481         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40482     fi
40483
40484     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40485     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40486         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40487     fi
40488
40489     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40490     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40491         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40492     fi
40493
40494     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40495     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40496         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40497     fi
40498
40499     COND_PLATFORM_MACOSX_1="#"
40500     if test "x$PLATFORM_MACOSX" = "x1" ; then
40501         COND_PLATFORM_MACOSX_1=""
40502     fi
40503
40504     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40505     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40506         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40507     fi
40508
40509     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40510     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40511         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40512     fi
40513
40514     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40515     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40516         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40517     fi
40518
40519     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40520     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40521         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40522     fi
40523
40524     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40525     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40526         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40527     fi
40528
40529     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40530     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40531         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40532     fi
40533
40534     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40535     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40536         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40537     fi
40538
40539     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40540     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40541         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40542     fi
40543
40544     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40545     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40546         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40547     fi
40548
40549     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40550     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40551         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40552     fi
40553
40554     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40555     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40556         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40557     fi
40558
40559     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40560     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40561         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40562     fi
40563
40564     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40565     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40566         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40567     fi
40568
40569     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40570     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40571         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40572     fi
40573
40574     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40575     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40576         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40577     fi
40578
40579     COND_PLATFORM_MAC_0="#"
40580     if test "x$PLATFORM_MAC" = "x0" ; then
40581         COND_PLATFORM_MAC_0=""
40582     fi
40583
40584     COND_PLATFORM_MAC_1="#"
40585     if test "x$PLATFORM_MAC" = "x1" ; then
40586         COND_PLATFORM_MAC_1=""
40587     fi
40588
40589     COND_PLATFORM_MSDOS_0="#"
40590     if test "x$PLATFORM_MSDOS" = "x0" ; then
40591         COND_PLATFORM_MSDOS_0=""
40592     fi
40593
40594     COND_PLATFORM_MSDOS_1="#"
40595     if test "x$PLATFORM_MSDOS" = "x1" ; then
40596         COND_PLATFORM_MSDOS_1=""
40597     fi
40598
40599     COND_PLATFORM_OS2_1="#"
40600     if test "x$PLATFORM_OS2" = "x1" ; then
40601         COND_PLATFORM_OS2_1=""
40602     fi
40603
40604     COND_PLATFORM_UNIX_0="#"
40605     if test "x$PLATFORM_UNIX" = "x0" ; then
40606         COND_PLATFORM_UNIX_0=""
40607     fi
40608
40609     COND_PLATFORM_UNIX_1="#"
40610     if test "x$PLATFORM_UNIX" = "x1" ; then
40611         COND_PLATFORM_UNIX_1=""
40612     fi
40613
40614     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40615     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40616         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40617     fi
40618
40619     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40620     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40621         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40622     fi
40623
40624     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40625     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40626         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40627     fi
40628
40629     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40630     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40631         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40632     fi
40633
40634     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40635     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40636         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40637     fi
40638
40639     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40640     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40641         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40642     fi
40643
40644     COND_PLATFORM_WIN32_0="#"
40645     if test "x$PLATFORM_WIN32" = "x0" ; then
40646         COND_PLATFORM_WIN32_0=""
40647     fi
40648
40649     COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40650     if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40651         COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40652     fi
40653
40654     COND_PLATFORM_WIN32_1="#"
40655     if test "x$PLATFORM_WIN32" = "x1" ; then
40656         COND_PLATFORM_WIN32_1=""
40657     fi
40658
40659     COND_PLATFORM_WIN32_1_SHARED_0="#"
40660     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40661         COND_PLATFORM_WIN32_1_SHARED_0=""
40662     fi
40663
40664     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40665     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40666         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40667     fi
40668
40669     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40670     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40671         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40672     fi
40673
40674     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40675     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40676         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40677     fi
40678
40679     COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40680     if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40681         COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40682     fi
40683
40684     COND_SHARED_0="#"
40685     if test "x$SHARED" = "x0" ; then
40686         COND_SHARED_0=""
40687     fi
40688
40689     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40690     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40691         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40692     fi
40693
40694     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40695     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40696         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40697     fi
40698
40699     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40700     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40701         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40702     fi
40703
40704     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40705     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40706         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40707     fi
40708
40709     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40710     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40711         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40712     fi
40713
40714     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40715     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40716         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40717     fi
40718
40719     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40720     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40721         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40722     fi
40723
40724     COND_SHARED_0_USE_STC_1="#"
40725     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40726         COND_SHARED_0_USE_STC_1=""
40727     fi
40728
40729     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40730     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40731         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40732     fi
40733
40734     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40735     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40736         COND_SHARED_0_wxUSE_REGEX_builtin=""
40737     fi
40738
40739     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40740     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40741         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40742     fi
40743
40744     COND_SHARED_1="#"
40745     if test "x$SHARED" = "x1" ; then
40746         COND_SHARED_1=""
40747     fi
40748
40749     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40750     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40751         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40752     fi
40753
40754     COND_TOOLKIT_="#"
40755     if test "x$TOOLKIT" = "x" ; then
40756         COND_TOOLKIT_=""
40757     fi
40758
40759     COND_TOOLKIT_COCOA="#"
40760     if test "x$TOOLKIT" = "xCOCOA" ; then
40761         COND_TOOLKIT_COCOA=""
40762     fi
40763
40764     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40765     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40766         COND_TOOLKIT_COCOA_USE_GUI_1=""
40767     fi
40768
40769     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40770     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40771         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40772     fi
40773
40774     COND_TOOLKIT_DFB="#"
40775     if test "x$TOOLKIT" = "xDFB" ; then
40776         COND_TOOLKIT_DFB=""
40777     fi
40778
40779     COND_TOOLKIT_DFB_USE_GUI_1="#"
40780     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40781         COND_TOOLKIT_DFB_USE_GUI_1=""
40782     fi
40783
40784     COND_TOOLKIT_GTK="#"
40785     if test "x$TOOLKIT" = "xGTK" ; then
40786         COND_TOOLKIT_GTK=""
40787     fi
40788
40789     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40790     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40791         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40792     fi
40793
40794     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40795     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40796         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40797     fi
40798
40799     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40800     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40801         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40802     fi
40803
40804     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40805     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40806         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40807     fi
40808
40809     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40810     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40811         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40812     fi
40813
40814     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40815     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40816         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40817     fi
40818
40819     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40820     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40821         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40822     fi
40823
40824     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40825     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40826         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40827     fi
40828
40829     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40830     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40831         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40832     fi
40833
40834     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40835     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40836         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40837     fi
40838
40839     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40840     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40841         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40842     fi
40843
40844     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40845     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40846         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40847     fi
40848
40849     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40850     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40851         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40852     fi
40853
40854     COND_TOOLKIT_GTK_USE_GUI_1="#"
40855     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40856         COND_TOOLKIT_GTK_USE_GUI_1=""
40857     fi
40858
40859     COND_TOOLKIT_MAC="#"
40860     if test "x$TOOLKIT" = "xMAC" ; then
40861         COND_TOOLKIT_MAC=""
40862     fi
40863
40864     COND_TOOLKIT_MOTIF="#"
40865     if test "x$TOOLKIT" = "xMOTIF" ; then
40866         COND_TOOLKIT_MOTIF=""
40867     fi
40868
40869     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40870     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40871         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40872     fi
40873
40874     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40875     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40876         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40877     fi
40878
40879     COND_TOOLKIT_MSW="#"
40880     if test "x$TOOLKIT" = "xMSW" ; then
40881         COND_TOOLKIT_MSW=""
40882     fi
40883
40884     COND_TOOLKIT_MSW_USE_GUI_1="#"
40885     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40886         COND_TOOLKIT_MSW_USE_GUI_1=""
40887     fi
40888
40889     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40890     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40891         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40892     fi
40893
40894     COND_TOOLKIT_MSW_WXUNIV_0="#"
40895     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40896         COND_TOOLKIT_MSW_WXUNIV_0=""
40897     fi
40898
40899     COND_TOOLKIT_OSX_CARBON="#"
40900     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40901         COND_TOOLKIT_OSX_CARBON=""
40902     fi
40903
40904     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40905     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40906         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40907     fi
40908
40909     COND_TOOLKIT_OSX_COCOA="#"
40910     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40911         COND_TOOLKIT_OSX_COCOA=""
40912     fi
40913
40914     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40915     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40916         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40917     fi
40918
40919     COND_TOOLKIT_OSX_IPHONE="#"
40920     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40921         COND_TOOLKIT_OSX_IPHONE=""
40922     fi
40923
40924     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40925     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40926         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40927     fi
40928
40929     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40930     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40931         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40932     fi
40933
40934     COND_TOOLKIT_PM="#"
40935     if test "x$TOOLKIT" = "xPM" ; then
40936         COND_TOOLKIT_PM=""
40937     fi
40938
40939     COND_TOOLKIT_PM_USE_GUI_1="#"
40940     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40941         COND_TOOLKIT_PM_USE_GUI_1=""
40942     fi
40943
40944     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40945     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40946         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40947     fi
40948
40949     COND_TOOLKIT_WINCE="#"
40950     if test "x$TOOLKIT" = "xWINCE" ; then
40951         COND_TOOLKIT_WINCE=""
40952     fi
40953
40954     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40955     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40956         COND_TOOLKIT_WINCE_USE_GUI_1=""
40957     fi
40958
40959     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40960     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40961         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40962     fi
40963
40964     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40965     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40966         COND_TOOLKIT_WINCE_WXUNIV_0=""
40967     fi
40968
40969     COND_TOOLKIT_X11="#"
40970     if test "x$TOOLKIT" = "xX11" ; then
40971         COND_TOOLKIT_X11=""
40972     fi
40973
40974     COND_TOOLKIT_X11_USE_GUI_1="#"
40975     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40976         COND_TOOLKIT_X11_USE_GUI_1=""
40977     fi
40978
40979     COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
40980     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40981         COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
40982     fi
40983
40984     COND_TOOLKIT_X11_WXUNIV_1="#"
40985     if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40986         COND_TOOLKIT_X11_WXUNIV_1=""
40987     fi
40988
40989     COND_UNICODE_1="#"
40990     if test "x$UNICODE" = "x1" ; then
40991         COND_UNICODE_1=""
40992     fi
40993
40994     COND_USE_CAIRO_1="#"
40995     if test "x$USE_CAIRO" = "x1" ; then
40996         COND_USE_CAIRO_1=""
40997     fi
40998
40999     COND_USE_EXCEPTIONS_0="#"
41000     if test "x$USE_EXCEPTIONS" = "x0" ; then
41001         COND_USE_EXCEPTIONS_0=""
41002     fi
41003
41004     COND_USE_EXCEPTIONS_1="#"
41005     if test "x$USE_EXCEPTIONS" = "x1" ; then
41006         COND_USE_EXCEPTIONS_1=""
41007     fi
41008
41009     COND_USE_GUI_0="#"
41010     if test "x$USE_GUI" = "x0" ; then
41011         COND_USE_GUI_0=""
41012     fi
41013
41014     COND_USE_GUI_1="#"
41015     if test "x$USE_GUI" = "x1" ; then
41016         COND_USE_GUI_1=""
41017     fi
41018
41019     COND_USE_GUI_1_USE_OPENGL_1="#"
41020     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41021         COND_USE_GUI_1_USE_OPENGL_1=""
41022     fi
41023
41024     COND_USE_GUI_1_WXUNIV_0="#"
41025     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41026         COND_USE_GUI_1_WXUNIV_0=""
41027     fi
41028
41029     COND_USE_GUI_1_WXUNIV_1="#"
41030     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41031         COND_USE_GUI_1_WXUNIV_1=""
41032     fi
41033
41034     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
41035     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41036         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
41037     fi
41038
41039     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
41040     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41041         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
41042     fi
41043
41044     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
41045     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41046         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
41047     fi
41048
41049     COND_USE_OPENGL_1="#"
41050     if test "x$USE_OPENGL" = "x1" ; then
41051         COND_USE_OPENGL_1=""
41052     fi
41053
41054     COND_USE_PCH_1="#"
41055     if test "x$USE_PCH" = "x1" ; then
41056         COND_USE_PCH_1=""
41057     fi
41058
41059     COND_USE_PLUGINS_0="#"
41060     if test "x$USE_PLUGINS" = "x0" ; then
41061         COND_USE_PLUGINS_0=""
41062     fi
41063
41064     COND_USE_RTTI_0="#"
41065     if test "x$USE_RTTI" = "x0" ; then
41066         COND_USE_RTTI_0=""
41067     fi
41068
41069     COND_USE_RTTI_1="#"
41070     if test "x$USE_RTTI" = "x1" ; then
41071         COND_USE_RTTI_1=""
41072     fi
41073
41074     COND_USE_SOTWOSYMLINKS_1="#"
41075     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41076         COND_USE_SOTWOSYMLINKS_1=""
41077     fi
41078
41079     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
41080     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41081         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
41082     fi
41083
41084     COND_USE_SOVERLINUX_1="#"
41085     if test "x$USE_SOVERLINUX" = "x1" ; then
41086         COND_USE_SOVERLINUX_1=""
41087     fi
41088
41089     COND_USE_SOVERSION_0="#"
41090     if test "x$USE_SOVERSION" = "x0" ; then
41091         COND_USE_SOVERSION_0=""
41092     fi
41093
41094     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
41095     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41096         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
41097     fi
41098
41099     COND_USE_SOVERSOLARIS_1="#"
41100     if test "x$USE_SOVERSOLARIS" = "x1" ; then
41101         COND_USE_SOVERSOLARIS_1=""
41102     fi
41103
41104     COND_USE_STC_1="#"
41105     if test "x$USE_STC" = "x1" ; then
41106         COND_USE_STC_1=""
41107     fi
41108
41109     COND_USE_THREADS_0="#"
41110     if test "x$USE_THREADS" = "x0" ; then
41111         COND_USE_THREADS_0=""
41112     fi
41113
41114     COND_USE_THREADS_1="#"
41115     if test "x$USE_THREADS" = "x1" ; then
41116         COND_USE_THREADS_1=""
41117     fi
41118
41119     COND_USE_XRC_1="#"
41120     if test "x$USE_XRC" = "x1" ; then
41121         COND_USE_XRC_1=""
41122     fi
41123
41124     COND_WINDOWS_IMPLIB_1="#"
41125     if test "x$WINDOWS_IMPLIB" = "x1" ; then
41126         COND_WINDOWS_IMPLIB_1=""
41127     fi
41128
41129     COND_WITH_PLUGIN_SDL_1="#"
41130     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41131         COND_WITH_PLUGIN_SDL_1=""
41132     fi
41133
41134     COND_WXUNIV_0="#"
41135     if test "x$WXUNIV" = "x0" ; then
41136         COND_WXUNIV_0=""
41137     fi
41138
41139     COND_WXUNIV_1="#"
41140     if test "x$WXUNIV" = "x1" ; then
41141         COND_WXUNIV_1=""
41142     fi
41143
41144     COND_wxUSE_EXPAT_builtin="#"
41145     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41146         COND_wxUSE_EXPAT_builtin=""
41147     fi
41148
41149     COND_wxUSE_LIBJPEG_builtin="#"
41150     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41151         COND_wxUSE_LIBJPEG_builtin=""
41152     fi
41153
41154     COND_wxUSE_LIBPNG_builtin="#"
41155     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41156         COND_wxUSE_LIBPNG_builtin=""
41157     fi
41158
41159     COND_wxUSE_LIBTIFF_builtin="#"
41160     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41161         COND_wxUSE_LIBTIFF_builtin=""
41162     fi
41163
41164     COND_wxUSE_REGEX_builtin="#"
41165     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41166         COND_wxUSE_REGEX_builtin=""
41167     fi
41168
41169     COND_wxUSE_ZLIB_builtin="#"
41170     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41171         COND_wxUSE_ZLIB_builtin=""
41172     fi
41173
41174
41175
41176     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41177         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
41178     fi
41179
41180     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41181         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
41182     fi
41183
41184
41185 case ${INSTALL} in
41186   /* ) # Absolute
41187      ;;
41188   ?:* ) # Drive letter, considered as absolute.
41189      ;;
41190   *)
41191      INSTALL=`pwd`/${INSTALL} ;;
41192 esac
41193
41194 if test "$wxUSE_GUI" = "yes"; then
41195
41196 if test "$wxUSE_MSW" = 1 ; then
41197     if test "x$WINDRES" = "x"; then
41198         as_fn_error $? "Required windres program not found" "$LINENO" 5
41199     fi
41200
41201     RESCOMP="$WINDRES"
41202 fi
41203
41204 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41205             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41206     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41207
41208         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41209
41210     # Extract the first word of "DeRez", so it can be a program name with args.
41211 set dummy DeRez; ac_word=$2
41212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41213 $as_echo_n "checking for $ac_word... " >&6; }
41214 if ${ac_cv_prog_DEREZ+:} false; then :
41215   $as_echo_n "(cached) " >&6
41216 else
41217   if test -n "$DEREZ"; then
41218   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41219 else
41220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41221 for as_dir in $PATH
41222 do
41223   IFS=$as_save_IFS
41224   test -z "$as_dir" && as_dir=.
41225     for ac_exec_ext in '' $ac_executable_extensions; do
41226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41227     ac_cv_prog_DEREZ="DeRez"
41228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41229     break 2
41230   fi
41231 done
41232   done
41233 IFS=$as_save_IFS
41234
41235   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41236 fi
41237 fi
41238 DEREZ=$ac_cv_prog_DEREZ
41239 if test -n "$DEREZ"; then
41240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41241 $as_echo "$DEREZ" >&6; }
41242 else
41243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41244 $as_echo "no" >&6; }
41245 fi
41246
41247
41248
41249     MACSETFILE="\$(SETFILE)"
41250
41251             if test "$wxUSE_OSX_CARBON" = 1; then
41252         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41253         RESCOMP="$REZ"
41254         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41255     else
41256         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41257         RESCOMP="cat /dev/null \| $REZ"
41258         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41259     fi
41260
41261 else
41262         MACSETFILE="@true"
41263
41264     if test "$wxUSE_PM" = 1; then
41265         RESCOMP="emxbind"
41266         WXCONFIG_RESFLAGS="-ep"
41267
41268                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41269     else
41270         POSTLINK_COMMAND="@true"
41271     fi
41272 fi
41273
41274 fi
41275
41276
41277 if test $GCC_PCH = 1
41278 then
41279     if test "$wx_cv_gcc_pch_bug" = yes; then
41280         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41281 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41282         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41283 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41284         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41285 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41286     fi
41287
41288     # Our WX_PRECOMP flag does not make sense for any language except C++ because
41289     # the headers that benefit from precompilation are mostly C++ headers.
41290     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41291     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41292     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41293 fi
41294
41295
41296 if test "$wxUSE_MAC" = 1 ; then
41297     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41298         if test "x$disable_macosx_deps" = "xyes"; then
41299             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41300                 mv temp bk-deps
41301             chmod +x bk-deps
41302         fi
41303     fi
41304 fi
41305
41306 if test "$wxUSE_SHARED" = "yes"; then
41307                 case "${host}" in
41308       *-pc-os2_emx | *-pc-os2-emx )
41309         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41310         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41311         cp -p ${srcdir}/src/os2/dllnames.sh .
41312         cp -p ${srcdir}/src/os2/dllar.sh .
41313       ;;
41314     esac
41315 fi
41316 if test "$wxUSE_OMF" = "yes"; then
41317     case "${host}" in
41318       *-pc-os2_emx | *-pc-os2-emx )
41319         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41320         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41321         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41322       ;;
41323     esac
41324 fi
41325
41326 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41327
41328
41329 case "${host}" in
41330     *-*-solaris2* )
41331                         if test "$GCC" = yes; then
41332             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41333             LIBS=`echo $LIBS | sed 's/-mt//g'`
41334             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41335         fi
41336         ;;
41337
41338     *-*-linux* )
41339                         if test "x$SUNCXX" = xyes; then
41340             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41341             LIBS=`echo $LIBS | sed 's/-pthread//g'`
41342             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41343         fi
41344         ;;
41345 esac
41346
41347 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41348 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41349 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41350 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41351
41352 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41410 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41411 set x ${MAKE-make}
41412 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41413 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41414   $as_echo_n "(cached) " >&6
41415 else
41416   cat >conftest.make <<\_ACEOF
41417 SHELL = /bin/sh
41418 all:
41419         @echo '@@@%%%=$(MAKE)=@@@%%%'
41420 _ACEOF
41421 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41422 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41423   *@@@%%%=?*=@@@%%%*)
41424     eval ac_cv_prog_make_${ac_make}_set=yes;;
41425   *)
41426     eval ac_cv_prog_make_${ac_make}_set=no;;
41427 esac
41428 rm -f conftest.make
41429 fi
41430 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41432 $as_echo "yes" >&6; }
41433   SET_MAKE=
41434 else
41435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41436 $as_echo "no" >&6; }
41437   SET_MAKE="MAKE=${MAKE-make}"
41438 fi
41439
41440
41441
41442 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41443
41444
41445 if test "$USE_WIN32" = 1; then
41446     ac_config_commands="$ac_config_commands rcdefs.h"
41447
41448 fi
41449
41450 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41451
41452
41453 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41454
41455
41456 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41457
41458
41459 if test "$wx_cv_version_script" = "yes"; then
41460     ac_config_files="$ac_config_files version-script"
41461
41462 fi
41463 ac_config_files="$ac_config_files Makefile"
41464
41465
41466 ac_config_commands="$ac_config_commands wx-config"
41467
41468
41469
41470 if test "$wxWITH_SUBDIRS" != "no"; then
41471 if test "$wxUSE_GUI" = "yes"; then
41472     SUBDIRS="samples demos utils"
41473 else
41474             SUBDIRS="samples utils"
41475 fi
41476
41477
41478
41479 # Check whether --with-cppunit-prefix was given.
41480 if test "${with_cppunit_prefix+set}" = set; then :
41481   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41482 else
41483   cppunit_config_prefix=""
41484 fi
41485
41486
41487 # Check whether --with-cppunit-exec-prefix was given.
41488 if test "${with_cppunit_exec_prefix+set}" = set; then :
41489   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41490 else
41491   cppunit_config_exec_prefix=""
41492 fi
41493
41494
41495   if test x$cppunit_config_exec_prefix != x ; then
41496      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41497      if test x${CPPUNIT_CONFIG+set} != xset ; then
41498         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41499      fi
41500   fi
41501   if test x$cppunit_config_prefix != x ; then
41502      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41503      if test x${CPPUNIT_CONFIG+set} != xset ; then
41504         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41505      fi
41506   fi
41507
41508   # Extract the first word of "cppunit-config", so it can be a program name with args.
41509 set dummy cppunit-config; ac_word=$2
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41511 $as_echo_n "checking for $ac_word... " >&6; }
41512 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41513   $as_echo_n "(cached) " >&6
41514 else
41515   case $CPPUNIT_CONFIG in
41516   [\\/]* | ?:[\\/]*)
41517   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41518   ;;
41519   *)
41520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41521 for as_dir in $PATH
41522 do
41523   IFS=$as_save_IFS
41524   test -z "$as_dir" && as_dir=.
41525     for ac_exec_ext in '' $ac_executable_extensions; do
41526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41527     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41529     break 2
41530   fi
41531 done
41532   done
41533 IFS=$as_save_IFS
41534
41535   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41536   ;;
41537 esac
41538 fi
41539 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41540 if test -n "$CPPUNIT_CONFIG"; then
41541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41542 $as_echo "$CPPUNIT_CONFIG" >&6; }
41543 else
41544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41545 $as_echo "no" >&6; }
41546 fi
41547
41548
41549   cppunit_version_min=1.8.0
41550
41551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41552 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41553   no_cppunit=""
41554   if test "$CPPUNIT_CONFIG" = "no" ; then
41555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41556 $as_echo "no" >&6; }
41557     no_cppunit=yes
41558   else
41559     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41560     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41561     cppunit_version=`$CPPUNIT_CONFIG --version`
41562
41563     cppunit_major_version=`echo $cppunit_version | \
41564            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41565     cppunit_minor_version=`echo $cppunit_version | \
41566            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41567     cppunit_micro_version=`echo $cppunit_version | \
41568            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41569
41570     cppunit_major_min=`echo $cppunit_version_min | \
41571            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41572     cppunit_minor_min=`echo $cppunit_version_min | \
41573            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41574     cppunit_micro_min=`echo $cppunit_version_min | \
41575            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41576
41577     cppunit_version_proper=`expr \
41578         $cppunit_major_version \> $cppunit_major_min \| \
41579         $cppunit_major_version \= $cppunit_major_min \& \
41580         $cppunit_minor_version \> $cppunit_minor_min \| \
41581         $cppunit_major_version \= $cppunit_major_min \& \
41582         $cppunit_minor_version \= $cppunit_minor_min \& \
41583         $cppunit_micro_version \>= $cppunit_micro_min `
41584
41585     if test "$cppunit_version_proper" = "1" ; then
41586       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41587 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41588     else
41589       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41590 $as_echo "no" >&6; }
41591       no_cppunit=yes
41592     fi
41593   fi
41594
41595   if test "x$no_cppunit" = x ; then
41596      SUBDIRS="$SUBDIRS tests"
41597   else
41598      CPPUNIT_CFLAGS=""
41599      CPPUNIT_LIBS=""
41600      :
41601   fi
41602
41603
41604
41605
41606
41607 for subdir in $SUBDIRS; do
41608     if test -d ${srcdir}/${subdir} ; then
41609         if test "$wxUSE_GUI" = "yes"; then
41610             if test ${subdir} = "samples"; then
41611                                                 makefiles="samples/Makefile.in $makefiles"
41612                 for sample in $SAMPLES_SUBDIRS; do
41613                     if test -d $srcdir/samples/$sample; then
41614                         makefiles="samples/$sample/Makefile.in $makefiles"
41615                     fi
41616                 done
41617             else
41618                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41619                 eval "disabled=\$$disabled_var"
41620                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41621                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41622             fi
41623         else
41624                                     if test ${subdir} = "samples"; then
41625                                                 makefiles="samples/Makefile.in $makefiles"
41626                 for sample in `echo $SAMPLES_SUBDIRS`; do
41627                     if test -d $srcdir/samples/$sample; then
41628                         makefiles="samples/$sample/Makefile.in $makefiles"
41629                     fi
41630                 done
41631             elif test ${subdir} = "utils"; then
41632                 makefiles=""
41633                 for util in ifacecheck ; do
41634                     if test -d $srcdir/utils/$util ; then
41635                         makefiles="utils/$util/src/Makefile.in \
41636                                    $makefiles"
41637                     fi
41638                 done
41639             else
41640                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41641             fi
41642         fi
41643
41644         for mkin in $makefiles ; do
41645             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41646             ac_config_files="$ac_config_files $mk"
41647
41648         done
41649     fi
41650 done
41651 fi
41652 cat >confcache <<\_ACEOF
41653 # This file is a shell script that caches the results of configure
41654 # tests run on this system so they can be shared between configure
41655 # scripts and configure runs, see configure's option --config-cache.
41656 # It is not useful on other systems.  If it contains results you don't
41657 # want to keep, you may remove or edit it.
41658 #
41659 # config.status only pays attention to the cache file if you give it
41660 # the --recheck option to rerun configure.
41661 #
41662 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41663 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41664 # following values.
41665
41666 _ACEOF
41667
41668 # The following way of writing the cache mishandles newlines in values,
41669 # but we know of no workaround that is simple, portable, and efficient.
41670 # So, we kill variables containing newlines.
41671 # Ultrix sh set writes to stderr and can't be redirected directly,
41672 # and sets the high bit in the cache file unless we assign to the vars.
41673 (
41674   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41675     eval ac_val=\$$ac_var
41676     case $ac_val in #(
41677     *${as_nl}*)
41678       case $ac_var in #(
41679       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41681       esac
41682       case $ac_var in #(
41683       _ | IFS | as_nl) ;; #(
41684       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41685       *) { eval $ac_var=; unset $ac_var;} ;;
41686       esac ;;
41687     esac
41688   done
41689
41690   (set) 2>&1 |
41691     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41692     *${as_nl}ac_space=\ *)
41693       # `set' does not quote correctly, so add quotes: double-quote
41694       # substitution turns \\\\ into \\, and sed turns \\ into \.
41695       sed -n \
41696         "s/'/'\\\\''/g;
41697           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41698       ;; #(
41699     *)
41700       # `set' quotes correctly as required by POSIX, so do not add quotes.
41701       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41702       ;;
41703     esac |
41704     sort
41705 ) |
41706   sed '
41707      /^ac_cv_env_/b end
41708      t clear
41709      :clear
41710      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41711      t end
41712      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41713      :end' >>confcache
41714 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41715   if test -w "$cache_file"; then
41716     if test "x$cache_file" != "x/dev/null"; then
41717       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41718 $as_echo "$as_me: updating cache $cache_file" >&6;}
41719       if test ! -f "$cache_file" || test -h "$cache_file"; then
41720         cat confcache >"$cache_file"
41721       else
41722         case $cache_file in #(
41723         */* | ?:*)
41724           mv -f confcache "$cache_file"$$ &&
41725           mv -f "$cache_file"$$ "$cache_file" ;; #(
41726         *)
41727           mv -f confcache "$cache_file" ;;
41728         esac
41729       fi
41730     fi
41731   else
41732     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41733 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41734   fi
41735 fi
41736 rm -f confcache
41737
41738 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41739 # Let make expand exec_prefix.
41740 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41741
41742 DEFS=-DHAVE_CONFIG_H
41743
41744 ac_libobjs=
41745 ac_ltlibobjs=
41746 U=
41747 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41748   # 1. Remove the extension, and $U if already installed.
41749   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41750   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41751   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41752   #    will be set to the directory where LIBOBJS objects are built.
41753   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41754   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41755 done
41756 LIBOBJS=$ac_libobjs
41757
41758 LTLIBOBJS=$ac_ltlibobjs
41759
41760
41761
41762 : "${CONFIG_STATUS=./config.status}"
41763 ac_write_fail=0
41764 ac_clean_files_save=$ac_clean_files
41765 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41767 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41768 as_write_fail=0
41769 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41770 #! $SHELL
41771 # Generated by $as_me.
41772 # Run this file to recreate the current configuration.
41773 # Compiler output produced by configure, useful for debugging
41774 # configure, is in config.log if it exists.
41775
41776 debug=false
41777 ac_cs_recheck=false
41778 ac_cs_silent=false
41779
41780 SHELL=\${CONFIG_SHELL-$SHELL}
41781 export SHELL
41782 _ASEOF
41783 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41784 ## -------------------- ##
41785 ## M4sh Initialization. ##
41786 ## -------------------- ##
41787
41788 # Be more Bourne compatible
41789 DUALCASE=1; export DUALCASE # for MKS sh
41790 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41791   emulate sh
41792   NULLCMD=:
41793   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41794   # is contrary to our usage.  Disable this feature.
41795   alias -g '${1+"$@"}'='"$@"'
41796   setopt NO_GLOB_SUBST
41797 else
41798   case `(set -o) 2>/dev/null` in #(
41799   *posix*) :
41800     set -o posix ;; #(
41801   *) :
41802      ;;
41803 esac
41804 fi
41805
41806
41807 as_nl='
41808 '
41809 export as_nl
41810 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41811 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41814 # Prefer a ksh shell builtin over an external printf program on Solaris,
41815 # but without wasting forks for bash or zsh.
41816 if test -z "$BASH_VERSION$ZSH_VERSION" \
41817     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41818   as_echo='print -r --'
41819   as_echo_n='print -rn --'
41820 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41821   as_echo='printf %s\n'
41822   as_echo_n='printf %s'
41823 else
41824   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41825     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41826     as_echo_n='/usr/ucb/echo -n'
41827   else
41828     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41829     as_echo_n_body='eval
41830       arg=$1;
41831       case $arg in #(
41832       *"$as_nl"*)
41833         expr "X$arg" : "X\\(.*\\)$as_nl";
41834         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41835       esac;
41836       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41837     '
41838     export as_echo_n_body
41839     as_echo_n='sh -c $as_echo_n_body as_echo'
41840   fi
41841   export as_echo_body
41842   as_echo='sh -c $as_echo_body as_echo'
41843 fi
41844
41845 # The user is always right.
41846 if test "${PATH_SEPARATOR+set}" != set; then
41847   PATH_SEPARATOR=:
41848   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41849     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41850       PATH_SEPARATOR=';'
41851   }
41852 fi
41853
41854
41855 # IFS
41856 # We need space, tab and new line, in precisely that order.  Quoting is
41857 # there to prevent editors from complaining about space-tab.
41858 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41859 # splitting by setting IFS to empty value.)
41860 IFS=" ""        $as_nl"
41861
41862 # Find who we are.  Look in the path if we contain no directory separator.
41863 as_myself=
41864 case $0 in #((
41865   *[\\/]* ) as_myself=$0 ;;
41866   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41867 for as_dir in $PATH
41868 do
41869   IFS=$as_save_IFS
41870   test -z "$as_dir" && as_dir=.
41871     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41872   done
41873 IFS=$as_save_IFS
41874
41875      ;;
41876 esac
41877 # We did not find ourselves, most probably we were run as `sh COMMAND'
41878 # in which case we are not to be found in the path.
41879 if test "x$as_myself" = x; then
41880   as_myself=$0
41881 fi
41882 if test ! -f "$as_myself"; then
41883   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41884   exit 1
41885 fi
41886
41887 # Unset variables that we do not need and which cause bugs (e.g. in
41888 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41889 # suppresses any "Segmentation fault" message there.  '((' could
41890 # trigger a bug in pdksh 5.2.14.
41891 for as_var in BASH_ENV ENV MAIL MAILPATH
41892 do eval test x\${$as_var+set} = xset \
41893   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41894 done
41895 PS1='$ '
41896 PS2='> '
41897 PS4='+ '
41898
41899 # NLS nuisances.
41900 LC_ALL=C
41901 export LC_ALL
41902 LANGUAGE=C
41903 export LANGUAGE
41904
41905 # CDPATH.
41906 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41907
41908
41909 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41910 # ----------------------------------------
41911 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41912 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41913 # script with STATUS, using 1 if that was 0.
41914 as_fn_error ()
41915 {
41916   as_status=$1; test $as_status -eq 0 && as_status=1
41917   if test "$4"; then
41918     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41919     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41920   fi
41921   $as_echo "$as_me: error: $2" >&2
41922   as_fn_exit $as_status
41923 } # as_fn_error
41924
41925
41926 # as_fn_set_status STATUS
41927 # -----------------------
41928 # Set $? to STATUS, without forking.
41929 as_fn_set_status ()
41930 {
41931   return $1
41932 } # as_fn_set_status
41933
41934 # as_fn_exit STATUS
41935 # -----------------
41936 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41937 as_fn_exit ()
41938 {
41939   set +e
41940   as_fn_set_status $1
41941   exit $1
41942 } # as_fn_exit
41943
41944 # as_fn_unset VAR
41945 # ---------------
41946 # Portably unset VAR.
41947 as_fn_unset ()
41948 {
41949   { eval $1=; unset $1;}
41950 }
41951 as_unset=as_fn_unset
41952 # as_fn_append VAR VALUE
41953 # ----------------------
41954 # Append the text in VALUE to the end of the definition contained in VAR. Take
41955 # advantage of any shell optimizations that allow amortized linear growth over
41956 # repeated appends, instead of the typical quadratic growth present in naive
41957 # implementations.
41958 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41959   eval 'as_fn_append ()
41960   {
41961     eval $1+=\$2
41962   }'
41963 else
41964   as_fn_append ()
41965   {
41966     eval $1=\$$1\$2
41967   }
41968 fi # as_fn_append
41969
41970 # as_fn_arith ARG...
41971 # ------------------
41972 # Perform arithmetic evaluation on the ARGs, and store the result in the
41973 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41974 # must be portable across $(()) and expr.
41975 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41976   eval 'as_fn_arith ()
41977   {
41978     as_val=$(( $* ))
41979   }'
41980 else
41981   as_fn_arith ()
41982   {
41983     as_val=`expr "$@" || test $? -eq 1`
41984   }
41985 fi # as_fn_arith
41986
41987
41988 if expr a : '\(a\)' >/dev/null 2>&1 &&
41989    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41990   as_expr=expr
41991 else
41992   as_expr=false
41993 fi
41994
41995 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41996   as_basename=basename
41997 else
41998   as_basename=false
41999 fi
42000
42001 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42002   as_dirname=dirname
42003 else
42004   as_dirname=false
42005 fi
42006
42007 as_me=`$as_basename -- "$0" ||
42008 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42009          X"$0" : 'X\(//\)$' \| \
42010          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42011 $as_echo X/"$0" |
42012     sed '/^.*\/\([^/][^/]*\)\/*$/{
42013             s//\1/
42014             q
42015           }
42016           /^X\/\(\/\/\)$/{
42017             s//\1/
42018             q
42019           }
42020           /^X\/\(\/\).*/{
42021             s//\1/
42022             q
42023           }
42024           s/.*/./; q'`
42025
42026 # Avoid depending upon Character Ranges.
42027 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42028 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42029 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42030 as_cr_digits='0123456789'
42031 as_cr_alnum=$as_cr_Letters$as_cr_digits
42032
42033 ECHO_C= ECHO_N= ECHO_T=
42034 case `echo -n x` in #(((((
42035 -n*)
42036   case `echo 'xy\c'` in
42037   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
42038   xy)  ECHO_C='\c';;
42039   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
42040        ECHO_T=' ';;
42041   esac;;
42042 *)
42043   ECHO_N='-n';;
42044 esac
42045
42046 rm -f conf$$ conf$$.exe conf$$.file
42047 if test -d conf$$.dir; then
42048   rm -f conf$$.dir/conf$$.file
42049 else
42050   rm -f conf$$.dir
42051   mkdir conf$$.dir 2>/dev/null
42052 fi
42053 if (echo >conf$$.file) 2>/dev/null; then
42054   if ln -s conf$$.file conf$$ 2>/dev/null; then
42055     as_ln_s='ln -s'
42056     # ... but there are two gotchas:
42057     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42058     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42059     # In both cases, we have to default to `cp -pR'.
42060     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42061       as_ln_s='cp -pR'
42062   elif ln conf$$.file conf$$ 2>/dev/null; then
42063     as_ln_s=ln
42064   else
42065     as_ln_s='cp -pR'
42066   fi
42067 else
42068   as_ln_s='cp -pR'
42069 fi
42070 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42071 rmdir conf$$.dir 2>/dev/null
42072
42073
42074 # as_fn_mkdir_p
42075 # -------------
42076 # Create "$as_dir" as a directory, including parents if necessary.
42077 as_fn_mkdir_p ()
42078 {
42079
42080   case $as_dir in #(
42081   -*) as_dir=./$as_dir;;
42082   esac
42083   test -d "$as_dir" || eval $as_mkdir_p || {
42084     as_dirs=
42085     while :; do
42086       case $as_dir in #(
42087       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42088       *) as_qdir=$as_dir;;
42089       esac
42090       as_dirs="'$as_qdir' $as_dirs"
42091       as_dir=`$as_dirname -- "$as_dir" ||
42092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42093          X"$as_dir" : 'X\(//\)[^/]' \| \
42094          X"$as_dir" : 'X\(//\)$' \| \
42095          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42096 $as_echo X"$as_dir" |
42097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42098             s//\1/
42099             q
42100           }
42101           /^X\(\/\/\)[^/].*/{
42102             s//\1/
42103             q
42104           }
42105           /^X\(\/\/\)$/{
42106             s//\1/
42107             q
42108           }
42109           /^X\(\/\).*/{
42110             s//\1/
42111             q
42112           }
42113           s/.*/./; q'`
42114       test -d "$as_dir" && break
42115     done
42116     test -z "$as_dirs" || eval "mkdir $as_dirs"
42117   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42118
42119
42120 } # as_fn_mkdir_p
42121 if mkdir -p . 2>/dev/null; then
42122   as_mkdir_p='mkdir -p "$as_dir"'
42123 else
42124   test -d ./-p && rmdir ./-p
42125   as_mkdir_p=false
42126 fi
42127
42128
42129 # as_fn_executable_p FILE
42130 # -----------------------
42131 # Test if FILE is an executable regular file.
42132 as_fn_executable_p ()
42133 {
42134   test -f "$1" && test -x "$1"
42135 } # as_fn_executable_p
42136 as_test_x='test -x'
42137 as_executable_p=as_fn_executable_p
42138
42139 # Sed expression to map a string onto a valid CPP name.
42140 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42141
42142 # Sed expression to map a string onto a valid variable name.
42143 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42144
42145
42146 exec 6>&1
42147 ## ----------------------------------- ##
42148 ## Main body of $CONFIG_STATUS script. ##
42149 ## ----------------------------------- ##
42150 _ASEOF
42151 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42152
42153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42154 # Save the log message, to keep $0 and so on meaningful, and to
42155 # report actual input values of CONFIG_FILES etc. instead of their
42156 # values after options handling.
42157 ac_log="
42158 This file was extended by wxWidgets $as_me 2.9.5, which was
42159 generated by GNU Autoconf 2.69.  Invocation command line was
42160
42161   CONFIG_FILES    = $CONFIG_FILES
42162   CONFIG_HEADERS  = $CONFIG_HEADERS
42163   CONFIG_LINKS    = $CONFIG_LINKS
42164   CONFIG_COMMANDS = $CONFIG_COMMANDS
42165   $ $0 $@
42166
42167 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42168 "
42169
42170 _ACEOF
42171
42172 case $ac_config_files in *"
42173 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42174 esac
42175
42176 case $ac_config_headers in *"
42177 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42178 esac
42179
42180
42181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42182 # Files that config.status was made for.
42183 config_files="$ac_config_files"
42184 config_headers="$ac_config_headers"
42185 config_commands="$ac_config_commands"
42186
42187 _ACEOF
42188
42189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42190 ac_cs_usage="\
42191 \`$as_me' instantiates files and other configuration actions
42192 from templates according to the current configuration.  Unless the files
42193 and actions are specified as TAGs, all are instantiated by default.
42194
42195 Usage: $0 [OPTION]... [TAG]...
42196
42197   -h, --help       print this help, then exit
42198   -V, --version    print version number and configuration settings, then exit
42199       --config     print configuration, then exit
42200   -q, --quiet, --silent
42201                    do not print progress messages
42202   -d, --debug      don't remove temporary files
42203       --recheck    update $as_me by reconfiguring in the same conditions
42204       --file=FILE[:TEMPLATE]
42205                    instantiate the configuration file FILE
42206       --header=FILE[:TEMPLATE]
42207                    instantiate the configuration header FILE
42208
42209 Configuration files:
42210 $config_files
42211
42212 Configuration headers:
42213 $config_headers
42214
42215 Configuration commands:
42216 $config_commands
42217
42218 Report bugs to <wx-dev@lists.wxwidgets.org>."
42219
42220 _ACEOF
42221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42222 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42223 ac_cs_version="\\
42224 wxWidgets config.status 2.9.5
42225 configured by $0, generated by GNU Autoconf 2.69,
42226   with options \\"\$ac_cs_config\\"
42227
42228 Copyright (C) 2012 Free Software Foundation, Inc.
42229 This config.status script is free software; the Free Software Foundation
42230 gives unlimited permission to copy, distribute and modify it."
42231
42232 ac_pwd='$ac_pwd'
42233 srcdir='$srcdir'
42234 INSTALL='$INSTALL'
42235 test -n "\$AWK" || AWK=awk
42236 _ACEOF
42237
42238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42239 # The default lists apply if the user does not specify any file.
42240 ac_need_defaults=:
42241 while test $# != 0
42242 do
42243   case $1 in
42244   --*=?*)
42245     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42246     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42247     ac_shift=:
42248     ;;
42249   --*=)
42250     ac_option=`expr "X$1" : 'X\([^=]*\)='`
42251     ac_optarg=
42252     ac_shift=:
42253     ;;
42254   *)
42255     ac_option=$1
42256     ac_optarg=$2
42257     ac_shift=shift
42258     ;;
42259   esac
42260
42261   case $ac_option in
42262   # Handling of the options.
42263   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42264     ac_cs_recheck=: ;;
42265   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42266     $as_echo "$ac_cs_version"; exit ;;
42267   --config | --confi | --conf | --con | --co | --c )
42268     $as_echo "$ac_cs_config"; exit ;;
42269   --debug | --debu | --deb | --de | --d | -d )
42270     debug=: ;;
42271   --file | --fil | --fi | --f )
42272     $ac_shift
42273     case $ac_optarg in
42274     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42275     '') as_fn_error $? "missing file argument" ;;
42276     esac
42277     as_fn_append CONFIG_FILES " '$ac_optarg'"
42278     ac_need_defaults=false;;
42279   --header | --heade | --head | --hea )
42280     $ac_shift
42281     case $ac_optarg in
42282     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42283     esac
42284     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42285     ac_need_defaults=false;;
42286   --he | --h)
42287     # Conflict between --help and --header
42288     as_fn_error $? "ambiguous option: \`$1'
42289 Try \`$0 --help' for more information.";;
42290   --help | --hel | -h )
42291     $as_echo "$ac_cs_usage"; exit ;;
42292   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42293   | -silent | --silent | --silen | --sile | --sil | --si | --s)
42294     ac_cs_silent=: ;;
42295
42296   # This is an error.
42297   -*) as_fn_error $? "unrecognized option: \`$1'
42298 Try \`$0 --help' for more information." ;;
42299
42300   *) as_fn_append ac_config_targets " $1"
42301      ac_need_defaults=false ;;
42302
42303   esac
42304   shift
42305 done
42306
42307 ac_configure_extra_args=
42308
42309 if $ac_cs_silent; then
42310   exec 6>/dev/null
42311   ac_configure_extra_args="$ac_configure_extra_args --silent"
42312 fi
42313
42314 _ACEOF
42315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42316 if \$ac_cs_recheck; then
42317   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42318   shift
42319   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42320   CONFIG_SHELL='$SHELL'
42321   export CONFIG_SHELL
42322   exec "\$@"
42323 fi
42324
42325 _ACEOF
42326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42327 exec 5>>config.log
42328 {
42329   echo
42330   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42331 ## Running $as_me. ##
42332 _ASBOX
42333   $as_echo "$ac_log"
42334 } >&5
42335
42336 _ACEOF
42337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42338 #
42339 # INIT-COMMANDS
42340 #
42341
42342             CPP="$CPP"
42343             infile="$srcdir/include/wx/msw/genrcdefs.h"
42344             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42345
42346
42347  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42348  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42349  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42350                      LN_S="${LN_S}"
42351
42352
42353 _ACEOF
42354
42355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42356
42357 # Handling of arguments.
42358 for ac_config_target in $ac_config_targets
42359 do
42360   case $ac_config_target in
42361     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42362     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42363     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42364     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42365     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42366     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42367     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42368     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42369     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42370
42371   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42372   esac
42373 done
42374
42375
42376 # If the user did not use the arguments to specify the items to instantiate,
42377 # then the envvar interface is used.  Set only those that are not.
42378 # We use the long form for the default assignment because of an extremely
42379 # bizarre bug on SunOS 4.1.3.
42380 if $ac_need_defaults; then
42381   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42382   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42383   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42384 fi
42385
42386 # Have a temporary directory for convenience.  Make it in the build tree
42387 # simply because there is no reason against having it here, and in addition,
42388 # creating and moving files from /tmp can sometimes cause problems.
42389 # Hook for its removal unless debugging.
42390 # Note that there is a small window in which the directory will not be cleaned:
42391 # after its creation but before its name has been assigned to `$tmp'.
42392 $debug ||
42393 {
42394   tmp= ac_tmp=
42395   trap 'exit_status=$?
42396   : "${ac_tmp:=$tmp}"
42397   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42398 ' 0
42399   trap 'as_fn_exit 1' 1 2 13 15
42400 }
42401 # Create a (secure) tmp directory for tmp files.
42402
42403 {
42404   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42405   test -d "$tmp"
42406 }  ||
42407 {
42408   tmp=./conf$$-$RANDOM
42409   (umask 077 && mkdir "$tmp")
42410 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42411 ac_tmp=$tmp
42412
42413 # Set up the scripts for CONFIG_FILES section.
42414 # No need to generate them if there are no CONFIG_FILES.
42415 # This happens for instance with `./config.status config.h'.
42416 if test -n "$CONFIG_FILES"; then
42417
42418
42419 ac_cr=`echo X | tr X '\015'`
42420 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42421 # But we know of no other shell where ac_cr would be empty at this
42422 # point, so we can use a bashism as a fallback.
42423 if test "x$ac_cr" = x; then
42424   eval ac_cr=\$\'\\r\'
42425 fi
42426 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42427 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42428   ac_cs_awk_cr='\\r'
42429 else
42430   ac_cs_awk_cr=$ac_cr
42431 fi
42432
42433 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42434 _ACEOF
42435
42436
42437 {
42438   echo "cat >conf$$subs.awk <<_ACEOF" &&
42439   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42440   echo "_ACEOF"
42441 } >conf$$subs.sh ||
42442   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42443 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42444 ac_delim='%!_!# '
42445 for ac_last_try in false false false false false :; do
42446   . ./conf$$subs.sh ||
42447     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42448
42449   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42450   if test $ac_delim_n = $ac_delim_num; then
42451     break
42452   elif $ac_last_try; then
42453     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42454   else
42455     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42456   fi
42457 done
42458 rm -f conf$$subs.sh
42459
42460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42461 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42462 _ACEOF
42463 sed -n '
42464 h
42465 s/^/S["/; s/!.*/"]=/
42466 p
42467 g
42468 s/^[^!]*!//
42469 :repl
42470 t repl
42471 s/'"$ac_delim"'$//
42472 t delim
42473 :nl
42474 h
42475 s/\(.\{148\}\)..*/\1/
42476 t more1
42477 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42478 p
42479 n
42480 b repl
42481 :more1
42482 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42483 p
42484 g
42485 s/.\{148\}//
42486 t nl
42487 :delim
42488 h
42489 s/\(.\{148\}\)..*/\1/
42490 t more2
42491 s/["\\]/\\&/g; s/^/"/; s/$/"/
42492 p
42493 b
42494 :more2
42495 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42496 p
42497 g
42498 s/.\{148\}//
42499 t delim
42500 ' <conf$$subs.awk | sed '
42501 /^[^""]/{
42502   N
42503   s/\n//
42504 }
42505 ' >>$CONFIG_STATUS || ac_write_fail=1
42506 rm -f conf$$subs.awk
42507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42508 _ACAWK
42509 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42510   for (key in S) S_is_set[key] = 1
42511   FS = "\a"
42512
42513 }
42514 {
42515   line = $ 0
42516   nfields = split(line, field, "@")
42517   substed = 0
42518   len = length(field[1])
42519   for (i = 2; i < nfields; i++) {
42520     key = field[i]
42521     keylen = length(key)
42522     if (S_is_set[key]) {
42523       value = S[key]
42524       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42525       len += length(value) + length(field[++i])
42526       substed = 1
42527     } else
42528       len += 1 + keylen
42529   }
42530
42531   print line
42532 }
42533
42534 _ACAWK
42535 _ACEOF
42536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42537 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42538   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42539 else
42540   cat
42541 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42542   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42543 _ACEOF
42544
42545 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42546 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42547 # trailing colons and then remove the whole line if VPATH becomes empty
42548 # (actually we leave an empty line to preserve line numbers).
42549 if test "x$srcdir" = x.; then
42550   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
42551 h
42552 s///
42553 s/^/:/
42554 s/[      ]*$/:/
42555 s/:\$(srcdir):/:/g
42556 s/:\${srcdir}:/:/g
42557 s/:@srcdir@:/:/g
42558 s/^:*//
42559 s/:*$//
42560 x
42561 s/\(=[   ]*\).*/\1/
42562 G
42563 s/\n//
42564 s/^[^=]*=[       ]*$//
42565 }'
42566 fi
42567
42568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42569 fi # test -n "$CONFIG_FILES"
42570
42571 # Set up the scripts for CONFIG_HEADERS section.
42572 # No need to generate them if there are no CONFIG_HEADERS.
42573 # This happens for instance with `./config.status Makefile'.
42574 if test -n "$CONFIG_HEADERS"; then
42575 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42576 BEGIN {
42577 _ACEOF
42578
42579 # Transform confdefs.h into an awk script `defines.awk', embedded as
42580 # here-document in config.status, that substitutes the proper values into
42581 # config.h.in to produce config.h.
42582
42583 # Create a delimiter string that does not exist in confdefs.h, to ease
42584 # handling of long lines.
42585 ac_delim='%!_!# '
42586 for ac_last_try in false false :; do
42587   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42588   if test -z "$ac_tt"; then
42589     break
42590   elif $ac_last_try; then
42591     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42592   else
42593     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42594   fi
42595 done
42596
42597 # For the awk script, D is an array of macro values keyed by name,
42598 # likewise P contains macro parameters if any.  Preserve backslash
42599 # newline sequences.
42600
42601 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42602 sed -n '
42603 s/.\{148\}/&'"$ac_delim"'/g
42604 t rset
42605 :rset
42606 s/^[     ]*#[    ]*define[       ][      ]*/ /
42607 t def
42608 d
42609 :def
42610 s/\\$//
42611 t bsnl
42612 s/["\\]/\\&/g
42613 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42614 D["\1"]=" \3"/p
42615 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42616 d
42617 :bsnl
42618 s/["\\]/\\&/g
42619 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42620 D["\1"]=" \3\\\\\\n"\\/p
42621 t cont
42622 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42623 t cont
42624 d
42625 :cont
42626 n
42627 s/.\{148\}/&'"$ac_delim"'/g
42628 t clear
42629 :clear
42630 s/\\$//
42631 t bsnlc
42632 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42633 d
42634 :bsnlc
42635 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42636 b cont
42637 ' <confdefs.h | sed '
42638 s/'"$ac_delim"'/"\\\
42639 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42640
42641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42642   for (key in D) D_is_set[key] = 1
42643   FS = "\a"
42644 }
42645 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42646   line = \$ 0
42647   split(line, arg, " ")
42648   if (arg[1] == "#") {
42649     defundef = arg[2]
42650     mac1 = arg[3]
42651   } else {
42652     defundef = substr(arg[1], 2)
42653     mac1 = arg[2]
42654   }
42655   split(mac1, mac2, "(") #)
42656   macro = mac2[1]
42657   prefix = substr(line, 1, index(line, defundef) - 1)
42658   if (D_is_set[macro]) {
42659     # Preserve the white space surrounding the "#".
42660     print prefix "define", macro P[macro] D[macro]
42661     next
42662   } else {
42663     # Replace #undef with comments.  This is necessary, for example,
42664     # in the case of _POSIX_SOURCE, which is predefined and required
42665     # on some systems where configure will not decide to define it.
42666     if (defundef == "undef") {
42667       print "/*", prefix defundef, macro, "*/"
42668       next
42669     }
42670   }
42671 }
42672 { print }
42673 _ACAWK
42674 _ACEOF
42675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42676   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42677 fi # test -n "$CONFIG_HEADERS"
42678
42679
42680 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42681 shift
42682 for ac_tag
42683 do
42684   case $ac_tag in
42685   :[FHLC]) ac_mode=$ac_tag; continue;;
42686   esac
42687   case $ac_mode$ac_tag in
42688   :[FHL]*:*);;
42689   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42690   :[FH]-) ac_tag=-:-;;
42691   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42692   esac
42693   ac_save_IFS=$IFS
42694   IFS=:
42695   set x $ac_tag
42696   IFS=$ac_save_IFS
42697   shift
42698   ac_file=$1
42699   shift
42700
42701   case $ac_mode in
42702   :L) ac_source=$1;;
42703   :[FH])
42704     ac_file_inputs=
42705     for ac_f
42706     do
42707       case $ac_f in
42708       -) ac_f="$ac_tmp/stdin";;
42709       *) # Look for the file first in the build tree, then in the source tree
42710          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42711          # because $ac_f cannot contain `:'.
42712          test -f "$ac_f" ||
42713            case $ac_f in
42714            [\\/$]*) false;;
42715            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42716            esac ||
42717            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42718       esac
42719       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42720       as_fn_append ac_file_inputs " '$ac_f'"
42721     done
42722
42723     # Let's still pretend it is `configure' which instantiates (i.e., don't
42724     # use $as_me), people would be surprised to read:
42725     #    /* config.h.  Generated by config.status.  */
42726     configure_input='Generated from '`
42727           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42728         `' by configure.'
42729     if test x"$ac_file" != x-; then
42730       configure_input="$ac_file.  $configure_input"
42731       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42732 $as_echo "$as_me: creating $ac_file" >&6;}
42733     fi
42734     # Neutralize special characters interpreted by sed in replacement strings.
42735     case $configure_input in #(
42736     *\&* | *\|* | *\\* )
42737        ac_sed_conf_input=`$as_echo "$configure_input" |
42738        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42739     *) ac_sed_conf_input=$configure_input;;
42740     esac
42741
42742     case $ac_tag in
42743     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42744       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42745     esac
42746     ;;
42747   esac
42748
42749   ac_dir=`$as_dirname -- "$ac_file" ||
42750 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42751          X"$ac_file" : 'X\(//\)[^/]' \| \
42752          X"$ac_file" : 'X\(//\)$' \| \
42753          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42754 $as_echo X"$ac_file" |
42755     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42756             s//\1/
42757             q
42758           }
42759           /^X\(\/\/\)[^/].*/{
42760             s//\1/
42761             q
42762           }
42763           /^X\(\/\/\)$/{
42764             s//\1/
42765             q
42766           }
42767           /^X\(\/\).*/{
42768             s//\1/
42769             q
42770           }
42771           s/.*/./; q'`
42772   as_dir="$ac_dir"; as_fn_mkdir_p
42773   ac_builddir=.
42774
42775 case "$ac_dir" in
42776 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42777 *)
42778   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42779   # A ".." for each directory in $ac_dir_suffix.
42780   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42781   case $ac_top_builddir_sub in
42782   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42783   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42784   esac ;;
42785 esac
42786 ac_abs_top_builddir=$ac_pwd
42787 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42788 # for backward compatibility:
42789 ac_top_builddir=$ac_top_build_prefix
42790
42791 case $srcdir in
42792   .)  # We are building in place.
42793     ac_srcdir=.
42794     ac_top_srcdir=$ac_top_builddir_sub
42795     ac_abs_top_srcdir=$ac_pwd ;;
42796   [\\/]* | ?:[\\/]* )  # Absolute name.
42797     ac_srcdir=$srcdir$ac_dir_suffix;
42798     ac_top_srcdir=$srcdir
42799     ac_abs_top_srcdir=$srcdir ;;
42800   *) # Relative name.
42801     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42802     ac_top_srcdir=$ac_top_build_prefix$srcdir
42803     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42804 esac
42805 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42806
42807
42808   case $ac_mode in
42809   :F)
42810   #
42811   # CONFIG_FILE
42812   #
42813
42814   case $INSTALL in
42815   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42816   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42817   esac
42818 _ACEOF
42819
42820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42821 # If the template does not know about datarootdir, expand it.
42822 # FIXME: This hack should be removed a few years after 2.60.
42823 ac_datarootdir_hack=; ac_datarootdir_seen=
42824 ac_sed_dataroot='
42825 /datarootdir/ {
42826   p
42827   q
42828 }
42829 /@datadir@/p
42830 /@docdir@/p
42831 /@infodir@/p
42832 /@localedir@/p
42833 /@mandir@/p'
42834 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42835 *datarootdir*) ac_datarootdir_seen=yes;;
42836 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42837   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42838 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42839 _ACEOF
42840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42841   ac_datarootdir_hack='
42842   s&@datadir@&$datadir&g
42843   s&@docdir@&$docdir&g
42844   s&@infodir@&$infodir&g
42845   s&@localedir@&$localedir&g
42846   s&@mandir@&$mandir&g
42847   s&\\\${datarootdir}&$datarootdir&g' ;;
42848 esac
42849 _ACEOF
42850
42851 # Neutralize VPATH when `$srcdir' = `.'.
42852 # Shell code in configure.ac might set extrasub.
42853 # FIXME: do we really want to maintain this feature?
42854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42855 ac_sed_extra="$ac_vpsub
42856 $extrasub
42857 _ACEOF
42858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42859 :t
42860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42861 s|@configure_input@|$ac_sed_conf_input|;t t
42862 s&@top_builddir@&$ac_top_builddir_sub&;t t
42863 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42864 s&@srcdir@&$ac_srcdir&;t t
42865 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42866 s&@top_srcdir@&$ac_top_srcdir&;t t
42867 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42868 s&@builddir@&$ac_builddir&;t t
42869 s&@abs_builddir@&$ac_abs_builddir&;t t
42870 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42871 s&@INSTALL@&$ac_INSTALL&;t t
42872 $ac_datarootdir_hack
42873 "
42874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42875   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42876
42877 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42878   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42879   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42880       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42881   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42882 which seems to be undefined.  Please make sure it is defined" >&5
42883 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42884 which seems to be undefined.  Please make sure it is defined" >&2;}
42885
42886   rm -f "$ac_tmp/stdin"
42887   case $ac_file in
42888   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42889   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42890   esac \
42891   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42892  ;;
42893   :H)
42894   #
42895   # CONFIG_HEADER
42896   #
42897   if test x"$ac_file" != x-; then
42898     {
42899       $as_echo "/* $configure_input  */" \
42900       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42901     } >"$ac_tmp/config.h" \
42902       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42903     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42904       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42905 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42906     else
42907       rm -f "$ac_file"
42908       mv "$ac_tmp/config.h" "$ac_file" \
42909         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42910     fi
42911   else
42912     $as_echo "/* $configure_input  */" \
42913       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42914       || as_fn_error $? "could not create -" "$LINENO" 5
42915   fi
42916  ;;
42917
42918   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42919 $as_echo "$as_me: executing $ac_file commands" >&6;}
42920  ;;
42921   esac
42922
42923
42924   case $ac_file$ac_mode in
42925     "rcdefs.h":C)
42926             mkdir -p $outdir &&
42927             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42928          ;;
42929     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42930     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42931     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42932     "wx-config":C)  rm -f wx-config
42933                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42934                     ;;
42935
42936   esac
42937 done # for ac_tag
42938
42939
42940 as_fn_exit 0
42941 _ACEOF
42942 ac_clean_files=$ac_clean_files_save
42943
42944 test $ac_write_fail = 0 ||
42945   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42946
42947
42948 # configure is writing to config.log, and then calls config.status.
42949 # config.status does its own redirection, appending to config.log.
42950 # Unfortunately, on DOS this fails, as config.log is still kept open
42951 # by configure, so config.status won't be able to write to it; its
42952 # output is simply discarded.  So we exec the FD to /dev/null,
42953 # effectively closing config.log, so it can be properly (re)opened and
42954 # appended to by config.status.  When coming back to configure, we
42955 # need to make the FD available again.
42956 if test "$no_create" != yes; then
42957   ac_cs_success=:
42958   ac_config_status_args=
42959   test "$silent" = yes &&
42960     ac_config_status_args="$ac_config_status_args --quiet"
42961   exec 5>/dev/null
42962   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42963   exec 5>>config.log
42964   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42965   # would make configure fail if this is the last instruction.
42966   $ac_cs_success || as_fn_exit 1
42967 fi
42968
42969 #
42970 # CONFIG_SUBDIRS section.
42971 #
42972 if test "$no_recursion" != yes; then
42973
42974   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42975   # so they do not pile up.
42976   ac_sub_configure_args=
42977   ac_prev=
42978   eval "set x $ac_configure_args"
42979   shift
42980   for ac_arg
42981   do
42982     if test -n "$ac_prev"; then
42983       ac_prev=
42984       continue
42985     fi
42986     case $ac_arg in
42987     -cache-file | --cache-file | --cache-fil | --cache-fi \
42988     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42989       ac_prev=cache_file ;;
42990     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42991     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42992     | --c=*)
42993       ;;
42994     --config-cache | -C)
42995       ;;
42996     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42997       ac_prev=srcdir ;;
42998     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42999       ;;
43000     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43001       ac_prev=prefix ;;
43002     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43003       ;;
43004     --disable-option-checking)
43005       ;;
43006     *)
43007       case $ac_arg in
43008       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43009       esac
43010       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
43011     esac
43012   done
43013
43014   # Always prepend --prefix to ensure using the same prefix
43015   # in subdir configurations.
43016   ac_arg="--prefix=$prefix"
43017   case $ac_arg in
43018   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43019   esac
43020   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
43021
43022   # Pass --silent
43023   if test "$silent" = yes; then
43024     ac_sub_configure_args="--silent $ac_sub_configure_args"
43025   fi
43026
43027   # Always prepend --disable-option-checking to silence warnings, since
43028   # different subdirs can have different --enable and --with options.
43029   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43030
43031   ac_popdir=`pwd`
43032   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43033
43034     # Do not complain, so a configure script can configure whichever
43035     # parts of a large source tree are present.
43036     test -d "$srcdir/$ac_dir" || continue
43037
43038     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43039     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43040     $as_echo "$ac_msg" >&6
43041     as_dir="$ac_dir"; as_fn_mkdir_p
43042     ac_builddir=.
43043
43044 case "$ac_dir" in
43045 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43046 *)
43047   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43048   # A ".." for each directory in $ac_dir_suffix.
43049   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43050   case $ac_top_builddir_sub in
43051   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43052   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43053   esac ;;
43054 esac
43055 ac_abs_top_builddir=$ac_pwd
43056 ac_abs_builddir=$ac_pwd$ac_dir_suffix
43057 # for backward compatibility:
43058 ac_top_builddir=$ac_top_build_prefix
43059
43060 case $srcdir in
43061   .)  # We are building in place.
43062     ac_srcdir=.
43063     ac_top_srcdir=$ac_top_builddir_sub
43064     ac_abs_top_srcdir=$ac_pwd ;;
43065   [\\/]* | ?:[\\/]* )  # Absolute name.
43066     ac_srcdir=$srcdir$ac_dir_suffix;
43067     ac_top_srcdir=$srcdir
43068     ac_abs_top_srcdir=$srcdir ;;
43069   *) # Relative name.
43070     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43071     ac_top_srcdir=$ac_top_build_prefix$srcdir
43072     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43073 esac
43074 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43075
43076
43077     cd "$ac_dir"
43078
43079     # Check for guested configure; otherwise get Cygnus style configure.
43080     if test -f "$ac_srcdir/configure.gnu"; then
43081       ac_sub_configure=$ac_srcdir/configure.gnu
43082     elif test -f "$ac_srcdir/configure"; then
43083       ac_sub_configure=$ac_srcdir/configure
43084     elif test -f "$ac_srcdir/configure.in"; then
43085       # This should be Cygnus configure.
43086       ac_sub_configure=$ac_aux_dir/configure
43087     else
43088       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43089 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43090       ac_sub_configure=
43091     fi
43092
43093     # The recursion is here.
43094     if test -n "$ac_sub_configure"; then
43095       # Make the cache file name correct relative to the subdirectory.
43096       case $cache_file in
43097       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43098       *) # Relative name.
43099         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43100       esac
43101
43102       { $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
43103 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43104       # The eval makes quoting arguments work.
43105       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43106            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43107         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43108     fi
43109
43110     cd "$ac_popdir"
43111   done
43112 fi
43113 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43114   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43115 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43116 fi
43117
43118
43119 echo
43120 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43121 echo ""
43122 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
43123 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
43124 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
43125 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
43126 if test "$wxUSE_UNICODE" = "yes"; then
43127     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43128         echo " (using UTF-8)"
43129     else
43130         echo " (using wchar_t)"
43131     fi
43132 else
43133     echo
43134 fi
43135
43136 echo "  What level of wxWidgets compatibility should be enabled?"
43137 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
43138 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
43139
43140 echo "  Which libraries should wxWidgets use?"
43141 echo "                                       STL                ${wxUSE_STL}"
43142 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
43143 echo "                                       png                ${wxUSE_LIBPNG-none}"
43144 echo "                                       regex              ${wxUSE_REGEX}"
43145 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
43146 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43147 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
43148 fi
43149 echo "                                       zlib               ${wxUSE_ZLIB}"
43150 echo "                                       expat              ${wxUSE_EXPAT}"
43151 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
43152 echo "                                       sdl                ${wxUSE_LIBSDL}"
43153
43154 echo ""
43155