Add all extra GTK libraries to GUI_TK_LIBRARY in configure.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21   emulate sh
22   NULLCMD=:
23   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24   # is contrary to our usage.  Disable this feature.
25   alias -g '${1+"$@"}'='"$@"'
26   setopt NO_GLOB_SUBST
27 else
28   case `(set -o) 2>/dev/null` in #(
29   *posix*) :
30     set -o posix ;; #(
31   *) :
32      ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='print -r --'
49   as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51   as_echo='printf %s\n'
52   as_echo_n='printf %s'
53 else
54   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56     as_echo_n='/usr/ucb/echo -n'
57   else
58     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59     as_echo_n_body='eval
60       arg=$1;
61       case $arg in #(
62       *"$as_nl"*)
63         expr "X$arg" : "X\\(.*\\)$as_nl";
64         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65       esac;
66       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67     '
68     export as_echo_n_body
69     as_echo_n='sh -c $as_echo_n_body as_echo'
70   fi
71   export as_echo_body
72   as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77   PATH_SEPARATOR=:
78   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80       PATH_SEPARATOR=';'
81   }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order.  Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" ""        $as_nl"
91
92 # Find who we are.  Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139   # into an infinite loop, continuously re-executing ourselves.
140   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141     _as_can_reexec=no; export _as_can_reexec;
142     # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150   *v*x* | *x*v* ) as_opts=-vx ;;
151   *v* ) as_opts=-v ;;
152   *x* ) as_opts=-x ;;
153   * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160   fi
161   # We don't want this to propagate to other subprocesses.
162           { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165   emulate sh
166   NULLCMD=:
167   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168   # is contrary to our usage.  Disable this feature.
169   alias -g '\${1+\"\$@\"}'='\"\$@\"'
170   setopt NO_GLOB_SUBST
171 else
172   case \`(set -o) 2>/dev/null\` in #(
173   *posix*) :
174     set -o posix ;; #(
175   *) :
176      ;;
177 esac
178 fi
179 "
180   as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194   exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203   if (eval "$as_required") 2>/dev/null; then :
204   as_have_required=yes
205 else
206   as_have_required=no
207 fi
208   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215   IFS=$as_save_IFS
216   test -z "$as_dir" && as_dir=.
217   as_found=:
218   case $as_dir in #(
219          /*)
220            for as_base in sh bash ksh sh5; do
221              # Try only shells that exist, to save several forks.
222              as_shell=$as_dir/$as_base
223              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225   CONFIG_SHELL=$as_shell as_have_required=yes
226                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227   break 2
228 fi
229 fi
230            done;;
231        esac
232   as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236   CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241       if test "x$CONFIG_SHELL" != x; then :
242   export CONFIG_SHELL
243              # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251   *v*x* | *x*v* ) as_opts=-vx ;;
252   *v* ) as_opts=-v ;;
253   *x* ) as_opts=-x ;;
254   * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263     if test x$as_have_required = xno; then :
264   $as_echo "$0: This script requires a shell more modern than all"
265   $as_echo "$0: the shells that I found on your system."
266   if test x${ZSH_VERSION+set} = xset ; then
267     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269   else
270     $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275   fi
276   exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294   { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303   return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311   set +e
312   as_fn_set_status $1
313   exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322   case $as_dir in #(
323   -*) as_dir=./$as_dir;;
324   esac
325   test -d "$as_dir" || eval $as_mkdir_p || {
326     as_dirs=
327     while :; do
328       case $as_dir in #(
329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330       *) as_qdir=$as_dir;;
331       esac
332       as_dirs="'$as_qdir' $as_dirs"
333       as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335          X"$as_dir" : 'X\(//\)[^/]' \| \
336          X"$as_dir" : 'X\(//\)$' \| \
337          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)[^/].*/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\).*/{
352             s//\1/
353             q
354           }
355           s/.*/./; q'`
356       test -d "$as_dir" && break
357     done
358     test -z "$as_dirs" || eval "mkdir $as_dirs"
359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369   test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378   eval 'as_fn_append ()
379   {
380     eval $1+=\$2
381   }'
382 else
383   as_fn_append ()
384   {
385     eval $1=\$$1\$2
386   }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395   eval 'as_fn_arith ()
396   {
397     as_val=$(( $* ))
398   }'
399 else
400   as_fn_arith ()
401   {
402     as_val=`expr "$@" || test $? -eq 1`
403   }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414   as_status=$1; test $as_status -eq 0 && as_status=1
415   if test "$4"; then
416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418   fi
419   $as_echo "$as_me: error: $2" >&2
420   as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
425   as_expr=expr
426 else
427   as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431   as_basename=basename
432 else
433   as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437   as_dirname=dirname
438 else
439   as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444          X"$0" : 'X\(//\)$' \| \
445          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447     sed '/^.*\/\([^/][^/]*\)\/*$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\/\)$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\).*/{
456             s//\1/
457             q
458           }
459           s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474   sed -n '
475     p
476     /[$]LINENO/=
477   ' <$as_myself |
478     sed '
479       s/[$]LINENO.*/&-/
480       t lineno
481       b
482       :lineno
483       N
484       :loop
485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486       t loop
487       s/-\n.*//
488     ' >$as_me.lineno &&
489   chmod +x "$as_me.lineno" ||
490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493   # already done that, so ensure we don't try to do so again and fall
494   # in an infinite loop.  This has already happened in practice.
495   _as_can_reexec=no; export _as_can_reexec
496   # Don't try to exec as it changes $[0], causing all sort of problems
497   # (the dirname of $[0] is not the place where we might find the
498   # original and so on.  Autoconf is especially sensitive to this).
499   . "./$as_me.lineno"
500   # Exit status is that of the last command.
501   exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507   case `echo 'xy\c'` in
508   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
509   xy)  ECHO_C='\c';;
510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511        ECHO_T=' ';;
512   esac;;
513 *)
514   ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519   rm -f conf$$.dir/conf$$.file
520 else
521   rm -f conf$$.dir
522   mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525   if ln -s conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s='ln -s'
527     # ... but there are two gotchas:
528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530     # In both cases, we have to default to `cp -pR'.
531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532       as_ln_s='cp -pR'
533   elif ln conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s=ln
535   else
536     as_ln_s='cp -pR'
537   fi
538 else
539   as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545   as_mkdir_p='mkdir -p "$as_dir"'
546 else
547   test -d ./-p && rmdir ./-p
548   as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 #  include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #  include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESPROGRAMOBJ
638 RESFLAGS
639 RESCOMP
640 WX_VERSION_TAG
641 DMALLOC_LIBS
642 OPENGL_LIBS
643 LDFLAGS_GL
644 SAMPLES_SUBDIRS
645 DISTDIR
646 GUIDIST
647 WXCONFIG_RESFLAGS
648 WXCONFIG_LDFLAGS_GUI
649 WXCONFIG_LDFLAGS
650 WXCONFIG_RPATH
651 WXCONFIG_LIBS
652 WXCONFIG_CXXFLAGS
653 WXCONFIG_CFLAGS
654 WXCONFIG_CPPFLAGS
655 WX_CHARTYPE
656 WX_SUBVERSION
657 WX_VERSION
658 WX_RELEASE
659 WIDGET_SET
660 cross_compiling
661 TOOLCHAIN_FULLNAME
662 TOOLCHAIN_NAME
663 TOOLKIT_DIR
664 TOOLKIT
665 WIN32INSTALL
666 AFMINSTALL
667 USE_GUI
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
670 SHARED
671 DEREZ
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
684 COND_WXUNIV_1
685 COND_WXUNIV_0
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
688 COND_USE_XRC_1
689 COND_USE_THREADS_1
690 COND_USE_THREADS_0
691 COND_USE_STC_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
694 COND_USE_SOVERSION_0
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
698 COND_USE_RTTI_1
699 COND_USE_RTTI_0
700 COND_USE_PLUGINS_0
701 COND_USE_PCH_1
702 COND_USE_OPENGL_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
712 COND_USE_GUI_1
713 COND_USE_GUI_0
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
716 COND_USE_CAIRO_1
717 COND_UNICODE_1
718 COND_TOOLKIT_X11_USE_GUI_1
719 COND_TOOLKIT_X11
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
723 COND_TOOLKIT_WINCE
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
726 COND_TOOLKIT_PM
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
737 COND_TOOLKIT_MSW
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
740 COND_TOOLKIT_MOTIF
741 COND_TOOLKIT_MAC
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
754 COND_TOOLKIT_GTK
755 COND_TOOLKIT_DFB_USE_GUI_1
756 COND_TOOLKIT_DFB
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
759 COND_TOOLKIT_COCOA
760 COND_TOOLKIT_
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
774 COND_SHARED_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
784 COND_PLATFORM_UNIX_1
785 COND_PLATFORM_UNIX_0
786 COND_PLATFORM_OS2_1
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MAC_1
790 COND_PLATFORM_MAC_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
814 COND_MONOLITHIC_1
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
851 COND_MONOLITHIC_0
852 COND_ICC_PCH_1
853 COND_GCC_PCH_1
854 COND_DEPS_TRACKING_1
855 COND_DEPS_TRACKING_0
856 COND_DEBUG_INFO_1
857 COND_DEBUG_INFO_0
858 COND_DEBUG_FLAG_1
859 COND_DEBUG_FLAG_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
863 COND_BUILD_release
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
868 COND_BUILD_debug
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
872 COND_BUILD_RELEASE
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
877 COND_BUILD_DEBUG
878 BK_MAKE_PCH
879 ICC_PCH_USE_SWITCH
880 ICC_PCH_CREATE_SWITCH
881 ICC_PCH
882 GCC_PCH
883 OBJCXXFLAGS
884 SETFILE
885 REZ
886 WINDRES
887 BK_DEPS
888 DEPS_TRACKING
889 SONAME_FLAG
890 USE_SOTWOSYMLINKS
891 USE_MACVERSION
892 USE_SOVERCYGWIN
893 USE_SOVERSOLARIS
894 USE_SOVERLINUX
895 USE_SOVERSION
896 WINDOWS_IMPLIB
897 PIC_FLAG
898 SHARED_LD_MODULE_CXX
899 SHARED_LD_MODULE_CC
900 SHARED_LD_CXX
901 SHARED_LD_CC
902 AIX_CXX_LD
903 dlldir
904 DLLPREFIX_MODULE
905 DLLPREFIX
906 LIBEXT
907 LIBPREFIX
908 DLLIMP_SUFFIX
909 SO_SUFFIX_MODULE
910 SO_SUFFIX
911 PLATFORM_BEOS
912 PLATFORM_OS2
913 PLATFORM_MACOSX
914 PLATFORM_MACOS
915 PLATFORM_MAC
916 PLATFORM_MSDOS
917 PLATFORM_WIN32
918 PLATFORM_UNIX
919 IF_GNU_MAKE
920 LDFLAGS_GUI
921 INSTALL_DIR
922 NM
923 STRIP
924 AROPTIONS
925 MAKE_SET
926 SET_MAKE
927 LN_S
928 INSTALL_DATA
929 INSTALL_SCRIPT
930 INSTALL_PROGRAM
931 RANLIB
932 CPPUNIT_LIBS
933 CPPUNIT_CFLAGS
934 HOST_SUFFIX
935 HEADER_PAD_OPTION
936 SAMPLES_RPATH_FLAG
937 DYLIB_RPATH_POSTLINK
938 DYLIB_RPATH_INSTALL
939 TOOLKIT_VERSION
940 TOOLKIT_LOWERCASE
941 DEBUG_FLAG
942 DEBUG_INFO
943 UNICODE
944 WITH_PLUGIN_SDL
945 EXTRALIBS_STC
946 EXTRALIBS_SDL
947 EXTRALIBS_OPENGL
948 EXTRALIBS_GUI
949 EXTRALIBS_MEDIA
950 EXTRALIBS_HTML
951 EXTRALIBS_XML
952 EXTRALIBS
953 CXXWARNINGS
954 USE_PLUGINS
955 MONOLITHIC
956 WXUNIV
957 WX_LIB_FLAVOUR
958 WX_FLAVOUR
959 OFFICIAL_BUILD
960 VENDOR
961 wxUSE_LIBTIFF
962 wxUSE_LIBPNG
963 wxUSE_LIBJPEG
964 wxUSE_EXPAT
965 wxUSE_REGEX
966 wxUSE_ZLIB
967 STD_GUI_LIBS
968 STD_BASE_LIBS
969 BUILT_WX_LIBS
970 ALL_WX_LIBS
971 GST_LIBS
972 GST_CFLAGS
973 CAIRO_LIBS
974 CAIRO_CFLAGS
975 WEBKIT_LIBS
976 WEBKIT_CFLAGS
977 COND_PYTHON
978 PYTHON
979 HILDON2_LIBS
980 HILDON2_CFLAGS
981 HILDON_LIBS
982 HILDON_CFLAGS
983 GNOMEVFS_LIBS
984 GNOMEVFS_CFLAGS
985 LIBGNOMEPRINTUI_LIBS
986 LIBGNOMEPRINTUI_CFLAGS
987 GTKPRINT_LIBS
988 GTKPRINT_CFLAGS
989 SDL_LIBS
990 SDL_CFLAGS
991 SDL_CONFIG
992 GXX_VERSION
993 LIBICONV
994 CXXFLAGS_VISIBILITY
995 CFLAGS_VISIBILITY
996 MesaGL_LIBS
997 MesaGL_CFLAGS
998 GLU_LIBS
999 GLU_CFLAGS
1000 GL_LIBS
1001 GL_CFLAGS
1002 SM_LIBS
1003 SM_CFLAGS
1004 Xxf86vm_LIBS
1005 Xxf86vm_CFLAGS
1006 Xinerama_LIBS
1007 Xinerama_CFLAGS
1008 PANGOXFT_LIBS
1009 PANGOXFT_CFLAGS
1010 PANGOFT2_LIBS
1011 PANGOFT2_CFLAGS
1012 PANGOX_LIBS
1013 PANGOX_CFLAGS
1014 X_EXTRA_LIBS
1015 X_LIBS
1016 X_PRE_LIBS
1017 X_CFLAGS
1018 XMKMF
1019 DIRECTFB_LIBS
1020 DIRECTFB_CFLAGS
1021 GTK_CONFIG
1022 GTK_LIBS
1023 GTK_CFLAGS
1024 PKG_CONFIG
1025 subdirs
1026 CXXCPP
1027 AR
1028 ac_ct_CXX
1029 CXXFLAGS
1030 CXX
1031 EGREP
1032 GREP
1033 CPP
1034 OBJEXT
1035 EXEEXT
1036 ac_ct_CC
1037 CPPFLAGS
1038 LDFLAGS
1039 CFLAGS
1040 CC
1041 wx_top_builddir
1042 host_os
1043 host_vendor
1044 host_cpu
1045 host
1046 build_os
1047 build_vendor
1048 build_cpu
1049 build
1050 target_alias
1051 host_alias
1052 build_alias
1053 LIBS
1054 ECHO_T
1055 ECHO_N
1056 ECHO_C
1057 DEFS
1058 mandir
1059 localedir
1060 libdir
1061 psdir
1062 pdfdir
1063 dvidir
1064 htmldir
1065 infodir
1066 docdir
1067 oldincludedir
1068 includedir
1069 localstatedir
1070 sharedstatedir
1071 sysconfdir
1072 datadir
1073 datarootdir
1074 libexecdir
1075 sbindir
1076 bindir
1077 program_transform_name
1078 prefix
1079 exec_prefix
1080 PACKAGE_URL
1081 PACKAGE_BUGREPORT
1082 PACKAGE_STRING
1083 PACKAGE_VERSION
1084 PACKAGE_TARNAME
1085 PACKAGE_NAME
1086 PATH_SEPARATOR
1087 SHELL'
1088 ac_subst_files=''
1089 ac_user_opts='
1090 enable_option_checking
1091 enable_gui
1092 enable_monolithic
1093 enable_plugins
1094 with_subdirs
1095 with_flavour
1096 enable_official_build
1097 enable_vendor
1098 enable_all_features
1099 enable_universal
1100 with_themes
1101 with_gtk
1102 with_motif
1103 with_osx_carbon
1104 with_osx_cocoa
1105 with_osx_iphone
1106 with_osx
1107 with_carbon
1108 with_cocoa
1109 with_iphone
1110 with_mac
1111 with_old_cocoa
1112 with_wine
1113 with_msw
1114 with_pm
1115 with_directfb
1116 with_microwin
1117 with_x11
1118 enable_nanox
1119 enable_gpe
1120 with_libpng
1121 with_libjpeg
1122 with_libtiff
1123 with_libxpm
1124 with_libiconv
1125 with_libmspack
1126 with_gtkprint
1127 with_gnomeprint
1128 with_gnomevfs
1129 with_hildon
1130 with_opengl
1131 with_dmalloc
1132 with_sdl
1133 with_regex
1134 with_zlib
1135 with_expat
1136 with_macosx_sdk
1137 with_macosx_version_min
1138 enable_debug
1139 enable_debug_flag
1140 enable_debug_info
1141 enable_debug_gdb
1142 enable_debug_cntxt
1143 enable_mem_tracing
1144 enable_shared
1145 enable_stl
1146 enable_std_containers
1147 enable_std_iostreams
1148 enable_std_string
1149 enable_std_string_conv_in_wxstring
1150 enable_unicode
1151 enable_mslu
1152 enable_utf8
1153 enable_utf8only
1154 enable_extended_rtti
1155 enable_omf
1156 enable_optimise
1157 enable_profile
1158 enable_no_rtti
1159 enable_no_exceptions
1160 enable_permissive
1161 enable_no_deps
1162 enable_vararg_macros
1163 enable_universal_binary
1164 enable_macosx_arch
1165 enable_compat26
1166 enable_compat28
1167 enable_rpath
1168 enable_objc_uniquifying
1169 enable_visibility
1170 enable_tls
1171 enable_intl
1172 enable_xlocale
1173 enable_config
1174 enable_protocols
1175 enable_ftp
1176 enable_http
1177 enable_fileproto
1178 enable_sockets
1179 enable_ipv6
1180 enable_ole
1181 enable_dataobj
1182 enable_ipc
1183 enable_baseevtloop
1184 enable_epollloop
1185 enable_selectloop
1186 enable_any
1187 enable_apple_ieee
1188 enable_arcstream
1189 enable_base64
1190 enable_backtrace
1191 enable_catch_segvs
1192 enable_cmdline
1193 enable_datetime
1194 enable_debugreport
1195 enable_dialupman
1196 enable_dynlib
1197 enable_dynamicloader
1198 enable_exceptions
1199 enable_ffile
1200 enable_file
1201 enable_filehistory
1202 enable_filesystem
1203 enable_fontenum
1204 enable_fontmap
1205 enable_fs_archive
1206 enable_fs_inet
1207 enable_fs_zip
1208 enable_fswatcher
1209 enable_geometry
1210 enable_log
1211 enable_longlong
1212 enable_mimetype
1213 enable_printfposparam
1214 enable_snglinst
1215 enable_sound
1216 enable_stdpaths
1217 enable_stopwatch
1218 enable_streams
1219 enable_sysoptions
1220 enable_tarstream
1221 enable_textbuf
1222 enable_textfile
1223 enable_timer
1224 enable_variant
1225 enable_zipstream
1226 enable_url
1227 enable_protocol
1228 enable_protocol_http
1229 enable_protocol_ftp
1230 enable_protocol_file
1231 enable_threads
1232 enable_iniconf
1233 enable_regkey
1234 enable_docview
1235 enable_help
1236 enable_mshtmlhelp
1237 enable_html
1238 enable_htmlhelp
1239 enable_xrc
1240 enable_aui
1241 enable_propgrid
1242 enable_ribbon
1243 enable_stc
1244 enable_constraints
1245 enable_loggui
1246 enable_logwin
1247 enable_logdialog
1248 enable_mdi
1249 enable_mdidoc
1250 enable_mediactrl
1251 enable_gstreamer8
1252 enable_richtext
1253 enable_postscript
1254 enable_printarch
1255 enable_svg
1256 enable_webkit
1257 enable_webview
1258 enable_graphics_ctx
1259 enable_clipboard
1260 enable_dnd
1261 enable_controls
1262 enable_markup
1263 enable_accel
1264 enable_animatectrl
1265 enable_bannerwindow
1266 enable_artstd
1267 enable_arttango
1268 enable_bmpbutton
1269 enable_bmpcombobox
1270 enable_button
1271 enable_calendar
1272 enable_caret
1273 enable_checkbox
1274 enable_checklst
1275 enable_choice
1276 enable_choicebook
1277 enable_collpane
1278 enable_colourpicker
1279 enable_combobox
1280 enable_comboctrl
1281 enable_commandlinkbutton
1282 enable_dataviewctrl
1283 enable_datepick
1284 enable_detect_sm
1285 enable_dirpicker
1286 enable_display
1287 enable_editablebox
1288 enable_filectrl
1289 enable_filepicker
1290 enable_fontpicker
1291 enable_gauge
1292 enable_grid
1293 enable_headerctrl
1294 enable_hyperlink
1295 enable_imaglist
1296 enable_infobar
1297 enable_listbook
1298 enable_listbox
1299 enable_listctrl
1300 enable_notebook
1301 enable_notifmsg
1302 enable_odcombobox
1303 enable_popupwin
1304 enable_radiobox
1305 enable_radiobtn
1306 enable_richmsgdlg
1307 enable_richtooltip
1308 enable_rearrangectrl
1309 enable_sash
1310 enable_scrollbar
1311 enable_searchctrl
1312 enable_slider
1313 enable_spinbtn
1314 enable_spinctrl
1315 enable_splitter
1316 enable_statbmp
1317 enable_statbox
1318 enable_statline
1319 enable_stattext
1320 enable_statusbar
1321 enable_taskbaricon
1322 enable_tbarnative
1323 enable_textctrl
1324 enable_tipwindow
1325 enable_togglebtn
1326 enable_toolbar
1327 enable_toolbook
1328 enable_treebook
1329 enable_treectrl
1330 enable_treelist
1331 enable_commondlg
1332 enable_aboutdlg
1333 enable_choicedlg
1334 enable_coldlg
1335 enable_filedlg
1336 enable_finddlg
1337 enable_fontdlg
1338 enable_dirdlg
1339 enable_msgdlg
1340 enable_numberdlg
1341 enable_splash
1342 enable_textdlg
1343 enable_tipdlg
1344 enable_progressdlg
1345 enable_wizarddlg
1346 enable_menus
1347 enable_miniframe
1348 enable_tooltips
1349 enable_splines
1350 enable_mousewheel
1351 enable_validators
1352 enable_busyinfo
1353 enable_hotkey
1354 enable_joystick
1355 enable_metafile
1356 enable_dragimage
1357 enable_accessibility
1358 enable_uiactionsim
1359 enable_dctransform
1360 enable_webviewwebkit
1361 enable_palette
1362 enable_image
1363 enable_gif
1364 enable_pcx
1365 enable_tga
1366 enable_iff
1367 enable_pnm
1368 enable_xpm
1369 enable_ico_cur
1370 enable_dccache
1371 enable_ps_in_msw
1372 enable_ownerdrawn
1373 enable_uxtheme
1374 enable_wxdib
1375 enable_webviewie
1376 enable_autoidman
1377 enable_largefile
1378 enable_gtktest
1379 with_gtk_prefix
1380 with_gtk_exec_prefix
1381 with_x
1382 with_libiconv_prefix
1383 with_sdl_prefix
1384 with_sdl_exec_prefix
1385 enable_sdltest
1386 enable_dependency_tracking
1387 enable_precomp_headers
1388 with_cppunit_prefix
1389 with_cppunit_exec_prefix
1390 '
1391       ac_precious_vars='build_alias
1392 host_alias
1393 target_alias
1394 CC
1395 CFLAGS
1396 LDFLAGS
1397 LIBS
1398 CPPFLAGS
1399 CPP
1400 CXX
1401 CXXFLAGS
1402 CCC
1403 CXXCPP
1404 PKG_CONFIG
1405 DIRECTFB_CFLAGS
1406 DIRECTFB_LIBS
1407 XMKMF
1408 PANGOX_CFLAGS
1409 PANGOX_LIBS
1410 PANGOFT2_CFLAGS
1411 PANGOFT2_LIBS
1412 PANGOXFT_CFLAGS
1413 PANGOXFT_LIBS
1414 Xinerama_CFLAGS
1415 Xinerama_LIBS
1416 Xxf86vm_CFLAGS
1417 Xxf86vm_LIBS
1418 SM_CFLAGS
1419 SM_LIBS
1420 GL_CFLAGS
1421 GL_LIBS
1422 GLU_CFLAGS
1423 GLU_LIBS
1424 MesaGL_CFLAGS
1425 MesaGL_LIBS
1426 GTKPRINT_CFLAGS
1427 GTKPRINT_LIBS
1428 LIBGNOMEPRINTUI_CFLAGS
1429 LIBGNOMEPRINTUI_LIBS
1430 GNOMEVFS_CFLAGS
1431 GNOMEVFS_LIBS
1432 HILDON_CFLAGS
1433 HILDON_LIBS
1434 HILDON2_CFLAGS
1435 HILDON2_LIBS
1436 WEBKIT_CFLAGS
1437 WEBKIT_LIBS
1438 CAIRO_CFLAGS
1439 CAIRO_LIBS
1440 GST_CFLAGS
1441 GST_LIBS'
1442 ac_subdirs_all='src/tiff
1443 src/expat'
1444
1445 # Initialize some variables set by options.
1446 ac_init_help=
1447 ac_init_version=false
1448 ac_unrecognized_opts=
1449 ac_unrecognized_sep=
1450 # The variables have the same names as the options, with
1451 # dashes changed to underlines.
1452 cache_file=/dev/null
1453 exec_prefix=NONE
1454 no_create=
1455 no_recursion=
1456 prefix=NONE
1457 program_prefix=NONE
1458 program_suffix=NONE
1459 program_transform_name=s,x,x,
1460 silent=
1461 site=
1462 srcdir=
1463 verbose=
1464 x_includes=NONE
1465 x_libraries=NONE
1466
1467 # Installation directory options.
1468 # These are left unexpanded so users can "make install exec_prefix=/foo"
1469 # and all the variables that are supposed to be based on exec_prefix
1470 # by default will actually change.
1471 # Use braces instead of parens because sh, perl, etc. also accept them.
1472 # (The list follows the same order as the GNU Coding Standards.)
1473 bindir='${exec_prefix}/bin'
1474 sbindir='${exec_prefix}/sbin'
1475 libexecdir='${exec_prefix}/libexec'
1476 datarootdir='${prefix}/share'
1477 datadir='${datarootdir}'
1478 sysconfdir='${prefix}/etc'
1479 sharedstatedir='${prefix}/com'
1480 localstatedir='${prefix}/var'
1481 includedir='${prefix}/include'
1482 oldincludedir='/usr/include'
1483 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1484 infodir='${datarootdir}/info'
1485 htmldir='${docdir}'
1486 dvidir='${docdir}'
1487 pdfdir='${docdir}'
1488 psdir='${docdir}'
1489 libdir='${exec_prefix}/lib'
1490 localedir='${datarootdir}/locale'
1491 mandir='${datarootdir}/man'
1492
1493 ac_prev=
1494 ac_dashdash=
1495 for ac_option
1496 do
1497   # If the previous option needs an argument, assign it.
1498   if test -n "$ac_prev"; then
1499     eval $ac_prev=\$ac_option
1500     ac_prev=
1501     continue
1502   fi
1503
1504   case $ac_option in
1505   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1506   *=)   ac_optarg= ;;
1507   *)    ac_optarg=yes ;;
1508   esac
1509
1510   # Accept the important Cygnus configure options, so we can diagnose typos.
1511
1512   case $ac_dashdash$ac_option in
1513   --)
1514     ac_dashdash=yes ;;
1515
1516   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1517     ac_prev=bindir ;;
1518   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1519     bindir=$ac_optarg ;;
1520
1521   -build | --build | --buil | --bui | --bu)
1522     ac_prev=build_alias ;;
1523   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1524     build_alias=$ac_optarg ;;
1525
1526   -cache-file | --cache-file | --cache-fil | --cache-fi \
1527   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1528     ac_prev=cache_file ;;
1529   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1530   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1531     cache_file=$ac_optarg ;;
1532
1533   --config-cache | -C)
1534     cache_file=config.cache ;;
1535
1536   -datadir | --datadir | --datadi | --datad)
1537     ac_prev=datadir ;;
1538   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1539     datadir=$ac_optarg ;;
1540
1541   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1542   | --dataroo | --dataro | --datar)
1543     ac_prev=datarootdir ;;
1544   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1545   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1546     datarootdir=$ac_optarg ;;
1547
1548   -disable-* | --disable-*)
1549     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1550     # Reject names that are not valid shell variable names.
1551     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1552       as_fn_error $? "invalid feature name: $ac_useropt"
1553     ac_useropt_orig=$ac_useropt
1554     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1555     case $ac_user_opts in
1556       *"
1557 "enable_$ac_useropt"
1558 "*) ;;
1559       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1560          ac_unrecognized_sep=', ';;
1561     esac
1562     eval enable_$ac_useropt=no ;;
1563
1564   -docdir | --docdir | --docdi | --doc | --do)
1565     ac_prev=docdir ;;
1566   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1567     docdir=$ac_optarg ;;
1568
1569   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1570     ac_prev=dvidir ;;
1571   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1572     dvidir=$ac_optarg ;;
1573
1574   -enable-* | --enable-*)
1575     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1576     # Reject names that are not valid shell variable names.
1577     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1578       as_fn_error $? "invalid feature name: $ac_useropt"
1579     ac_useropt_orig=$ac_useropt
1580     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1581     case $ac_user_opts in
1582       *"
1583 "enable_$ac_useropt"
1584 "*) ;;
1585       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1586          ac_unrecognized_sep=', ';;
1587     esac
1588     eval enable_$ac_useropt=\$ac_optarg ;;
1589
1590   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1591   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1592   | --exec | --exe | --ex)
1593     ac_prev=exec_prefix ;;
1594   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1595   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1596   | --exec=* | --exe=* | --ex=*)
1597     exec_prefix=$ac_optarg ;;
1598
1599   -gas | --gas | --ga | --g)
1600     # Obsolete; use --with-gas.
1601     with_gas=yes ;;
1602
1603   -help | --help | --hel | --he | -h)
1604     ac_init_help=long ;;
1605   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1606     ac_init_help=recursive ;;
1607   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1608     ac_init_help=short ;;
1609
1610   -host | --host | --hos | --ho)
1611     ac_prev=host_alias ;;
1612   -host=* | --host=* | --hos=* | --ho=*)
1613     host_alias=$ac_optarg ;;
1614
1615   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1616     ac_prev=htmldir ;;
1617   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1618   | --ht=*)
1619     htmldir=$ac_optarg ;;
1620
1621   -includedir | --includedir | --includedi | --included | --include \
1622   | --includ | --inclu | --incl | --inc)
1623     ac_prev=includedir ;;
1624   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1625   | --includ=* | --inclu=* | --incl=* | --inc=*)
1626     includedir=$ac_optarg ;;
1627
1628   -infodir | --infodir | --infodi | --infod | --info | --inf)
1629     ac_prev=infodir ;;
1630   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1631     infodir=$ac_optarg ;;
1632
1633   -libdir | --libdir | --libdi | --libd)
1634     ac_prev=libdir ;;
1635   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1636     libdir=$ac_optarg ;;
1637
1638   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1639   | --libexe | --libex | --libe)
1640     ac_prev=libexecdir ;;
1641   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1642   | --libexe=* | --libex=* | --libe=*)
1643     libexecdir=$ac_optarg ;;
1644
1645   -localedir | --localedir | --localedi | --localed | --locale)
1646     ac_prev=localedir ;;
1647   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1648     localedir=$ac_optarg ;;
1649
1650   -localstatedir | --localstatedir | --localstatedi | --localstated \
1651   | --localstate | --localstat | --localsta | --localst | --locals)
1652     ac_prev=localstatedir ;;
1653   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1654   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1655     localstatedir=$ac_optarg ;;
1656
1657   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1658     ac_prev=mandir ;;
1659   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1660     mandir=$ac_optarg ;;
1661
1662   -nfp | --nfp | --nf)
1663     # Obsolete; use --without-fp.
1664     with_fp=no ;;
1665
1666   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1667   | --no-cr | --no-c | -n)
1668     no_create=yes ;;
1669
1670   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1671   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1672     no_recursion=yes ;;
1673
1674   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1675   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1676   | --oldin | --oldi | --old | --ol | --o)
1677     ac_prev=oldincludedir ;;
1678   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1679   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1680   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1681     oldincludedir=$ac_optarg ;;
1682
1683   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1684     ac_prev=prefix ;;
1685   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1686     prefix=$ac_optarg ;;
1687
1688   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1689   | --program-pre | --program-pr | --program-p)
1690     ac_prev=program_prefix ;;
1691   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1692   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1693     program_prefix=$ac_optarg ;;
1694
1695   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1696   | --program-suf | --program-su | --program-s)
1697     ac_prev=program_suffix ;;
1698   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1699   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1700     program_suffix=$ac_optarg ;;
1701
1702   -program-transform-name | --program-transform-name \
1703   | --program-transform-nam | --program-transform-na \
1704   | --program-transform-n | --program-transform- \
1705   | --program-transform | --program-transfor \
1706   | --program-transfo | --program-transf \
1707   | --program-trans | --program-tran \
1708   | --progr-tra | --program-tr | --program-t)
1709     ac_prev=program_transform_name ;;
1710   -program-transform-name=* | --program-transform-name=* \
1711   | --program-transform-nam=* | --program-transform-na=* \
1712   | --program-transform-n=* | --program-transform-=* \
1713   | --program-transform=* | --program-transfor=* \
1714   | --program-transfo=* | --program-transf=* \
1715   | --program-trans=* | --program-tran=* \
1716   | --progr-tra=* | --program-tr=* | --program-t=*)
1717     program_transform_name=$ac_optarg ;;
1718
1719   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1720     ac_prev=pdfdir ;;
1721   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1722     pdfdir=$ac_optarg ;;
1723
1724   -psdir | --psdir | --psdi | --psd | --ps)
1725     ac_prev=psdir ;;
1726   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1727     psdir=$ac_optarg ;;
1728
1729   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730   | -silent | --silent | --silen | --sile | --sil)
1731     silent=yes ;;
1732
1733   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1734     ac_prev=sbindir ;;
1735   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1736   | --sbi=* | --sb=*)
1737     sbindir=$ac_optarg ;;
1738
1739   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1740   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1741   | --sharedst | --shareds | --shared | --share | --shar \
1742   | --sha | --sh)
1743     ac_prev=sharedstatedir ;;
1744   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1745   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1746   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1747   | --sha=* | --sh=*)
1748     sharedstatedir=$ac_optarg ;;
1749
1750   -site | --site | --sit)
1751     ac_prev=site ;;
1752   -site=* | --site=* | --sit=*)
1753     site=$ac_optarg ;;
1754
1755   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1756     ac_prev=srcdir ;;
1757   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1758     srcdir=$ac_optarg ;;
1759
1760   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1761   | --syscon | --sysco | --sysc | --sys | --sy)
1762     ac_prev=sysconfdir ;;
1763   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1764   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1765     sysconfdir=$ac_optarg ;;
1766
1767   -target | --target | --targe | --targ | --tar | --ta | --t)
1768     ac_prev=target_alias ;;
1769   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1770     target_alias=$ac_optarg ;;
1771
1772   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1773     verbose=yes ;;
1774
1775   -version | --version | --versio | --versi | --vers | -V)
1776     ac_init_version=: ;;
1777
1778   -with-* | --with-*)
1779     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1780     # Reject names that are not valid shell variable names.
1781     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1782       as_fn_error $? "invalid package name: $ac_useropt"
1783     ac_useropt_orig=$ac_useropt
1784     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785     case $ac_user_opts in
1786       *"
1787 "with_$ac_useropt"
1788 "*) ;;
1789       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1790          ac_unrecognized_sep=', ';;
1791     esac
1792     eval with_$ac_useropt=\$ac_optarg ;;
1793
1794   -without-* | --without-*)
1795     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1796     # Reject names that are not valid shell variable names.
1797     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798       as_fn_error $? "invalid package name: $ac_useropt"
1799     ac_useropt_orig=$ac_useropt
1800     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801     case $ac_user_opts in
1802       *"
1803 "with_$ac_useropt"
1804 "*) ;;
1805       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1806          ac_unrecognized_sep=', ';;
1807     esac
1808     eval with_$ac_useropt=no ;;
1809
1810   --x)
1811     # Obsolete; use --with-x.
1812     with_x=yes ;;
1813
1814   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1815   | --x-incl | --x-inc | --x-in | --x-i)
1816     ac_prev=x_includes ;;
1817   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1818   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1819     x_includes=$ac_optarg ;;
1820
1821   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1822   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1823     ac_prev=x_libraries ;;
1824   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1825   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1826     x_libraries=$ac_optarg ;;
1827
1828   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1829 Try \`$0 --help' for more information"
1830     ;;
1831
1832   *=*)
1833     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1834     # Reject names that are not valid shell variable names.
1835     case $ac_envvar in #(
1836       '' | [0-9]* | *[!_$as_cr_alnum]* )
1837       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1838     esac
1839     eval $ac_envvar=\$ac_optarg
1840     export $ac_envvar ;;
1841
1842   *)
1843     # FIXME: should be removed in autoconf 3.0.
1844     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1845     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1846       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1847     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1848     ;;
1849
1850   esac
1851 done
1852
1853 if test -n "$ac_prev"; then
1854   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1855   as_fn_error $? "missing argument to $ac_option"
1856 fi
1857
1858 if test -n "$ac_unrecognized_opts"; then
1859   case $enable_option_checking in
1860     no) ;;
1861     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1862     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1863   esac
1864 fi
1865
1866 # Check all directory arguments for consistency.
1867 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1868                 datadir sysconfdir sharedstatedir localstatedir includedir \
1869                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1870                 libdir localedir mandir
1871 do
1872   eval ac_val=\$$ac_var
1873   # Remove trailing slashes.
1874   case $ac_val in
1875     */ )
1876       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1877       eval $ac_var=\$ac_val;;
1878   esac
1879   # Be sure to have absolute directory names.
1880   case $ac_val in
1881     [\\/$]* | ?:[\\/]* )  continue;;
1882     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1883   esac
1884   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1885 done
1886
1887 # There might be people who depend on the old broken behavior: `$host'
1888 # used to hold the argument of --host etc.
1889 # FIXME: To remove some day.
1890 build=$build_alias
1891 host=$host_alias
1892 target=$target_alias
1893
1894 # FIXME: To remove some day.
1895 if test "x$host_alias" != x; then
1896   if test "x$build_alias" = x; then
1897     cross_compiling=maybe
1898   elif test "x$build_alias" != "x$host_alias"; then
1899     cross_compiling=yes
1900   fi
1901 fi
1902
1903 ac_tool_prefix=
1904 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1905
1906 test "$silent" = yes && exec 6>/dev/null
1907
1908
1909 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1910 ac_ls_di=`ls -di .` &&
1911 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1912   as_fn_error $? "working directory cannot be determined"
1913 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1914   as_fn_error $? "pwd does not report name of working directory"
1915
1916
1917 # Find the source files, if location was not specified.
1918 if test -z "$srcdir"; then
1919   ac_srcdir_defaulted=yes
1920   # Try the directory containing this script, then the parent directory.
1921   ac_confdir=`$as_dirname -- "$as_myself" ||
1922 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1923          X"$as_myself" : 'X\(//\)[^/]' \| \
1924          X"$as_myself" : 'X\(//\)$' \| \
1925          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1926 $as_echo X"$as_myself" |
1927     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1928             s//\1/
1929             q
1930           }
1931           /^X\(\/\/\)[^/].*/{
1932             s//\1/
1933             q
1934           }
1935           /^X\(\/\/\)$/{
1936             s//\1/
1937             q
1938           }
1939           /^X\(\/\).*/{
1940             s//\1/
1941             q
1942           }
1943           s/.*/./; q'`
1944   srcdir=$ac_confdir
1945   if test ! -r "$srcdir/$ac_unique_file"; then
1946     srcdir=..
1947   fi
1948 else
1949   ac_srcdir_defaulted=no
1950 fi
1951 if test ! -r "$srcdir/$ac_unique_file"; then
1952   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1953   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1954 fi
1955 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1956 ac_abs_confdir=`(
1957         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1958         pwd)`
1959 # When building in place, set srcdir=.
1960 if test "$ac_abs_confdir" = "$ac_pwd"; then
1961   srcdir=.
1962 fi
1963 # Remove unnecessary trailing slashes from srcdir.
1964 # Double slashes in file names in object file debugging info
1965 # mess up M-x gdb in Emacs.
1966 case $srcdir in
1967 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1968 esac
1969 for ac_var in $ac_precious_vars; do
1970   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1971   eval ac_env_${ac_var}_value=\$${ac_var}
1972   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1973   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1974 done
1975
1976 #
1977 # Report the --help message.
1978 #
1979 if test "$ac_init_help" = "long"; then
1980   # Omit some internal or obsolete options to make the list less imposing.
1981   # This message is too long to be a string in the A/UX 3.1 sh.
1982   cat <<_ACEOF
1983 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1984
1985 Usage: $0 [OPTION]... [VAR=VALUE]...
1986
1987 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1988 VAR=VALUE.  See below for descriptions of some of the useful variables.
1989
1990 Defaults for the options are specified in brackets.
1991
1992 Configuration:
1993   -h, --help              display this help and exit
1994       --help=short        display options specific to this package
1995       --help=recursive    display the short help of all the included packages
1996   -V, --version           display version information and exit
1997   -q, --quiet, --silent   do not print \`checking ...' messages
1998       --cache-file=FILE   cache test results in FILE [disabled]
1999   -C, --config-cache      alias for \`--cache-file=config.cache'
2000   -n, --no-create         do not create output files
2001       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2002
2003 Installation directories:
2004   --prefix=PREFIX         install architecture-independent files in PREFIX
2005                           [$ac_default_prefix]
2006   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2007                           [PREFIX]
2008
2009 By default, \`make install' will install all the files in
2010 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2011 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2012 for instance \`--prefix=\$HOME'.
2013
2014 For better control, use the options below.
2015
2016 Fine tuning of the installation directories:
2017   --bindir=DIR            user executables [EPREFIX/bin]
2018   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2019   --libexecdir=DIR        program executables [EPREFIX/libexec]
2020   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2021   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2022   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2023   --libdir=DIR            object code libraries [EPREFIX/lib]
2024   --includedir=DIR        C header files [PREFIX/include]
2025   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2026   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2027   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2028   --infodir=DIR           info documentation [DATAROOTDIR/info]
2029   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2030   --mandir=DIR            man documentation [DATAROOTDIR/man]
2031   --docdir=DIR            documentation root [DATAROOTDIR/doc/wxwidgets]
2032   --htmldir=DIR           html documentation [DOCDIR]
2033   --dvidir=DIR            dvi documentation [DOCDIR]
2034   --pdfdir=DIR            pdf documentation [DOCDIR]
2035   --psdir=DIR             ps documentation [DOCDIR]
2036 _ACEOF
2037
2038   cat <<\_ACEOF
2039
2040 X features:
2041   --x-includes=DIR    X include files are in DIR
2042   --x-libraries=DIR   X library files are in DIR
2043
2044 System types:
2045   --build=BUILD     configure for building on BUILD [guessed]
2046   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2047 _ACEOF
2048 fi
2049
2050 if test -n "$ac_init_help"; then
2051   case $ac_init_help in
2052      short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2053    esac
2054   cat <<\_ACEOF
2055
2056 Optional Features:
2057   --disable-option-checking  ignore unrecognized --enable/--with options
2058   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2059   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2060   --disable-gui           don't build GUI parts of the library
2061   --enable-monolithic     build wxWidgets as single library
2062   --enable-plugins        build parts of wxWidgets as loadable components
2063   --enable-official_build official build of wxWidgets (win32 DLL only)
2064   --enable-vendor=VENDOR  vendor name (win32 DLL only)
2065   --disable-all-features  disable all optional features to build minimal library
2066   --enable-universal      use wxWidgets GUI controls instead of native ones
2067   --enable-nanox          use NanoX
2068   --enable-gpe            use GNOME PDA Environment features if possible
2069   --enable-debug          build library for debugging
2070   --disable-debug_flag    disable all debugging support
2071   --enable-debug_info     generate debug information
2072   --enable-debug_gdb      create code with extra GDB debugging information
2073   --enable-debug_cntxt    obsolete, don't use: use wxDebugContext
2074   --enable-mem_tracing    obsolete, don't use: create code with memory tracing
2075   --disable-shared        create static library instead of shared
2076   --enable-stl            use standard C++ classes for everything
2077   --enable-std_containers use standard C++ container classes
2078   --enable-std_iostreams  use standard C++ stream classes
2079   --enable-std_string     use standard C++ string classes
2080  --enable-std_string_conv_in_wxstring     provide implicit conversion to std::string in wxString
2081   --disable-unicode       compile without Unicode support
2082   --enable-mslu           use MS Layer for Unicode on Windows 9x (Win32 only)
2083   --enable-utf8           use UTF-8 representation for strings (Unix only)
2084   --enable-utf8only       only support UTF-8 locales in UTF-8 build (Unix only)
2085   --enable-extended_rtti  use extended RTTI (XTI)
2086   --enable-omf            use OMF object format
2087   --disable-optimise      compile without optimisations
2088   --enable-profile        create code with profiling information
2089   --enable-no_rtti        create code without RTTI information
2090   --enable-no_exceptions  create code without C++ exceptions handling
2091   --enable-permissive     compile code disregarding strict ANSI
2092   --enable-no_deps        create code without dependency information
2093   --disable-vararg_macros don't use vararg macros, even if they are supported
2094   --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2095   --enable-macosx_arch=ARCH  build for just the specified architecture
2096   --enable-compat26       enable wxWidgets 2.6 compatibility
2097   --disable-compat28      disable wxWidgets 2.8 compatibility
2098   --disable-rpath         disable use of rpath for uninstalled builds
2099   --enable-objc_uniquifying enable Objective-C class name uniquifying
2100   --disable-visibility    disable use of ELF symbols visibility even if supported
2101   --disable-tls           disable use of compiler TLS support
2102   --enable-intl           use internationalization system
2103   --enable-xlocale        use x-locale support (requires wxLocale)
2104   --enable-config         use wxConfig (and derived) classes
2105   --enable-protocols      use wxProtocol and derived classes
2106   --enable-ftp            use wxFTP (requires wxProtocol
2107   --enable-http           use wxHTTP (requires wxProtocol
2108   --enable-fileproto      use wxFileProto class (requires wxProtocol
2109   --enable-sockets        use socket/network classes
2110   --enable-ipv6           enable IPv6 support in wxSocket
2111   --enable-ole            use OLE classes (Win32 only)
2112   --enable-dataobj        use data object classes
2113   --enable-ipc            use interprocess communication (wxSocket etc.)
2114   --enable-baseevtloop    use event loop in console programs too
2115   --enable-epollloop      use wxEpollDispatcher class (Linux only)
2116   --enable-selectloop     use wxSelectDispatcher class
2117   --enable-any            use wxAny class
2118   --enable-apple_ieee     use the Apple IEEE codec
2119   --enable-arcstream      use wxArchive streams
2120   --enable-base64         use base64 encoding/decoding functions
2121   --enable-backtrace      use wxStackWalker class for getting backtraces
2122   --enable-catch_segvs    catch signals in wxApp::OnFatalException (Unix only)
2123   --enable-cmdline        use wxCmdLineParser class
2124   --enable-datetime       use wxDateTime class
2125   --enable-debugreport    use wxDebugReport class
2126   --enable-dialupman      use dialup network classes
2127   --enable-dynlib         use wxLibrary class for DLL loading
2128   --enable-dynamicloader  use (new) wxDynamicLibrary class
2129   --enable-exceptions     build exception-safe library
2130   --enable-ffile          use wxFFile class
2131   --enable-file           use wxFile class
2132   --enable-filehistory    use wxFileHistory class
2133   --enable-filesystem     use virtual file systems classes
2134   --enable-fontenum       use wxFontEnumerator class
2135   --enable-fontmap        use font encodings conversion classes
2136   --enable-fs_archive     use virtual archive filesystems
2137   --enable-fs_inet        use virtual HTTP/FTP filesystems
2138   --enable-fs_zip         now replaced by fs_archive
2139   --enable-fswatcher      use wxFileSystemWatcher class
2140   --enable-geometry       use geometry class
2141   --enable-log            use logging system
2142   --enable-longlong       use wxLongLong class
2143   --enable-mimetype       use wxMimeTypesManager
2144   --enable-printfposparam use wxVsnprintf() which supports positional parameters
2145   --enable-snglinst       use wxSingleInstanceChecker class
2146   --enable-sound          use wxSound class
2147   --enable-stdpaths       use wxStandardPaths class
2148   --enable-stopwatch      use wxStopWatch class
2149   --enable-streams        use wxStream etc classes
2150   --enable-sysoptions     use wxSystemOptions
2151   --enable-tarstream      use wxTar streams
2152   --enable-textbuf        use wxTextBuffer class
2153   --enable-textfile       use wxTextFile class
2154   --enable-timer          use wxTimer class
2155   --enable-variant        use wxVariant class
2156   --enable-zipstream      use wxZip streams
2157   --enable-url            use wxURL class
2158   --enable-protocol       use wxProtocol class
2159   --enable-protocol-http  HTTP support in wxProtocol
2160   --enable-protocol-ftp   FTP support in wxProtocol
2161   --enable-protocol-file  FILE support in wxProtocol
2162   --enable-threads        use threads
2163   --enable-iniconf        use wxIniConfig (Win32 only)
2164   --enable-regkey         use wxRegKey class (Win32 only)
2165   --enable-docview        use document view architecture
2166   --enable-help           use help subsystem
2167   --enable-mshtmlhelp     use MS HTML Help (win32)
2168   --enable-html           use wxHTML sub-library
2169   --enable-htmlhelp       use wxHTML-based help
2170   --enable-xrc            use XRC resources sub-library
2171   --enable-aui            use AUI docking library
2172   --enable-propgrid       use wxPropertyGrid library
2173   --enable-ribbon         use wxRibbon library
2174   --enable-stc            use wxStyledTextCtrl library
2175   --enable-constraints    use layout-constraints system
2176   --enable-loggui         use standard GUI logger
2177   --enable-logwin         use wxLogWindow
2178   --enable-logdialog      use wxLogDialog
2179   --enable-mdi            use multiple document interface architecture
2180   --enable-mdidoc         use docview architecture with MDI
2181   --enable-mediactrl      use wxMediaCtrl class
2182   --enable-gstreamer8     force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2183   --enable-richtext       use wxRichTextCtrl
2184   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
2185   --enable-printarch      use printing architecture
2186   --enable-svg            use wxSVGFileDC device context
2187   --enable-webkit         use wxWebKitCtrl (Mac-only, use wxWebView instead)
2188   --enable-webview        use wxWebView library
2189   --enable-graphics_ctx   use graphics context 2D drawing API
2190   --enable-clipboard      use wxClipboard class
2191   --enable-dnd            use Drag'n'Drop classes
2192   --disable-controls      disable compilation of all standard controls
2193   --enable-markup         support wxControl::SetLabelMarkup
2194   --enable-accel          use accelerators
2195   --enable-animatectrl    use wxAnimationCtrl class
2196   --enable-bannerwindow   use wxBannerWindow class
2197   --enable-artstd         use standard XPM icons in wxArtProvider
2198   --enable-arttango       use Tango icons in wxArtProvider
2199   --enable-bmpbutton      use wxBitmapButton class
2200   --enable-bmpcombobox    use wxBitmapComboBox class
2201   --enable-button         use wxButton class
2202   --enable-calendar       use wxCalendarCtrl class
2203   --enable-caret          use wxCaret class
2204   --enable-checkbox       use wxCheckBox class
2205   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
2206   --enable-choice         use wxChoice class
2207   --enable-choicebook     use wxChoicebook class
2208   --enable-collpane       use wxCollapsiblePane class
2209   --enable-colourpicker   use wxColourPickerCtrl class
2210   --enable-combobox       use wxComboBox class
2211   --enable-comboctrl      use wxComboCtrl class
2212   --enable-commandlinkbutton      use wxCommmandLinkButton class
2213   --enable-dataviewctrl   use wxDataViewCtrl class
2214   --enable-datepick       use wxDatePickerCtrl class
2215   --enable-detect_sm      use code to detect X11 session manager
2216   --enable-dirpicker      use wxDirPickerCtrl class
2217   --enable-display        use wxDisplay class
2218   --enable-editablebox    use wxEditableListBox class
2219   --enable-filectrl       use wxFileCtrl class
2220   --enable-filepicker     use wxFilePickerCtrl class
2221   --enable-fontpicker     use wxFontPickerCtrl class
2222   --enable-gauge          use wxGauge class
2223   --enable-grid           use wxGrid class
2224   --enable-headerctrl     use wxHeaderCtrl class
2225   --enable-hyperlink      use wxHyperlinkCtrl class
2226   --enable-imaglist       use wxImageList class
2227   --enable-infobar        use wxInfoBar class
2228   --enable-listbook       use wxListbook class
2229   --enable-listbox        use wxListBox class
2230   --enable-listctrl       use wxListCtrl class
2231   --enable-notebook       use wxNotebook class
2232   --enable-notifmsg       use wxNotificationMessage class
2233   --enable-odcombobox     use wxOwnerDrawnComboBox class
2234   --enable-popupwin       use wxPopUpWindow class
2235   --enable-radiobox       use wxRadioBox class
2236   --enable-radiobtn       use wxRadioButton class
2237   --enable-richmsgdlg     use wxRichMessageDialog class
2238   --enable-richtooltip    use wxRichToolTip class
2239   --enable-rearrangectrl  use wxRearrangeList/Ctrl/Dialog
2240   --enable-sash           use wxSashWindow class
2241   --enable-scrollbar      use wxScrollBar class and scrollable windows
2242   --enable-searchctrl     use wxSearchCtrl class
2243   --enable-slider         use wxSlider class
2244   --enable-spinbtn        use wxSpinButton class
2245   --enable-spinctrl       use wxSpinCtrl class
2246   --enable-splitter       use wxSplitterWindow class
2247   --enable-statbmp        use wxStaticBitmap class
2248   --enable-statbox        use wxStaticBox class
2249   --enable-statline       use wxStaticLine class
2250   --enable-stattext       use wxStaticText class
2251   --enable-statusbar      use wxStatusBar class
2252   --enable-taskbaricon    use wxTaskBarIcon class
2253   --enable-tbarnative     use native wxToolBar class
2254   --enable-textctrl       use wxTextCtrl class
2255   --enable-timepick       use wxTimePickerCtrl class
2256   --enable-tipwindow      use wxTipWindow class
2257   --enable-togglebtn      use wxToggleButton class
2258   --enable-toolbar        use wxToolBar class
2259   --enable-toolbook       use wxToolbook class
2260   --enable-treebook       use wxTreebook class
2261   --enable-treectrl       use wxTreeCtrl class
2262   --enable-treelist       use wxTreeListCtrl class
2263   --enable-commondlg      use all common dialogs
2264   --enable-aboutdlg       use wxAboutBox
2265   --enable-choicedlg      use wxChoiceDialog
2266   --enable-coldlg         use wxColourDialog
2267   --enable-filedlg        use wxFileDialog
2268   --enable-finddlg        use wxFindReplaceDialog
2269   --enable-fontdlg        use wxFontDialog
2270   --enable-dirdlg         use wxDirDialog
2271   --enable-msgdlg         use wxMessageDialog
2272   --enable-numberdlg      use wxNumberEntryDialog
2273   --enable-splash         use wxSplashScreen
2274   --enable-textdlg        use wxTextDialog
2275   --enable-tipdlg         use startup tips
2276   --enable-progressdlg    use wxProgressDialog
2277   --enable-wizarddlg      use wxWizard
2278   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
2279   --enable-miniframe      use wxMiniFrame class
2280   --enable-tooltips       use wxToolTip class
2281   --enable-splines        use spline drawing code
2282   --enable-mousewheel     use mousewheel
2283   --enable-validators     use wxValidator and derived classes
2284   --enable-busyinfo       use wxBusyInfo
2285   --enable-hotkey         use wxWindow::RegisterHotKey()
2286   --enable-joystick       use wxJoystick
2287   --enable-metafiles      use wxMetaFile
2288   --enable-dragimage      use wxDragImage
2289   --enable-accessibility  enable accessibility support
2290   --enable-uiactionsim    use wxUIActionSimulator (experimental)
2291   --enable-dctransform    use wxDC::SetTransformMatrix and related
2292   --enable-webview_webkit use wxWebView WebKit backend
2293   --enable-palette        use wxPalette class
2294   --enable-image          use wxImage class
2295   --enable-gif            use gif images (GIF file format)
2296   --enable-pcx            use pcx images (PCX file format)
2297   --enable-tga            use tga images (TGA file format)
2298   --enable-iff            use iff images (IFF file format)
2299   --enable-pnm            use pnm images (PNM file format)
2300   --enable-xpm            use xpm images (XPM file format)
2301   --enable-ico_cur        use Windows ICO and CUR formats
2302   --enable-dccache        cache temporary wxDC objects (Win32 only)
2303   --enable-ps-in-msw      use PS printing in wxMSW (Win32 only)
2304   --enable-ownerdrawn     use owner drawn controls (Win32 and OS/2 only)
2305   --enable-uxtheme        enable support for Windows XP themed look (Win32 only)
2306   --enable-wxdib          use wxDIB class (Win32 only)
2307   --enable-webview_ie     use wxWebView IE backend (Win32 only)
2308   --enable-autoidman      use automatic ids management
2309   --disable-largefile     omit support for large files
2310   --disable-gtktest       do not try to compile and run a test GTK+ program
2311   --disable-gtktest       Do not try to compile and run a test GTK program
2312   --disable-sdltest       Do not try to compile and run a test SDL program
2313   --enable-omf            use OMF object format (OS/2)
2314   --disable-dependency-tracking
2315                           don't use dependency tracking even if the compiler
2316                           can
2317   --disable-precomp-headers
2318                           don't use precompiled headers even if compiler can
2319
2320 Optional Packages:
2321   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2322   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2323   --without-subdirs       don't generate makefiles for samples/demos/...
2324   --with-flavour=NAME     specify a name to identify this build
2325   --with-themes=all|list  use only the specified comma-separated list of wxUniversal themes
2326   --with-gtk[=VERSION]    use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2327   --with-motif            use Motif/Lesstif
2328   --with-osx_carbon       use Mac OS X (Carbon)
2329   --with-osx_cocoa        use Mac OS X (Cocoa)
2330   --with-osx_iphone       use iPhone OS X port
2331   --with-osx              use Mac OS X (default port, currently Carbon)
2332   --with-carbon           same as --with-osx_carbon
2333   --with-cocoa            same as --with-osx_cocoa
2334   --with-iphone           same as --with-osx_iphone
2335   --with-mac              same as --with-osx
2336   --with-old_cocoa        use old, deprecated, Cocoa port
2337   --with-wine             use Wine
2338   --with-msw              use MS-Windows
2339   --with-pm               use OS/2 Presentation Manager
2340   --with-directfb         use DirectFB
2341   --with-microwin         use MicroWindows
2342   --with-x11              use X11
2343   --with-libpng           use libpng (PNG image format)
2344   --with-libjpeg          use libjpeg (JPEG file format)
2345   --with-libtiff          use libtiff (TIFF file format)
2346   --with-libxpm           use libxpm (XPM file format)
2347   --with-libiconv         use libiconv (character conversion)
2348   --with-libmspack        use libmspack (CHM help files loading)
2349   --without-gtkprint      don't use GTK printing support
2350   --without-gnomeprint    don't use GNOME printing libraries
2351   --with-gnomevfs         use GNOME VFS for associating MIME types
2352   --with-hildon           use Hildon framework for Nokia 770/800/810
2353   --with-opengl           use OpenGL (or Mesa)
2354   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
2355   --with-sdl              use SDL for audio on Unix
2356   --with-regex            enable support for wxRegEx class
2357   --with-zlib             use zlib for LZW compression
2358   --with-expat            enable XML support using expat parser
2359   --with-macosx-sdk=PATH  use an OS X SDK at PATH
2360   --with-macosx-version-min=VER   build binaries which require at least this OS X version
2361   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
2362   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2363   --with-x                use the X Window System
2364   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
2365   --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
2366   --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2367   --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
2368   --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
2369
2370 Some influential environment variables:
2371   CC          C compiler command
2372   CFLAGS      C compiler flags
2373   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2374               nonstandard directory <lib dir>
2375   LIBS        libraries to pass to the linker, e.g. -l<library>
2376   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2377               you have headers in a nonstandard directory <include dir>
2378   CPP         C preprocessor
2379   CXX         C++ compiler command
2380   CXXFLAGS    C++ compiler flags
2381   CXXCPP      C++ preprocessor
2382   PKG_CONFIG  path to pkg-config utility
2383   DIRECTFB_CFLAGS
2384               C compiler flags for DIRECTFB, overriding pkg-config
2385   DIRECTFB_LIBS
2386               linker flags for DIRECTFB, overriding pkg-config
2387   XMKMF       Path to xmkmf, Makefile generator for X Window System
2388   PANGOX_CFLAGS
2389               C compiler flags for PANGOX, overriding pkg-config
2390   PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2391   PANGOFT2_CFLAGS
2392               C compiler flags for PANGOFT2, overriding pkg-config
2393   PANGOFT2_LIBS
2394               linker flags for PANGOFT2, overriding pkg-config
2395   PANGOXFT_CFLAGS
2396               C compiler flags for PANGOXFT, overriding pkg-config
2397   PANGOXFT_LIBS
2398               linker flags for PANGOXFT, overriding pkg-config
2399   Xinerama_CFLAGS
2400               C compiler flags for Xinerama, overriding pkg-config
2401   Xinerama_LIBS
2402               linker flags for Xinerama, overriding pkg-config
2403   Xxf86vm_CFLAGS
2404               C compiler flags for Xxf86vm, overriding pkg-config
2405   Xxf86vm_LIBS
2406               linker flags for Xxf86vm, overriding pkg-config
2407   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
2408   SM_LIBS     linker flags for SM, overriding pkg-config
2409   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
2410   GL_LIBS     linker flags for GL, overriding pkg-config
2411   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
2412   GLU_LIBS    linker flags for GLU, overriding pkg-config
2413   MesaGL_CFLAGS
2414               C compiler flags for MesaGL, overriding pkg-config
2415   MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2416   GTKPRINT_CFLAGS
2417               C compiler flags for GTKPRINT, overriding pkg-config
2418   GTKPRINT_LIBS
2419               linker flags for GTKPRINT, overriding pkg-config
2420   LIBGNOMEPRINTUI_CFLAGS
2421               C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2422   LIBGNOMEPRINTUI_LIBS
2423               linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2424   GNOMEVFS_CFLAGS
2425               C compiler flags for GNOMEVFS, overriding pkg-config
2426   GNOMEVFS_LIBS
2427               linker flags for GNOMEVFS, overriding pkg-config
2428   HILDON_CFLAGS
2429               C compiler flags for HILDON, overriding pkg-config
2430   HILDON_LIBS linker flags for HILDON, overriding pkg-config
2431   HILDON2_CFLAGS
2432               C compiler flags for HILDON2, overriding pkg-config
2433   HILDON2_LIBS
2434               linker flags for HILDON2, overriding pkg-config
2435   WEBKIT_CFLAGS
2436               C compiler flags for WEBKIT, overriding pkg-config
2437   WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2438   CAIRO_CFLAGS
2439               C compiler flags for CAIRO, overriding pkg-config
2440   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2441   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2442   GST_LIBS    linker flags for GST, overriding pkg-config
2443
2444 Use these variables to override the choices made by `configure' or to help
2445 it to find libraries and programs with nonstandard names/locations.
2446
2447 Report bugs to <wx-dev@lists.wxwidgets.org>.
2448 _ACEOF
2449 ac_status=$?
2450 fi
2451
2452 if test "$ac_init_help" = "recursive"; then
2453   # If there are subdirs, report their specific --help.
2454   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2455     test -d "$ac_dir" ||
2456       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2457       continue
2458     ac_builddir=.
2459
2460 case "$ac_dir" in
2461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2462 *)
2463   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2464   # A ".." for each directory in $ac_dir_suffix.
2465   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2466   case $ac_top_builddir_sub in
2467   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2468   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2469   esac ;;
2470 esac
2471 ac_abs_top_builddir=$ac_pwd
2472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2473 # for backward compatibility:
2474 ac_top_builddir=$ac_top_build_prefix
2475
2476 case $srcdir in
2477   .)  # We are building in place.
2478     ac_srcdir=.
2479     ac_top_srcdir=$ac_top_builddir_sub
2480     ac_abs_top_srcdir=$ac_pwd ;;
2481   [\\/]* | ?:[\\/]* )  # Absolute name.
2482     ac_srcdir=$srcdir$ac_dir_suffix;
2483     ac_top_srcdir=$srcdir
2484     ac_abs_top_srcdir=$srcdir ;;
2485   *) # Relative name.
2486     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2487     ac_top_srcdir=$ac_top_build_prefix$srcdir
2488     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2489 esac
2490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2491
2492     cd "$ac_dir" || { ac_status=$?; continue; }
2493     # Check for guested configure.
2494     if test -f "$ac_srcdir/configure.gnu"; then
2495       echo &&
2496       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2497     elif test -f "$ac_srcdir/configure"; then
2498       echo &&
2499       $SHELL "$ac_srcdir/configure" --help=recursive
2500     else
2501       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2502     fi || ac_status=$?
2503     cd "$ac_pwd" || { ac_status=$?; break; }
2504   done
2505 fi
2506
2507 test -n "$ac_init_help" && exit $ac_status
2508 if $ac_init_version; then
2509   cat <<\_ACEOF
2510 wxWidgets configure 2.9.5
2511 generated by GNU Autoconf 2.69
2512
2513 Copyright (C) 2012 Free Software Foundation, Inc.
2514 This configure script is free software; the Free Software Foundation
2515 gives unlimited permission to copy, distribute and modify it.
2516 _ACEOF
2517   exit
2518 fi
2519
2520 ## ------------------------ ##
2521 ## Autoconf initialization. ##
2522 ## ------------------------ ##
2523
2524 # ac_fn_c_try_compile LINENO
2525 # --------------------------
2526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2527 ac_fn_c_try_compile ()
2528 {
2529   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530   rm -f conftest.$ac_objext
2531   if { { ac_try="$ac_compile"
2532 case "(($ac_try" in
2533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534   *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538   (eval "$ac_compile") 2>conftest.err
2539   ac_status=$?
2540   if test -s conftest.err; then
2541     grep -v '^ *+' conftest.err >conftest.er1
2542     cat conftest.er1 >&5
2543     mv -f conftest.er1 conftest.err
2544   fi
2545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546   test $ac_status = 0; } && {
2547          test -z "$ac_c_werror_flag" ||
2548          test ! -s conftest.err
2549        } && test -s conftest.$ac_objext; then :
2550   ac_retval=0
2551 else
2552   $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2554
2555         ac_retval=1
2556 fi
2557   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558   as_fn_set_status $ac_retval
2559
2560 } # ac_fn_c_try_compile
2561
2562 # ac_fn_c_try_cpp LINENO
2563 # ----------------------
2564 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2565 ac_fn_c_try_cpp ()
2566 {
2567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568   if { { ac_try="$ac_cpp conftest.$ac_ext"
2569 case "(($ac_try" in
2570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571   *) ac_try_echo=$ac_try;;
2572 esac
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2576   ac_status=$?
2577   if test -s conftest.err; then
2578     grep -v '^ *+' conftest.err >conftest.er1
2579     cat conftest.er1 >&5
2580     mv -f conftest.er1 conftest.err
2581   fi
2582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583   test $ac_status = 0; } > conftest.i && {
2584          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2585          test ! -s conftest.err
2586        }; then :
2587   ac_retval=0
2588 else
2589   $as_echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.$ac_ext >&5
2591
2592     ac_retval=1
2593 fi
2594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595   as_fn_set_status $ac_retval
2596
2597 } # ac_fn_c_try_cpp
2598
2599 # ac_fn_cxx_try_compile LINENO
2600 # ----------------------------
2601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2602 ac_fn_cxx_try_compile ()
2603 {
2604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2605   rm -f conftest.$ac_objext
2606   if { { ac_try="$ac_compile"
2607 case "(($ac_try" in
2608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609   *) ac_try_echo=$ac_try;;
2610 esac
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613   (eval "$ac_compile") 2>conftest.err
2614   ac_status=$?
2615   if test -s conftest.err; then
2616     grep -v '^ *+' conftest.err >conftest.er1
2617     cat conftest.er1 >&5
2618     mv -f conftest.er1 conftest.err
2619   fi
2620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621   test $ac_status = 0; } && {
2622          test -z "$ac_cxx_werror_flag" ||
2623          test ! -s conftest.err
2624        } && test -s conftest.$ac_objext; then :
2625   ac_retval=0
2626 else
2627   $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2629
2630         ac_retval=1
2631 fi
2632   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633   as_fn_set_status $ac_retval
2634
2635 } # ac_fn_cxx_try_compile
2636
2637 # ac_fn_c_try_link LINENO
2638 # -----------------------
2639 # Try to link conftest.$ac_ext, and return whether this succeeded.
2640 ac_fn_c_try_link ()
2641 {
2642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2643   rm -f conftest.$ac_objext conftest$ac_exeext
2644   if { { ac_try="$ac_link"
2645 case "(($ac_try" in
2646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647   *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651   (eval "$ac_link") 2>conftest.err
2652   ac_status=$?
2653   if test -s conftest.err; then
2654     grep -v '^ *+' conftest.err >conftest.er1
2655     cat conftest.er1 >&5
2656     mv -f conftest.er1 conftest.err
2657   fi
2658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659   test $ac_status = 0; } && {
2660          test -z "$ac_c_werror_flag" ||
2661          test ! -s conftest.err
2662        } && test -s conftest$ac_exeext && {
2663          test "$cross_compiling" = yes ||
2664          test -x conftest$ac_exeext
2665        }; then :
2666   ac_retval=0
2667 else
2668   $as_echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2670
2671         ac_retval=1
2672 fi
2673   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2674   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2675   # interfere with the next link command; also delete a directory that is
2676   # left behind by Apple's compiler.  We do this before executing the actions.
2677   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679   as_fn_set_status $ac_retval
2680
2681 } # ac_fn_c_try_link
2682
2683 # ac_fn_cxx_try_link LINENO
2684 # -------------------------
2685 # Try to link conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_cxx_try_link ()
2687 {
2688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689   rm -f conftest.$ac_objext conftest$ac_exeext
2690   if { { ac_try="$ac_link"
2691 case "(($ac_try" in
2692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693   *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697   (eval "$ac_link") 2>conftest.err
2698   ac_status=$?
2699   if test -s conftest.err; then
2700     grep -v '^ *+' conftest.err >conftest.er1
2701     cat conftest.er1 >&5
2702     mv -f conftest.er1 conftest.err
2703   fi
2704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705   test $ac_status = 0; } && {
2706          test -z "$ac_cxx_werror_flag" ||
2707          test ! -s conftest.err
2708        } && test -s conftest$ac_exeext && {
2709          test "$cross_compiling" = yes ||
2710          test -x conftest$ac_exeext
2711        }; then :
2712   ac_retval=0
2713 else
2714   $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2716
2717         ac_retval=1
2718 fi
2719   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2720   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2721   # interfere with the next link command; also delete a directory that is
2722   # left behind by Apple's compiler.  We do this before executing the actions.
2723   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725   as_fn_set_status $ac_retval
2726
2727 } # ac_fn_cxx_try_link
2728
2729 # ac_fn_c_try_run LINENO
2730 # ----------------------
2731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2732 # that executables *can* be run.
2733 ac_fn_c_try_run ()
2734 {
2735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736   if { { ac_try="$ac_link"
2737 case "(($ac_try" in
2738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739   *) ac_try_echo=$ac_try;;
2740 esac
2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2742 $as_echo "$ac_try_echo"; } >&5
2743   (eval "$ac_link") 2>&5
2744   ac_status=$?
2745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2746   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2747   { { case "(($ac_try" in
2748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749   *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753   (eval "$ac_try") 2>&5
2754   ac_status=$?
2755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756   test $ac_status = 0; }; }; then :
2757   ac_retval=0
2758 else
2759   $as_echo "$as_me: program exited with status $ac_status" >&5
2760        $as_echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2762
2763        ac_retval=$ac_status
2764 fi
2765   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767   as_fn_set_status $ac_retval
2768
2769 } # ac_fn_c_try_run
2770
2771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2772 # -------------------------------------------------------
2773 # Tests whether HEADER exists and can be compiled using the include files in
2774 # INCLUDES, setting the cache variable VAR accordingly.
2775 ac_fn_c_check_header_compile ()
2776 {
2777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2779 $as_echo_n "checking for $2... " >&6; }
2780 if eval \${$3+:} false; then :
2781   $as_echo_n "(cached) " >&6
2782 else
2783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h.  */
2785 $4
2786 #include <$2>
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2789   eval "$3=yes"
2790 else
2791   eval "$3=no"
2792 fi
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 fi
2795 eval ac_res=\$$3
2796                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2797 $as_echo "$ac_res" >&6; }
2798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799
2800 } # ac_fn_c_check_header_compile
2801
2802 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2803 # --------------------------------------------
2804 # Tries to find the compile-time value of EXPR in a program that includes
2805 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2806 # computed
2807 ac_fn_c_compute_int ()
2808 {
2809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2810   if test "$cross_compiling" = yes; then
2811     # Depending upon the size, compute the lo and hi bounds.
2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2813 /* end confdefs.h.  */
2814 $4
2815 int
2816 main ()
2817 {
2818 static int test_array [1 - 2 * !(($2) >= 0)];
2819 test_array [0] = 0;
2820 return test_array [0];
2821
2822   ;
2823   return 0;
2824 }
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827   ac_lo=0 ac_mid=0
2828   while :; do
2829     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h.  */
2831 $4
2832 int
2833 main ()
2834 {
2835 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2836 test_array [0] = 0;
2837 return test_array [0];
2838
2839   ;
2840   return 0;
2841 }
2842 _ACEOF
2843 if ac_fn_c_try_compile "$LINENO"; then :
2844   ac_hi=$ac_mid; break
2845 else
2846   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2847                         if test $ac_lo -le $ac_mid; then
2848                           ac_lo= ac_hi=
2849                           break
2850                         fi
2851                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2852 fi
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854   done
2855 else
2856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h.  */
2858 $4
2859 int
2860 main ()
2861 {
2862 static int test_array [1 - 2 * !(($2) < 0)];
2863 test_array [0] = 0;
2864 return test_array [0];
2865
2866   ;
2867   return 0;
2868 }
2869 _ACEOF
2870 if ac_fn_c_try_compile "$LINENO"; then :
2871   ac_hi=-1 ac_mid=-1
2872   while :; do
2873     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h.  */
2875 $4
2876 int
2877 main ()
2878 {
2879 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2880 test_array [0] = 0;
2881 return test_array [0];
2882
2883   ;
2884   return 0;
2885 }
2886 _ACEOF
2887 if ac_fn_c_try_compile "$LINENO"; then :
2888   ac_lo=$ac_mid; break
2889 else
2890   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2891                         if test $ac_mid -le $ac_hi; then
2892                           ac_lo= ac_hi=
2893                           break
2894                         fi
2895                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2896 fi
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898   done
2899 else
2900   ac_lo= ac_hi=
2901 fi
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 fi
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 # Binary search between lo and hi bounds.
2906 while test "x$ac_lo" != "x$ac_hi"; do
2907   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h.  */
2910 $4
2911 int
2912 main ()
2913 {
2914 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2915 test_array [0] = 0;
2916 return test_array [0];
2917
2918   ;
2919   return 0;
2920 }
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923   ac_hi=$ac_mid
2924 else
2925   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2926 fi
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 done
2929 case $ac_lo in #((
2930 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2931 '') ac_retval=1 ;;
2932 esac
2933   else
2934     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h.  */
2936 $4
2937 static long int longval () { return $2; }
2938 static unsigned long int ulongval () { return $2; }
2939 #include <stdio.h>
2940 #include <stdlib.h>
2941 int
2942 main ()
2943 {
2944
2945   FILE *f = fopen ("conftest.val", "w");
2946   if (! f)
2947     return 1;
2948   if (($2) < 0)
2949     {
2950       long int i = longval ();
2951       if (i != ($2))
2952         return 1;
2953       fprintf (f, "%ld", i);
2954     }
2955   else
2956     {
2957       unsigned long int i = ulongval ();
2958       if (i != ($2))
2959         return 1;
2960       fprintf (f, "%lu", i);
2961     }
2962   /* Do not output a trailing newline, as this causes \r\n confusion
2963      on some platforms.  */
2964   return ferror (f) || fclose (f) != 0;
2965
2966   ;
2967   return 0;
2968 }
2969 _ACEOF
2970 if ac_fn_c_try_run "$LINENO"; then :
2971   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2972 else
2973   ac_retval=1
2974 fi
2975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2976   conftest.$ac_objext conftest.beam conftest.$ac_ext
2977 rm -f conftest.val
2978
2979   fi
2980   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981   as_fn_set_status $ac_retval
2982
2983 } # ac_fn_c_compute_int
2984
2985 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2986 # ---------------------------------------------------------
2987 # Tests whether HEADER exists and can be compiled using the include files in
2988 # INCLUDES, setting the cache variable VAR accordingly.
2989 ac_fn_cxx_check_header_compile ()
2990 {
2991   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2993 $as_echo_n "checking for $2... " >&6; }
2994 if eval \${$3+:} false; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h.  */
2999 $4
3000 #include <$2>
3001 _ACEOF
3002 if ac_fn_cxx_try_compile "$LINENO"; then :
3003   eval "$3=yes"
3004 else
3005   eval "$3=no"
3006 fi
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 fi
3009 eval ac_res=\$$3
3010                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3011 $as_echo "$ac_res" >&6; }
3012   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013
3014 } # ac_fn_cxx_check_header_compile
3015
3016 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3017 # ---------------------------------------------
3018 # Tests whether TYPE exists after having included INCLUDES, setting cache
3019 # variable VAR accordingly.
3020 ac_fn_cxx_check_type ()
3021 {
3022   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3024 $as_echo_n "checking for $2... " >&6; }
3025 if eval \${$3+:} false; then :
3026   $as_echo_n "(cached) " >&6
3027 else
3028   eval "$3=no"
3029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h.  */
3031 $4
3032 int
3033 main ()
3034 {
3035 if (sizeof ($2))
3036          return 0;
3037   ;
3038   return 0;
3039 }
3040 _ACEOF
3041 if ac_fn_cxx_try_compile "$LINENO"; then :
3042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h.  */
3044 $4
3045 int
3046 main ()
3047 {
3048 if (sizeof (($2)))
3049             return 0;
3050   ;
3051   return 0;
3052 }
3053 _ACEOF
3054 if ac_fn_cxx_try_compile "$LINENO"; then :
3055
3056 else
3057   eval "$3=yes"
3058 fi
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 fi
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 fi
3063 eval ac_res=\$$3
3064                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067
3068 } # ac_fn_cxx_check_type
3069
3070 # ac_fn_cxx_try_cpp LINENO
3071 # ------------------------
3072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_cxx_try_cpp ()
3074 {
3075   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076   if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 case "(($ac_try" in
3078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079   *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084   ac_status=$?
3085   if test -s conftest.err; then
3086     grep -v '^ *+' conftest.err >conftest.er1
3087     cat conftest.er1 >&5
3088     mv -f conftest.er1 conftest.err
3089   fi
3090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091   test $ac_status = 0; } > conftest.i && {
3092          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3093          test ! -s conftest.err
3094        }; then :
3095   ac_retval=0
3096 else
3097   $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3099
3100     ac_retval=1
3101 fi
3102   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103   as_fn_set_status $ac_retval
3104
3105 } # ac_fn_cxx_try_cpp
3106
3107 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3108 # ---------------------------------------------------------
3109 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3110 # the include files in INCLUDES and setting the cache variable VAR
3111 # accordingly.
3112 ac_fn_cxx_check_header_mongrel ()
3113 {
3114   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115   if eval \${$3+:} false; then :
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3117 $as_echo_n "checking for $2... " >&6; }
3118 if eval \${$3+:} false; then :
3119   $as_echo_n "(cached) " >&6
3120 fi
3121 eval ac_res=\$$3
3122                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3124 else
3125   # Is the header compilable?
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3127 $as_echo_n "checking $2 usability... " >&6; }
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h.  */
3130 $4
3131 #include <$2>
3132 _ACEOF
3133 if ac_fn_cxx_try_compile "$LINENO"; then :
3134   ac_header_compiler=yes
3135 else
3136   ac_header_compiler=no
3137 fi
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3140 $as_echo "$ac_header_compiler" >&6; }
3141
3142 # Is the header present?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3144 $as_echo_n "checking $2 presence... " >&6; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h.  */
3147 #include <$2>
3148 _ACEOF
3149 if ac_fn_cxx_try_cpp "$LINENO"; then :
3150   ac_header_preproc=yes
3151 else
3152   ac_header_preproc=no
3153 fi
3154 rm -f conftest.err conftest.i conftest.$ac_ext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3156 $as_echo "$ac_header_preproc" >&6; }
3157
3158 # So?  What about this header?
3159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3160   yes:no: )
3161     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3163     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3165     ;;
3166   no:yes:* )
3167     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3170 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3174 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 ( $as_echo "## ----------------------------------------- ##
3178 ## Report this to wx-dev@lists.wxwidgets.org ##
3179 ## ----------------------------------------- ##"
3180      ) | sed "s/^/$as_me: WARNING:     /" >&2
3181     ;;
3182 esac
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3184 $as_echo_n "checking for $2... " >&6; }
3185 if eval \${$3+:} false; then :
3186   $as_echo_n "(cached) " >&6
3187 else
3188   eval "$3=\$ac_header_compiler"
3189 fi
3190 eval ac_res=\$$3
3191                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3192 $as_echo "$ac_res" >&6; }
3193 fi
3194   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3195
3196 } # ac_fn_cxx_check_header_mongrel
3197
3198 # ac_fn_c_check_func LINENO FUNC VAR
3199 # ----------------------------------
3200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3201 ac_fn_c_check_func ()
3202 {
3203   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207   $as_echo_n "(cached) " >&6
3208 else
3209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h.  */
3211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3213 #define $2 innocuous_$2
3214
3215 /* System header to define __stub macros and hopefully few prototypes,
3216     which can conflict with char $2 (); below.
3217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218     <limits.h> exists even on freestanding compilers.  */
3219
3220 #ifdef __STDC__
3221 # include <limits.h>
3222 #else
3223 # include <assert.h>
3224 #endif
3225
3226 #undef $2
3227
3228 /* Override any GCC internal prototype to avoid an error.
3229    Use char because int might match the return type of a GCC
3230    builtin and then its argument prototype would still apply.  */
3231 #ifdef __cplusplus
3232 extern "C"
3233 #endif
3234 char $2 ();
3235 /* The GNU C library defines this for functions which it implements
3236     to always fail with ENOSYS.  Some functions are actually named
3237     something starting with __ and the normal name is an alias.  */
3238 #if defined __stub_$2 || defined __stub___$2
3239 choke me
3240 #endif
3241
3242 int
3243 main ()
3244 {
3245 return $2 ();
3246   ;
3247   return 0;
3248 }
3249 _ACEOF
3250 if ac_fn_c_try_link "$LINENO"; then :
3251   eval "$3=yes"
3252 else
3253   eval "$3=no"
3254 fi
3255 rm -f core conftest.err conftest.$ac_objext \
3256     conftest$ac_exeext conftest.$ac_ext
3257 fi
3258 eval ac_res=\$$3
3259                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3261   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262
3263 } # ac_fn_c_check_func
3264
3265 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3266 # -------------------------------------------
3267 # Tests whether TYPE exists after having included INCLUDES, setting cache
3268 # variable VAR accordingly.
3269 ac_fn_c_check_type ()
3270 {
3271   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3273 $as_echo_n "checking for $2... " >&6; }
3274 if eval \${$3+:} false; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   eval "$3=no"
3278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h.  */
3280 $4
3281 int
3282 main ()
3283 {
3284 if (sizeof ($2))
3285          return 0;
3286   ;
3287   return 0;
3288 }
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h.  */
3293 $4
3294 int
3295 main ()
3296 {
3297 if (sizeof (($2)))
3298             return 0;
3299   ;
3300   return 0;
3301 }
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"; then :
3304
3305 else
3306   eval "$3=yes"
3307 fi
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 fi
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 fi
3312 eval ac_res=\$$3
3313                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3314 $as_echo "$ac_res" >&6; }
3315   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3316
3317 } # ac_fn_c_check_type
3318
3319 # ac_fn_cxx_try_run LINENO
3320 # ------------------------
3321 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3322 # that executables *can* be run.
3323 ac_fn_cxx_try_run ()
3324 {
3325   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3326   if { { ac_try="$ac_link"
3327 case "(($ac_try" in
3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329   *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333   (eval "$ac_link") 2>&5
3334   ac_status=$?
3335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3337   { { case "(($ac_try" in
3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339   *) ac_try_echo=$ac_try;;
3340 esac
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343   (eval "$ac_try") 2>&5
3344   ac_status=$?
3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346   test $ac_status = 0; }; }; then :
3347   ac_retval=0
3348 else
3349   $as_echo "$as_me: program exited with status $ac_status" >&5
3350        $as_echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3352
3353        ac_retval=$ac_status
3354 fi
3355   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3356   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3357   as_fn_set_status $ac_retval
3358
3359 } # ac_fn_cxx_try_run
3360 cat >config.log <<_ACEOF
3361 This file contains any messages produced by compilers while
3362 running configure, to aid debugging if configure makes a mistake.
3363
3364 It was created by wxWidgets $as_me 2.9.5, which was
3365 generated by GNU Autoconf 2.69.  Invocation command line was
3366
3367   $ $0 $@
3368
3369 _ACEOF
3370 exec 5>>config.log
3371 {
3372 cat <<_ASUNAME
3373 ## --------- ##
3374 ## Platform. ##
3375 ## --------- ##
3376
3377 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3378 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3379 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3380 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3381 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3382
3383 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3384 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3385
3386 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3387 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3388 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3389 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3390 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3391 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3392 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3393
3394 _ASUNAME
3395
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 for as_dir in $PATH
3398 do
3399   IFS=$as_save_IFS
3400   test -z "$as_dir" && as_dir=.
3401     $as_echo "PATH: $as_dir"
3402   done
3403 IFS=$as_save_IFS
3404
3405 } >&5
3406
3407 cat >&5 <<_ACEOF
3408
3409
3410 ## ----------- ##
3411 ## Core tests. ##
3412 ## ----------- ##
3413
3414 _ACEOF
3415
3416
3417 # Keep a trace of the command line.
3418 # Strip out --no-create and --no-recursion so they do not pile up.
3419 # Strip out --silent because we don't want to record it for future runs.
3420 # Also quote any args containing shell meta-characters.
3421 # Make two passes to allow for proper duplicate-argument suppression.
3422 ac_configure_args=
3423 ac_configure_args0=
3424 ac_configure_args1=
3425 ac_must_keep_next=false
3426 for ac_pass in 1 2
3427 do
3428   for ac_arg
3429   do
3430     case $ac_arg in
3431     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3432     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3433     | -silent | --silent | --silen | --sile | --sil)
3434       continue ;;
3435     *\'*)
3436       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3437     esac
3438     case $ac_pass in
3439     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3440     2)
3441       as_fn_append ac_configure_args1 " '$ac_arg'"
3442       if test $ac_must_keep_next = true; then
3443         ac_must_keep_next=false # Got value, back to normal.
3444       else
3445         case $ac_arg in
3446           *=* | --config-cache | -C | -disable-* | --disable-* \
3447           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3448           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3449           | -with-* | --with-* | -without-* | --without-* | --x)
3450             case "$ac_configure_args0 " in
3451               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3452             esac
3453             ;;
3454           -* ) ac_must_keep_next=true ;;
3455         esac
3456       fi
3457       as_fn_append ac_configure_args " '$ac_arg'"
3458       ;;
3459     esac
3460   done
3461 done
3462 { ac_configure_args0=; unset ac_configure_args0;}
3463 { ac_configure_args1=; unset ac_configure_args1;}
3464
3465 # When interrupted or exit'd, cleanup temporary files, and complete
3466 # config.log.  We remove comments because anyway the quotes in there
3467 # would cause problems or look ugly.
3468 # WARNING: Use '\'' to represent an apostrophe within the trap.
3469 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3470 trap 'exit_status=$?
3471   # Save into config.log some information that might help in debugging.
3472   {
3473     echo
3474
3475     $as_echo "## ---------------- ##
3476 ## Cache variables. ##
3477 ## ---------------- ##"
3478     echo
3479     # The following way of writing the cache mishandles newlines in values,
3480 (
3481   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3482     eval ac_val=\$$ac_var
3483     case $ac_val in #(
3484     *${as_nl}*)
3485       case $ac_var in #(
3486       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3487 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3488       esac
3489       case $ac_var in #(
3490       _ | IFS | as_nl) ;; #(
3491       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3492       *) { eval $ac_var=; unset $ac_var;} ;;
3493       esac ;;
3494     esac
3495   done
3496   (set) 2>&1 |
3497     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3498     *${as_nl}ac_space=\ *)
3499       sed -n \
3500         "s/'\''/'\''\\\\'\'''\''/g;
3501           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3502       ;; #(
3503     *)
3504       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3505       ;;
3506     esac |
3507     sort
3508 )
3509     echo
3510
3511     $as_echo "## ----------------- ##
3512 ## Output variables. ##
3513 ## ----------------- ##"
3514     echo
3515     for ac_var in $ac_subst_vars
3516     do
3517       eval ac_val=\$$ac_var
3518       case $ac_val in
3519       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3520       esac
3521       $as_echo "$ac_var='\''$ac_val'\''"
3522     done | sort
3523     echo
3524
3525     if test -n "$ac_subst_files"; then
3526       $as_echo "## ------------------- ##
3527 ## File substitutions. ##
3528 ## ------------------- ##"
3529       echo
3530       for ac_var in $ac_subst_files
3531       do
3532         eval ac_val=\$$ac_var
3533         case $ac_val in
3534         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535         esac
3536         $as_echo "$ac_var='\''$ac_val'\''"
3537       done | sort
3538       echo
3539     fi
3540
3541     if test -s confdefs.h; then
3542       $as_echo "## ----------- ##
3543 ## confdefs.h. ##
3544 ## ----------- ##"
3545       echo
3546       cat confdefs.h
3547       echo
3548     fi
3549     test "$ac_signal" != 0 &&
3550       $as_echo "$as_me: caught signal $ac_signal"
3551     $as_echo "$as_me: exit $exit_status"
3552   } >&5
3553   rm -f core *.core core.conftest.* &&
3554     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3555     exit $exit_status
3556 ' 0
3557 for ac_signal in 1 2 13 15; do
3558   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3559 done
3560 ac_signal=0
3561
3562 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3563 rm -f -r conftest* confdefs.h
3564
3565 $as_echo "/* confdefs.h */" > confdefs.h
3566
3567 # Predefined preprocessor variables.
3568
3569 cat >>confdefs.h <<_ACEOF
3570 #define PACKAGE_NAME "$PACKAGE_NAME"
3571 _ACEOF
3572
3573 cat >>confdefs.h <<_ACEOF
3574 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3575 _ACEOF
3576
3577 cat >>confdefs.h <<_ACEOF
3578 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3579 _ACEOF
3580
3581 cat >>confdefs.h <<_ACEOF
3582 #define PACKAGE_STRING "$PACKAGE_STRING"
3583 _ACEOF
3584
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3587 _ACEOF
3588
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_URL "$PACKAGE_URL"
3591 _ACEOF
3592
3593
3594 # Let the site file select an alternate cache file if it wants to.
3595 # Prefer an explicitly selected file to automatically selected ones.
3596 ac_site_file1=NONE
3597 ac_site_file2=NONE
3598 if test -n "$CONFIG_SITE"; then
3599   # We do not want a PATH search for config.site.
3600   case $CONFIG_SITE in #((
3601     -*)  ac_site_file1=./$CONFIG_SITE;;
3602     */*) ac_site_file1=$CONFIG_SITE;;
3603     *)   ac_site_file1=./$CONFIG_SITE;;
3604   esac
3605 elif test "x$prefix" != xNONE; then
3606   ac_site_file1=$prefix/share/config.site
3607   ac_site_file2=$prefix/etc/config.site
3608 else
3609   ac_site_file1=$ac_default_prefix/share/config.site
3610   ac_site_file2=$ac_default_prefix/etc/config.site
3611 fi
3612 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3613 do
3614   test "x$ac_site_file" = xNONE && continue
3615   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3616     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3617 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3618     sed 's/^/| /' "$ac_site_file" >&5
3619     . "$ac_site_file" \
3620       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 as_fn_error $? "failed to load site script $ac_site_file
3623 See \`config.log' for more details" "$LINENO" 5; }
3624   fi
3625 done
3626
3627 if test -r "$cache_file"; then
3628   # Some versions of bash will fail to source /dev/null (special files
3629   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3630   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3631     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3632 $as_echo "$as_me: loading cache $cache_file" >&6;}
3633     case $cache_file in
3634       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3635       *)                      . "./$cache_file";;
3636     esac
3637   fi
3638 else
3639   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3640 $as_echo "$as_me: creating cache $cache_file" >&6;}
3641   >$cache_file
3642 fi
3643
3644 # Check that the precious variables saved in the cache have kept the same
3645 # value.
3646 ac_cache_corrupted=false
3647 for ac_var in $ac_precious_vars; do
3648   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3649   eval ac_new_set=\$ac_env_${ac_var}_set
3650   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3651   eval ac_new_val=\$ac_env_${ac_var}_value
3652   case $ac_old_set,$ac_new_set in
3653     set,)
3654       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3655 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3656       ac_cache_corrupted=: ;;
3657     ,set)
3658       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3659 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3660       ac_cache_corrupted=: ;;
3661     ,);;
3662     *)
3663       if test "x$ac_old_val" != "x$ac_new_val"; then
3664         # differences in whitespace do not lead to failure.
3665         ac_old_val_w=`echo x $ac_old_val`
3666         ac_new_val_w=`echo x $ac_new_val`
3667         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3668           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3669 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3670           ac_cache_corrupted=:
3671         else
3672           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3673 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3674           eval $ac_var=\$ac_old_val
3675         fi
3676         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3677 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3678         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3679 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3680       fi;;
3681   esac
3682   # Pass precious variables to config.status.
3683   if test "$ac_new_set" = set; then
3684     case $ac_new_val in
3685     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3686     *) ac_arg=$ac_var=$ac_new_val ;;
3687     esac
3688     case " $ac_configure_args " in
3689       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3690       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3691     esac
3692   fi
3693 done
3694 if $ac_cache_corrupted; then
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3698 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3699   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3700 fi
3701 ## -------------------- ##
3702 ## Main body of script. ##
3703 ## -------------------- ##
3704
3705 ac_ext=c
3706 ac_cpp='$CPP $CPPFLAGS'
3707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3710
3711
3712
3713
3714
3715 ac_aux_dir=
3716 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3717   if test -f "$ac_dir/install-sh"; then
3718     ac_aux_dir=$ac_dir
3719     ac_install_sh="$ac_aux_dir/install-sh -c"
3720     break
3721   elif test -f "$ac_dir/install.sh"; then
3722     ac_aux_dir=$ac_dir
3723     ac_install_sh="$ac_aux_dir/install.sh -c"
3724     break
3725   elif test -f "$ac_dir/shtool"; then
3726     ac_aux_dir=$ac_dir
3727     ac_install_sh="$ac_aux_dir/shtool install -c"
3728     break
3729   fi
3730 done
3731 if test -z "$ac_aux_dir"; then
3732   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3733 fi
3734
3735 # These three variables are undocumented and unsupported,
3736 # and are intended to be withdrawn in a future Autoconf release.
3737 # They can cause serious problems if a builder's source tree is in a directory
3738 # whose full name contains unusual characters.
3739 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3740 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3741 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3742
3743
3744 # Make sure we can run config.sub.
3745 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3746   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3747
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3749 $as_echo_n "checking build system type... " >&6; }
3750 if ${ac_cv_build+:} false; then :
3751   $as_echo_n "(cached) " >&6
3752 else
3753   ac_build_alias=$build_alias
3754 test "x$ac_build_alias" = x &&
3755   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3756 test "x$ac_build_alias" = x &&
3757   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3758 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3759   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3760
3761 fi
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3763 $as_echo "$ac_cv_build" >&6; }
3764 case $ac_cv_build in
3765 *-*-*) ;;
3766 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3767 esac
3768 build=$ac_cv_build
3769 ac_save_IFS=$IFS; IFS='-'
3770 set x $ac_cv_build
3771 shift
3772 build_cpu=$1
3773 build_vendor=$2
3774 shift; shift
3775 # Remember, the first character of IFS is used to create $*,
3776 # except with old shells:
3777 build_os=$*
3778 IFS=$ac_save_IFS
3779 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3780
3781
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3783 $as_echo_n "checking host system type... " >&6; }
3784 if ${ac_cv_host+:} false; then :
3785   $as_echo_n "(cached) " >&6
3786 else
3787   if test "x$host_alias" = x; then
3788   ac_cv_host=$ac_cv_build
3789 else
3790   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3791     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3792 fi
3793
3794 fi
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3796 $as_echo "$ac_cv_host" >&6; }
3797 case $ac_cv_host in
3798 *-*-*) ;;
3799 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3800 esac
3801 host=$ac_cv_host
3802 ac_save_IFS=$IFS; IFS='-'
3803 set x $ac_cv_host
3804 shift
3805 host_cpu=$1
3806 host_vendor=$2
3807 shift; shift
3808 # Remember, the first character of IFS is used to create $*,
3809 # except with old shells:
3810 host_os=$*
3811 IFS=$ac_save_IFS
3812 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3813
3814
3815
3816 if test "$cross_compiling" != "no"; then
3817     HOST_PREFIX="${host_alias}-"
3818     HOST_SUFFIX="-$host_alias"
3819 else
3820     HOST_PREFIX=
3821     HOST_SUFFIX=
3822 fi
3823
3824
3825 wx_major_version_number=2
3826 wx_minor_version_number=9
3827 wx_release_number=5
3828 wx_subrelease_number=0
3829
3830 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3831 WX_VERSION=$WX_RELEASE.$wx_release_number
3832 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3833
3834 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3835
3836
3837 wx_top_builddir="`pwd`"
3838
3839
3840
3841
3842 USE_UNIX=1
3843 USE_OS2=0
3844 USE_WIN32=0
3845 USE_DOS=0
3846 USE_BEOS=0
3847 USE_MAC=0
3848
3849 USE_AIX=
3850 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
3851 USE_GNU=                            USE_HPUX=
3852 USE_LINUX=
3853 USE_NETBSD=
3854 USE_OPENBSD=
3855 USE_OSF=                            USE_SGI=
3856 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
3857 USE_ULTRIX=
3858 USE_UNIXWARE=
3859
3860 USE_ALPHA=
3861
3862 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3863
3864 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3865
3866 DEFAULT_wxUSE_OLD_COCOA=0
3867 DEFAULT_wxUSE_GTK=0
3868 DEFAULT_wxUSE_OSX_CARBON=0
3869 DEFAULT_wxUSE_OSX_COCOA=0
3870 DEFAULT_wxUSE_OSX_IPHONE=0
3871 DEFAULT_wxUSE_MICROWIN=0
3872 DEFAULT_wxUSE_MOTIF=0
3873 DEFAULT_wxUSE_MSW=0
3874 DEFAULT_wxUSE_PM=0
3875 DEFAULT_wxUSE_X11=0
3876 DEFAULT_wxUSE_DFB=0
3877
3878 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3879 DEFAULT_DEFAULT_wxUSE_GTK=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3882 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3883 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3884 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3885 DEFAULT_DEFAULT_wxUSE_MSW=0
3886 DEFAULT_DEFAULT_wxUSE_PM=0
3887 DEFAULT_DEFAULT_wxUSE_X11=0
3888 DEFAULT_DEFAULT_wxUSE_DFB=0
3889
3890 PROGRAM_EXT=
3891 SAMPLES_RPATH_FLAG=
3892 DYLIB_RPATH_INSTALL=
3893 DYLIB_RPATH_POSTLINK=
3894
3895 DEFAULT_STD_FLAG=yes
3896
3897 case "${host}" in
3898   *-hp-hpux* )
3899     USE_HPUX=1
3900     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3901     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3902     $as_echo "#define __HPUX__ 1" >>confdefs.h
3903
3904
3905             CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3906   ;;
3907   *-*-linux* )
3908     USE_LINUX=1
3909     $as_echo "#define __LINUX__ 1" >>confdefs.h
3910
3911     TMP=`uname -m`
3912     if test "x$TMP" = "xalpha"; then
3913       USE_ALPHA=1
3914       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3915
3916     fi
3917     DEFAULT_DEFAULT_wxUSE_GTK=1
3918   ;;
3919   *-*-gnu* | *-*-k*bsd*-gnu )
3920     USE_GNU=1
3921     TMP=`uname -m`
3922     if test "x$TMP" = "xalpha"; then
3923       USE_ALPHA=1
3924       $as_echo "#define __ALPHA__ 1" >>confdefs.h
3925
3926     fi
3927     DEFAULT_DEFAULT_wxUSE_GTK=1
3928   ;;
3929   *-*-irix5* | *-*-irix6* )
3930     USE_SGI=1
3931     USE_SVR4=1
3932     $as_echo "#define __SGI__ 1" >>confdefs.h
3933
3934     $as_echo "#define __SVR4__ 1" >>confdefs.h
3935
3936     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3937   ;;
3938   *-*-qnx*)
3939     USE_QNX=1
3940     $as_echo "#define __QNX__ 1" >>confdefs.h
3941
3942     DEFAULT_DEFAULT_wxUSE_X11=1
3943   ;;
3944   *-*-solaris2* )
3945     USE_SUN=1
3946     USE_SOLARIS=1
3947     USE_SVR4=1
3948     $as_echo "#define __SUN__ 1" >>confdefs.h
3949
3950     $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3951
3952     $as_echo "#define __SVR4__ 1" >>confdefs.h
3953
3954     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3955     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3956   ;;
3957   *-*-sunos4* )
3958     USE_SUN=1
3959     USE_SUNOS=1
3960     USE_BSD=1
3961     $as_echo "#define __SUN__ 1" >>confdefs.h
3962
3963     $as_echo "#define __SUNOS__ 1" >>confdefs.h
3964
3965     $as_echo "#define __BSD__ 1" >>confdefs.h
3966
3967     DEFAULT_DEFAULT_wxUSE_MOTIF=1
3968   ;;
3969   *-*-freebsd*)
3970     USE_BSD=1
3971     USE_FREEBSD=1
3972     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3973
3974     $as_echo "#define __BSD__ 1" >>confdefs.h
3975
3976     DEFAULT_DEFAULT_wxUSE_GTK=1
3977   ;;
3978   *-*-openbsd*|*-*-mirbsd*)
3979     USE_BSD=1
3980     USE_OPENBSD=1
3981     $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3982
3983     $as_echo "#define __BSD__ 1" >>confdefs.h
3984
3985     DEFAULT_DEFAULT_wxUSE_GTK=1
3986   ;;
3987   *-*-netbsd*)
3988     USE_BSD=1
3989     USE_NETBSD=1
3990     $as_echo "#define __NETBSD__ 1" >>confdefs.h
3991
3992     $as_echo "#define __BSD__ 1" >>confdefs.h
3993
3994     DEFAULT_DEFAULT_wxUSE_GTK=1
3995     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3996
3997             CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3998   ;;
3999   *-*-osf* )
4000     USE_ALPHA=1
4001     USE_OSF=1
4002     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4003
4004     $as_echo "#define __OSF__ 1" >>confdefs.h
4005
4006     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4007     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4008   ;;
4009   *-*-dgux5* )
4010     USE_ALPHA=1
4011     USE_SVR4=1
4012     $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013
4014     $as_echo "#define __SVR4__ 1" >>confdefs.h
4015
4016     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4017   ;;
4018   *-*-sysv5* )
4019     USE_SYSV=1
4020     USE_SVR4=1
4021     $as_echo "#define __SYSV__ 1" >>confdefs.h
4022
4023     $as_echo "#define __SVR4__ 1" >>confdefs.h
4024
4025     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4026   ;;
4027   *-*-aix* )
4028     USE_AIX=1
4029     USE_SYSV=1
4030     USE_SVR4=1
4031     $as_echo "#define __AIX__ 1" >>confdefs.h
4032
4033     $as_echo "#define __SYSV__ 1" >>confdefs.h
4034
4035     $as_echo "#define __SVR4__ 1" >>confdefs.h
4036
4037     DEFAULT_DEFAULT_wxUSE_MOTIF=1
4038   ;;
4039
4040   *-*-*UnixWare*)
4041     USE_SYSV=1
4042     USE_SVR4=1
4043     USE_UNIXWARE=1
4044     $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4045
4046   ;;
4047
4048   *-*-cygwin* | *-*-mingw32* )
4049                 PROGRAM_EXT=".exe"
4050     DEFAULT_DEFAULT_wxUSE_MSW=1
4051   ;;
4052
4053   *-pc-msdosdjgpp )
4054     USE_UNIX=0
4055     USE_DOS=1
4056     $as_echo "#define __DOS__ 1" >>confdefs.h
4057
4058     PROGRAM_EXT=".exe"
4059   ;;
4060
4061   *-pc-os2_emx | *-pc-os2-emx )
4062     $as_echo "#define __EMX__ 1" >>confdefs.h
4063
4064     USE_OS2=1
4065     $as_echo "#define __OS2__ 1" >>confdefs.h
4066
4067     PROGRAM_EXT=".exe"
4068     DEFAULT_DEFAULT_wxUSE_PM=1
4069         CXX=gcc
4070     LDFLAGS="$LDFLAGS -Zcrtdll"
4071                         ac_executable_extensions=".exe"
4072     export ac_executable_extensions
4073             ac_save_IFS="$IFS"
4074     IFS='\\'
4075     ac_TEMP_PATH=
4076     for ac_dir in $PATH; do
4077       IFS=$ac_save_IFS
4078       if test -z "$ac_TEMP_PATH"; then
4079         ac_TEMP_PATH="$ac_dir"
4080       else
4081         ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4082       fi
4083     done
4084     export PATH="$ac_TEMP_PATH"
4085     unset ac_TEMP_PATH
4086     DEFAULT_STD_FLAG=no
4087   ;;
4088
4089   arm-apple-darwin*)
4090         USE_BSD=1
4091     USE_DARWIN=1
4092     $as_echo "#define __BSD__ 1" >>confdefs.h
4093
4094     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4095
4096     DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4097   ;;
4098
4099   *-*-darwin* )
4100         USE_BSD=1
4101     USE_DARWIN=1
4102     $as_echo "#define __BSD__ 1" >>confdefs.h
4103
4104     $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105
4106     $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4107
4108     DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4109   ;;
4110
4111   *-*-beos* )
4112         USE_BEOS=1
4113     $as_echo "#define __BEOS__ 1" >>confdefs.h
4114
4115   ;;
4116
4117   *)
4118     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4119 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4121 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4122
4123     DEFAULT_DEFAULT_wxUSE_X11=1
4124     DEFAULT_wxUSE_SHARED=no
4125 esac
4126
4127
4128
4129 DEFAULT_wxUSE_ALL_FEATURES=yes
4130
4131 DEFAULT_wxUSE_STD_CONTAINERS=no
4132 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4133 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4134
4135 DEFAULT_wxUSE_DMALLOC=no
4136 DEFAULT_wxUSE_LIBGNOMEVFS=no
4137 DEFAULT_wxUSE_LIBHILDON=no
4138 DEFAULT_wxUSE_LIBHILDON2=no
4139 DEFAULT_wxUSE_LIBMSPACK=no
4140 DEFAULT_wxUSE_LIBSDL=no
4141
4142 DEFAULT_wxUSE_ACCESSIBILITY=no
4143 DEFAULT_wxUSE_IPV6=no
4144 DEFAULT_wxUSE_GSTREAMER8=no
4145 DEFAULT_wxUSE_UNICODE_UTF8=no
4146 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4147
4148 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4149 DEFAULT_wxUSE_OPENGL=auto
4150 DEFAULT_wxUSE_MEDIACTRL=auto
4151 DEFAULT_wxUSE_COMPILER_TLS=auto
4152 DEFAULT_wxUSE_HOTKEY=auto
4153 DEFAULT_wxUSE_METAFILE=auto
4154
4155 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4156 DEFAULT_wxUSE_MAC_ARCH=no
4157
4158 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4159
4160 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4161
4162
4163
4164
4165
4166           enablestring=disable
4167           defaultval=
4168           if test -z "$defaultval"; then
4169               if test x"$enablestring" = xdisable; then
4170                   defaultval=yes
4171               else
4172                   defaultval=no
4173               fi
4174           fi
4175
4176           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4177 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4178           # Check whether --enable-gui was given.
4179 if test "${enable_gui+set}" = set; then :
4180   enableval=$enable_gui;
4181                           if test "$enableval" = yes; then
4182                             wx_cv_use_gui='wxUSE_GUI=yes'
4183                           else
4184                             wx_cv_use_gui='wxUSE_GUI=no'
4185                           fi
4186
4187 else
4188
4189                           wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4190
4191 fi
4192
4193
4194           eval "$wx_cv_use_gui"
4195
4196           if test x"$enablestring" = xdisable; then
4197             if test $wxUSE_GUI = no; then
4198               result=yes
4199             else
4200               result=no
4201             fi
4202           else
4203             result=$wxUSE_GUI
4204           fi
4205
4206           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4207 $as_echo "$result" >&6; }
4208
4209
4210           enablestring=
4211           defaultval=
4212           if test -z "$defaultval"; then
4213               if test x"$enablestring" = xdisable; then
4214                   defaultval=yes
4215               else
4216                   defaultval=no
4217               fi
4218           fi
4219
4220           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4221 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4222           # Check whether --enable-monolithic was given.
4223 if test "${enable_monolithic+set}" = set; then :
4224   enableval=$enable_monolithic;
4225                           if test "$enableval" = yes; then
4226                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4227                           else
4228                             wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4229                           fi
4230
4231 else
4232
4233                           wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4234
4235 fi
4236
4237
4238           eval "$wx_cv_use_monolithic"
4239
4240           if test x"$enablestring" = xdisable; then
4241             if test $wxUSE_MONOLITHIC = no; then
4242               result=yes
4243             else
4244               result=no
4245             fi
4246           else
4247             result=$wxUSE_MONOLITHIC
4248           fi
4249
4250           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4251 $as_echo "$result" >&6; }
4252
4253
4254           enablestring=
4255           defaultval=
4256           if test -z "$defaultval"; then
4257               if test x"$enablestring" = xdisable; then
4258                   defaultval=yes
4259               else
4260                   defaultval=no
4261               fi
4262           fi
4263
4264           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4265 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4266           # Check whether --enable-plugins was given.
4267 if test "${enable_plugins+set}" = set; then :
4268   enableval=$enable_plugins;
4269                           if test "$enableval" = yes; then
4270                             wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4271                           else
4272                             wx_cv_use_plugins='wxUSE_PLUGINS=no'
4273                           fi
4274
4275 else
4276
4277                           wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4278
4279 fi
4280
4281
4282           eval "$wx_cv_use_plugins"
4283
4284           if test x"$enablestring" = xdisable; then
4285             if test $wxUSE_PLUGINS = no; then
4286               result=yes
4287             else
4288               result=no
4289             fi
4290           else
4291             result=$wxUSE_PLUGINS
4292           fi
4293
4294           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4295 $as_echo "$result" >&6; }
4296
4297
4298           withstring=without
4299           defaultval=$wxUSE_ALL_FEATURES
4300           if test -z "$defaultval"; then
4301               if test x"$withstring" = xwithout; then
4302                   defaultval=yes
4303               else
4304                   defaultval=no
4305               fi
4306           fi
4307           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4308 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4309
4310 # Check whether --with-subdirs was given.
4311 if test "${with_subdirs+set}" = set; then :
4312   withval=$with_subdirs;
4313                         if test "$withval" = yes; then
4314                           wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4315                         else
4316                           wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4317                         fi
4318
4319 else
4320
4321                         wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4322
4323 fi
4324
4325
4326           eval "$wx_cv_use_subdirs"
4327
4328           if test x"$withstring" = xwithout; then
4329             if test $wxWITH_SUBDIRS = yes; then
4330               result=no
4331             else
4332               result=yes
4333             fi
4334           else
4335             result=$wxWITH_SUBDIRS
4336           fi
4337
4338           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4339 $as_echo "$result" >&6; }
4340
4341
4342 # Check whether --with-flavour was given.
4343 if test "${with_flavour+set}" = set; then :
4344   withval=$with_flavour; WX_FLAVOUR="$withval"
4345 fi
4346
4347
4348           enablestring=
4349           defaultval=
4350           if test -z "$defaultval"; then
4351               if test x"$enablestring" = xdisable; then
4352                   defaultval=yes
4353               else
4354                   defaultval=no
4355               fi
4356           fi
4357
4358           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4359 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4360           # Check whether --enable-official_build was given.
4361 if test "${enable_official_build+set}" = set; then :
4362   enableval=$enable_official_build;
4363                           if test "$enableval" = yes; then
4364                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4365                           else
4366                             wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4367                           fi
4368
4369 else
4370
4371                           wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4372
4373 fi
4374
4375
4376           eval "$wx_cv_use_official_build"
4377
4378           if test x"$enablestring" = xdisable; then
4379             if test $wxUSE_OFFICIAL_BUILD = no; then
4380               result=yes
4381             else
4382               result=no
4383             fi
4384           else
4385             result=$wxUSE_OFFICIAL_BUILD
4386           fi
4387
4388           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4389 $as_echo "$result" >&6; }
4390
4391 # Check whether --enable-vendor was given.
4392 if test "${enable_vendor+set}" = set; then :
4393   enableval=$enable_vendor; VENDOR="$enableval"
4394 fi
4395
4396 if test "x$VENDOR" = "x"; then
4397     VENDOR="custom"
4398 fi
4399
4400
4401           enablestring=disable
4402           defaultval=
4403           if test -z "$defaultval"; then
4404               if test x"$enablestring" = xdisable; then
4405                   defaultval=yes
4406               else
4407                   defaultval=no
4408               fi
4409           fi
4410
4411           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4412 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4413           # Check whether --enable-all-features was given.
4414 if test "${enable_all_features+set}" = set; then :
4415   enableval=$enable_all_features;
4416                           if test "$enableval" = yes; then
4417                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4418                           else
4419                             wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4420                           fi
4421
4422 else
4423
4424                           wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4425
4426 fi
4427
4428
4429           eval "$wx_cv_use_all_features"
4430
4431           if test x"$enablestring" = xdisable; then
4432             if test $wxUSE_ALL_FEATURES = no; then
4433               result=yes
4434             else
4435               result=no
4436             fi
4437           else
4438             result=$wxUSE_ALL_FEATURES
4439           fi
4440
4441           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4442 $as_echo "$result" >&6; }
4443
4444
4445 if test "$wxUSE_ALL_FEATURES" = "no"; then
4446                     DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4447     DEFAULT_wxUSE_MEDIACTRL=no
4448 fi
4449
4450
4451 if test "$wxUSE_GUI" = "yes"; then
4452
4453
4454           enablestring=
4455           defaultval=
4456           if test -z "$defaultval"; then
4457               if test x"$enablestring" = xdisable; then
4458                   defaultval=yes
4459               else
4460                   defaultval=no
4461               fi
4462           fi
4463
4464           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4465 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4466           # Check whether --enable-universal was given.
4467 if test "${enable_universal+set}" = set; then :
4468   enableval=$enable_universal;
4469                           if test "$enableval" = yes; then
4470                             wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4471                           else
4472                             wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4473                           fi
4474
4475 else
4476
4477                           wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4478
4479 fi
4480
4481
4482           eval "$wx_cv_use_universal"
4483
4484           if test x"$enablestring" = xdisable; then
4485             if test $wxUSE_UNIVERSAL = no; then
4486               result=yes
4487             else
4488               result=no
4489             fi
4490           else
4491             result=$wxUSE_UNIVERSAL
4492           fi
4493
4494           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4495 $as_echo "$result" >&6; }
4496
4497 if test "$wxUSE_UNIVERSAL" = "yes"; then
4498
4499 # Check whether --with-themes was given.
4500 if test "${with_themes+set}" = set; then :
4501   withval=$with_themes; wxUNIV_THEMES="$withval"
4502 fi
4503
4504 fi
4505
4506
4507 # Check whether --with-gtk was given.
4508 if test "${with_gtk+set}" = set; then :
4509   withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4510 fi
4511
4512
4513 # Check whether --with-motif was given.
4514 if test "${with_motif+set}" = set; then :
4515   withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4516 fi
4517
4518
4519 # Check whether --with-osx_carbon was given.
4520 if test "${with_osx_carbon+set}" = set; then :
4521   withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4522 fi
4523
4524
4525 # Check whether --with-osx_cocoa was given.
4526 if test "${with_osx_cocoa+set}" = set; then :
4527   withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4528 fi
4529
4530
4531 # Check whether --with-osx_iphone was given.
4532 if test "${with_osx_iphone+set}" = set; then :
4533   withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4534 fi
4535
4536
4537 # Check whether --with-osx was given.
4538 if test "${with_osx+set}" = set; then :
4539   withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4540 fi
4541
4542
4543 # Check whether --with-carbon was given.
4544 if test "${with_carbon+set}" = set; then :
4545   withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4546 fi
4547
4548
4549 # Check whether --with-cocoa was given.
4550 if test "${with_cocoa+set}" = set; then :
4551   withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4552 fi
4553
4554
4555 # Check whether --with-iphone was given.
4556 if test "${with_iphone+set}" = set; then :
4557   withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4558 fi
4559
4560
4561 # Check whether --with-mac was given.
4562 if test "${with_mac+set}" = set; then :
4563   withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4564 fi
4565
4566
4567 # Check whether --with-old_cocoa was given.
4568 if test "${with_old_cocoa+set}" = set; then :
4569   withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4570 fi
4571
4572
4573 # Check whether --with-wine was given.
4574 if test "${with_wine+set}" = set; then :
4575   withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4576 fi
4577
4578
4579 # Check whether --with-msw was given.
4580 if test "${with_msw+set}" = set; then :
4581   withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4582 fi
4583
4584
4585 # Check whether --with-pm was given.
4586 if test "${with_pm+set}" = set; then :
4587   withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4588 fi
4589
4590
4591 # Check whether --with-directfb was given.
4592 if test "${with_directfb+set}" = set; then :
4593   withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4594 fi
4595
4596
4597 # Check whether --with-microwin was given.
4598 if test "${with_microwin+set}" = set; then :
4599   withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4600 fi
4601
4602
4603 # Check whether --with-x11 was given.
4604 if test "${with_x11+set}" = set; then :
4605   withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4606 fi
4607
4608
4609           enablestring=
4610           defaultval=
4611           if test -z "$defaultval"; then
4612               if test x"$enablestring" = xdisable; then
4613                   defaultval=yes
4614               else
4615                   defaultval=no
4616               fi
4617           fi
4618
4619           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4620 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4621           # Check whether --enable-nanox was given.
4622 if test "${enable_nanox+set}" = set; then :
4623   enableval=$enable_nanox;
4624                           if test "$enableval" = yes; then
4625                             wx_cv_use_nanox='wxUSE_NANOX=yes'
4626                           else
4627                             wx_cv_use_nanox='wxUSE_NANOX=no'
4628                           fi
4629
4630 else
4631
4632                           wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4633
4634 fi
4635
4636
4637           eval "$wx_cv_use_nanox"
4638
4639           if test x"$enablestring" = xdisable; then
4640             if test $wxUSE_NANOX = no; then
4641               result=yes
4642             else
4643               result=no
4644             fi
4645           else
4646             result=$wxUSE_NANOX
4647           fi
4648
4649           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4650 $as_echo "$result" >&6; }
4651
4652
4653           enablestring=
4654           defaultval=
4655           if test -z "$defaultval"; then
4656               if test x"$enablestring" = xdisable; then
4657                   defaultval=yes
4658               else
4659                   defaultval=no
4660               fi
4661           fi
4662
4663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4664 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4665           # Check whether --enable-gpe was given.
4666 if test "${enable_gpe+set}" = set; then :
4667   enableval=$enable_gpe;
4668                           if test "$enableval" = yes; then
4669                             wx_cv_use_gpe='wxUSE_GPE=yes'
4670                           else
4671                             wx_cv_use_gpe='wxUSE_GPE=no'
4672                           fi
4673
4674 else
4675
4676                           wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4677
4678 fi
4679
4680
4681           eval "$wx_cv_use_gpe"
4682
4683           if test x"$enablestring" = xdisable; then
4684             if test $wxUSE_GPE = no; then
4685               result=yes
4686             else
4687               result=no
4688             fi
4689           else
4690             result=$wxUSE_GPE
4691           fi
4692
4693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4694 $as_echo "$result" >&6; }
4695
4696
4697
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4699 $as_echo_n "checking for toolkit... " >&6; }
4700
4701
4702
4703 # In Wine, we need to default to MSW, not GTK or MOTIF
4704 if test "$wxUSE_WINE" = "yes"; then
4705     DEFAULT_DEFAULT_wxUSE_GTK=0
4706     DEFAULT_DEFAULT_wxUSE_MOTIF=0
4707     DEFAULT_DEFAULT_wxUSE_MSW=1
4708     wxUSE_SHARED=no
4709     CC=${CC:-winegcc}
4710     CXX=${CXX:-wineg++}
4711 fi
4712
4713
4714 if test "$wxUSE_GUI" = "yes"; then
4715
4716     if test "$USE_BEOS" = 1; then
4717         as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4718     fi
4719
4720     if test "$TOOLKIT_GIVEN" = 1; then
4721             for toolkit in $ALL_TOOLKITS; do
4722         var=wxUSE_$toolkit
4723         eval "value=\$${var}"
4724         if test "x$value" = "xno"; then
4725           eval "$var=0"
4726         elif test "x$value" != "x"; then
4727           eval "$var=1"
4728         fi
4729
4730         if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4731           eval "wx${toolkit}_VERSION=$value"
4732         fi
4733       done
4734     else
4735             for toolkit in $ALL_TOOLKITS; do
4736         var=DEFAULT_DEFAULT_wxUSE_$toolkit
4737         eval "wxUSE_$toolkit=\$${var}"
4738       done
4739     fi
4740
4741             NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4742                   + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4743                   + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4744
4745         case "${host}" in
4746       *-pc-os2_emx | *-pc-os2-emx )
4747         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4748     esac
4749
4750     case "$NUM_TOOLKITS" in
4751       1)
4752       ;;
4753       0)
4754         as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4755       ;;
4756       *)
4757         as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4758     esac
4759
4760     for toolkit in $ALL_TOOLKITS; do
4761         var=wxUSE_$toolkit
4762         eval "value=\$${var}"
4763         if test "$value" = 1; then
4764           toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4765           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4766 $as_echo "$toolkit_echo" >&6; }
4767         fi
4768     done
4769 else
4770     if test "x$host_alias" != "x"; then
4771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4772 $as_echo "base ($host_alias hosted) only" >&6; }
4773     else
4774         { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4775 $as_echo "base only" >&6; }
4776     fi
4777 fi
4778
4779 wxUSE_MAC=0
4780 if test "$wxUSE_OSX_CARBON" = 1 \
4781        -o "$wxUSE_OSX_COCOA" = 1 \
4782        -o "$wxUSE_OSX_IPHONE" = 1; then
4783     wxUSE_MAC=1
4784 fi
4785
4786
4787
4788           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4789 $as_echo_n "checking for --with-libpng... " >&6; }
4790
4791 # Check whether --with-libpng was given.
4792 if test "${with_libpng+set}" = set; then :
4793   withval=$with_libpng;
4794                         if test "$withval" = yes; then
4795                           wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4796                         elif test "$withval" = no; then
4797                           wx_cv_use_libpng='wxUSE_LIBPNG=no'
4798                         elif test "$withval" = sys; then
4799                           wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4800                         elif test "$withval" = builtin; then
4801                           wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4802                         else
4803                           as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4804                         fi
4805
4806 else
4807
4808                         wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4809
4810 fi
4811
4812
4813           eval "$wx_cv_use_libpng"
4814
4815           if test "$wxUSE_LIBPNG" = yes; then
4816             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4817 $as_echo "yes" >&6; }
4818           elif test "$wxUSE_LIBPNG" = no; then
4819             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821           elif test "$wxUSE_LIBPNG" = sys; then
4822             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4823 $as_echo "system version" >&6; }
4824           elif test "$wxUSE_LIBPNG" = builtin; then
4825             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4826 $as_echo "builtin version" >&6; }
4827           else
4828             as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4829           fi
4830
4831
4832           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4833 $as_echo_n "checking for --with-libjpeg... " >&6; }
4834
4835 # Check whether --with-libjpeg was given.
4836 if test "${with_libjpeg+set}" = set; then :
4837   withval=$with_libjpeg;
4838                         if test "$withval" = yes; then
4839                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4840                         elif test "$withval" = no; then
4841                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4842                         elif test "$withval" = sys; then
4843                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4844                         elif test "$withval" = builtin; then
4845                           wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4846                         else
4847                           as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4848                         fi
4849
4850 else
4851
4852                         wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4853
4854 fi
4855
4856
4857           eval "$wx_cv_use_libjpeg"
4858
4859           if test "$wxUSE_LIBJPEG" = yes; then
4860             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4861 $as_echo "yes" >&6; }
4862           elif test "$wxUSE_LIBJPEG" = no; then
4863             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4865           elif test "$wxUSE_LIBJPEG" = sys; then
4866             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4867 $as_echo "system version" >&6; }
4868           elif test "$wxUSE_LIBJPEG" = builtin; then
4869             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4870 $as_echo "builtin version" >&6; }
4871           else
4872             as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4873           fi
4874
4875
4876           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4877 $as_echo_n "checking for --with-libtiff... " >&6; }
4878
4879 # Check whether --with-libtiff was given.
4880 if test "${with_libtiff+set}" = set; then :
4881   withval=$with_libtiff;
4882                         if test "$withval" = yes; then
4883                           wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4884                         elif test "$withval" = no; then
4885                           wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4886                         elif test "$withval" = sys; then
4887                           wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4888                         elif test "$withval" = builtin; then
4889                           wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4890                         else
4891                           as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4892                         fi
4893
4894 else
4895
4896                         wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4897
4898 fi
4899
4900
4901           eval "$wx_cv_use_libtiff"
4902
4903           if test "$wxUSE_LIBTIFF" = yes; then
4904             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 $as_echo "yes" >&6; }
4906           elif test "$wxUSE_LIBTIFF" = no; then
4907             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909           elif test "$wxUSE_LIBTIFF" = sys; then
4910             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4911 $as_echo "system version" >&6; }
4912           elif test "$wxUSE_LIBTIFF" = builtin; then
4913             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4914 $as_echo "builtin version" >&6; }
4915           else
4916             as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4917           fi
4918
4919
4920           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4921 $as_echo_n "checking for --with-libxpm... " >&6; }
4922
4923 # Check whether --with-libxpm was given.
4924 if test "${with_libxpm+set}" = set; then :
4925   withval=$with_libxpm;
4926                         if test "$withval" = yes; then
4927                           wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4928                         elif test "$withval" = no; then
4929                           wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4930                         elif test "$withval" = sys; then
4931                           wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4932                         elif test "$withval" = builtin; then
4933                           wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4934                         else
4935                           as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4936                         fi
4937
4938 else
4939
4940                         wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4941
4942 fi
4943
4944
4945           eval "$wx_cv_use_libxpm"
4946
4947           if test "$wxUSE_LIBXPM" = yes; then
4948             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950           elif test "$wxUSE_LIBXPM" = no; then
4951             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953           elif test "$wxUSE_LIBXPM" = sys; then
4954             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4955 $as_echo "system version" >&6; }
4956           elif test "$wxUSE_LIBXPM" = builtin; then
4957             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4958 $as_echo "builtin version" >&6; }
4959           else
4960             as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4961           fi
4962
4963
4964           withstring=
4965           defaultval=$wxUSE_ALL_FEATURES
4966           if test -z "$defaultval"; then
4967               if test x"$withstring" = xwithout; then
4968                   defaultval=yes
4969               else
4970                   defaultval=no
4971               fi
4972           fi
4973           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4974 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4975
4976 # Check whether --with-libiconv was given.
4977 if test "${with_libiconv+set}" = set; then :
4978   withval=$with_libiconv;
4979                         if test "$withval" = yes; then
4980                           wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4981                         else
4982                           wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4983                         fi
4984
4985 else
4986
4987                         wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4988
4989 fi
4990
4991
4992           eval "$wx_cv_use_libiconv"
4993
4994           if test x"$withstring" = xwithout; then
4995             if test $wxUSE_LIBICONV = yes; then
4996               result=no
4997             else
4998               result=yes
4999             fi
5000           else
5001             result=$wxUSE_LIBICONV
5002           fi
5003
5004           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5005 $as_echo "$result" >&6; }
5006
5007
5008           withstring=
5009           defaultval=$wxUSE_ALL_FEATURES
5010           if test -z "$defaultval"; then
5011               if test x"$withstring" = xwithout; then
5012                   defaultval=yes
5013               else
5014                   defaultval=no
5015               fi
5016           fi
5017           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5018 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5019
5020 # Check whether --with-libmspack was given.
5021 if test "${with_libmspack+set}" = set; then :
5022   withval=$with_libmspack;
5023                         if test "$withval" = yes; then
5024                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5025                         else
5026                           wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5027                         fi
5028
5029 else
5030
5031                         wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5032
5033 fi
5034
5035
5036           eval "$wx_cv_use_libmspack"
5037
5038           if test x"$withstring" = xwithout; then
5039             if test $wxUSE_LIBMSPACK = yes; then
5040               result=no
5041             else
5042               result=yes
5043             fi
5044           else
5045             result=$wxUSE_LIBMSPACK
5046           fi
5047
5048           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5049 $as_echo "$result" >&6; }
5050
5051
5052           withstring=without
5053           defaultval=$wxUSE_ALL_FEATURES
5054           if test -z "$defaultval"; then
5055               if test x"$withstring" = xwithout; then
5056                   defaultval=yes
5057               else
5058                   defaultval=no
5059               fi
5060           fi
5061           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5062 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5063
5064 # Check whether --with-gtkprint was given.
5065 if test "${with_gtkprint+set}" = set; then :
5066   withval=$with_gtkprint;
5067                         if test "$withval" = yes; then
5068                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5069                         else
5070                           wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5071                         fi
5072
5073 else
5074
5075                         wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5076
5077 fi
5078
5079
5080           eval "$wx_cv_use_gtkprint"
5081
5082           if test x"$withstring" = xwithout; then
5083             if test $wxUSE_GTKPRINT = yes; then
5084               result=no
5085             else
5086               result=yes
5087             fi
5088           else
5089             result=$wxUSE_GTKPRINT
5090           fi
5091
5092           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5093 $as_echo "$result" >&6; }
5094
5095
5096           withstring=without
5097           defaultval=$wxUSE_ALL_FEATURES
5098           if test -z "$defaultval"; then
5099               if test x"$withstring" = xwithout; then
5100                   defaultval=yes
5101               else
5102                   defaultval=no
5103               fi
5104           fi
5105           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5106 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5107
5108 # Check whether --with-gnomeprint was given.
5109 if test "${with_gnomeprint+set}" = set; then :
5110   withval=$with_gnomeprint;
5111                         if test "$withval" = yes; then
5112                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5113                         else
5114                           wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5115                         fi
5116
5117 else
5118
5119                         wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5120
5121 fi
5122
5123
5124           eval "$wx_cv_use_gnomeprint"
5125
5126           if test x"$withstring" = xwithout; then
5127             if test $wxUSE_LIBGNOMEPRINT = yes; then
5128               result=no
5129             else
5130               result=yes
5131             fi
5132           else
5133             result=$wxUSE_LIBGNOMEPRINT
5134           fi
5135
5136           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5137 $as_echo "$result" >&6; }
5138
5139
5140           withstring=
5141           defaultval=$wxUSE_ALL_FEATURES
5142           if test -z "$defaultval"; then
5143               if test x"$withstring" = xwithout; then
5144                   defaultval=yes
5145               else
5146                   defaultval=no
5147               fi
5148           fi
5149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5150 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5151
5152 # Check whether --with-gnomevfs was given.
5153 if test "${with_gnomevfs+set}" = set; then :
5154   withval=$with_gnomevfs;
5155                         if test "$withval" = yes; then
5156                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5157                         else
5158                           wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5159                         fi
5160
5161 else
5162
5163                         wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5164
5165 fi
5166
5167
5168           eval "$wx_cv_use_gnomevfs"
5169
5170           if test x"$withstring" = xwithout; then
5171             if test $wxUSE_LIBGNOMEVFS = yes; then
5172               result=no
5173             else
5174               result=yes
5175             fi
5176           else
5177             result=$wxUSE_LIBGNOMEVFS
5178           fi
5179
5180           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5181 $as_echo "$result" >&6; }
5182
5183
5184           withstring=
5185           defaultval=$wxUSE_ALL_FEATURES
5186           if test -z "$defaultval"; then
5187               if test x"$withstring" = xwithout; then
5188                   defaultval=yes
5189               else
5190                   defaultval=no
5191               fi
5192           fi
5193           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5194 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5195
5196 # Check whether --with-hildon was given.
5197 if test "${with_hildon+set}" = set; then :
5198   withval=$with_hildon;
5199                         if test "$withval" = yes; then
5200                           wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5201                         else
5202                           wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5203                         fi
5204
5205 else
5206
5207                         wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5208
5209 fi
5210
5211
5212           eval "$wx_cv_use_hildon"
5213
5214           if test x"$withstring" = xwithout; then
5215             if test $wxUSE_LIBHILDON = yes; then
5216               result=no
5217             else
5218               result=yes
5219             fi
5220           else
5221             result=$wxUSE_LIBHILDON
5222           fi
5223
5224           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5225 $as_echo "$result" >&6; }
5226
5227
5228           withstring=
5229           defaultval=$wxUSE_ALL_FEATURES
5230           if test -z "$defaultval"; then
5231               if test x"$withstring" = xwithout; then
5232                   defaultval=yes
5233               else
5234                   defaultval=no
5235               fi
5236           fi
5237           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5238 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5239
5240 # Check whether --with-opengl was given.
5241 if test "${with_opengl+set}" = set; then :
5242   withval=$with_opengl;
5243                         if test "$withval" = yes; then
5244                           wx_cv_use_opengl='wxUSE_OPENGL=yes'
5245                         else
5246                           wx_cv_use_opengl='wxUSE_OPENGL=no'
5247                         fi
5248
5249 else
5250
5251                         wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5252
5253 fi
5254
5255
5256           eval "$wx_cv_use_opengl"
5257
5258           if test x"$withstring" = xwithout; then
5259             if test $wxUSE_OPENGL = yes; then
5260               result=no
5261             else
5262               result=yes
5263             fi
5264           else
5265             result=$wxUSE_OPENGL
5266           fi
5267
5268           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5269 $as_echo "$result" >&6; }
5270
5271
5272 fi
5273
5274
5275           withstring=
5276           defaultval=$wxUSE_ALL_FEATURES
5277           if test -z "$defaultval"; then
5278               if test x"$withstring" = xwithout; then
5279                   defaultval=yes
5280               else
5281                   defaultval=no
5282               fi
5283           fi
5284           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5285 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5286
5287 # Check whether --with-dmalloc was given.
5288 if test "${with_dmalloc+set}" = set; then :
5289   withval=$with_dmalloc;
5290                         if test "$withval" = yes; then
5291                           wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5292                         else
5293                           wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5294                         fi
5295
5296 else
5297
5298                         wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5299
5300 fi
5301
5302
5303           eval "$wx_cv_use_dmalloc"
5304
5305           if test x"$withstring" = xwithout; then
5306             if test $wxUSE_DMALLOC = yes; then
5307               result=no
5308             else
5309               result=yes
5310             fi
5311           else
5312             result=$wxUSE_DMALLOC
5313           fi
5314
5315           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5316 $as_echo "$result" >&6; }
5317
5318
5319           withstring=
5320           defaultval=$wxUSE_ALL_FEATURES
5321           if test -z "$defaultval"; then
5322               if test x"$withstring" = xwithout; then
5323                   defaultval=yes
5324               else
5325                   defaultval=no
5326               fi
5327           fi
5328           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5329 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5330
5331 # Check whether --with-sdl was given.
5332 if test "${with_sdl+set}" = set; then :
5333   withval=$with_sdl;
5334                         if test "$withval" = yes; then
5335                           wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5336                         else
5337                           wx_cv_use_sdl='wxUSE_LIBSDL=no'
5338                         fi
5339
5340 else
5341
5342                         wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5343
5344 fi
5345
5346
5347           eval "$wx_cv_use_sdl"
5348
5349           if test x"$withstring" = xwithout; then
5350             if test $wxUSE_LIBSDL = yes; then
5351               result=no
5352             else
5353               result=yes
5354             fi
5355           else
5356             result=$wxUSE_LIBSDL
5357           fi
5358
5359           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5360 $as_echo "$result" >&6; }
5361
5362
5363           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5364 $as_echo_n "checking for --with-regex... " >&6; }
5365
5366 # Check whether --with-regex was given.
5367 if test "${with_regex+set}" = set; then :
5368   withval=$with_regex;
5369                         if test "$withval" = yes; then
5370                           wx_cv_use_regex='wxUSE_REGEX=yes'
5371                         elif test "$withval" = no; then
5372                           wx_cv_use_regex='wxUSE_REGEX=no'
5373                         elif test "$withval" = sys; then
5374                           wx_cv_use_regex='wxUSE_REGEX=sys'
5375                         elif test "$withval" = builtin; then
5376                           wx_cv_use_regex='wxUSE_REGEX=builtin'
5377                         else
5378                           as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5379                         fi
5380
5381 else
5382
5383                         wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5384
5385 fi
5386
5387
5388           eval "$wx_cv_use_regex"
5389
5390           if test "$wxUSE_REGEX" = yes; then
5391             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 $as_echo "yes" >&6; }
5393           elif test "$wxUSE_REGEX" = no; then
5394             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5396           elif test "$wxUSE_REGEX" = sys; then
5397             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5398 $as_echo "system version" >&6; }
5399           elif test "$wxUSE_REGEX" = builtin; then
5400             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5401 $as_echo "builtin version" >&6; }
5402           else
5403             as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5404           fi
5405
5406
5407           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5408 $as_echo_n "checking for --with-zlib... " >&6; }
5409
5410 # Check whether --with-zlib was given.
5411 if test "${with_zlib+set}" = set; then :
5412   withval=$with_zlib;
5413                         if test "$withval" = yes; then
5414                           wx_cv_use_zlib='wxUSE_ZLIB=yes'
5415                         elif test "$withval" = no; then
5416                           wx_cv_use_zlib='wxUSE_ZLIB=no'
5417                         elif test "$withval" = sys; then
5418                           wx_cv_use_zlib='wxUSE_ZLIB=sys'
5419                         elif test "$withval" = builtin; then
5420                           wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5421                         else
5422                           as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5423                         fi
5424
5425 else
5426
5427                         wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5428
5429 fi
5430
5431
5432           eval "$wx_cv_use_zlib"
5433
5434           if test "$wxUSE_ZLIB" = yes; then
5435             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5436 $as_echo "yes" >&6; }
5437           elif test "$wxUSE_ZLIB" = no; then
5438             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5440           elif test "$wxUSE_ZLIB" = sys; then
5441             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5442 $as_echo "system version" >&6; }
5443           elif test "$wxUSE_ZLIB" = builtin; then
5444             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5445 $as_echo "builtin version" >&6; }
5446           else
5447             as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5448           fi
5449
5450
5451           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5452 $as_echo_n "checking for --with-expat... " >&6; }
5453
5454 # Check whether --with-expat was given.
5455 if test "${with_expat+set}" = set; then :
5456   withval=$with_expat;
5457                         if test "$withval" = yes; then
5458                           wx_cv_use_expat='wxUSE_EXPAT=yes'
5459                         elif test "$withval" = no; then
5460                           wx_cv_use_expat='wxUSE_EXPAT=no'
5461                         elif test "$withval" = sys; then
5462                           wx_cv_use_expat='wxUSE_EXPAT=sys'
5463                         elif test "$withval" = builtin; then
5464                           wx_cv_use_expat='wxUSE_EXPAT=builtin'
5465                         else
5466                           as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5467                         fi
5468
5469 else
5470
5471                         wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5472
5473 fi
5474
5475
5476           eval "$wx_cv_use_expat"
5477
5478           if test "$wxUSE_EXPAT" = yes; then
5479             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5480 $as_echo "yes" >&6; }
5481           elif test "$wxUSE_EXPAT" = no; then
5482             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5484           elif test "$wxUSE_EXPAT" = sys; then
5485             { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5486 $as_echo "system version" >&6; }
5487           elif test "$wxUSE_EXPAT" = builtin; then
5488             { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5489 $as_echo "builtin version" >&6; }
5490           else
5491             as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5492           fi
5493
5494
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5496 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5497
5498 # Check whether --with-macosx-sdk was given.
5499 if test "${with_macosx_sdk+set}" = set; then :
5500   withval=$with_macosx_sdk;
5501         wxUSE_MACOSX_SDK=$withval
5502         wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5503
5504 fi
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5507 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5508
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5510 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5511
5512 # Check whether --with-macosx-version-min was given.
5513 if test "${with_macosx_version_min+set}" = set; then :
5514   withval=$with_macosx_version_min;
5515         wxUSE_MACOSX_VERSION_MIN=$withval
5516         wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5517
5518 fi
5519
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5521 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5522
5523
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5525 $as_echo_n "checking for --enable-debug... " >&6; }
5526 # Check whether --enable-debug was given.
5527 if test "${enable_debug+set}" = set; then :
5528   enableval=$enable_debug;
5529         if test "$enableval" = yes; then
5530             wxUSE_DEBUG=yes
5531         elif test "$enableval" = no; then
5532             wxUSE_DEBUG=no
5533         elif test "$enableval" = max; then
5534             wxUSE_DEBUG=yes
5535             WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5536         else
5537             as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5538         fi
5539
5540 else
5541   wxUSE_DEBUG=default
5542
5543 fi
5544
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5546 $as_echo "${enable_debug-default}" >&6; }
5547
5548 case "$wxUSE_DEBUG" in
5549     yes)
5550                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5551         DEFAULT_wxUSE_DEBUG_INFO=yes
5552
5553                         DEFAULT_wxUSE_OPTIMISE=no
5554         ;;
5555
5556     no)
5557                         DEFAULT_wxUSE_DEBUG_FLAG=no
5558         DEFAULT_wxUSE_DEBUG_INFO=no
5559         ;;
5560
5561     default)
5562                         DEFAULT_wxUSE_DEBUG_FLAG=yes
5563         DEFAULT_wxUSE_DEBUG_INFO=no
5564         ;;
5565 esac
5566
5567
5568           enablestring=disable
5569           defaultval=
5570           if test -z "$defaultval"; then
5571               if test x"$enablestring" = xdisable; then
5572                   defaultval=yes
5573               else
5574                   defaultval=no
5575               fi
5576           fi
5577
5578           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5579 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5580           # Check whether --enable-debug_flag was given.
5581 if test "${enable_debug_flag+set}" = set; then :
5582   enableval=$enable_debug_flag;
5583                           if test "$enableval" = yes; then
5584                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5585                           else
5586                             wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5587                           fi
5588
5589 else
5590
5591                           wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5592
5593 fi
5594
5595
5596           eval "$wx_cv_use_debug_flag"
5597
5598           if test x"$enablestring" = xdisable; then
5599             if test $wxUSE_DEBUG_FLAG = no; then
5600               result=yes
5601             else
5602               result=no
5603             fi
5604           else
5605             result=$wxUSE_DEBUG_FLAG
5606           fi
5607
5608           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5609 $as_echo "$result" >&6; }
5610
5611
5612           enablestring=
5613           defaultval=
5614           if test -z "$defaultval"; then
5615               if test x"$enablestring" = xdisable; then
5616                   defaultval=yes
5617               else
5618                   defaultval=no
5619               fi
5620           fi
5621
5622           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5623 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5624           # Check whether --enable-debug_info was given.
5625 if test "${enable_debug_info+set}" = set; then :
5626   enableval=$enable_debug_info;
5627                           if test "$enableval" = yes; then
5628                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5629                           else
5630                             wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5631                           fi
5632
5633 else
5634
5635                           wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5636
5637 fi
5638
5639
5640           eval "$wx_cv_use_debug_info"
5641
5642           if test x"$enablestring" = xdisable; then
5643             if test $wxUSE_DEBUG_INFO = no; then
5644               result=yes
5645             else
5646               result=no
5647             fi
5648           else
5649             result=$wxUSE_DEBUG_INFO
5650           fi
5651
5652           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5653 $as_echo "$result" >&6; }
5654
5655
5656
5657
5658           enablestring=
5659           defaultval=
5660           if test -z "$defaultval"; then
5661               if test x"$enablestring" = xdisable; then
5662                   defaultval=yes
5663               else
5664                   defaultval=no
5665               fi
5666           fi
5667
5668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5669 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5670           # Check whether --enable-debug_gdb was given.
5671 if test "${enable_debug_gdb+set}" = set; then :
5672   enableval=$enable_debug_gdb;
5673                           if test "$enableval" = yes; then
5674                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5675                           else
5676                             wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5677                           fi
5678
5679 else
5680
5681                           wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5682
5683 fi
5684
5685
5686           eval "$wx_cv_use_debug_gdb"
5687
5688           if test x"$enablestring" = xdisable; then
5689             if test $wxUSE_DEBUG_GDB = no; then
5690               result=yes
5691             else
5692               result=no
5693             fi
5694           else
5695             result=$wxUSE_DEBUG_GDB
5696           fi
5697
5698           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5699 $as_echo "$result" >&6; }
5700
5701
5702           enablestring=
5703           defaultval=
5704           if test -z "$defaultval"; then
5705               if test x"$enablestring" = xdisable; then
5706                   defaultval=yes
5707               else
5708                   defaultval=no
5709               fi
5710           fi
5711
5712           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5713 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5714           # Check whether --enable-debug_cntxt was given.
5715 if test "${enable_debug_cntxt+set}" = set; then :
5716   enableval=$enable_debug_cntxt;
5717                           if test "$enableval" = yes; then
5718                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5719                           else
5720                             wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5721                           fi
5722
5723 else
5724
5725                           wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5726
5727 fi
5728
5729
5730           eval "$wx_cv_use_debug_cntxt"
5731
5732           if test x"$enablestring" = xdisable; then
5733             if test $wxUSE_DEBUG_CONTEXT = no; then
5734               result=yes
5735             else
5736               result=no
5737             fi
5738           else
5739             result=$wxUSE_DEBUG_CONTEXT
5740           fi
5741
5742           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5743 $as_echo "$result" >&6; }
5744
5745
5746           enablestring=
5747           defaultval=
5748           if test -z "$defaultval"; then
5749               if test x"$enablestring" = xdisable; then
5750                   defaultval=yes
5751               else
5752                   defaultval=no
5753               fi
5754           fi
5755
5756           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5757 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5758           # Check whether --enable-mem_tracing was given.
5759 if test "${enable_mem_tracing+set}" = set; then :
5760   enableval=$enable_mem_tracing;
5761                           if test "$enableval" = yes; then
5762                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5763                           else
5764                             wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5765                           fi
5766
5767 else
5768
5769                           wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5770
5771 fi
5772
5773
5774           eval "$wx_cv_use_mem_tracing"
5775
5776           if test x"$enablestring" = xdisable; then
5777             if test $wxUSE_MEM_TRACING = no; then
5778               result=yes
5779             else
5780               result=no
5781             fi
5782           else
5783             result=$wxUSE_MEM_TRACING
5784           fi
5785
5786           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5787 $as_echo "$result" >&6; }
5788
5789
5790
5791
5792           enablestring=disable
5793           defaultval=
5794           if test -z "$defaultval"; then
5795               if test x"$enablestring" = xdisable; then
5796                   defaultval=yes
5797               else
5798                   defaultval=no
5799               fi
5800           fi
5801
5802           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5803 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5804           # Check whether --enable-shared was given.
5805 if test "${enable_shared+set}" = set; then :
5806   enableval=$enable_shared;
5807                           if test "$enableval" = yes; then
5808                             wx_cv_use_shared='wxUSE_SHARED=yes'
5809                           else
5810                             wx_cv_use_shared='wxUSE_SHARED=no'
5811                           fi
5812
5813 else
5814
5815                           wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5816
5817 fi
5818
5819
5820           eval "$wx_cv_use_shared"
5821
5822           if test x"$enablestring" = xdisable; then
5823             if test $wxUSE_SHARED = no; then
5824               result=yes
5825             else
5826               result=no
5827             fi
5828           else
5829             result=$wxUSE_SHARED
5830           fi
5831
5832           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5833 $as_echo "$result" >&6; }
5834
5835
5836           enablestring=
5837           defaultval=
5838           if test -z "$defaultval"; then
5839               if test x"$enablestring" = xdisable; then
5840                   defaultval=yes
5841               else
5842                   defaultval=no
5843               fi
5844           fi
5845
5846           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5847 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5848           # Check whether --enable-stl was given.
5849 if test "${enable_stl+set}" = set; then :
5850   enableval=$enable_stl;
5851                           if test "$enableval" = yes; then
5852                             wx_cv_use_stl='wxUSE_STL=yes'
5853                           else
5854                             wx_cv_use_stl='wxUSE_STL=no'
5855                           fi
5856
5857 else
5858
5859                           wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5860
5861 fi
5862
5863
5864           eval "$wx_cv_use_stl"
5865
5866           if test x"$enablestring" = xdisable; then
5867             if test $wxUSE_STL = no; then
5868               result=yes
5869             else
5870               result=no
5871             fi
5872           else
5873             result=$wxUSE_STL
5874           fi
5875
5876           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5877 $as_echo "$result" >&6; }
5878
5879 if test "$wxUSE_STL" = "yes"; then
5880     DEFAULT_wxUSE_STD_CONTAINERS=yes
5881     DEFAULT_wxUSE_STD_IOSTREAM=yes
5882     DEFAULT_wxUSE_STD_STRING=yes
5883 fi
5884
5885           enablestring=
5886           defaultval=
5887           if test -z "$defaultval"; then
5888               if test x"$enablestring" = xdisable; then
5889                   defaultval=yes
5890               else
5891                   defaultval=no
5892               fi
5893           fi
5894
5895           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5896 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5897           # Check whether --enable-std_containers was given.
5898 if test "${enable_std_containers+set}" = set; then :
5899   enableval=$enable_std_containers;
5900                           if test "$enableval" = yes; then
5901                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5902                           else
5903                             wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5904                           fi
5905
5906 else
5907
5908                           wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5909
5910 fi
5911
5912
5913           eval "$wx_cv_use_std_containers"
5914
5915           if test x"$enablestring" = xdisable; then
5916             if test $wxUSE_STD_CONTAINERS = no; then
5917               result=yes
5918             else
5919               result=no
5920             fi
5921           else
5922             result=$wxUSE_STD_CONTAINERS
5923           fi
5924
5925           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5926 $as_echo "$result" >&6; }
5927
5928
5929           enablestring=
5930           defaultval=
5931           if test -z "$defaultval"; then
5932               if test x"$enablestring" = xdisable; then
5933                   defaultval=yes
5934               else
5935                   defaultval=no
5936               fi
5937           fi
5938
5939           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5940 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5941           # Check whether --enable-std_iostreams was given.
5942 if test "${enable_std_iostreams+set}" = set; then :
5943   enableval=$enable_std_iostreams;
5944                           if test "$enableval" = yes; then
5945                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5946                           else
5947                             wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5948                           fi
5949
5950 else
5951
5952                           wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5953
5954 fi
5955
5956
5957           eval "$wx_cv_use_std_iostreams"
5958
5959           if test x"$enablestring" = xdisable; then
5960             if test $wxUSE_STD_IOSTREAM = no; then
5961               result=yes
5962             else
5963               result=no
5964             fi
5965           else
5966             result=$wxUSE_STD_IOSTREAM
5967           fi
5968
5969           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5970 $as_echo "$result" >&6; }
5971
5972
5973           enablestring=
5974           defaultval=
5975           if test -z "$defaultval"; then
5976               if test x"$enablestring" = xdisable; then
5977                   defaultval=yes
5978               else
5979                   defaultval=no
5980               fi
5981           fi
5982
5983           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5984 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5985           # Check whether --enable-std_string was given.
5986 if test "${enable_std_string+set}" = set; then :
5987   enableval=$enable_std_string;
5988                           if test "$enableval" = yes; then
5989                             wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5990                           else
5991                             wx_cv_use_std_string='wxUSE_STD_STRING=no'
5992                           fi
5993
5994 else
5995
5996                           wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5997
5998 fi
5999
6000
6001           eval "$wx_cv_use_std_string"
6002
6003           if test x"$enablestring" = xdisable; then
6004             if test $wxUSE_STD_STRING = no; then
6005               result=yes
6006             else
6007               result=no
6008             fi
6009           else
6010             result=$wxUSE_STD_STRING
6011           fi
6012
6013           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6014 $as_echo "$result" >&6; }
6015
6016
6017           enablestring=
6018           defaultval=
6019           if test -z "$defaultval"; then
6020               if test x"$enablestring" = xdisable; then
6021                   defaultval=yes
6022               else
6023                   defaultval=no
6024               fi
6025           fi
6026
6027           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6028 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6029           # Check whether --enable-std_string_conv_in_wxstring was given.
6030 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6031   enableval=$enable_std_string_conv_in_wxstring;
6032                           if test "$enableval" = yes; then
6033                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6034                           else
6035                             wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6036                           fi
6037
6038 else
6039
6040                           wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6041
6042 fi
6043
6044
6045           eval "$wx_cv_use_std_string_conv_in_wxstring"
6046
6047           if test x"$enablestring" = xdisable; then
6048             if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6049               result=yes
6050             else
6051               result=no
6052             fi
6053           else
6054             result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6055           fi
6056
6057           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6058 $as_echo "$result" >&6; }
6059
6060
6061           enablestring=disable
6062           defaultval=
6063           if test -z "$defaultval"; then
6064               if test x"$enablestring" = xdisable; then
6065                   defaultval=yes
6066               else
6067                   defaultval=no
6068               fi
6069           fi
6070
6071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6072 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6073           # Check whether --enable-unicode was given.
6074 if test "${enable_unicode+set}" = set; then :
6075   enableval=$enable_unicode;
6076                           if test "$enableval" = yes; then
6077                             wx_cv_use_unicode='wxUSE_UNICODE=yes'
6078                           else
6079                             wx_cv_use_unicode='wxUSE_UNICODE=no'
6080                           fi
6081
6082 else
6083
6084                           wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6085
6086 fi
6087
6088
6089           eval "$wx_cv_use_unicode"
6090
6091           if test x"$enablestring" = xdisable; then
6092             if test $wxUSE_UNICODE = no; then
6093               result=yes
6094             else
6095               result=no
6096             fi
6097           else
6098             result=$wxUSE_UNICODE
6099           fi
6100
6101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6102 $as_echo "$result" >&6; }
6103
6104
6105           enablestring=
6106           defaultval=
6107           if test -z "$defaultval"; then
6108               if test x"$enablestring" = xdisable; then
6109                   defaultval=yes
6110               else
6111                   defaultval=no
6112               fi
6113           fi
6114
6115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6116 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6117           # Check whether --enable-mslu was given.
6118 if test "${enable_mslu+set}" = set; then :
6119   enableval=$enable_mslu;
6120                           if test "$enableval" = yes; then
6121                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6122                           else
6123                             wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6124                           fi
6125
6126 else
6127
6128                           wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6129
6130 fi
6131
6132
6133           eval "$wx_cv_use_mslu"
6134
6135           if test x"$enablestring" = xdisable; then
6136             if test $wxUSE_UNICODE_MSLU = no; then
6137               result=yes
6138             else
6139               result=no
6140             fi
6141           else
6142             result=$wxUSE_UNICODE_MSLU
6143           fi
6144
6145           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6146 $as_echo "$result" >&6; }
6147
6148
6149           enablestring=
6150           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6151 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6152           # Check whether --enable-utf8 was given.
6153 if test "${enable_utf8+set}" = set; then :
6154   enableval=$enable_utf8;
6155                           wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6156
6157 else
6158
6159                           wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6160
6161 fi
6162
6163
6164           eval "$wx_cv_use_utf8"
6165
6166           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6167 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6168
6169
6170           enablestring=
6171           defaultval=
6172           if test -z "$defaultval"; then
6173               if test x"$enablestring" = xdisable; then
6174                   defaultval=yes
6175               else
6176                   defaultval=no
6177               fi
6178           fi
6179
6180           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6181 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6182           # Check whether --enable-utf8only was given.
6183 if test "${enable_utf8only+set}" = set; then :
6184   enableval=$enable_utf8only;
6185                           if test "$enableval" = yes; then
6186                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6187                           else
6188                             wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6189                           fi
6190
6191 else
6192
6193                           wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6194
6195 fi
6196
6197
6198           eval "$wx_cv_use_utf8only"
6199
6200           if test x"$enablestring" = xdisable; then
6201             if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6202               result=yes
6203             else
6204               result=no
6205             fi
6206           else
6207             result=$wxUSE_UNICODE_UTF8_LOCALE
6208           fi
6209
6210           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6211 $as_echo "$result" >&6; }
6212
6213
6214           enablestring=
6215           defaultval=
6216           if test -z "$defaultval"; then
6217               if test x"$enablestring" = xdisable; then
6218                   defaultval=yes
6219               else
6220                   defaultval=no
6221               fi
6222           fi
6223
6224           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6225 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6226           # Check whether --enable-extended_rtti was given.
6227 if test "${enable_extended_rtti+set}" = set; then :
6228   enableval=$enable_extended_rtti;
6229                           if test "$enableval" = yes; then
6230                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6231                           else
6232                             wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6233                           fi
6234
6235 else
6236
6237                           wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6238
6239 fi
6240
6241
6242           eval "$wx_cv_use_extended_rtti"
6243
6244           if test x"$enablestring" = xdisable; then
6245             if test $wxUSE_EXTENDED_RTTI = no; then
6246               result=yes
6247             else
6248               result=no
6249             fi
6250           else
6251             result=$wxUSE_EXTENDED_RTTI
6252           fi
6253
6254           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6255 $as_echo "$result" >&6; }
6256
6257 if test "$USE_OS2" = 1; then
6258     DEFAULT_wxUSE_OMF=no
6259
6260           enablestring=
6261           defaultval=
6262           if test -z "$defaultval"; then
6263               if test x"$enablestring" = xdisable; then
6264                   defaultval=yes
6265               else
6266                   defaultval=no
6267               fi
6268           fi
6269
6270           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6271 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6272           # Check whether --enable-omf was given.
6273 if test "${enable_omf+set}" = set; then :
6274   enableval=$enable_omf;
6275                           if test "$enableval" = yes; then
6276                             wx_cv_use_omf='wxUSE_OMF=yes'
6277                           else
6278                             wx_cv_use_omf='wxUSE_OMF=no'
6279                           fi
6280
6281 else
6282
6283                           wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6284
6285 fi
6286
6287
6288           eval "$wx_cv_use_omf"
6289
6290           if test x"$enablestring" = xdisable; then
6291             if test $wxUSE_OMF = no; then
6292               result=yes
6293             else
6294               result=no
6295             fi
6296           else
6297             result=$wxUSE_OMF
6298           fi
6299
6300           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6301 $as_echo "$result" >&6; }
6302
6303 fi
6304
6305
6306           enablestring=disable
6307           defaultval=
6308           if test -z "$defaultval"; then
6309               if test x"$enablestring" = xdisable; then
6310                   defaultval=yes
6311               else
6312                   defaultval=no
6313               fi
6314           fi
6315
6316           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6317 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6318           # Check whether --enable-optimise was given.
6319 if test "${enable_optimise+set}" = set; then :
6320   enableval=$enable_optimise;
6321                           if test "$enableval" = yes; then
6322                             wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6323                           else
6324                             wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6325                           fi
6326
6327 else
6328
6329                           wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6330
6331 fi
6332
6333
6334           eval "$wx_cv_use_optimise"
6335
6336           if test x"$enablestring" = xdisable; then
6337             if test $wxUSE_OPTIMISE = no; then
6338               result=yes
6339             else
6340               result=no
6341             fi
6342           else
6343             result=$wxUSE_OPTIMISE
6344           fi
6345
6346           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6347 $as_echo "$result" >&6; }
6348
6349
6350
6351           enablestring=
6352           defaultval=
6353           if test -z "$defaultval"; then
6354               if test x"$enablestring" = xdisable; then
6355                   defaultval=yes
6356               else
6357                   defaultval=no
6358               fi
6359           fi
6360
6361           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6362 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6363           # Check whether --enable-profile was given.
6364 if test "${enable_profile+set}" = set; then :
6365   enableval=$enable_profile;
6366                           if test "$enableval" = yes; then
6367                             wx_cv_use_profile='wxUSE_PROFILE=yes'
6368                           else
6369                             wx_cv_use_profile='wxUSE_PROFILE=no'
6370                           fi
6371
6372 else
6373
6374                           wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6375
6376 fi
6377
6378
6379           eval "$wx_cv_use_profile"
6380
6381           if test x"$enablestring" = xdisable; then
6382             if test $wxUSE_PROFILE = no; then
6383               result=yes
6384             else
6385               result=no
6386             fi
6387           else
6388             result=$wxUSE_PROFILE
6389           fi
6390
6391           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6392 $as_echo "$result" >&6; }
6393
6394
6395           enablestring=
6396           defaultval=
6397           if test -z "$defaultval"; then
6398               if test x"$enablestring" = xdisable; then
6399                   defaultval=yes
6400               else
6401                   defaultval=no
6402               fi
6403           fi
6404
6405           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6406 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6407           # Check whether --enable-no_rtti was given.
6408 if test "${enable_no_rtti+set}" = set; then :
6409   enableval=$enable_no_rtti;
6410                           if test "$enableval" = yes; then
6411                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6412                           else
6413                             wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6414                           fi
6415
6416 else
6417
6418                           wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6419
6420 fi
6421
6422
6423           eval "$wx_cv_use_no_rtti"
6424
6425           if test x"$enablestring" = xdisable; then
6426             if test $wxUSE_NO_RTTI = no; then
6427               result=yes
6428             else
6429               result=no
6430             fi
6431           else
6432             result=$wxUSE_NO_RTTI
6433           fi
6434
6435           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6436 $as_echo "$result" >&6; }
6437
6438
6439           enablestring=
6440           defaultval=
6441           if test -z "$defaultval"; then
6442               if test x"$enablestring" = xdisable; then
6443                   defaultval=yes
6444               else
6445                   defaultval=no
6446               fi
6447           fi
6448
6449           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6450 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6451           # Check whether --enable-no_exceptions was given.
6452 if test "${enable_no_exceptions+set}" = set; then :
6453   enableval=$enable_no_exceptions;
6454                           if test "$enableval" = yes; then
6455                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6456                           else
6457                             wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6458                           fi
6459
6460 else
6461
6462                           wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6463
6464 fi
6465
6466
6467           eval "$wx_cv_use_no_exceptions"
6468
6469           if test x"$enablestring" = xdisable; then
6470             if test $wxUSE_NO_EXCEPTIONS = no; then
6471               result=yes
6472             else
6473               result=no
6474             fi
6475           else
6476             result=$wxUSE_NO_EXCEPTIONS
6477           fi
6478
6479           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6480 $as_echo "$result" >&6; }
6481
6482
6483           enablestring=
6484           defaultval=
6485           if test -z "$defaultval"; then
6486               if test x"$enablestring" = xdisable; then
6487                   defaultval=yes
6488               else
6489                   defaultval=no
6490               fi
6491           fi
6492
6493           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6494 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6495           # Check whether --enable-permissive was given.
6496 if test "${enable_permissive+set}" = set; then :
6497   enableval=$enable_permissive;
6498                           if test "$enableval" = yes; then
6499                             wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6500                           else
6501                             wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6502                           fi
6503
6504 else
6505
6506                           wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6507
6508 fi
6509
6510
6511           eval "$wx_cv_use_permissive"
6512
6513           if test x"$enablestring" = xdisable; then
6514             if test $wxUSE_PERMISSIVE = no; then
6515               result=yes
6516             else
6517               result=no
6518             fi
6519           else
6520             result=$wxUSE_PERMISSIVE
6521           fi
6522
6523           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6524 $as_echo "$result" >&6; }
6525
6526
6527           enablestring=
6528           defaultval=
6529           if test -z "$defaultval"; then
6530               if test x"$enablestring" = xdisable; then
6531                   defaultval=yes
6532               else
6533                   defaultval=no
6534               fi
6535           fi
6536
6537           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6538 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6539           # Check whether --enable-no_deps was given.
6540 if test "${enable_no_deps+set}" = set; then :
6541   enableval=$enable_no_deps;
6542                           if test "$enableval" = yes; then
6543                             wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6544                           else
6545                             wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6546                           fi
6547
6548 else
6549
6550                           wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6551
6552 fi
6553
6554
6555           eval "$wx_cv_use_no_deps"
6556
6557           if test x"$enablestring" = xdisable; then
6558             if test $wxUSE_NO_DEPS = no; then
6559               result=yes
6560             else
6561               result=no
6562             fi
6563           else
6564             result=$wxUSE_NO_DEPS
6565           fi
6566
6567           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6568 $as_echo "$result" >&6; }
6569
6570
6571           enablestring=disable
6572           defaultval=
6573           if test -z "$defaultval"; then
6574               if test x"$enablestring" = xdisable; then
6575                   defaultval=yes
6576               else
6577                   defaultval=no
6578               fi
6579           fi
6580
6581           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6582 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6583           # Check whether --enable-vararg_macros was given.
6584 if test "${enable_vararg_macros+set}" = set; then :
6585   enableval=$enable_vararg_macros;
6586                           if test "$enableval" = yes; then
6587                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6588                           else
6589                             wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6590                           fi
6591
6592 else
6593
6594                           wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6595
6596 fi
6597
6598
6599           eval "$wx_cv_use_vararg_macros"
6600
6601           if test x"$enablestring" = xdisable; then
6602             if test $wxUSE_VARARG_MACROS = no; then
6603               result=yes
6604             else
6605               result=no
6606             fi
6607           else
6608             result=$wxUSE_VARARG_MACROS
6609           fi
6610
6611           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6612 $as_echo "$result" >&6; }
6613
6614
6615
6616           enablestring=
6617           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6618 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6619           # Check whether --enable-universal_binary was given.
6620 if test "${enable_universal_binary+set}" = set; then :
6621   enableval=$enable_universal_binary;
6622                           wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6623
6624 else
6625
6626                           wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6627
6628 fi
6629
6630
6631           eval "$wx_cv_use_universal_binary"
6632
6633           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6634 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6635
6636
6637           enablestring=
6638           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6639 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6640           # Check whether --enable-macosx_arch was given.
6641 if test "${enable_macosx_arch+set}" = set; then :
6642   enableval=$enable_macosx_arch;
6643                           wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6644
6645 else
6646
6647                           wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6648
6649 fi
6650
6651
6652           eval "$wx_cv_use_macosx_arch"
6653
6654           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6655 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6656
6657
6658
6659           enablestring=
6660           defaultval=
6661           if test -z "$defaultval"; then
6662               if test x"$enablestring" = xdisable; then
6663                   defaultval=yes
6664               else
6665                   defaultval=no
6666               fi
6667           fi
6668
6669           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6670 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6671           # Check whether --enable-compat26 was given.
6672 if test "${enable_compat26+set}" = set; then :
6673   enableval=$enable_compat26;
6674                           if test "$enableval" = yes; then
6675                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6676                           else
6677                             wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6678                           fi
6679
6680 else
6681
6682                           wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6683
6684 fi
6685
6686
6687           eval "$wx_cv_use_compat26"
6688
6689           if test x"$enablestring" = xdisable; then
6690             if test $WXWIN_COMPATIBILITY_2_6 = no; then
6691               result=yes
6692             else
6693               result=no
6694             fi
6695           else
6696             result=$WXWIN_COMPATIBILITY_2_6
6697           fi
6698
6699           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6700 $as_echo "$result" >&6; }
6701
6702
6703           enablestring=disable
6704           defaultval=
6705           if test -z "$defaultval"; then
6706               if test x"$enablestring" = xdisable; then
6707                   defaultval=yes
6708               else
6709                   defaultval=no
6710               fi
6711           fi
6712
6713           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6714 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6715           # Check whether --enable-compat28 was given.
6716 if test "${enable_compat28+set}" = set; then :
6717   enableval=$enable_compat28;
6718                           if test "$enableval" = yes; then
6719                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6720                           else
6721                             wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6722                           fi
6723
6724 else
6725
6726                           wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6727
6728 fi
6729
6730
6731           eval "$wx_cv_use_compat28"
6732
6733           if test x"$enablestring" = xdisable; then
6734             if test $WXWIN_COMPATIBILITY_2_8 = no; then
6735               result=yes
6736             else
6737               result=no
6738             fi
6739           else
6740             result=$WXWIN_COMPATIBILITY_2_8
6741           fi
6742
6743           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6744 $as_echo "$result" >&6; }
6745
6746
6747
6748           enablestring=disable
6749           defaultval=
6750           if test -z "$defaultval"; then
6751               if test x"$enablestring" = xdisable; then
6752                   defaultval=yes
6753               else
6754                   defaultval=no
6755               fi
6756           fi
6757
6758           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6759 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6760           # Check whether --enable-rpath was given.
6761 if test "${enable_rpath+set}" = set; then :
6762   enableval=$enable_rpath;
6763                           if test "$enableval" = yes; then
6764                             wx_cv_use_rpath='wxUSE_RPATH=yes'
6765                           else
6766                             wx_cv_use_rpath='wxUSE_RPATH=no'
6767                           fi
6768
6769 else
6770
6771                           wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6772
6773 fi
6774
6775
6776           eval "$wx_cv_use_rpath"
6777
6778           if test x"$enablestring" = xdisable; then
6779             if test $wxUSE_RPATH = no; then
6780               result=yes
6781             else
6782               result=no
6783             fi
6784           else
6785             result=$wxUSE_RPATH
6786           fi
6787
6788           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6789 $as_echo "$result" >&6; }
6790
6791
6792
6793           enablestring=
6794           defaultval=
6795           if test -z "$defaultval"; then
6796               if test x"$enablestring" = xdisable; then
6797                   defaultval=yes
6798               else
6799                   defaultval=no
6800               fi
6801           fi
6802
6803           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6804 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6805           # Check whether --enable-objc_uniquifying was given.
6806 if test "${enable_objc_uniquifying+set}" = set; then :
6807   enableval=$enable_objc_uniquifying;
6808                           if test "$enableval" = yes; then
6809                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6810                           else
6811                             wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6812                           fi
6813
6814 else
6815
6816                           wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6817
6818 fi
6819
6820
6821           eval "$wx_cv_use_objc_uniquifying"
6822
6823           if test x"$enablestring" = xdisable; then
6824             if test $wxUSE_OBJC_UNIQUIFYING = no; then
6825               result=yes
6826             else
6827               result=no
6828             fi
6829           else
6830             result=$wxUSE_OBJC_UNIQUIFYING
6831           fi
6832
6833           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6834 $as_echo "$result" >&6; }
6835
6836
6837
6838           enablestring=disable
6839           defaultval=
6840           if test -z "$defaultval"; then
6841               if test x"$enablestring" = xdisable; then
6842                   defaultval=yes
6843               else
6844                   defaultval=no
6845               fi
6846           fi
6847
6848           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6849 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6850           # Check whether --enable-visibility was given.
6851 if test "${enable_visibility+set}" = set; then :
6852   enableval=$enable_visibility;
6853                           if test "$enableval" = yes; then
6854                             wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6855                           else
6856                             wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6857                           fi
6858
6859 else
6860
6861                           wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6862
6863 fi
6864
6865
6866           eval "$wx_cv_use_visibility"
6867
6868           if test x"$enablestring" = xdisable; then
6869             if test $wxUSE_VISIBILITY = no; then
6870               result=yes
6871             else
6872               result=no
6873             fi
6874           else
6875             result=$wxUSE_VISIBILITY
6876           fi
6877
6878           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6879 $as_echo "$result" >&6; }
6880
6881
6882           enablestring=disable
6883           defaultval=
6884           if test -z "$defaultval"; then
6885               if test x"$enablestring" = xdisable; then
6886                   defaultval=yes
6887               else
6888                   defaultval=no
6889               fi
6890           fi
6891
6892           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6893 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6894           # Check whether --enable-tls was given.
6895 if test "${enable_tls+set}" = set; then :
6896   enableval=$enable_tls;
6897                           if test "$enableval" = yes; then
6898                             wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6899                           else
6900                             wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6901                           fi
6902
6903 else
6904
6905                           wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6906
6907 fi
6908
6909
6910           eval "$wx_cv_use_tls"
6911
6912           if test x"$enablestring" = xdisable; then
6913             if test $wxUSE_COMPILER_TLS = no; then
6914               result=yes
6915             else
6916               result=no
6917             fi
6918           else
6919             result=$wxUSE_COMPILER_TLS
6920           fi
6921
6922           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6923 $as_echo "$result" >&6; }
6924
6925
6926
6927
6928           enablestring=
6929           defaultval=$wxUSE_ALL_FEATURES
6930           if test -z "$defaultval"; then
6931               if test x"$enablestring" = xdisable; then
6932                   defaultval=yes
6933               else
6934                   defaultval=no
6935               fi
6936           fi
6937
6938           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6939 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6940           # Check whether --enable-intl was given.
6941 if test "${enable_intl+set}" = set; then :
6942   enableval=$enable_intl;
6943                           if test "$enableval" = yes; then
6944                             wx_cv_use_intl='wxUSE_INTL=yes'
6945                           else
6946                             wx_cv_use_intl='wxUSE_INTL=no'
6947                           fi
6948
6949 else
6950
6951                           wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6952
6953 fi
6954
6955
6956           eval "$wx_cv_use_intl"
6957
6958           if test x"$enablestring" = xdisable; then
6959             if test $wxUSE_INTL = no; then
6960               result=yes
6961             else
6962               result=no
6963             fi
6964           else
6965             result=$wxUSE_INTL
6966           fi
6967
6968           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6969 $as_echo "$result" >&6; }
6970
6971
6972           enablestring=
6973           defaultval=$wxUSE_ALL_FEATURES
6974           if test -z "$defaultval"; then
6975               if test x"$enablestring" = xdisable; then
6976                   defaultval=yes
6977               else
6978                   defaultval=no
6979               fi
6980           fi
6981
6982           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6983 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6984           # Check whether --enable-xlocale was given.
6985 if test "${enable_xlocale+set}" = set; then :
6986   enableval=$enable_xlocale;
6987                           if test "$enableval" = yes; then
6988                             wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6989                           else
6990                             wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6991                           fi
6992
6993 else
6994
6995                           wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6996
6997 fi
6998
6999
7000           eval "$wx_cv_use_xlocale"
7001
7002           if test x"$enablestring" = xdisable; then
7003             if test $wxUSE_XLOCALE = no; then
7004               result=yes
7005             else
7006               result=no
7007             fi
7008           else
7009             result=$wxUSE_XLOCALE
7010           fi
7011
7012           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7013 $as_echo "$result" >&6; }
7014
7015
7016           enablestring=
7017           defaultval=$wxUSE_ALL_FEATURES
7018           if test -z "$defaultval"; then
7019               if test x"$enablestring" = xdisable; then
7020                   defaultval=yes
7021               else
7022                   defaultval=no
7023               fi
7024           fi
7025
7026           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7027 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7028           # Check whether --enable-config was given.
7029 if test "${enable_config+set}" = set; then :
7030   enableval=$enable_config;
7031                           if test "$enableval" = yes; then
7032                             wx_cv_use_config='wxUSE_CONFIG=yes'
7033                           else
7034                             wx_cv_use_config='wxUSE_CONFIG=no'
7035                           fi
7036
7037 else
7038
7039                           wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7040
7041 fi
7042
7043
7044           eval "$wx_cv_use_config"
7045
7046           if test x"$enablestring" = xdisable; then
7047             if test $wxUSE_CONFIG = no; then
7048               result=yes
7049             else
7050               result=no
7051             fi
7052           else
7053             result=$wxUSE_CONFIG
7054           fi
7055
7056           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7057 $as_echo "$result" >&6; }
7058
7059
7060
7061           enablestring=
7062           defaultval=$wxUSE_ALL_FEATURES
7063           if test -z "$defaultval"; then
7064               if test x"$enablestring" = xdisable; then
7065                   defaultval=yes
7066               else
7067                   defaultval=no
7068               fi
7069           fi
7070
7071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7072 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7073           # Check whether --enable-protocols was given.
7074 if test "${enable_protocols+set}" = set; then :
7075   enableval=$enable_protocols;
7076                           if test "$enableval" = yes; then
7077                             wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7078                           else
7079                             wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7080                           fi
7081
7082 else
7083
7084                           wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7085
7086 fi
7087
7088
7089           eval "$wx_cv_use_protocols"
7090
7091           if test x"$enablestring" = xdisable; then
7092             if test $wxUSE_PROTOCOL = no; then
7093               result=yes
7094             else
7095               result=no
7096             fi
7097           else
7098             result=$wxUSE_PROTOCOL
7099           fi
7100
7101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7102 $as_echo "$result" >&6; }
7103
7104
7105           enablestring=
7106           defaultval=$wxUSE_ALL_FEATURES
7107           if test -z "$defaultval"; then
7108               if test x"$enablestring" = xdisable; then
7109                   defaultval=yes
7110               else
7111                   defaultval=no
7112               fi
7113           fi
7114
7115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7116 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7117           # Check whether --enable-ftp was given.
7118 if test "${enable_ftp+set}" = set; then :
7119   enableval=$enable_ftp;
7120                           if test "$enableval" = yes; then
7121                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7122                           else
7123                             wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7124                           fi
7125
7126 else
7127
7128                           wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7129
7130 fi
7131
7132
7133           eval "$wx_cv_use_ftp"
7134
7135           if test x"$enablestring" = xdisable; then
7136             if test $wxUSE_PROTOCOL_FTP = no; then
7137               result=yes
7138             else
7139               result=no
7140             fi
7141           else
7142             result=$wxUSE_PROTOCOL_FTP
7143           fi
7144
7145           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7146 $as_echo "$result" >&6; }
7147
7148
7149           enablestring=
7150           defaultval=$wxUSE_ALL_FEATURES
7151           if test -z "$defaultval"; then
7152               if test x"$enablestring" = xdisable; then
7153                   defaultval=yes
7154               else
7155                   defaultval=no
7156               fi
7157           fi
7158
7159           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7160 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7161           # Check whether --enable-http was given.
7162 if test "${enable_http+set}" = set; then :
7163   enableval=$enable_http;
7164                           if test "$enableval" = yes; then
7165                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7166                           else
7167                             wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7168                           fi
7169
7170 else
7171
7172                           wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7173
7174 fi
7175
7176
7177           eval "$wx_cv_use_http"
7178
7179           if test x"$enablestring" = xdisable; then
7180             if test $wxUSE_PROTOCOL_HTTP = no; then
7181               result=yes
7182             else
7183               result=no
7184             fi
7185           else
7186             result=$wxUSE_PROTOCOL_HTTP
7187           fi
7188
7189           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7190 $as_echo "$result" >&6; }
7191
7192
7193           enablestring=
7194           defaultval=$wxUSE_ALL_FEATURES
7195           if test -z "$defaultval"; then
7196               if test x"$enablestring" = xdisable; then
7197                   defaultval=yes
7198               else
7199                   defaultval=no
7200               fi
7201           fi
7202
7203           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7204 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7205           # Check whether --enable-fileproto was given.
7206 if test "${enable_fileproto+set}" = set; then :
7207   enableval=$enable_fileproto;
7208                           if test "$enableval" = yes; then
7209                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7210                           else
7211                             wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7212                           fi
7213
7214 else
7215
7216                           wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7217
7218 fi
7219
7220
7221           eval "$wx_cv_use_fileproto"
7222
7223           if test x"$enablestring" = xdisable; then
7224             if test $wxUSE_PROTOCOL_FILE = no; then
7225               result=yes
7226             else
7227               result=no
7228             fi
7229           else
7230             result=$wxUSE_PROTOCOL_FILE
7231           fi
7232
7233           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7234 $as_echo "$result" >&6; }
7235
7236
7237           enablestring=
7238           defaultval=$wxUSE_ALL_FEATURES
7239           if test -z "$defaultval"; then
7240               if test x"$enablestring" = xdisable; then
7241                   defaultval=yes
7242               else
7243                   defaultval=no
7244               fi
7245           fi
7246
7247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7248 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7249           # Check whether --enable-sockets was given.
7250 if test "${enable_sockets+set}" = set; then :
7251   enableval=$enable_sockets;
7252                           if test "$enableval" = yes; then
7253                             wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7254                           else
7255                             wx_cv_use_sockets='wxUSE_SOCKETS=no'
7256                           fi
7257
7258 else
7259
7260                           wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7261
7262 fi
7263
7264
7265           eval "$wx_cv_use_sockets"
7266
7267           if test x"$enablestring" = xdisable; then
7268             if test $wxUSE_SOCKETS = no; then
7269               result=yes
7270             else
7271               result=no
7272             fi
7273           else
7274             result=$wxUSE_SOCKETS
7275           fi
7276
7277           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7278 $as_echo "$result" >&6; }
7279
7280
7281           enablestring=
7282           defaultval=$wxUSE_ALL_FEATURES
7283           if test -z "$defaultval"; then
7284               if test x"$enablestring" = xdisable; then
7285                   defaultval=yes
7286               else
7287                   defaultval=no
7288               fi
7289           fi
7290
7291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7292 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7293           # Check whether --enable-ipv6 was given.
7294 if test "${enable_ipv6+set}" = set; then :
7295   enableval=$enable_ipv6;
7296                           if test "$enableval" = yes; then
7297                             wx_cv_use_ipv6='wxUSE_IPV6=yes'
7298                           else
7299                             wx_cv_use_ipv6='wxUSE_IPV6=no'
7300                           fi
7301
7302 else
7303
7304                           wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7305
7306 fi
7307
7308
7309           eval "$wx_cv_use_ipv6"
7310
7311           if test x"$enablestring" = xdisable; then
7312             if test $wxUSE_IPV6 = no; then
7313               result=yes
7314             else
7315               result=no
7316             fi
7317           else
7318             result=$wxUSE_IPV6
7319           fi
7320
7321           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7322 $as_echo "$result" >&6; }
7323
7324
7325           enablestring=
7326           defaultval=$wxUSE_ALL_FEATURES
7327           if test -z "$defaultval"; then
7328               if test x"$enablestring" = xdisable; then
7329                   defaultval=yes
7330               else
7331                   defaultval=no
7332               fi
7333           fi
7334
7335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7336 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7337           # Check whether --enable-ole was given.
7338 if test "${enable_ole+set}" = set; then :
7339   enableval=$enable_ole;
7340                           if test "$enableval" = yes; then
7341                             wx_cv_use_ole='wxUSE_OLE=yes'
7342                           else
7343                             wx_cv_use_ole='wxUSE_OLE=no'
7344                           fi
7345
7346 else
7347
7348                           wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7349
7350 fi
7351
7352
7353           eval "$wx_cv_use_ole"
7354
7355           if test x"$enablestring" = xdisable; then
7356             if test $wxUSE_OLE = no; then
7357               result=yes
7358             else
7359               result=no
7360             fi
7361           else
7362             result=$wxUSE_OLE
7363           fi
7364
7365           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7366 $as_echo "$result" >&6; }
7367
7368
7369           enablestring=
7370           defaultval=$wxUSE_ALL_FEATURES
7371           if test -z "$defaultval"; then
7372               if test x"$enablestring" = xdisable; then
7373                   defaultval=yes
7374               else
7375                   defaultval=no
7376               fi
7377           fi
7378
7379           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7380 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7381           # Check whether --enable-dataobj was given.
7382 if test "${enable_dataobj+set}" = set; then :
7383   enableval=$enable_dataobj;
7384                           if test "$enableval" = yes; then
7385                             wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7386                           else
7387                             wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7388                           fi
7389
7390 else
7391
7392                           wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7393
7394 fi
7395
7396
7397           eval "$wx_cv_use_dataobj"
7398
7399           if test x"$enablestring" = xdisable; then
7400             if test $wxUSE_DATAOBJ = no; then
7401               result=yes
7402             else
7403               result=no
7404             fi
7405           else
7406             result=$wxUSE_DATAOBJ
7407           fi
7408
7409           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7410 $as_echo "$result" >&6; }
7411
7412
7413
7414           enablestring=
7415           defaultval=$wxUSE_ALL_FEATURES
7416           if test -z "$defaultval"; then
7417               if test x"$enablestring" = xdisable; then
7418                   defaultval=yes
7419               else
7420                   defaultval=no
7421               fi
7422           fi
7423
7424           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7425 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7426           # Check whether --enable-ipc was given.
7427 if test "${enable_ipc+set}" = set; then :
7428   enableval=$enable_ipc;
7429                           if test "$enableval" = yes; then
7430                             wx_cv_use_ipc='wxUSE_IPC=yes'
7431                           else
7432                             wx_cv_use_ipc='wxUSE_IPC=no'
7433                           fi
7434
7435 else
7436
7437                           wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7438
7439 fi
7440
7441
7442           eval "$wx_cv_use_ipc"
7443
7444           if test x"$enablestring" = xdisable; then
7445             if test $wxUSE_IPC = no; then
7446               result=yes
7447             else
7448               result=no
7449             fi
7450           else
7451             result=$wxUSE_IPC
7452           fi
7453
7454           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7455 $as_echo "$result" >&6; }
7456
7457
7458
7459           enablestring=
7460           defaultval=$wxUSE_ALL_FEATURES
7461           if test -z "$defaultval"; then
7462               if test x"$enablestring" = xdisable; then
7463                   defaultval=yes
7464               else
7465                   defaultval=no
7466               fi
7467           fi
7468
7469           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7470 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7471           # Check whether --enable-baseevtloop was given.
7472 if test "${enable_baseevtloop+set}" = set; then :
7473   enableval=$enable_baseevtloop;
7474                           if test "$enableval" = yes; then
7475                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7476                           else
7477                             wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7478                           fi
7479
7480 else
7481
7482                           wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7483
7484 fi
7485
7486
7487           eval "$wx_cv_use_baseevtloop"
7488
7489           if test x"$enablestring" = xdisable; then
7490             if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7491               result=yes
7492             else
7493               result=no
7494             fi
7495           else
7496             result=$wxUSE_CONSOLE_EVENTLOOP
7497           fi
7498
7499           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7500 $as_echo "$result" >&6; }
7501
7502
7503           enablestring=
7504           defaultval=$wxUSE_ALL_FEATURES
7505           if test -z "$defaultval"; then
7506               if test x"$enablestring" = xdisable; then
7507                   defaultval=yes
7508               else
7509                   defaultval=no
7510               fi
7511           fi
7512
7513           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7514 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7515           # Check whether --enable-epollloop was given.
7516 if test "${enable_epollloop+set}" = set; then :
7517   enableval=$enable_epollloop;
7518                           if test "$enableval" = yes; then
7519                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7520                           else
7521                             wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7522                           fi
7523
7524 else
7525
7526                           wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7527
7528 fi
7529
7530
7531           eval "$wx_cv_use_epollloop"
7532
7533           if test x"$enablestring" = xdisable; then
7534             if test $wxUSE_EPOLL_DISPATCHER = no; then
7535               result=yes
7536             else
7537               result=no
7538             fi
7539           else
7540             result=$wxUSE_EPOLL_DISPATCHER
7541           fi
7542
7543           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7544 $as_echo "$result" >&6; }
7545
7546
7547           enablestring=
7548           defaultval=$wxUSE_ALL_FEATURES
7549           if test -z "$defaultval"; then
7550               if test x"$enablestring" = xdisable; then
7551                   defaultval=yes
7552               else
7553                   defaultval=no
7554               fi
7555           fi
7556
7557           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7558 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7559           # Check whether --enable-selectloop was given.
7560 if test "${enable_selectloop+set}" = set; then :
7561   enableval=$enable_selectloop;
7562                           if test "$enableval" = yes; then
7563                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7564                           else
7565                             wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7566                           fi
7567
7568 else
7569
7570                           wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7571
7572 fi
7573
7574
7575           eval "$wx_cv_use_selectloop"
7576
7577           if test x"$enablestring" = xdisable; then
7578             if test $wxUSE_SELECT_DISPATCHER = no; then
7579               result=yes
7580             else
7581               result=no
7582             fi
7583           else
7584             result=$wxUSE_SELECT_DISPATCHER
7585           fi
7586
7587           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7588 $as_echo "$result" >&6; }
7589
7590
7591
7592           enablestring=
7593           defaultval=$wxUSE_ALL_FEATURES
7594           if test -z "$defaultval"; then
7595               if test x"$enablestring" = xdisable; then
7596                   defaultval=yes
7597               else
7598                   defaultval=no
7599               fi
7600           fi
7601
7602           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7603 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7604           # Check whether --enable-any was given.
7605 if test "${enable_any+set}" = set; then :
7606   enableval=$enable_any;
7607                           if test "$enableval" = yes; then
7608                             wx_cv_use_any='wxUSE_ANY=yes'
7609                           else
7610                             wx_cv_use_any='wxUSE_ANY=no'
7611                           fi
7612
7613 else
7614
7615                           wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7616
7617 fi
7618
7619
7620           eval "$wx_cv_use_any"
7621
7622           if test x"$enablestring" = xdisable; then
7623             if test $wxUSE_ANY = no; then
7624               result=yes
7625             else
7626               result=no
7627             fi
7628           else
7629             result=$wxUSE_ANY
7630           fi
7631
7632           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7633 $as_echo "$result" >&6; }
7634
7635
7636           enablestring=
7637           defaultval=$wxUSE_ALL_FEATURES
7638           if test -z "$defaultval"; then
7639               if test x"$enablestring" = xdisable; then
7640                   defaultval=yes
7641               else
7642                   defaultval=no
7643               fi
7644           fi
7645
7646           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7647 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7648           # Check whether --enable-apple_ieee was given.
7649 if test "${enable_apple_ieee+set}" = set; then :
7650   enableval=$enable_apple_ieee;
7651                           if test "$enableval" = yes; then
7652                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7653                           else
7654                             wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7655                           fi
7656
7657 else
7658
7659                           wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7660
7661 fi
7662
7663
7664           eval "$wx_cv_use_apple_ieee"
7665
7666           if test x"$enablestring" = xdisable; then
7667             if test $wxUSE_APPLE_IEEE = no; then
7668               result=yes
7669             else
7670               result=no
7671             fi
7672           else
7673             result=$wxUSE_APPLE_IEEE
7674           fi
7675
7676           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7677 $as_echo "$result" >&6; }
7678
7679
7680           enablestring=
7681           defaultval=$wxUSE_ALL_FEATURES
7682           if test -z "$defaultval"; then
7683               if test x"$enablestring" = xdisable; then
7684                   defaultval=yes
7685               else
7686                   defaultval=no
7687               fi
7688           fi
7689
7690           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7691 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7692           # Check whether --enable-arcstream was given.
7693 if test "${enable_arcstream+set}" = set; then :
7694   enableval=$enable_arcstream;
7695                           if test "$enableval" = yes; then
7696                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7697                           else
7698                             wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7699                           fi
7700
7701 else
7702
7703                           wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7704
7705 fi
7706
7707
7708           eval "$wx_cv_use_arcstream"
7709
7710           if test x"$enablestring" = xdisable; then
7711             if test $wxUSE_ARCHIVE_STREAMS = no; then
7712               result=yes
7713             else
7714               result=no
7715             fi
7716           else
7717             result=$wxUSE_ARCHIVE_STREAMS
7718           fi
7719
7720           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7721 $as_echo "$result" >&6; }
7722
7723
7724           enablestring=
7725           defaultval=$wxUSE_ALL_FEATURES
7726           if test -z "$defaultval"; then
7727               if test x"$enablestring" = xdisable; then
7728                   defaultval=yes
7729               else
7730                   defaultval=no
7731               fi
7732           fi
7733
7734           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7735 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7736           # Check whether --enable-base64 was given.
7737 if test "${enable_base64+set}" = set; then :
7738   enableval=$enable_base64;
7739                           if test "$enableval" = yes; then
7740                             wx_cv_use_base64='wxUSE_BASE64=yes'
7741                           else
7742                             wx_cv_use_base64='wxUSE_BASE64=no'
7743                           fi
7744
7745 else
7746
7747                           wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7748
7749 fi
7750
7751
7752           eval "$wx_cv_use_base64"
7753
7754           if test x"$enablestring" = xdisable; then
7755             if test $wxUSE_BASE64 = no; then
7756               result=yes
7757             else
7758               result=no
7759             fi
7760           else
7761             result=$wxUSE_BASE64
7762           fi
7763
7764           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7765 $as_echo "$result" >&6; }
7766
7767
7768           enablestring=
7769           defaultval=$wxUSE_ALL_FEATURES
7770           if test -z "$defaultval"; then
7771               if test x"$enablestring" = xdisable; then
7772                   defaultval=yes
7773               else
7774                   defaultval=no
7775               fi
7776           fi
7777
7778           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7779 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7780           # Check whether --enable-backtrace was given.
7781 if test "${enable_backtrace+set}" = set; then :
7782   enableval=$enable_backtrace;
7783                           if test "$enableval" = yes; then
7784                             wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7785                           else
7786                             wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7787                           fi
7788
7789 else
7790
7791                           wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7792
7793 fi
7794
7795
7796           eval "$wx_cv_use_backtrace"
7797
7798           if test x"$enablestring" = xdisable; then
7799             if test $wxUSE_STACKWALKER = no; then
7800               result=yes
7801             else
7802               result=no
7803             fi
7804           else
7805             result=$wxUSE_STACKWALKER
7806           fi
7807
7808           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7809 $as_echo "$result" >&6; }
7810
7811
7812           enablestring=
7813           defaultval=$wxUSE_ALL_FEATURES
7814           if test -z "$defaultval"; then
7815               if test x"$enablestring" = xdisable; then
7816                   defaultval=yes
7817               else
7818                   defaultval=no
7819               fi
7820           fi
7821
7822           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7823 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7824           # Check whether --enable-catch_segvs was given.
7825 if test "${enable_catch_segvs+set}" = set; then :
7826   enableval=$enable_catch_segvs;
7827                           if test "$enableval" = yes; then
7828                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7829                           else
7830                             wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7831                           fi
7832
7833 else
7834
7835                           wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7836
7837 fi
7838
7839
7840           eval "$wx_cv_use_catch_segvs"
7841
7842           if test x"$enablestring" = xdisable; then
7843             if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7844               result=yes
7845             else
7846               result=no
7847             fi
7848           else
7849             result=$wxUSE_ON_FATAL_EXCEPTION
7850           fi
7851
7852           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7853 $as_echo "$result" >&6; }
7854
7855
7856           enablestring=
7857           defaultval=$wxUSE_ALL_FEATURES
7858           if test -z "$defaultval"; then
7859               if test x"$enablestring" = xdisable; then
7860                   defaultval=yes
7861               else
7862                   defaultval=no
7863               fi
7864           fi
7865
7866           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7867 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7868           # Check whether --enable-cmdline was given.
7869 if test "${enable_cmdline+set}" = set; then :
7870   enableval=$enable_cmdline;
7871                           if test "$enableval" = yes; then
7872                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7873                           else
7874                             wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7875                           fi
7876
7877 else
7878
7879                           wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7880
7881 fi
7882
7883
7884           eval "$wx_cv_use_cmdline"
7885
7886           if test x"$enablestring" = xdisable; then
7887             if test $wxUSE_CMDLINE_PARSER = no; then
7888               result=yes
7889             else
7890               result=no
7891             fi
7892           else
7893             result=$wxUSE_CMDLINE_PARSER
7894           fi
7895
7896           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7897 $as_echo "$result" >&6; }
7898
7899
7900           enablestring=
7901           defaultval=$wxUSE_ALL_FEATURES
7902           if test -z "$defaultval"; then
7903               if test x"$enablestring" = xdisable; then
7904                   defaultval=yes
7905               else
7906                   defaultval=no
7907               fi
7908           fi
7909
7910           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7911 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7912           # Check whether --enable-datetime was given.
7913 if test "${enable_datetime+set}" = set; then :
7914   enableval=$enable_datetime;
7915                           if test "$enableval" = yes; then
7916                             wx_cv_use_datetime='wxUSE_DATETIME=yes'
7917                           else
7918                             wx_cv_use_datetime='wxUSE_DATETIME=no'
7919                           fi
7920
7921 else
7922
7923                           wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7924
7925 fi
7926
7927
7928           eval "$wx_cv_use_datetime"
7929
7930           if test x"$enablestring" = xdisable; then
7931             if test $wxUSE_DATETIME = no; then
7932               result=yes
7933             else
7934               result=no
7935             fi
7936           else
7937             result=$wxUSE_DATETIME
7938           fi
7939
7940           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7941 $as_echo "$result" >&6; }
7942
7943
7944           enablestring=
7945           defaultval=$wxUSE_ALL_FEATURES
7946           if test -z "$defaultval"; then
7947               if test x"$enablestring" = xdisable; then
7948                   defaultval=yes
7949               else
7950                   defaultval=no
7951               fi
7952           fi
7953
7954           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7955 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7956           # Check whether --enable-debugreport was given.
7957 if test "${enable_debugreport+set}" = set; then :
7958   enableval=$enable_debugreport;
7959                           if test "$enableval" = yes; then
7960                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7961                           else
7962                             wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7963                           fi
7964
7965 else
7966
7967                           wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7968
7969 fi
7970
7971
7972           eval "$wx_cv_use_debugreport"
7973
7974           if test x"$enablestring" = xdisable; then
7975             if test $wxUSE_DEBUGREPORT = no; then
7976               result=yes
7977             else
7978               result=no
7979             fi
7980           else
7981             result=$wxUSE_DEBUGREPORT
7982           fi
7983
7984           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7985 $as_echo "$result" >&6; }
7986
7987
7988           enablestring=
7989           defaultval=$wxUSE_ALL_FEATURES
7990           if test -z "$defaultval"; then
7991               if test x"$enablestring" = xdisable; then
7992                   defaultval=yes
7993               else
7994                   defaultval=no
7995               fi
7996           fi
7997
7998           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7999 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8000           # Check whether --enable-dialupman was given.
8001 if test "${enable_dialupman+set}" = set; then :
8002   enableval=$enable_dialupman;
8003                           if test "$enableval" = yes; then
8004                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8005                           else
8006                             wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8007                           fi
8008
8009 else
8010
8011                           wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8012
8013 fi
8014
8015
8016           eval "$wx_cv_use_dialupman"
8017
8018           if test x"$enablestring" = xdisable; then
8019             if test $wxUSE_DIALUP_MANAGER = no; then
8020               result=yes
8021             else
8022               result=no
8023             fi
8024           else
8025             result=$wxUSE_DIALUP_MANAGER
8026           fi
8027
8028           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8029 $as_echo "$result" >&6; }
8030
8031
8032           enablestring=
8033           defaultval=$wxUSE_ALL_FEATURES
8034           if test -z "$defaultval"; then
8035               if test x"$enablestring" = xdisable; then
8036                   defaultval=yes
8037               else
8038                   defaultval=no
8039               fi
8040           fi
8041
8042           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8043 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8044           # Check whether --enable-dynlib was given.
8045 if test "${enable_dynlib+set}" = set; then :
8046   enableval=$enable_dynlib;
8047                           if test "$enableval" = yes; then
8048                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8049                           else
8050                             wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8051                           fi
8052
8053 else
8054
8055                           wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8056
8057 fi
8058
8059
8060           eval "$wx_cv_use_dynlib"
8061
8062           if test x"$enablestring" = xdisable; then
8063             if test $wxUSE_DYNLIB_CLASS = no; then
8064               result=yes
8065             else
8066               result=no
8067             fi
8068           else
8069             result=$wxUSE_DYNLIB_CLASS
8070           fi
8071
8072           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8073 $as_echo "$result" >&6; }
8074
8075
8076           enablestring=
8077           defaultval=$wxUSE_ALL_FEATURES
8078           if test -z "$defaultval"; then
8079               if test x"$enablestring" = xdisable; then
8080                   defaultval=yes
8081               else
8082                   defaultval=no
8083               fi
8084           fi
8085
8086           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8087 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8088           # Check whether --enable-dynamicloader was given.
8089 if test "${enable_dynamicloader+set}" = set; then :
8090   enableval=$enable_dynamicloader;
8091                           if test "$enableval" = yes; then
8092                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8093                           else
8094                             wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8095                           fi
8096
8097 else
8098
8099                           wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8100
8101 fi
8102
8103
8104           eval "$wx_cv_use_dynamicloader"
8105
8106           if test x"$enablestring" = xdisable; then
8107             if test $wxUSE_DYNAMIC_LOADER = no; then
8108               result=yes
8109             else
8110               result=no
8111             fi
8112           else
8113             result=$wxUSE_DYNAMIC_LOADER
8114           fi
8115
8116           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8117 $as_echo "$result" >&6; }
8118
8119
8120           enablestring=
8121           defaultval=$wxUSE_ALL_FEATURES
8122           if test -z "$defaultval"; then
8123               if test x"$enablestring" = xdisable; then
8124                   defaultval=yes
8125               else
8126                   defaultval=no
8127               fi
8128           fi
8129
8130           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8131 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8132           # Check whether --enable-exceptions was given.
8133 if test "${enable_exceptions+set}" = set; then :
8134   enableval=$enable_exceptions;
8135                           if test "$enableval" = yes; then
8136                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8137                           else
8138                             wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8139                           fi
8140
8141 else
8142
8143                           wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8144
8145 fi
8146
8147
8148           eval "$wx_cv_use_exceptions"
8149
8150           if test x"$enablestring" = xdisable; then
8151             if test $wxUSE_EXCEPTIONS = no; then
8152               result=yes
8153             else
8154               result=no
8155             fi
8156           else
8157             result=$wxUSE_EXCEPTIONS
8158           fi
8159
8160           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8161 $as_echo "$result" >&6; }
8162
8163
8164           enablestring=
8165           defaultval=$wxUSE_ALL_FEATURES
8166           if test -z "$defaultval"; then
8167               if test x"$enablestring" = xdisable; then
8168                   defaultval=yes
8169               else
8170                   defaultval=no
8171               fi
8172           fi
8173
8174           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8175 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8176           # Check whether --enable-ffile was given.
8177 if test "${enable_ffile+set}" = set; then :
8178   enableval=$enable_ffile;
8179                           if test "$enableval" = yes; then
8180                             wx_cv_use_ffile='wxUSE_FFILE=yes'
8181                           else
8182                             wx_cv_use_ffile='wxUSE_FFILE=no'
8183                           fi
8184
8185 else
8186
8187                           wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8188
8189 fi
8190
8191
8192           eval "$wx_cv_use_ffile"
8193
8194           if test x"$enablestring" = xdisable; then
8195             if test $wxUSE_FFILE = no; then
8196               result=yes
8197             else
8198               result=no
8199             fi
8200           else
8201             result=$wxUSE_FFILE
8202           fi
8203
8204           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8205 $as_echo "$result" >&6; }
8206
8207
8208           enablestring=
8209           defaultval=$wxUSE_ALL_FEATURES
8210           if test -z "$defaultval"; then
8211               if test x"$enablestring" = xdisable; then
8212                   defaultval=yes
8213               else
8214                   defaultval=no
8215               fi
8216           fi
8217
8218           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8219 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8220           # Check whether --enable-file was given.
8221 if test "${enable_file+set}" = set; then :
8222   enableval=$enable_file;
8223                           if test "$enableval" = yes; then
8224                             wx_cv_use_file='wxUSE_FILE=yes'
8225                           else
8226                             wx_cv_use_file='wxUSE_FILE=no'
8227                           fi
8228
8229 else
8230
8231                           wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8232
8233 fi
8234
8235
8236           eval "$wx_cv_use_file"
8237
8238           if test x"$enablestring" = xdisable; then
8239             if test $wxUSE_FILE = no; then
8240               result=yes
8241             else
8242               result=no
8243             fi
8244           else
8245             result=$wxUSE_FILE
8246           fi
8247
8248           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8249 $as_echo "$result" >&6; }
8250
8251
8252           enablestring=
8253           defaultval=$wxUSE_ALL_FEATURES
8254           if test -z "$defaultval"; then
8255               if test x"$enablestring" = xdisable; then
8256                   defaultval=yes
8257               else
8258                   defaultval=no
8259               fi
8260           fi
8261
8262           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8263 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8264           # Check whether --enable-filehistory was given.
8265 if test "${enable_filehistory+set}" = set; then :
8266   enableval=$enable_filehistory;
8267                           if test "$enableval" = yes; then
8268                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8269                           else
8270                             wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8271                           fi
8272
8273 else
8274
8275                           wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8276
8277 fi
8278
8279
8280           eval "$wx_cv_use_filehistory"
8281
8282           if test x"$enablestring" = xdisable; then
8283             if test $wxUSE_FILE_HISTORY = no; then
8284               result=yes
8285             else
8286               result=no
8287             fi
8288           else
8289             result=$wxUSE_FILE_HISTORY
8290           fi
8291
8292           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8293 $as_echo "$result" >&6; }
8294
8295
8296           enablestring=
8297           defaultval=$wxUSE_ALL_FEATURES
8298           if test -z "$defaultval"; then
8299               if test x"$enablestring" = xdisable; then
8300                   defaultval=yes
8301               else
8302                   defaultval=no
8303               fi
8304           fi
8305
8306           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8307 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8308           # Check whether --enable-filesystem was given.
8309 if test "${enable_filesystem+set}" = set; then :
8310   enableval=$enable_filesystem;
8311                           if test "$enableval" = yes; then
8312                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8313                           else
8314                             wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8315                           fi
8316
8317 else
8318
8319                           wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8320
8321 fi
8322
8323
8324           eval "$wx_cv_use_filesystem"
8325
8326           if test x"$enablestring" = xdisable; then
8327             if test $wxUSE_FILESYSTEM = no; then
8328               result=yes
8329             else
8330               result=no
8331             fi
8332           else
8333             result=$wxUSE_FILESYSTEM
8334           fi
8335
8336           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8337 $as_echo "$result" >&6; }
8338
8339
8340           enablestring=
8341           defaultval=$wxUSE_ALL_FEATURES
8342           if test -z "$defaultval"; then
8343               if test x"$enablestring" = xdisable; then
8344                   defaultval=yes
8345               else
8346                   defaultval=no
8347               fi
8348           fi
8349
8350           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8351 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8352           # Check whether --enable-fontenum was given.
8353 if test "${enable_fontenum+set}" = set; then :
8354   enableval=$enable_fontenum;
8355                           if test "$enableval" = yes; then
8356                             wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8357                           else
8358                             wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8359                           fi
8360
8361 else
8362
8363                           wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8364
8365 fi
8366
8367
8368           eval "$wx_cv_use_fontenum"
8369
8370           if test x"$enablestring" = xdisable; then
8371             if test $wxUSE_FONTENUM = no; then
8372               result=yes
8373             else
8374               result=no
8375             fi
8376           else
8377             result=$wxUSE_FONTENUM
8378           fi
8379
8380           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8381 $as_echo "$result" >&6; }
8382
8383
8384           enablestring=
8385           defaultval=$wxUSE_ALL_FEATURES
8386           if test -z "$defaultval"; then
8387               if test x"$enablestring" = xdisable; then
8388                   defaultval=yes
8389               else
8390                   defaultval=no
8391               fi
8392           fi
8393
8394           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8395 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8396           # Check whether --enable-fontmap was given.
8397 if test "${enable_fontmap+set}" = set; then :
8398   enableval=$enable_fontmap;
8399                           if test "$enableval" = yes; then
8400                             wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8401                           else
8402                             wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8403                           fi
8404
8405 else
8406
8407                           wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8408
8409 fi
8410
8411
8412           eval "$wx_cv_use_fontmap"
8413
8414           if test x"$enablestring" = xdisable; then
8415             if test $wxUSE_FONTMAP = no; then
8416               result=yes
8417             else
8418               result=no
8419             fi
8420           else
8421             result=$wxUSE_FONTMAP
8422           fi
8423
8424           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8425 $as_echo "$result" >&6; }
8426
8427
8428           enablestring=
8429           defaultval=$wxUSE_ALL_FEATURES
8430           if test -z "$defaultval"; then
8431               if test x"$enablestring" = xdisable; then
8432                   defaultval=yes
8433               else
8434                   defaultval=no
8435               fi
8436           fi
8437
8438           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8439 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8440           # Check whether --enable-fs_archive was given.
8441 if test "${enable_fs_archive+set}" = set; then :
8442   enableval=$enable_fs_archive;
8443                           if test "$enableval" = yes; then
8444                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8445                           else
8446                             wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8447                           fi
8448
8449 else
8450
8451                           wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8452
8453 fi
8454
8455
8456           eval "$wx_cv_use_fs_archive"
8457
8458           if test x"$enablestring" = xdisable; then
8459             if test $wxUSE_FS_ARCHIVE = no; then
8460               result=yes
8461             else
8462               result=no
8463             fi
8464           else
8465             result=$wxUSE_FS_ARCHIVE
8466           fi
8467
8468           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8469 $as_echo "$result" >&6; }
8470
8471
8472           enablestring=
8473           defaultval=$wxUSE_ALL_FEATURES
8474           if test -z "$defaultval"; then
8475               if test x"$enablestring" = xdisable; then
8476                   defaultval=yes
8477               else
8478                   defaultval=no
8479               fi
8480           fi
8481
8482           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8483 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8484           # Check whether --enable-fs_inet was given.
8485 if test "${enable_fs_inet+set}" = set; then :
8486   enableval=$enable_fs_inet;
8487                           if test "$enableval" = yes; then
8488                             wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8489                           else
8490                             wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8491                           fi
8492
8493 else
8494
8495                           wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8496
8497 fi
8498
8499
8500           eval "$wx_cv_use_fs_inet"
8501
8502           if test x"$enablestring" = xdisable; then
8503             if test $wxUSE_FS_INET = no; then
8504               result=yes
8505             else
8506               result=no
8507             fi
8508           else
8509             result=$wxUSE_FS_INET
8510           fi
8511
8512           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8513 $as_echo "$result" >&6; }
8514
8515
8516           enablestring=
8517           defaultval=$wxUSE_ALL_FEATURES
8518           if test -z "$defaultval"; then
8519               if test x"$enablestring" = xdisable; then
8520                   defaultval=yes
8521               else
8522                   defaultval=no
8523               fi
8524           fi
8525
8526           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8527 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8528           # Check whether --enable-fs_zip was given.
8529 if test "${enable_fs_zip+set}" = set; then :
8530   enableval=$enable_fs_zip;
8531                           if test "$enableval" = yes; then
8532                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8533                           else
8534                             wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8535                           fi
8536
8537 else
8538
8539                           wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8540
8541 fi
8542
8543
8544           eval "$wx_cv_use_fs_zip"
8545
8546           if test x"$enablestring" = xdisable; then
8547             if test $wxUSE_FS_ZIP = no; then
8548               result=yes
8549             else
8550               result=no
8551             fi
8552           else
8553             result=$wxUSE_FS_ZIP
8554           fi
8555
8556           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8557 $as_echo "$result" >&6; }
8558
8559
8560           enablestring=
8561           defaultval=$wxUSE_ALL_FEATURES
8562           if test -z "$defaultval"; then
8563               if test x"$enablestring" = xdisable; then
8564                   defaultval=yes
8565               else
8566                   defaultval=no
8567               fi
8568           fi
8569
8570           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8571 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8572           # Check whether --enable-fswatcher was given.
8573 if test "${enable_fswatcher+set}" = set; then :
8574   enableval=$enable_fswatcher;
8575                           if test "$enableval" = yes; then
8576                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8577                           else
8578                             wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8579                           fi
8580
8581 else
8582
8583                           wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8584
8585 fi
8586
8587
8588           eval "$wx_cv_use_fswatcher"
8589
8590           if test x"$enablestring" = xdisable; then
8591             if test $wxUSE_FSWATCHER = no; then
8592               result=yes
8593             else
8594               result=no
8595             fi
8596           else
8597             result=$wxUSE_FSWATCHER
8598           fi
8599
8600           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8601 $as_echo "$result" >&6; }
8602
8603
8604           enablestring=
8605           defaultval=$wxUSE_ALL_FEATURES
8606           if test -z "$defaultval"; then
8607               if test x"$enablestring" = xdisable; then
8608                   defaultval=yes
8609               else
8610                   defaultval=no
8611               fi
8612           fi
8613
8614           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8615 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8616           # Check whether --enable-geometry was given.
8617 if test "${enable_geometry+set}" = set; then :
8618   enableval=$enable_geometry;
8619                           if test "$enableval" = yes; then
8620                             wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8621                           else
8622                             wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8623                           fi
8624
8625 else
8626
8627                           wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8628
8629 fi
8630
8631
8632           eval "$wx_cv_use_geometry"
8633
8634           if test x"$enablestring" = xdisable; then
8635             if test $wxUSE_GEOMETRY = no; then
8636               result=yes
8637             else
8638               result=no
8639             fi
8640           else
8641             result=$wxUSE_GEOMETRY
8642           fi
8643
8644           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8645 $as_echo "$result" >&6; }
8646
8647
8648           enablestring=
8649           defaultval=$wxUSE_ALL_FEATURES
8650           if test -z "$defaultval"; then
8651               if test x"$enablestring" = xdisable; then
8652                   defaultval=yes
8653               else
8654                   defaultval=no
8655               fi
8656           fi
8657
8658           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8659 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8660           # Check whether --enable-log was given.
8661 if test "${enable_log+set}" = set; then :
8662   enableval=$enable_log;
8663                           if test "$enableval" = yes; then
8664                             wx_cv_use_log='wxUSE_LOG=yes'
8665                           else
8666                             wx_cv_use_log='wxUSE_LOG=no'
8667                           fi
8668
8669 else
8670
8671                           wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8672
8673 fi
8674
8675
8676           eval "$wx_cv_use_log"
8677
8678           if test x"$enablestring" = xdisable; then
8679             if test $wxUSE_LOG = no; then
8680               result=yes
8681             else
8682               result=no
8683             fi
8684           else
8685             result=$wxUSE_LOG
8686           fi
8687
8688           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8689 $as_echo "$result" >&6; }
8690
8691
8692           enablestring=
8693           defaultval=$wxUSE_ALL_FEATURES
8694           if test -z "$defaultval"; then
8695               if test x"$enablestring" = xdisable; then
8696                   defaultval=yes
8697               else
8698                   defaultval=no
8699               fi
8700           fi
8701
8702           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8703 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8704           # Check whether --enable-longlong was given.
8705 if test "${enable_longlong+set}" = set; then :
8706   enableval=$enable_longlong;
8707                           if test "$enableval" = yes; then
8708                             wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8709                           else
8710                             wx_cv_use_longlong='wxUSE_LONGLONG=no'
8711                           fi
8712
8713 else
8714
8715                           wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8716
8717 fi
8718
8719
8720           eval "$wx_cv_use_longlong"
8721
8722           if test x"$enablestring" = xdisable; then
8723             if test $wxUSE_LONGLONG = no; then
8724               result=yes
8725             else
8726               result=no
8727             fi
8728           else
8729             result=$wxUSE_LONGLONG
8730           fi
8731
8732           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8733 $as_echo "$result" >&6; }
8734
8735
8736           enablestring=
8737           defaultval=$wxUSE_ALL_FEATURES
8738           if test -z "$defaultval"; then
8739               if test x"$enablestring" = xdisable; then
8740                   defaultval=yes
8741               else
8742                   defaultval=no
8743               fi
8744           fi
8745
8746           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8747 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8748           # Check whether --enable-mimetype was given.
8749 if test "${enable_mimetype+set}" = set; then :
8750   enableval=$enable_mimetype;
8751                           if test "$enableval" = yes; then
8752                             wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8753                           else
8754                             wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8755                           fi
8756
8757 else
8758
8759                           wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8760
8761 fi
8762
8763
8764           eval "$wx_cv_use_mimetype"
8765
8766           if test x"$enablestring" = xdisable; then
8767             if test $wxUSE_MIMETYPE = no; then
8768               result=yes
8769             else
8770               result=no
8771             fi
8772           else
8773             result=$wxUSE_MIMETYPE
8774           fi
8775
8776           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8777 $as_echo "$result" >&6; }
8778
8779
8780           enablestring=
8781           defaultval=$wxUSE_ALL_FEATURES
8782           if test -z "$defaultval"; then
8783               if test x"$enablestring" = xdisable; then
8784                   defaultval=yes
8785               else
8786                   defaultval=no
8787               fi
8788           fi
8789
8790           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8791 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8792           # Check whether --enable-printfposparam was given.
8793 if test "${enable_printfposparam+set}" = set; then :
8794   enableval=$enable_printfposparam;
8795                           if test "$enableval" = yes; then
8796                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8797                           else
8798                             wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8799                           fi
8800
8801 else
8802
8803                           wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8804
8805 fi
8806
8807
8808           eval "$wx_cv_use_printfposparam"
8809
8810           if test x"$enablestring" = xdisable; then
8811             if test $wxUSE_PRINTF_POS_PARAMS = no; then
8812               result=yes
8813             else
8814               result=no
8815             fi
8816           else
8817             result=$wxUSE_PRINTF_POS_PARAMS
8818           fi
8819
8820           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8821 $as_echo "$result" >&6; }
8822
8823
8824           enablestring=
8825           defaultval=$wxUSE_ALL_FEATURES
8826           if test -z "$defaultval"; then
8827               if test x"$enablestring" = xdisable; then
8828                   defaultval=yes
8829               else
8830                   defaultval=no
8831               fi
8832           fi
8833
8834           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8835 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8836           # Check whether --enable-snglinst was given.
8837 if test "${enable_snglinst+set}" = set; then :
8838   enableval=$enable_snglinst;
8839                           if test "$enableval" = yes; then
8840                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8841                           else
8842                             wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8843                           fi
8844
8845 else
8846
8847                           wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8848
8849 fi
8850
8851
8852           eval "$wx_cv_use_snglinst"
8853
8854           if test x"$enablestring" = xdisable; then
8855             if test $wxUSE_SNGLINST_CHECKER = no; then
8856               result=yes
8857             else
8858               result=no
8859             fi
8860           else
8861             result=$wxUSE_SNGLINST_CHECKER
8862           fi
8863
8864           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8865 $as_echo "$result" >&6; }
8866
8867
8868           enablestring=
8869           defaultval=$wxUSE_ALL_FEATURES
8870           if test -z "$defaultval"; then
8871               if test x"$enablestring" = xdisable; then
8872                   defaultval=yes
8873               else
8874                   defaultval=no
8875               fi
8876           fi
8877
8878           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8879 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8880           # Check whether --enable-sound was given.
8881 if test "${enable_sound+set}" = set; then :
8882   enableval=$enable_sound;
8883                           if test "$enableval" = yes; then
8884                             wx_cv_use_sound='wxUSE_SOUND=yes'
8885                           else
8886                             wx_cv_use_sound='wxUSE_SOUND=no'
8887                           fi
8888
8889 else
8890
8891                           wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8892
8893 fi
8894
8895
8896           eval "$wx_cv_use_sound"
8897
8898           if test x"$enablestring" = xdisable; then
8899             if test $wxUSE_SOUND = no; then
8900               result=yes
8901             else
8902               result=no
8903             fi
8904           else
8905             result=$wxUSE_SOUND
8906           fi
8907
8908           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8909 $as_echo "$result" >&6; }
8910
8911
8912           enablestring=
8913           defaultval=$wxUSE_ALL_FEATURES
8914           if test -z "$defaultval"; then
8915               if test x"$enablestring" = xdisable; then
8916                   defaultval=yes
8917               else
8918                   defaultval=no
8919               fi
8920           fi
8921
8922           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8923 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8924           # Check whether --enable-stdpaths was given.
8925 if test "${enable_stdpaths+set}" = set; then :
8926   enableval=$enable_stdpaths;
8927                           if test "$enableval" = yes; then
8928                             wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8929                           else
8930                             wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8931                           fi
8932
8933 else
8934
8935                           wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8936
8937 fi
8938
8939
8940           eval "$wx_cv_use_stdpaths"
8941
8942           if test x"$enablestring" = xdisable; then
8943             if test $wxUSE_STDPATHS = no; then
8944               result=yes
8945             else
8946               result=no
8947             fi
8948           else
8949             result=$wxUSE_STDPATHS
8950           fi
8951
8952           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8953 $as_echo "$result" >&6; }
8954
8955
8956           enablestring=
8957           defaultval=$wxUSE_ALL_FEATURES
8958           if test -z "$defaultval"; then
8959               if test x"$enablestring" = xdisable; then
8960                   defaultval=yes
8961               else
8962                   defaultval=no
8963               fi
8964           fi
8965
8966           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8967 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8968           # Check whether --enable-stopwatch was given.
8969 if test "${enable_stopwatch+set}" = set; then :
8970   enableval=$enable_stopwatch;
8971                           if test "$enableval" = yes; then
8972                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8973                           else
8974                             wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8975                           fi
8976
8977 else
8978
8979                           wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8980
8981 fi
8982
8983
8984           eval "$wx_cv_use_stopwatch"
8985
8986           if test x"$enablestring" = xdisable; then
8987             if test $wxUSE_STOPWATCH = no; then
8988               result=yes
8989             else
8990               result=no
8991             fi
8992           else
8993             result=$wxUSE_STOPWATCH
8994           fi
8995
8996           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8997 $as_echo "$result" >&6; }
8998
8999
9000           enablestring=
9001           defaultval=$wxUSE_ALL_FEATURES
9002           if test -z "$defaultval"; then
9003               if test x"$enablestring" = xdisable; then
9004                   defaultval=yes
9005               else
9006                   defaultval=no
9007               fi
9008           fi
9009
9010           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9011 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9012           # Check whether --enable-streams was given.
9013 if test "${enable_streams+set}" = set; then :
9014   enableval=$enable_streams;
9015                           if test "$enableval" = yes; then
9016                             wx_cv_use_streams='wxUSE_STREAMS=yes'
9017                           else
9018                             wx_cv_use_streams='wxUSE_STREAMS=no'
9019                           fi
9020
9021 else
9022
9023                           wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9024
9025 fi
9026
9027
9028           eval "$wx_cv_use_streams"
9029
9030           if test x"$enablestring" = xdisable; then
9031             if test $wxUSE_STREAMS = no; then
9032               result=yes
9033             else
9034               result=no
9035             fi
9036           else
9037             result=$wxUSE_STREAMS
9038           fi
9039
9040           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9041 $as_echo "$result" >&6; }
9042
9043
9044           enablestring=
9045           defaultval=$wxUSE_ALL_FEATURES
9046           if test -z "$defaultval"; then
9047               if test x"$enablestring" = xdisable; then
9048                   defaultval=yes
9049               else
9050                   defaultval=no
9051               fi
9052           fi
9053
9054           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9055 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9056           # Check whether --enable-sysoptions was given.
9057 if test "${enable_sysoptions+set}" = set; then :
9058   enableval=$enable_sysoptions;
9059                           if test "$enableval" = yes; then
9060                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9061                           else
9062                             wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9063                           fi
9064
9065 else
9066
9067                           wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9068
9069 fi
9070
9071
9072           eval "$wx_cv_use_sysoptions"
9073
9074           if test x"$enablestring" = xdisable; then
9075             if test $wxUSE_SYSTEM_OPTIONS = no; then
9076               result=yes
9077             else
9078               result=no
9079             fi
9080           else
9081             result=$wxUSE_SYSTEM_OPTIONS
9082           fi
9083
9084           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9085 $as_echo "$result" >&6; }
9086
9087
9088           enablestring=
9089           defaultval=$wxUSE_ALL_FEATURES
9090           if test -z "$defaultval"; then
9091               if test x"$enablestring" = xdisable; then
9092                   defaultval=yes
9093               else
9094                   defaultval=no
9095               fi
9096           fi
9097
9098           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9099 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9100           # Check whether --enable-tarstream was given.
9101 if test "${enable_tarstream+set}" = set; then :
9102   enableval=$enable_tarstream;
9103                           if test "$enableval" = yes; then
9104                             wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9105                           else
9106                             wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9107                           fi
9108
9109 else
9110
9111                           wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9112
9113 fi
9114
9115
9116           eval "$wx_cv_use_tarstream"
9117
9118           if test x"$enablestring" = xdisable; then
9119             if test $wxUSE_TARSTREAM = no; then
9120               result=yes
9121             else
9122               result=no
9123             fi
9124           else
9125             result=$wxUSE_TARSTREAM
9126           fi
9127
9128           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9129 $as_echo "$result" >&6; }
9130
9131
9132           enablestring=
9133           defaultval=$wxUSE_ALL_FEATURES
9134           if test -z "$defaultval"; then
9135               if test x"$enablestring" = xdisable; then
9136                   defaultval=yes
9137               else
9138                   defaultval=no
9139               fi
9140           fi
9141
9142           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9143 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9144           # Check whether --enable-textbuf was given.
9145 if test "${enable_textbuf+set}" = set; then :
9146   enableval=$enable_textbuf;
9147                           if test "$enableval" = yes; then
9148                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9149                           else
9150                             wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9151                           fi
9152
9153 else
9154
9155                           wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9156
9157 fi
9158
9159
9160           eval "$wx_cv_use_textbuf"
9161
9162           if test x"$enablestring" = xdisable; then
9163             if test $wxUSE_TEXTBUFFER = no; then
9164               result=yes
9165             else
9166               result=no
9167             fi
9168           else
9169             result=$wxUSE_TEXTBUFFER
9170           fi
9171
9172           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9173 $as_echo "$result" >&6; }
9174
9175
9176           enablestring=
9177           defaultval=$wxUSE_ALL_FEATURES
9178           if test -z "$defaultval"; then
9179               if test x"$enablestring" = xdisable; then
9180                   defaultval=yes
9181               else
9182                   defaultval=no
9183               fi
9184           fi
9185
9186           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9187 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9188           # Check whether --enable-textfile was given.
9189 if test "${enable_textfile+set}" = set; then :
9190   enableval=$enable_textfile;
9191                           if test "$enableval" = yes; then
9192                             wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9193                           else
9194                             wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9195                           fi
9196
9197 else
9198
9199                           wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9200
9201 fi
9202
9203
9204           eval "$wx_cv_use_textfile"
9205
9206           if test x"$enablestring" = xdisable; then
9207             if test $wxUSE_TEXTFILE = no; then
9208               result=yes
9209             else
9210               result=no
9211             fi
9212           else
9213             result=$wxUSE_TEXTFILE
9214           fi
9215
9216           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9217 $as_echo "$result" >&6; }
9218
9219
9220           enablestring=
9221           defaultval=$wxUSE_ALL_FEATURES
9222           if test -z "$defaultval"; then
9223               if test x"$enablestring" = xdisable; then
9224                   defaultval=yes
9225               else
9226                   defaultval=no
9227               fi
9228           fi
9229
9230           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9231 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9232           # Check whether --enable-timer was given.
9233 if test "${enable_timer+set}" = set; then :
9234   enableval=$enable_timer;
9235                           if test "$enableval" = yes; then
9236                             wx_cv_use_timer='wxUSE_TIMER=yes'
9237                           else
9238                             wx_cv_use_timer='wxUSE_TIMER=no'
9239                           fi
9240
9241 else
9242
9243                           wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9244
9245 fi
9246
9247
9248           eval "$wx_cv_use_timer"
9249
9250           if test x"$enablestring" = xdisable; then
9251             if test $wxUSE_TIMER = no; then
9252               result=yes
9253             else
9254               result=no
9255             fi
9256           else
9257             result=$wxUSE_TIMER
9258           fi
9259
9260           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9261 $as_echo "$result" >&6; }
9262
9263
9264           enablestring=
9265           defaultval=$wxUSE_ALL_FEATURES
9266           if test -z "$defaultval"; then
9267               if test x"$enablestring" = xdisable; then
9268                   defaultval=yes
9269               else
9270                   defaultval=no
9271               fi
9272           fi
9273
9274           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9275 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9276           # Check whether --enable-variant was given.
9277 if test "${enable_variant+set}" = set; then :
9278   enableval=$enable_variant;
9279                           if test "$enableval" = yes; then
9280                             wx_cv_use_variant='wxUSE_VARIANT=yes'
9281                           else
9282                             wx_cv_use_variant='wxUSE_VARIANT=no'
9283                           fi
9284
9285 else
9286
9287                           wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9288
9289 fi
9290
9291
9292           eval "$wx_cv_use_variant"
9293
9294           if test x"$enablestring" = xdisable; then
9295             if test $wxUSE_VARIANT = no; then
9296               result=yes
9297             else
9298               result=no
9299             fi
9300           else
9301             result=$wxUSE_VARIANT
9302           fi
9303
9304           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9305 $as_echo "$result" >&6; }
9306
9307
9308           enablestring=
9309           defaultval=$wxUSE_ALL_FEATURES
9310           if test -z "$defaultval"; then
9311               if test x"$enablestring" = xdisable; then
9312                   defaultval=yes
9313               else
9314                   defaultval=no
9315               fi
9316           fi
9317
9318           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9319 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9320           # Check whether --enable-zipstream was given.
9321 if test "${enable_zipstream+set}" = set; then :
9322   enableval=$enable_zipstream;
9323                           if test "$enableval" = yes; then
9324                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9325                           else
9326                             wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9327                           fi
9328
9329 else
9330
9331                           wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9332
9333 fi
9334
9335
9336           eval "$wx_cv_use_zipstream"
9337
9338           if test x"$enablestring" = xdisable; then
9339             if test $wxUSE_ZIPSTREAM = no; then
9340               result=yes
9341             else
9342               result=no
9343             fi
9344           else
9345             result=$wxUSE_ZIPSTREAM
9346           fi
9347
9348           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9349 $as_echo "$result" >&6; }
9350
9351
9352
9353           enablestring=
9354           defaultval=$wxUSE_ALL_FEATURES
9355           if test -z "$defaultval"; then
9356               if test x"$enablestring" = xdisable; then
9357                   defaultval=yes
9358               else
9359                   defaultval=no
9360               fi
9361           fi
9362
9363           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9364 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9365           # Check whether --enable-url was given.
9366 if test "${enable_url+set}" = set; then :
9367   enableval=$enable_url;
9368                           if test "$enableval" = yes; then
9369                             wx_cv_use_url='wxUSE_URL=yes'
9370                           else
9371                             wx_cv_use_url='wxUSE_URL=no'
9372                           fi
9373
9374 else
9375
9376                           wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9377
9378 fi
9379
9380
9381           eval "$wx_cv_use_url"
9382
9383           if test x"$enablestring" = xdisable; then
9384             if test $wxUSE_URL = no; then
9385               result=yes
9386             else
9387               result=no
9388             fi
9389           else
9390             result=$wxUSE_URL
9391           fi
9392
9393           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9394 $as_echo "$result" >&6; }
9395
9396
9397           enablestring=
9398           defaultval=$wxUSE_ALL_FEATURES
9399           if test -z "$defaultval"; then
9400               if test x"$enablestring" = xdisable; then
9401                   defaultval=yes
9402               else
9403                   defaultval=no
9404               fi
9405           fi
9406
9407           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9408 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9409           # Check whether --enable-protocol was given.
9410 if test "${enable_protocol+set}" = set; then :
9411   enableval=$enable_protocol;
9412                           if test "$enableval" = yes; then
9413                             wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9414                           else
9415                             wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9416                           fi
9417
9418 else
9419
9420                           wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9421
9422 fi
9423
9424
9425           eval "$wx_cv_use_protocol"
9426
9427           if test x"$enablestring" = xdisable; then
9428             if test $wxUSE_PROTOCOL = no; then
9429               result=yes
9430             else
9431               result=no
9432             fi
9433           else
9434             result=$wxUSE_PROTOCOL
9435           fi
9436
9437           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9438 $as_echo "$result" >&6; }
9439
9440
9441           enablestring=
9442           defaultval=$wxUSE_ALL_FEATURES
9443           if test -z "$defaultval"; then
9444               if test x"$enablestring" = xdisable; then
9445                   defaultval=yes
9446               else
9447                   defaultval=no
9448               fi
9449           fi
9450
9451           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9452 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9453           # Check whether --enable-protocol_http was given.
9454 if test "${enable_protocol_http+set}" = set; then :
9455   enableval=$enable_protocol_http;
9456                           if test "$enableval" = yes; then
9457                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9458                           else
9459                             wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9460                           fi
9461
9462 else
9463
9464                           wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9465
9466 fi
9467
9468
9469           eval "$wx_cv_use_protocol_http"
9470
9471           if test x"$enablestring" = xdisable; then
9472             if test $wxUSE_PROTOCOL_HTTP = no; then
9473               result=yes
9474             else
9475               result=no
9476             fi
9477           else
9478             result=$wxUSE_PROTOCOL_HTTP
9479           fi
9480
9481           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9482 $as_echo "$result" >&6; }
9483
9484
9485           enablestring=
9486           defaultval=$wxUSE_ALL_FEATURES
9487           if test -z "$defaultval"; then
9488               if test x"$enablestring" = xdisable; then
9489                   defaultval=yes
9490               else
9491                   defaultval=no
9492               fi
9493           fi
9494
9495           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9496 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9497           # Check whether --enable-protocol_ftp was given.
9498 if test "${enable_protocol_ftp+set}" = set; then :
9499   enableval=$enable_protocol_ftp;
9500                           if test "$enableval" = yes; then
9501                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9502                           else
9503                             wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9504                           fi
9505
9506 else
9507
9508                           wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9509
9510 fi
9511
9512
9513           eval "$wx_cv_use_protocol_ftp"
9514
9515           if test x"$enablestring" = xdisable; then
9516             if test $wxUSE_PROTOCOL_FTP = no; then
9517               result=yes
9518             else
9519               result=no
9520             fi
9521           else
9522             result=$wxUSE_PROTOCOL_FTP
9523           fi
9524
9525           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9526 $as_echo "$result" >&6; }
9527
9528
9529           enablestring=
9530           defaultval=$wxUSE_ALL_FEATURES
9531           if test -z "$defaultval"; then
9532               if test x"$enablestring" = xdisable; then
9533                   defaultval=yes
9534               else
9535                   defaultval=no
9536               fi
9537           fi
9538
9539           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9540 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9541           # Check whether --enable-protocol_file was given.
9542 if test "${enable_protocol_file+set}" = set; then :
9543   enableval=$enable_protocol_file;
9544                           if test "$enableval" = yes; then
9545                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9546                           else
9547                             wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9548                           fi
9549
9550 else
9551
9552                           wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9553
9554 fi
9555
9556
9557           eval "$wx_cv_use_protocol_file"
9558
9559           if test x"$enablestring" = xdisable; then
9560             if test $wxUSE_PROTOCOL_FILE = no; then
9561               result=yes
9562             else
9563               result=no
9564             fi
9565           else
9566             result=$wxUSE_PROTOCOL_FILE
9567           fi
9568
9569           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9570 $as_echo "$result" >&6; }
9571
9572
9573
9574           enablestring=
9575           defaultval=$wxUSE_ALL_FEATURES
9576           if test -z "$defaultval"; then
9577               if test x"$enablestring" = xdisable; then
9578                   defaultval=yes
9579               else
9580                   defaultval=no
9581               fi
9582           fi
9583
9584           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9585 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9586           # Check whether --enable-threads was given.
9587 if test "${enable_threads+set}" = set; then :
9588   enableval=$enable_threads;
9589                           if test "$enableval" = yes; then
9590                             wx_cv_use_threads='wxUSE_THREADS=yes'
9591                           else
9592                             wx_cv_use_threads='wxUSE_THREADS=no'
9593                           fi
9594
9595 else
9596
9597                           wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9598
9599 fi
9600
9601
9602           eval "$wx_cv_use_threads"
9603
9604           if test x"$enablestring" = xdisable; then
9605             if test $wxUSE_THREADS = no; then
9606               result=yes
9607             else
9608               result=no
9609             fi
9610           else
9611             result=$wxUSE_THREADS
9612           fi
9613
9614           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9615 $as_echo "$result" >&6; }
9616
9617
9618
9619           enablestring=
9620           defaultval=
9621           if test -z "$defaultval"; then
9622               if test x"$enablestring" = xdisable; then
9623                   defaultval=yes
9624               else
9625                   defaultval=no
9626               fi
9627           fi
9628
9629           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9630 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9631           # Check whether --enable-iniconf was given.
9632 if test "${enable_iniconf+set}" = set; then :
9633   enableval=$enable_iniconf;
9634                           if test "$enableval" = yes; then
9635                             wx_cv_use_iniconf='wxUSE_INICONF=yes'
9636                           else
9637                             wx_cv_use_iniconf='wxUSE_INICONF=no'
9638                           fi
9639
9640 else
9641
9642                           wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9643
9644 fi
9645
9646
9647           eval "$wx_cv_use_iniconf"
9648
9649           if test x"$enablestring" = xdisable; then
9650             if test $wxUSE_INICONF = no; then
9651               result=yes
9652             else
9653               result=no
9654             fi
9655           else
9656             result=$wxUSE_INICONF
9657           fi
9658
9659           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9660 $as_echo "$result" >&6; }
9661
9662
9663           enablestring=
9664           defaultval=$wxUSE_ALL_FEATURES
9665           if test -z "$defaultval"; then
9666               if test x"$enablestring" = xdisable; then
9667                   defaultval=yes
9668               else
9669                   defaultval=no
9670               fi
9671           fi
9672
9673           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9674 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9675           # Check whether --enable-regkey was given.
9676 if test "${enable_regkey+set}" = set; then :
9677   enableval=$enable_regkey;
9678                           if test "$enableval" = yes; then
9679                             wx_cv_use_regkey='wxUSE_REGKEY=yes'
9680                           else
9681                             wx_cv_use_regkey='wxUSE_REGKEY=no'
9682                           fi
9683
9684 else
9685
9686                           wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9687
9688 fi
9689
9690
9691           eval "$wx_cv_use_regkey"
9692
9693           if test x"$enablestring" = xdisable; then
9694             if test $wxUSE_REGKEY = no; then
9695               result=yes
9696             else
9697               result=no
9698             fi
9699           else
9700             result=$wxUSE_REGKEY
9701           fi
9702
9703           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9704 $as_echo "$result" >&6; }
9705
9706
9707 if test "$wxUSE_GUI" = "yes"; then
9708
9709
9710
9711           enablestring=
9712           defaultval=$wxUSE_ALL_FEATURES
9713           if test -z "$defaultval"; then
9714               if test x"$enablestring" = xdisable; then
9715                   defaultval=yes
9716               else
9717                   defaultval=no
9718               fi
9719           fi
9720
9721           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9722 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9723           # Check whether --enable-docview was given.
9724 if test "${enable_docview+set}" = set; then :
9725   enableval=$enable_docview;
9726                           if test "$enableval" = yes; then
9727                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9728                           else
9729                             wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9730                           fi
9731
9732 else
9733
9734                           wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9735
9736 fi
9737
9738
9739           eval "$wx_cv_use_docview"
9740
9741           if test x"$enablestring" = xdisable; then
9742             if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9743               result=yes
9744             else
9745               result=no
9746             fi
9747           else
9748             result=$wxUSE_DOC_VIEW_ARCHITECTURE
9749           fi
9750
9751           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9752 $as_echo "$result" >&6; }
9753
9754
9755           enablestring=
9756           defaultval=$wxUSE_ALL_FEATURES
9757           if test -z "$defaultval"; then
9758               if test x"$enablestring" = xdisable; then
9759                   defaultval=yes
9760               else
9761                   defaultval=no
9762               fi
9763           fi
9764
9765           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9766 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9767           # Check whether --enable-help was given.
9768 if test "${enable_help+set}" = set; then :
9769   enableval=$enable_help;
9770                           if test "$enableval" = yes; then
9771                             wx_cv_use_help='wxUSE_HELP=yes'
9772                           else
9773                             wx_cv_use_help='wxUSE_HELP=no'
9774                           fi
9775
9776 else
9777
9778                           wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9779
9780 fi
9781
9782
9783           eval "$wx_cv_use_help"
9784
9785           if test x"$enablestring" = xdisable; then
9786             if test $wxUSE_HELP = no; then
9787               result=yes
9788             else
9789               result=no
9790             fi
9791           else
9792             result=$wxUSE_HELP
9793           fi
9794
9795           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9796 $as_echo "$result" >&6; }
9797
9798
9799           enablestring=
9800           defaultval=$wxUSE_ALL_FEATURES
9801           if test -z "$defaultval"; then
9802               if test x"$enablestring" = xdisable; then
9803                   defaultval=yes
9804               else
9805                   defaultval=no
9806               fi
9807           fi
9808
9809           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9810 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9811           # Check whether --enable-mshtmlhelp was given.
9812 if test "${enable_mshtmlhelp+set}" = set; then :
9813   enableval=$enable_mshtmlhelp;
9814                           if test "$enableval" = yes; then
9815                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9816                           else
9817                             wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9818                           fi
9819
9820 else
9821
9822                           wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9823
9824 fi
9825
9826
9827           eval "$wx_cv_use_mshtmlhelp"
9828
9829           if test x"$enablestring" = xdisable; then
9830             if test $wxUSE_MS_HTML_HELP = no; then
9831               result=yes
9832             else
9833               result=no
9834             fi
9835           else
9836             result=$wxUSE_MS_HTML_HELP
9837           fi
9838
9839           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9840 $as_echo "$result" >&6; }
9841
9842
9843           enablestring=
9844           defaultval=$wxUSE_ALL_FEATURES
9845           if test -z "$defaultval"; then
9846               if test x"$enablestring" = xdisable; then
9847                   defaultval=yes
9848               else
9849                   defaultval=no
9850               fi
9851           fi
9852
9853           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9854 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9855           # Check whether --enable-html was given.
9856 if test "${enable_html+set}" = set; then :
9857   enableval=$enable_html;
9858                           if test "$enableval" = yes; then
9859                             wx_cv_use_html='wxUSE_HTML=yes'
9860                           else
9861                             wx_cv_use_html='wxUSE_HTML=no'
9862                           fi
9863
9864 else
9865
9866                           wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9867
9868 fi
9869
9870
9871           eval "$wx_cv_use_html"
9872
9873           if test x"$enablestring" = xdisable; then
9874             if test $wxUSE_HTML = no; then
9875               result=yes
9876             else
9877               result=no
9878             fi
9879           else
9880             result=$wxUSE_HTML
9881           fi
9882
9883           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9884 $as_echo "$result" >&6; }
9885
9886
9887           enablestring=
9888           defaultval=$wxUSE_ALL_FEATURES
9889           if test -z "$defaultval"; then
9890               if test x"$enablestring" = xdisable; then
9891                   defaultval=yes
9892               else
9893                   defaultval=no
9894               fi
9895           fi
9896
9897           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9898 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9899           # Check whether --enable-htmlhelp was given.
9900 if test "${enable_htmlhelp+set}" = set; then :
9901   enableval=$enable_htmlhelp;
9902                           if test "$enableval" = yes; then
9903                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9904                           else
9905                             wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9906                           fi
9907
9908 else
9909
9910                           wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9911
9912 fi
9913
9914
9915           eval "$wx_cv_use_htmlhelp"
9916
9917           if test x"$enablestring" = xdisable; then
9918             if test $wxUSE_WXHTML_HELP = no; then
9919               result=yes
9920             else
9921               result=no
9922             fi
9923           else
9924             result=$wxUSE_WXHTML_HELP
9925           fi
9926
9927           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9928 $as_echo "$result" >&6; }
9929
9930
9931           enablestring=
9932           defaultval=$wxUSE_ALL_FEATURES
9933           if test -z "$defaultval"; then
9934               if test x"$enablestring" = xdisable; then
9935                   defaultval=yes
9936               else
9937                   defaultval=no
9938               fi
9939           fi
9940
9941           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9942 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9943           # Check whether --enable-xrc was given.
9944 if test "${enable_xrc+set}" = set; then :
9945   enableval=$enable_xrc;
9946                           if test "$enableval" = yes; then
9947                             wx_cv_use_xrc='wxUSE_XRC=yes'
9948                           else
9949                             wx_cv_use_xrc='wxUSE_XRC=no'
9950                           fi
9951
9952 else
9953
9954                           wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9955
9956 fi
9957
9958
9959           eval "$wx_cv_use_xrc"
9960
9961           if test x"$enablestring" = xdisable; then
9962             if test $wxUSE_XRC = no; then
9963               result=yes
9964             else
9965               result=no
9966             fi
9967           else
9968             result=$wxUSE_XRC
9969           fi
9970
9971           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9972 $as_echo "$result" >&6; }
9973
9974
9975           enablestring=
9976           defaultval=$wxUSE_ALL_FEATURES
9977           if test -z "$defaultval"; then
9978               if test x"$enablestring" = xdisable; then
9979                   defaultval=yes
9980               else
9981                   defaultval=no
9982               fi
9983           fi
9984
9985           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9986 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9987           # Check whether --enable-aui was given.
9988 if test "${enable_aui+set}" = set; then :
9989   enableval=$enable_aui;
9990                           if test "$enableval" = yes; then
9991                             wx_cv_use_aui='wxUSE_AUI=yes'
9992                           else
9993                             wx_cv_use_aui='wxUSE_AUI=no'
9994                           fi
9995
9996 else
9997
9998                           wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9999
10000 fi
10001
10002
10003           eval "$wx_cv_use_aui"
10004
10005           if test x"$enablestring" = xdisable; then
10006             if test $wxUSE_AUI = no; then
10007               result=yes
10008             else
10009               result=no
10010             fi
10011           else
10012             result=$wxUSE_AUI
10013           fi
10014
10015           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10016 $as_echo "$result" >&6; }
10017
10018
10019           enablestring=
10020           defaultval=$wxUSE_ALL_FEATURES
10021           if test -z "$defaultval"; then
10022               if test x"$enablestring" = xdisable; then
10023                   defaultval=yes
10024               else
10025                   defaultval=no
10026               fi
10027           fi
10028
10029           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10030 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10031           # Check whether --enable-propgrid was given.
10032 if test "${enable_propgrid+set}" = set; then :
10033   enableval=$enable_propgrid;
10034                           if test "$enableval" = yes; then
10035                             wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10036                           else
10037                             wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10038                           fi
10039
10040 else
10041
10042                           wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10043
10044 fi
10045
10046
10047           eval "$wx_cv_use_propgrid"
10048
10049           if test x"$enablestring" = xdisable; then
10050             if test $wxUSE_PROPGRID = no; then
10051               result=yes
10052             else
10053               result=no
10054             fi
10055           else
10056             result=$wxUSE_PROPGRID
10057           fi
10058
10059           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10060 $as_echo "$result" >&6; }
10061
10062
10063           enablestring=
10064           defaultval=$wxUSE_ALL_FEATURES
10065           if test -z "$defaultval"; then
10066               if test x"$enablestring" = xdisable; then
10067                   defaultval=yes
10068               else
10069                   defaultval=no
10070               fi
10071           fi
10072
10073           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10074 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10075           # Check whether --enable-ribbon was given.
10076 if test "${enable_ribbon+set}" = set; then :
10077   enableval=$enable_ribbon;
10078                           if test "$enableval" = yes; then
10079                             wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10080                           else
10081                             wx_cv_use_ribbon='wxUSE_RIBBON=no'
10082                           fi
10083
10084 else
10085
10086                           wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10087
10088 fi
10089
10090
10091           eval "$wx_cv_use_ribbon"
10092
10093           if test x"$enablestring" = xdisable; then
10094             if test $wxUSE_RIBBON = no; then
10095               result=yes
10096             else
10097               result=no
10098             fi
10099           else
10100             result=$wxUSE_RIBBON
10101           fi
10102
10103           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10104 $as_echo "$result" >&6; }
10105
10106
10107           enablestring=
10108           defaultval=$wxUSE_ALL_FEATURES
10109           if test -z "$defaultval"; then
10110               if test x"$enablestring" = xdisable; then
10111                   defaultval=yes
10112               else
10113                   defaultval=no
10114               fi
10115           fi
10116
10117           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10118 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10119           # Check whether --enable-stc was given.
10120 if test "${enable_stc+set}" = set; then :
10121   enableval=$enable_stc;
10122                           if test "$enableval" = yes; then
10123                             wx_cv_use_stc='wxUSE_STC=yes'
10124                           else
10125                             wx_cv_use_stc='wxUSE_STC=no'
10126                           fi
10127
10128 else
10129
10130                           wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10131
10132 fi
10133
10134
10135           eval "$wx_cv_use_stc"
10136
10137           if test x"$enablestring" = xdisable; then
10138             if test $wxUSE_STC = no; then
10139               result=yes
10140             else
10141               result=no
10142             fi
10143           else
10144             result=$wxUSE_STC
10145           fi
10146
10147           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10148 $as_echo "$result" >&6; }
10149
10150
10151           enablestring=
10152           defaultval=$wxUSE_ALL_FEATURES
10153           if test -z "$defaultval"; then
10154               if test x"$enablestring" = xdisable; then
10155                   defaultval=yes
10156               else
10157                   defaultval=no
10158               fi
10159           fi
10160
10161           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10162 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10163           # Check whether --enable-constraints was given.
10164 if test "${enable_constraints+set}" = set; then :
10165   enableval=$enable_constraints;
10166                           if test "$enableval" = yes; then
10167                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10168                           else
10169                             wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10170                           fi
10171
10172 else
10173
10174                           wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10175
10176 fi
10177
10178
10179           eval "$wx_cv_use_constraints"
10180
10181           if test x"$enablestring" = xdisable; then
10182             if test $wxUSE_CONSTRAINTS = no; then
10183               result=yes
10184             else
10185               result=no
10186             fi
10187           else
10188             result=$wxUSE_CONSTRAINTS
10189           fi
10190
10191           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10192 $as_echo "$result" >&6; }
10193
10194
10195           enablestring=
10196           defaultval=$wxUSE_ALL_FEATURES
10197           if test -z "$defaultval"; then
10198               if test x"$enablestring" = xdisable; then
10199                   defaultval=yes
10200               else
10201                   defaultval=no
10202               fi
10203           fi
10204
10205           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10206 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10207           # Check whether --enable-loggui was given.
10208 if test "${enable_loggui+set}" = set; then :
10209   enableval=$enable_loggui;
10210                           if test "$enableval" = yes; then
10211                             wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10212                           else
10213                             wx_cv_use_loggui='wxUSE_LOGGUI=no'
10214                           fi
10215
10216 else
10217
10218                           wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10219
10220 fi
10221
10222
10223           eval "$wx_cv_use_loggui"
10224
10225           if test x"$enablestring" = xdisable; then
10226             if test $wxUSE_LOGGUI = no; then
10227               result=yes
10228             else
10229               result=no
10230             fi
10231           else
10232             result=$wxUSE_LOGGUI
10233           fi
10234
10235           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10236 $as_echo "$result" >&6; }
10237
10238
10239           enablestring=
10240           defaultval=$wxUSE_ALL_FEATURES
10241           if test -z "$defaultval"; then
10242               if test x"$enablestring" = xdisable; then
10243                   defaultval=yes
10244               else
10245                   defaultval=no
10246               fi
10247           fi
10248
10249           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10250 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10251           # Check whether --enable-logwin was given.
10252 if test "${enable_logwin+set}" = set; then :
10253   enableval=$enable_logwin;
10254                           if test "$enableval" = yes; then
10255                             wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10256                           else
10257                             wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10258                           fi
10259
10260 else
10261
10262                           wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10263
10264 fi
10265
10266
10267           eval "$wx_cv_use_logwin"
10268
10269           if test x"$enablestring" = xdisable; then
10270             if test $wxUSE_LOGWINDOW = no; then
10271               result=yes
10272             else
10273               result=no
10274             fi
10275           else
10276             result=$wxUSE_LOGWINDOW
10277           fi
10278
10279           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10280 $as_echo "$result" >&6; }
10281
10282
10283           enablestring=
10284           defaultval=$wxUSE_ALL_FEATURES
10285           if test -z "$defaultval"; then
10286               if test x"$enablestring" = xdisable; then
10287                   defaultval=yes
10288               else
10289                   defaultval=no
10290               fi
10291           fi
10292
10293           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10294 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10295           # Check whether --enable-logdialog was given.
10296 if test "${enable_logdialog+set}" = set; then :
10297   enableval=$enable_logdialog;
10298                           if test "$enableval" = yes; then
10299                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10300                           else
10301                             wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10302                           fi
10303
10304 else
10305
10306                           wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10307
10308 fi
10309
10310
10311           eval "$wx_cv_use_logdialog"
10312
10313           if test x"$enablestring" = xdisable; then
10314             if test $wxUSE_LOGDIALOG = no; then
10315               result=yes
10316             else
10317               result=no
10318             fi
10319           else
10320             result=$wxUSE_LOGDIALOG
10321           fi
10322
10323           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10324 $as_echo "$result" >&6; }
10325
10326
10327           enablestring=
10328           defaultval=$wxUSE_ALL_FEATURES
10329           if test -z "$defaultval"; then
10330               if test x"$enablestring" = xdisable; then
10331                   defaultval=yes
10332               else
10333                   defaultval=no
10334               fi
10335           fi
10336
10337           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10338 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10339           # Check whether --enable-mdi was given.
10340 if test "${enable_mdi+set}" = set; then :
10341   enableval=$enable_mdi;
10342                           if test "$enableval" = yes; then
10343                             wx_cv_use_mdi='wxUSE_MDI=yes'
10344                           else
10345                             wx_cv_use_mdi='wxUSE_MDI=no'
10346                           fi
10347
10348 else
10349
10350                           wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10351
10352 fi
10353
10354
10355           eval "$wx_cv_use_mdi"
10356
10357           if test x"$enablestring" = xdisable; then
10358             if test $wxUSE_MDI = no; then
10359               result=yes
10360             else
10361               result=no
10362             fi
10363           else
10364             result=$wxUSE_MDI
10365           fi
10366
10367           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10368 $as_echo "$result" >&6; }
10369
10370
10371           enablestring=
10372           defaultval=$wxUSE_ALL_FEATURES
10373           if test -z "$defaultval"; then
10374               if test x"$enablestring" = xdisable; then
10375                   defaultval=yes
10376               else
10377                   defaultval=no
10378               fi
10379           fi
10380
10381           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10382 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10383           # Check whether --enable-mdidoc was given.
10384 if test "${enable_mdidoc+set}" = set; then :
10385   enableval=$enable_mdidoc;
10386                           if test "$enableval" = yes; then
10387                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10388                           else
10389                             wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10390                           fi
10391
10392 else
10393
10394                           wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10395
10396 fi
10397
10398
10399           eval "$wx_cv_use_mdidoc"
10400
10401           if test x"$enablestring" = xdisable; then
10402             if test $wxUSE_MDI_ARCHITECTURE = no; then
10403               result=yes
10404             else
10405               result=no
10406             fi
10407           else
10408             result=$wxUSE_MDI_ARCHITECTURE
10409           fi
10410
10411           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10412 $as_echo "$result" >&6; }
10413
10414
10415           enablestring=
10416           defaultval=$wxUSE_ALL_FEATURES
10417           if test -z "$defaultval"; then
10418               if test x"$enablestring" = xdisable; then
10419                   defaultval=yes
10420               else
10421                   defaultval=no
10422               fi
10423           fi
10424
10425           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10426 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10427           # Check whether --enable-mediactrl was given.
10428 if test "${enable_mediactrl+set}" = set; then :
10429   enableval=$enable_mediactrl;
10430                           if test "$enableval" = yes; then
10431                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10432                           else
10433                             wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10434                           fi
10435
10436 else
10437
10438                           wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10439
10440 fi
10441
10442
10443           eval "$wx_cv_use_mediactrl"
10444
10445           if test x"$enablestring" = xdisable; then
10446             if test $wxUSE_MEDIACTRL = no; then
10447               result=yes
10448             else
10449               result=no
10450             fi
10451           else
10452             result=$wxUSE_MEDIACTRL
10453           fi
10454
10455           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10456 $as_echo "$result" >&6; }
10457
10458
10459           enablestring=
10460           defaultval=$wxUSE_ALL_FEATURES
10461           if test -z "$defaultval"; then
10462               if test x"$enablestring" = xdisable; then
10463                   defaultval=yes
10464               else
10465                   defaultval=no
10466               fi
10467           fi
10468
10469           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10470 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10471           # Check whether --enable-gstreamer8 was given.
10472 if test "${enable_gstreamer8+set}" = set; then :
10473   enableval=$enable_gstreamer8;
10474                           if test "$enableval" = yes; then
10475                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10476                           else
10477                             wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10478                           fi
10479
10480 else
10481
10482                           wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10483
10484 fi
10485
10486
10487           eval "$wx_cv_use_gstreamer8"
10488
10489           if test x"$enablestring" = xdisable; then
10490             if test $wxUSE_GSTREAMER8 = no; then
10491               result=yes
10492             else
10493               result=no
10494             fi
10495           else
10496             result=$wxUSE_GSTREAMER8
10497           fi
10498
10499           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10500 $as_echo "$result" >&6; }
10501
10502
10503           enablestring=
10504           defaultval=$wxUSE_ALL_FEATURES
10505           if test -z "$defaultval"; then
10506               if test x"$enablestring" = xdisable; then
10507                   defaultval=yes
10508               else
10509                   defaultval=no
10510               fi
10511           fi
10512
10513           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10514 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10515           # Check whether --enable-richtext was given.
10516 if test "${enable_richtext+set}" = set; then :
10517   enableval=$enable_richtext;
10518                           if test "$enableval" = yes; then
10519                             wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10520                           else
10521                             wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10522                           fi
10523
10524 else
10525
10526                           wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10527
10528 fi
10529
10530
10531           eval "$wx_cv_use_richtext"
10532
10533           if test x"$enablestring" = xdisable; then
10534             if test $wxUSE_RICHTEXT = no; then
10535               result=yes
10536             else
10537               result=no
10538             fi
10539           else
10540             result=$wxUSE_RICHTEXT
10541           fi
10542
10543           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10544 $as_echo "$result" >&6; }
10545
10546
10547           enablestring=
10548           defaultval=$wxUSE_ALL_FEATURES
10549           if test -z "$defaultval"; then
10550               if test x"$enablestring" = xdisable; then
10551                   defaultval=yes
10552               else
10553                   defaultval=no
10554               fi
10555           fi
10556
10557           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10558 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10559           # Check whether --enable-postscript was given.
10560 if test "${enable_postscript+set}" = set; then :
10561   enableval=$enable_postscript;
10562                           if test "$enableval" = yes; then
10563                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10564                           else
10565                             wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10566                           fi
10567
10568 else
10569
10570                           wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10571
10572 fi
10573
10574
10575           eval "$wx_cv_use_postscript"
10576
10577           if test x"$enablestring" = xdisable; then
10578             if test $wxUSE_POSTSCRIPT = no; then
10579               result=yes
10580             else
10581               result=no
10582             fi
10583           else
10584             result=$wxUSE_POSTSCRIPT
10585           fi
10586
10587           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10588 $as_echo "$result" >&6; }
10589
10590
10591           enablestring=
10592           defaultval=$wxUSE_ALL_FEATURES
10593           if test -z "$defaultval"; then
10594               if test x"$enablestring" = xdisable; then
10595                   defaultval=yes
10596               else
10597                   defaultval=no
10598               fi
10599           fi
10600
10601           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10602 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10603           # Check whether --enable-printarch was given.
10604 if test "${enable_printarch+set}" = set; then :
10605   enableval=$enable_printarch;
10606                           if test "$enableval" = yes; then
10607                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10608                           else
10609                             wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10610                           fi
10611
10612 else
10613
10614                           wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10615
10616 fi
10617
10618
10619           eval "$wx_cv_use_printarch"
10620
10621           if test x"$enablestring" = xdisable; then
10622             if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10623               result=yes
10624             else
10625               result=no
10626             fi
10627           else
10628             result=$wxUSE_PRINTING_ARCHITECTURE
10629           fi
10630
10631           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10632 $as_echo "$result" >&6; }
10633
10634
10635           enablestring=
10636           defaultval=$wxUSE_ALL_FEATURES
10637           if test -z "$defaultval"; then
10638               if test x"$enablestring" = xdisable; then
10639                   defaultval=yes
10640               else
10641                   defaultval=no
10642               fi
10643           fi
10644
10645           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10646 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10647           # Check whether --enable-svg was given.
10648 if test "${enable_svg+set}" = set; then :
10649   enableval=$enable_svg;
10650                           if test "$enableval" = yes; then
10651                             wx_cv_use_svg='wxUSE_SVG=yes'
10652                           else
10653                             wx_cv_use_svg='wxUSE_SVG=no'
10654                           fi
10655
10656 else
10657
10658                           wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10659
10660 fi
10661
10662
10663           eval "$wx_cv_use_svg"
10664
10665           if test x"$enablestring" = xdisable; then
10666             if test $wxUSE_SVG = no; then
10667               result=yes
10668             else
10669               result=no
10670             fi
10671           else
10672             result=$wxUSE_SVG
10673           fi
10674
10675           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10676 $as_echo "$result" >&6; }
10677
10678
10679           enablestring=
10680           defaultval=$wxUSE_ALL_FEATURES
10681           if test -z "$defaultval"; then
10682               if test x"$enablestring" = xdisable; then
10683                   defaultval=yes
10684               else
10685                   defaultval=no
10686               fi
10687           fi
10688
10689           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10690 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10691           # Check whether --enable-webkit was given.
10692 if test "${enable_webkit+set}" = set; then :
10693   enableval=$enable_webkit;
10694                           if test "$enableval" = yes; then
10695                             wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10696                           else
10697                             wx_cv_use_webkit='wxUSE_WEBKIT=no'
10698                           fi
10699
10700 else
10701
10702                           wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10703
10704 fi
10705
10706
10707           eval "$wx_cv_use_webkit"
10708
10709           if test x"$enablestring" = xdisable; then
10710             if test $wxUSE_WEBKIT = no; then
10711               result=yes
10712             else
10713               result=no
10714             fi
10715           else
10716             result=$wxUSE_WEBKIT
10717           fi
10718
10719           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10720 $as_echo "$result" >&6; }
10721
10722
10723           enablestring=
10724           defaultval=$wxUSE_ALL_FEATURES
10725           if test -z "$defaultval"; then
10726               if test x"$enablestring" = xdisable; then
10727                   defaultval=yes
10728               else
10729                   defaultval=no
10730               fi
10731           fi
10732
10733           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10734 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10735           # Check whether --enable-webview was given.
10736 if test "${enable_webview+set}" = set; then :
10737   enableval=$enable_webview;
10738                           if test "$enableval" = yes; then
10739                             wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10740                           else
10741                             wx_cv_use_webview='wxUSE_WEBVIEW=no'
10742                           fi
10743
10744 else
10745
10746                           wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10747
10748 fi
10749
10750
10751           eval "$wx_cv_use_webview"
10752
10753           if test x"$enablestring" = xdisable; then
10754             if test $wxUSE_WEBVIEW = no; then
10755               result=yes
10756             else
10757               result=no
10758             fi
10759           else
10760             result=$wxUSE_WEBVIEW
10761           fi
10762
10763           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10764 $as_echo "$result" >&6; }
10765
10766
10767 if test "$wxUSE_MAC" != 1; then
10768
10769           enablestring=
10770           defaultval=$wxUSE_ALL_FEATURES
10771           if test -z "$defaultval"; then
10772               if test x"$enablestring" = xdisable; then
10773                   defaultval=yes
10774               else
10775                   defaultval=no
10776               fi
10777           fi
10778
10779           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10780 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10781           # Check whether --enable-graphics_ctx was given.
10782 if test "${enable_graphics_ctx+set}" = set; then :
10783   enableval=$enable_graphics_ctx;
10784                           if test "$enableval" = yes; then
10785                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10786                           else
10787                             wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10788                           fi
10789
10790 else
10791
10792                           wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10793
10794 fi
10795
10796
10797           eval "$wx_cv_use_graphics_ctx"
10798
10799           if test x"$enablestring" = xdisable; then
10800             if test $wxUSE_GRAPHICS_CONTEXT = no; then
10801               result=yes
10802             else
10803               result=no
10804             fi
10805           else
10806             result=$wxUSE_GRAPHICS_CONTEXT
10807           fi
10808
10809           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10810 $as_echo "$result" >&6; }
10811
10812 fi
10813
10814
10815
10816           enablestring=
10817           defaultval=$wxUSE_ALL_FEATURES
10818           if test -z "$defaultval"; then
10819               if test x"$enablestring" = xdisable; then
10820                   defaultval=yes
10821               else
10822                   defaultval=no
10823               fi
10824           fi
10825
10826           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10827 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10828           # Check whether --enable-clipboard was given.
10829 if test "${enable_clipboard+set}" = set; then :
10830   enableval=$enable_clipboard;
10831                           if test "$enableval" = yes; then
10832                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10833                           else
10834                             wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10835                           fi
10836
10837 else
10838
10839                           wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10840
10841 fi
10842
10843
10844           eval "$wx_cv_use_clipboard"
10845
10846           if test x"$enablestring" = xdisable; then
10847             if test $wxUSE_CLIPBOARD = no; then
10848               result=yes
10849             else
10850               result=no
10851             fi
10852           else
10853             result=$wxUSE_CLIPBOARD
10854           fi
10855
10856           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10857 $as_echo "$result" >&6; }
10858
10859
10860           enablestring=
10861           defaultval=$wxUSE_ALL_FEATURES
10862           if test -z "$defaultval"; then
10863               if test x"$enablestring" = xdisable; then
10864                   defaultval=yes
10865               else
10866                   defaultval=no
10867               fi
10868           fi
10869
10870           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10871 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10872           # Check whether --enable-dnd was given.
10873 if test "${enable_dnd+set}" = set; then :
10874   enableval=$enable_dnd;
10875                           if test "$enableval" = yes; then
10876                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10877                           else
10878                             wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10879                           fi
10880
10881 else
10882
10883                           wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10884
10885 fi
10886
10887
10888           eval "$wx_cv_use_dnd"
10889
10890           if test x"$enablestring" = xdisable; then
10891             if test $wxUSE_DRAG_AND_DROP = no; then
10892               result=yes
10893             else
10894               result=no
10895             fi
10896           else
10897             result=$wxUSE_DRAG_AND_DROP
10898           fi
10899
10900           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10901 $as_echo "$result" >&6; }
10902
10903
10904
10905 DEFAULT_wxUSE_CONTROLS=none
10906
10907           enablestring=disable
10908           defaultval=
10909           if test -z "$defaultval"; then
10910               if test x"$enablestring" = xdisable; then
10911                   defaultval=yes
10912               else
10913                   defaultval=no
10914               fi
10915           fi
10916
10917           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10918 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10919           # Check whether --enable-controls was given.
10920 if test "${enable_controls+set}" = set; then :
10921   enableval=$enable_controls;
10922                           if test "$enableval" = yes; then
10923                             wx_cv_use_controls='wxUSE_CONTROLS=yes'
10924                           else
10925                             wx_cv_use_controls='wxUSE_CONTROLS=no'
10926                           fi
10927
10928 else
10929
10930                           wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10931
10932 fi
10933
10934
10935           eval "$wx_cv_use_controls"
10936
10937           if test x"$enablestring" = xdisable; then
10938             if test $wxUSE_CONTROLS = no; then
10939               result=yes
10940             else
10941               result=no
10942             fi
10943           else
10944             result=$wxUSE_CONTROLS
10945           fi
10946
10947           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10948 $as_echo "$result" >&6; }
10949
10950
10951 if test "$wxUSE_CONTROLS" = "no"; then
10952     DEFAULT_wxUSE_ACCEL=no
10953     DEFAULT_wxUSE_ANIMATIONCTRL=no
10954     DEFAULT_wxUSE_BANNERWINDOW=no
10955     DEFAULT_wxUSE_BMPBUTTON=no
10956     DEFAULT_wxUSE_BUTTON=no
10957     DEFAULT_wxUSE_CALCTRL=no
10958     DEFAULT_wxUSE_CARET=no
10959     DEFAULT_wxUSE_CHECKBOX=no
10960     DEFAULT_wxUSE_CHECKLISTBOX=no
10961     DEFAULT_wxUSE_CHOICE=no
10962     DEFAULT_wxUSE_CHOICEBOOK=no
10963     DEFAULT_wxUSE_COLLPANE=no
10964     DEFAULT_wxUSE_COLOURPICKERCTRL=no
10965     DEFAULT_wxUSE_COMBOBOX=no
10966     DEFAULT_wxUSE_COMBOBOX=no
10967     DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10968     DEFAULT_wxUSE_DATAVIEWCTRL=no
10969     DEFAULT_wxUSE_DATEPICKCTRL=no
10970     DEFAULT_wxUSE_DETECT_SM=no
10971     DEFAULT_wxUSE_DIRPICKERCTRL=no
10972     DEFAULT_wxUSE_DISPLAY=no
10973     DEFAULT_wxUSE_FILECTRL=no
10974     DEFAULT_wxUSE_FILEPICKERCTRL=no
10975     DEFAULT_wxUSE_FONTPICKERCTRL=no
10976     DEFAULT_wxUSE_GAUGE=no
10977     DEFAULT_wxUSE_GRID=no
10978     DEFAULT_wxUSE_HEADERCTRL=no
10979     DEFAULT_wxUSE_HYPERLINKCTRL=no
10980     DEFAULT_wxUSE_IMAGLIST=no
10981     DEFAULT_wxUSE_LISTBOOK=no
10982     DEFAULT_wxUSE_LISTBOX=no
10983     DEFAULT_wxUSE_LISTCTRL=no
10984     DEFAULT_wxUSE_MARKUP=no
10985     DEFAULT_wxUSE_NOTEBOOK=no
10986     DEFAULT_wxUSE_POPUPWIN=no
10987     DEFAULT_wxUSE_RADIOBOX=no
10988     DEFAULT_wxUSE_RADIOBTN=no
10989     DEFAULT_wxUSE_RICHMSGDLG=no
10990     DEFAULT_wxUSE_RICHTOOLTIP=no
10991     DEFAULT_wxUSE_REARRANGECTRL=no
10992     DEFAULT_wxUSE_SASH=no
10993     DEFAULT_wxUSE_SCROLLBAR=no
10994     DEFAULT_wxUSE_SEARCHCTRL=no
10995     DEFAULT_wxUSE_SLIDER=no
10996     DEFAULT_wxUSE_SPINBTN=no
10997     DEFAULT_wxUSE_SPINCTRL=no
10998     DEFAULT_wxUSE_SPLITTER=no
10999     DEFAULT_wxUSE_STATBMP=no
11000     DEFAULT_wxUSE_STATBOX=no
11001     DEFAULT_wxUSE_STATLINE=no
11002     DEFAULT_wxUSE_STATUSBAR=no
11003     DEFAULT_wxUSE_TIMEPICKCTRL=no
11004     DEFAULT_wxUSE_TIPWINDOW=no
11005     DEFAULT_wxUSE_TOGGLEBTN=no
11006     DEFAULT_wxUSE_TOOLBAR=no
11007     DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11008     DEFAULT_wxUSE_TOOLBOOK=no
11009     DEFAULT_wxUSE_TOOLTIPS=no
11010     DEFAULT_wxUSE_TREEBOOK=no
11011     DEFAULT_wxUSE_TREECTRL=no
11012     DEFAULT_wxUSE_TREELISTCTRL=no
11013 fi
11014
11015
11016           enablestring=
11017           defaultval=$wxUSE_ALL_FEATURES
11018           if test -z "$defaultval"; then
11019               if test x"$enablestring" = xdisable; then
11020                   defaultval=yes
11021               else
11022                   defaultval=no
11023               fi
11024           fi
11025
11026           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11027 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11028           # Check whether --enable-markup was given.
11029 if test "${enable_markup+set}" = set; then :
11030   enableval=$enable_markup;
11031                           if test "$enableval" = yes; then
11032                             wx_cv_use_markup='wxUSE_MARKUP=yes'
11033                           else
11034                             wx_cv_use_markup='wxUSE_MARKUP=no'
11035                           fi
11036
11037 else
11038
11039                           wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11040
11041 fi
11042
11043
11044           eval "$wx_cv_use_markup"
11045
11046           if test x"$enablestring" = xdisable; then
11047             if test $wxUSE_MARKUP = no; then
11048               result=yes
11049             else
11050               result=no
11051             fi
11052           else
11053             result=$wxUSE_MARKUP
11054           fi
11055
11056           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11057 $as_echo "$result" >&6; }
11058
11059
11060
11061           enablestring=
11062           defaultval=$wxUSE_ALL_FEATURES
11063           if test -z "$defaultval"; then
11064               if test x"$enablestring" = xdisable; then
11065                   defaultval=yes
11066               else
11067                   defaultval=no
11068               fi
11069           fi
11070
11071           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11072 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11073           # Check whether --enable-accel was given.
11074 if test "${enable_accel+set}" = set; then :
11075   enableval=$enable_accel;
11076                           if test "$enableval" = yes; then
11077                             wx_cv_use_accel='wxUSE_ACCEL=yes'
11078                           else
11079                             wx_cv_use_accel='wxUSE_ACCEL=no'
11080                           fi
11081
11082 else
11083
11084                           wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11085
11086 fi
11087
11088
11089           eval "$wx_cv_use_accel"
11090
11091           if test x"$enablestring" = xdisable; then
11092             if test $wxUSE_ACCEL = no; then
11093               result=yes
11094             else
11095               result=no
11096             fi
11097           else
11098             result=$wxUSE_ACCEL
11099           fi
11100
11101           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11102 $as_echo "$result" >&6; }
11103
11104
11105           enablestring=
11106           defaultval=$wxUSE_ALL_FEATURES
11107           if test -z "$defaultval"; then
11108               if test x"$enablestring" = xdisable; then
11109                   defaultval=yes
11110               else
11111                   defaultval=no
11112               fi
11113           fi
11114
11115           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11116 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11117           # Check whether --enable-animatectrl was given.
11118 if test "${enable_animatectrl+set}" = set; then :
11119   enableval=$enable_animatectrl;
11120                           if test "$enableval" = yes; then
11121                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11122                           else
11123                             wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11124                           fi
11125
11126 else
11127
11128                           wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11129
11130 fi
11131
11132
11133           eval "$wx_cv_use_animatectrl"
11134
11135           if test x"$enablestring" = xdisable; then
11136             if test $wxUSE_ANIMATIONCTRL = no; then
11137               result=yes
11138             else
11139               result=no
11140             fi
11141           else
11142             result=$wxUSE_ANIMATIONCTRL
11143           fi
11144
11145           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11146 $as_echo "$result" >&6; }
11147
11148
11149           enablestring=
11150           defaultval=$wxUSE_ALL_FEATURES
11151           if test -z "$defaultval"; then
11152               if test x"$enablestring" = xdisable; then
11153                   defaultval=yes
11154               else
11155                   defaultval=no
11156               fi
11157           fi
11158
11159           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11160 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11161           # Check whether --enable-bannerwindow was given.
11162 if test "${enable_bannerwindow+set}" = set; then :
11163   enableval=$enable_bannerwindow;
11164                           if test "$enableval" = yes; then
11165                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11166                           else
11167                             wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11168                           fi
11169
11170 else
11171
11172                           wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11173
11174 fi
11175
11176
11177           eval "$wx_cv_use_bannerwindow"
11178
11179           if test x"$enablestring" = xdisable; then
11180             if test $wxUSE_BANNERWINDOW = no; then
11181               result=yes
11182             else
11183               result=no
11184             fi
11185           else
11186             result=$wxUSE_BANNERWINDOW
11187           fi
11188
11189           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11190 $as_echo "$result" >&6; }
11191
11192
11193           enablestring=
11194           defaultval=$wxUSE_ALL_FEATURES
11195           if test -z "$defaultval"; then
11196               if test x"$enablestring" = xdisable; then
11197                   defaultval=yes
11198               else
11199                   defaultval=no
11200               fi
11201           fi
11202
11203           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11204 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11205           # Check whether --enable-artstd was given.
11206 if test "${enable_artstd+set}" = set; then :
11207   enableval=$enable_artstd;
11208                           if test "$enableval" = yes; then
11209                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11210                           else
11211                             wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11212                           fi
11213
11214 else
11215
11216                           wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11217
11218 fi
11219
11220
11221           eval "$wx_cv_use_artstd"
11222
11223           if test x"$enablestring" = xdisable; then
11224             if test $wxUSE_ARTPROVIDER_STD = no; then
11225               result=yes
11226             else
11227               result=no
11228             fi
11229           else
11230             result=$wxUSE_ARTPROVIDER_STD
11231           fi
11232
11233           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11234 $as_echo "$result" >&6; }
11235
11236
11237           enablestring=
11238           defaultval=$wxUSE_ALL_FEATURES
11239           if test -z "$defaultval"; then
11240               if test x"$enablestring" = xdisable; then
11241                   defaultval=yes
11242               else
11243                   defaultval=no
11244               fi
11245           fi
11246
11247           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11248 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11249           # Check whether --enable-arttango was given.
11250 if test "${enable_arttango+set}" = set; then :
11251   enableval=$enable_arttango;
11252                           if test "$enableval" = yes; then
11253                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11254                           else
11255                             wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11256                           fi
11257
11258 else
11259
11260                           wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11261
11262 fi
11263
11264
11265           eval "$wx_cv_use_arttango"
11266
11267           if test x"$enablestring" = xdisable; then
11268             if test $wxUSE_ARTPROVIDER_TANGO = no; then
11269               result=yes
11270             else
11271               result=no
11272             fi
11273           else
11274             result=$wxUSE_ARTPROVIDER_TANGO
11275           fi
11276
11277           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11278 $as_echo "$result" >&6; }
11279
11280
11281           enablestring=
11282           defaultval=$wxUSE_ALL_FEATURES
11283           if test -z "$defaultval"; then
11284               if test x"$enablestring" = xdisable; then
11285                   defaultval=yes
11286               else
11287                   defaultval=no
11288               fi
11289           fi
11290
11291           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11292 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11293           # Check whether --enable-bmpbutton was given.
11294 if test "${enable_bmpbutton+set}" = set; then :
11295   enableval=$enable_bmpbutton;
11296                           if test "$enableval" = yes; then
11297                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11298                           else
11299                             wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11300                           fi
11301
11302 else
11303
11304                           wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11305
11306 fi
11307
11308
11309           eval "$wx_cv_use_bmpbutton"
11310
11311           if test x"$enablestring" = xdisable; then
11312             if test $wxUSE_BMPBUTTON = no; then
11313               result=yes
11314             else
11315               result=no
11316             fi
11317           else
11318             result=$wxUSE_BMPBUTTON
11319           fi
11320
11321           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11322 $as_echo "$result" >&6; }
11323
11324
11325           enablestring=
11326           defaultval=$wxUSE_ALL_FEATURES
11327           if test -z "$defaultval"; then
11328               if test x"$enablestring" = xdisable; then
11329                   defaultval=yes
11330               else
11331                   defaultval=no
11332               fi
11333           fi
11334
11335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11336 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11337           # Check whether --enable-bmpcombobox was given.
11338 if test "${enable_bmpcombobox+set}" = set; then :
11339   enableval=$enable_bmpcombobox;
11340                           if test "$enableval" = yes; then
11341                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11342                           else
11343                             wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11344                           fi
11345
11346 else
11347
11348                           wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11349
11350 fi
11351
11352
11353           eval "$wx_cv_use_bmpcombobox"
11354
11355           if test x"$enablestring" = xdisable; then
11356             if test $wxUSE_BITMAPCOMBOBOX = no; then
11357               result=yes
11358             else
11359               result=no
11360             fi
11361           else
11362             result=$wxUSE_BITMAPCOMBOBOX
11363           fi
11364
11365           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11366 $as_echo "$result" >&6; }
11367
11368
11369           enablestring=
11370           defaultval=$wxUSE_ALL_FEATURES
11371           if test -z "$defaultval"; then
11372               if test x"$enablestring" = xdisable; then
11373                   defaultval=yes
11374               else
11375                   defaultval=no
11376               fi
11377           fi
11378
11379           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11380 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11381           # Check whether --enable-button was given.
11382 if test "${enable_button+set}" = set; then :
11383   enableval=$enable_button;
11384                           if test "$enableval" = yes; then
11385                             wx_cv_use_button='wxUSE_BUTTON=yes'
11386                           else
11387                             wx_cv_use_button='wxUSE_BUTTON=no'
11388                           fi
11389
11390 else
11391
11392                           wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11393
11394 fi
11395
11396
11397           eval "$wx_cv_use_button"
11398
11399           if test x"$enablestring" = xdisable; then
11400             if test $wxUSE_BUTTON = no; then
11401               result=yes
11402             else
11403               result=no
11404             fi
11405           else
11406             result=$wxUSE_BUTTON
11407           fi
11408
11409           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11410 $as_echo "$result" >&6; }
11411
11412
11413           enablestring=
11414           defaultval=$wxUSE_ALL_FEATURES
11415           if test -z "$defaultval"; then
11416               if test x"$enablestring" = xdisable; then
11417                   defaultval=yes
11418               else
11419                   defaultval=no
11420               fi
11421           fi
11422
11423           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11424 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11425           # Check whether --enable-calendar was given.
11426 if test "${enable_calendar+set}" = set; then :
11427   enableval=$enable_calendar;
11428                           if test "$enableval" = yes; then
11429                             wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11430                           else
11431                             wx_cv_use_calendar='wxUSE_CALCTRL=no'
11432                           fi
11433
11434 else
11435
11436                           wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11437
11438 fi
11439
11440
11441           eval "$wx_cv_use_calendar"
11442
11443           if test x"$enablestring" = xdisable; then
11444             if test $wxUSE_CALCTRL = no; then
11445               result=yes
11446             else
11447               result=no
11448             fi
11449           else
11450             result=$wxUSE_CALCTRL
11451           fi
11452
11453           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11454 $as_echo "$result" >&6; }
11455
11456
11457           enablestring=
11458           defaultval=$wxUSE_ALL_FEATURES
11459           if test -z "$defaultval"; then
11460               if test x"$enablestring" = xdisable; then
11461                   defaultval=yes
11462               else
11463                   defaultval=no
11464               fi
11465           fi
11466
11467           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11468 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11469           # Check whether --enable-caret was given.
11470 if test "${enable_caret+set}" = set; then :
11471   enableval=$enable_caret;
11472                           if test "$enableval" = yes; then
11473                             wx_cv_use_caret='wxUSE_CARET=yes'
11474                           else
11475                             wx_cv_use_caret='wxUSE_CARET=no'
11476                           fi
11477
11478 else
11479
11480                           wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11481
11482 fi
11483
11484
11485           eval "$wx_cv_use_caret"
11486
11487           if test x"$enablestring" = xdisable; then
11488             if test $wxUSE_CARET = no; then
11489               result=yes
11490             else
11491               result=no
11492             fi
11493           else
11494             result=$wxUSE_CARET
11495           fi
11496
11497           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11498 $as_echo "$result" >&6; }
11499
11500
11501           enablestring=
11502           defaultval=$wxUSE_ALL_FEATURES
11503           if test -z "$defaultval"; then
11504               if test x"$enablestring" = xdisable; then
11505                   defaultval=yes
11506               else
11507                   defaultval=no
11508               fi
11509           fi
11510
11511           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11512 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11513           # Check whether --enable-checkbox was given.
11514 if test "${enable_checkbox+set}" = set; then :
11515   enableval=$enable_checkbox;
11516                           if test "$enableval" = yes; then
11517                             wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11518                           else
11519                             wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11520                           fi
11521
11522 else
11523
11524                           wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11525
11526 fi
11527
11528
11529           eval "$wx_cv_use_checkbox"
11530
11531           if test x"$enablestring" = xdisable; then
11532             if test $wxUSE_CHECKBOX = no; then
11533               result=yes
11534             else
11535               result=no
11536             fi
11537           else
11538             result=$wxUSE_CHECKBOX
11539           fi
11540
11541           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11542 $as_echo "$result" >&6; }
11543
11544
11545           enablestring=
11546           defaultval=$wxUSE_ALL_FEATURES
11547           if test -z "$defaultval"; then
11548               if test x"$enablestring" = xdisable; then
11549                   defaultval=yes
11550               else
11551                   defaultval=no
11552               fi
11553           fi
11554
11555           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11556 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11557           # Check whether --enable-checklst was given.
11558 if test "${enable_checklst+set}" = set; then :
11559   enableval=$enable_checklst;
11560                           if test "$enableval" = yes; then
11561                             wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11562                           else
11563                             wx_cv_use_checklst='wxUSE_CHECKLST=no'
11564                           fi
11565
11566 else
11567
11568                           wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11569
11570 fi
11571
11572
11573           eval "$wx_cv_use_checklst"
11574
11575           if test x"$enablestring" = xdisable; then
11576             if test $wxUSE_CHECKLST = no; then
11577               result=yes
11578             else
11579               result=no
11580             fi
11581           else
11582             result=$wxUSE_CHECKLST
11583           fi
11584
11585           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11586 $as_echo "$result" >&6; }
11587
11588
11589           enablestring=
11590           defaultval=$wxUSE_ALL_FEATURES
11591           if test -z "$defaultval"; then
11592               if test x"$enablestring" = xdisable; then
11593                   defaultval=yes
11594               else
11595                   defaultval=no
11596               fi
11597           fi
11598
11599           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11600 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11601           # Check whether --enable-choice was given.
11602 if test "${enable_choice+set}" = set; then :
11603   enableval=$enable_choice;
11604                           if test "$enableval" = yes; then
11605                             wx_cv_use_choice='wxUSE_CHOICE=yes'
11606                           else
11607                             wx_cv_use_choice='wxUSE_CHOICE=no'
11608                           fi
11609
11610 else
11611
11612                           wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11613
11614 fi
11615
11616
11617           eval "$wx_cv_use_choice"
11618
11619           if test x"$enablestring" = xdisable; then
11620             if test $wxUSE_CHOICE = no; then
11621               result=yes
11622             else
11623               result=no
11624             fi
11625           else
11626             result=$wxUSE_CHOICE
11627           fi
11628
11629           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11630 $as_echo "$result" >&6; }
11631
11632
11633           enablestring=
11634           defaultval=$wxUSE_ALL_FEATURES
11635           if test -z "$defaultval"; then
11636               if test x"$enablestring" = xdisable; then
11637                   defaultval=yes
11638               else
11639                   defaultval=no
11640               fi
11641           fi
11642
11643           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11644 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11645           # Check whether --enable-choicebook was given.
11646 if test "${enable_choicebook+set}" = set; then :
11647   enableval=$enable_choicebook;
11648                           if test "$enableval" = yes; then
11649                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11650                           else
11651                             wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11652                           fi
11653
11654 else
11655
11656                           wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11657
11658 fi
11659
11660
11661           eval "$wx_cv_use_choicebook"
11662
11663           if test x"$enablestring" = xdisable; then
11664             if test $wxUSE_CHOICEBOOK = no; then
11665               result=yes
11666             else
11667               result=no
11668             fi
11669           else
11670             result=$wxUSE_CHOICEBOOK
11671           fi
11672
11673           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11674 $as_echo "$result" >&6; }
11675
11676
11677           enablestring=
11678           defaultval=$wxUSE_ALL_FEATURES
11679           if test -z "$defaultval"; then
11680               if test x"$enablestring" = xdisable; then
11681                   defaultval=yes
11682               else
11683                   defaultval=no
11684               fi
11685           fi
11686
11687           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11688 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11689           # Check whether --enable-collpane was given.
11690 if test "${enable_collpane+set}" = set; then :
11691   enableval=$enable_collpane;
11692                           if test "$enableval" = yes; then
11693                             wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11694                           else
11695                             wx_cv_use_collpane='wxUSE_COLLPANE=no'
11696                           fi
11697
11698 else
11699
11700                           wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11701
11702 fi
11703
11704
11705           eval "$wx_cv_use_collpane"
11706
11707           if test x"$enablestring" = xdisable; then
11708             if test $wxUSE_COLLPANE = no; then
11709               result=yes
11710             else
11711               result=no
11712             fi
11713           else
11714             result=$wxUSE_COLLPANE
11715           fi
11716
11717           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11718 $as_echo "$result" >&6; }
11719
11720
11721           enablestring=
11722           defaultval=$wxUSE_ALL_FEATURES
11723           if test -z "$defaultval"; then
11724               if test x"$enablestring" = xdisable; then
11725                   defaultval=yes
11726               else
11727                   defaultval=no
11728               fi
11729           fi
11730
11731           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11732 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11733           # Check whether --enable-colourpicker was given.
11734 if test "${enable_colourpicker+set}" = set; then :
11735   enableval=$enable_colourpicker;
11736                           if test "$enableval" = yes; then
11737                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11738                           else
11739                             wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11740                           fi
11741
11742 else
11743
11744                           wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11745
11746 fi
11747
11748
11749           eval "$wx_cv_use_colourpicker"
11750
11751           if test x"$enablestring" = xdisable; then
11752             if test $wxUSE_COLOURPICKERCTRL = no; then
11753               result=yes
11754             else
11755               result=no
11756             fi
11757           else
11758             result=$wxUSE_COLOURPICKERCTRL
11759           fi
11760
11761           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11762 $as_echo "$result" >&6; }
11763
11764
11765           enablestring=
11766           defaultval=$wxUSE_ALL_FEATURES
11767           if test -z "$defaultval"; then
11768               if test x"$enablestring" = xdisable; then
11769                   defaultval=yes
11770               else
11771                   defaultval=no
11772               fi
11773           fi
11774
11775           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11776 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11777           # Check whether --enable-combobox was given.
11778 if test "${enable_combobox+set}" = set; then :
11779   enableval=$enable_combobox;
11780                           if test "$enableval" = yes; then
11781                             wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11782                           else
11783                             wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11784                           fi
11785
11786 else
11787
11788                           wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11789
11790 fi
11791
11792
11793           eval "$wx_cv_use_combobox"
11794
11795           if test x"$enablestring" = xdisable; then
11796             if test $wxUSE_COMBOBOX = no; then
11797               result=yes
11798             else
11799               result=no
11800             fi
11801           else
11802             result=$wxUSE_COMBOBOX
11803           fi
11804
11805           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11806 $as_echo "$result" >&6; }
11807
11808
11809           enablestring=
11810           defaultval=$wxUSE_ALL_FEATURES
11811           if test -z "$defaultval"; then
11812               if test x"$enablestring" = xdisable; then
11813                   defaultval=yes
11814               else
11815                   defaultval=no
11816               fi
11817           fi
11818
11819           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11820 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11821           # Check whether --enable-comboctrl was given.
11822 if test "${enable_comboctrl+set}" = set; then :
11823   enableval=$enable_comboctrl;
11824                           if test "$enableval" = yes; then
11825                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11826                           else
11827                             wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11828                           fi
11829
11830 else
11831
11832                           wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11833
11834 fi
11835
11836
11837           eval "$wx_cv_use_comboctrl"
11838
11839           if test x"$enablestring" = xdisable; then
11840             if test $wxUSE_COMBOCTRL = no; then
11841               result=yes
11842             else
11843               result=no
11844             fi
11845           else
11846             result=$wxUSE_COMBOCTRL
11847           fi
11848
11849           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11850 $as_echo "$result" >&6; }
11851
11852
11853           enablestring=
11854           defaultval=$wxUSE_ALL_FEATURES
11855           if test -z "$defaultval"; then
11856               if test x"$enablestring" = xdisable; then
11857                   defaultval=yes
11858               else
11859                   defaultval=no
11860               fi
11861           fi
11862
11863           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11864 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11865           # Check whether --enable-commandlinkbutton was given.
11866 if test "${enable_commandlinkbutton+set}" = set; then :
11867   enableval=$enable_commandlinkbutton;
11868                           if test "$enableval" = yes; then
11869                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11870                           else
11871                             wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11872                           fi
11873
11874 else
11875
11876                           wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11877
11878 fi
11879
11880
11881           eval "$wx_cv_use_commandlinkbutton"
11882
11883           if test x"$enablestring" = xdisable; then
11884             if test $wxUSE_COMMANDLINKBUTTON = no; then
11885               result=yes
11886             else
11887               result=no
11888             fi
11889           else
11890             result=$wxUSE_COMMANDLINKBUTTON
11891           fi
11892
11893           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11894 $as_echo "$result" >&6; }
11895
11896
11897           enablestring=
11898           defaultval=$wxUSE_ALL_FEATURES
11899           if test -z "$defaultval"; then
11900               if test x"$enablestring" = xdisable; then
11901                   defaultval=yes
11902               else
11903                   defaultval=no
11904               fi
11905           fi
11906
11907           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11908 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11909           # Check whether --enable-dataviewctrl was given.
11910 if test "${enable_dataviewctrl+set}" = set; then :
11911   enableval=$enable_dataviewctrl;
11912                           if test "$enableval" = yes; then
11913                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11914                           else
11915                             wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11916                           fi
11917
11918 else
11919
11920                           wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11921
11922 fi
11923
11924
11925           eval "$wx_cv_use_dataviewctrl"
11926
11927           if test x"$enablestring" = xdisable; then
11928             if test $wxUSE_DATAVIEWCTRL = no; then
11929               result=yes
11930             else
11931               result=no
11932             fi
11933           else
11934             result=$wxUSE_DATAVIEWCTRL
11935           fi
11936
11937           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11938 $as_echo "$result" >&6; }
11939
11940
11941           enablestring=
11942           defaultval=$wxUSE_ALL_FEATURES
11943           if test -z "$defaultval"; then
11944               if test x"$enablestring" = xdisable; then
11945                   defaultval=yes
11946               else
11947                   defaultval=no
11948               fi
11949           fi
11950
11951           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11952 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11953           # Check whether --enable-datepick was given.
11954 if test "${enable_datepick+set}" = set; then :
11955   enableval=$enable_datepick;
11956                           if test "$enableval" = yes; then
11957                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11958                           else
11959                             wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11960                           fi
11961
11962 else
11963
11964                           wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11965
11966 fi
11967
11968
11969           eval "$wx_cv_use_datepick"
11970
11971           if test x"$enablestring" = xdisable; then
11972             if test $wxUSE_DATEPICKCTRL = no; then
11973               result=yes
11974             else
11975               result=no
11976             fi
11977           else
11978             result=$wxUSE_DATEPICKCTRL
11979           fi
11980
11981           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11982 $as_echo "$result" >&6; }
11983
11984
11985           enablestring=
11986           defaultval=$wxUSE_ALL_FEATURES
11987           if test -z "$defaultval"; then
11988               if test x"$enablestring" = xdisable; then
11989                   defaultval=yes
11990               else
11991                   defaultval=no
11992               fi
11993           fi
11994
11995           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11996 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11997           # Check whether --enable-detect_sm was given.
11998 if test "${enable_detect_sm+set}" = set; then :
11999   enableval=$enable_detect_sm;
12000                           if test "$enableval" = yes; then
12001                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12002                           else
12003                             wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12004                           fi
12005
12006 else
12007
12008                           wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12009
12010 fi
12011
12012
12013           eval "$wx_cv_use_detect_sm"
12014
12015           if test x"$enablestring" = xdisable; then
12016             if test $wxUSE_DETECT_SM = no; then
12017               result=yes
12018             else
12019               result=no
12020             fi
12021           else
12022             result=$wxUSE_DETECT_SM
12023           fi
12024
12025           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12026 $as_echo "$result" >&6; }
12027
12028
12029           enablestring=
12030           defaultval=$wxUSE_ALL_FEATURES
12031           if test -z "$defaultval"; then
12032               if test x"$enablestring" = xdisable; then
12033                   defaultval=yes
12034               else
12035                   defaultval=no
12036               fi
12037           fi
12038
12039           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12040 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12041           # Check whether --enable-dirpicker was given.
12042 if test "${enable_dirpicker+set}" = set; then :
12043   enableval=$enable_dirpicker;
12044                           if test "$enableval" = yes; then
12045                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12046                           else
12047                             wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12048                           fi
12049
12050 else
12051
12052                           wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12053
12054 fi
12055
12056
12057           eval "$wx_cv_use_dirpicker"
12058
12059           if test x"$enablestring" = xdisable; then
12060             if test $wxUSE_DIRPICKERCTRL = no; then
12061               result=yes
12062             else
12063               result=no
12064             fi
12065           else
12066             result=$wxUSE_DIRPICKERCTRL
12067           fi
12068
12069           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12070 $as_echo "$result" >&6; }
12071
12072
12073           enablestring=
12074           defaultval=$wxUSE_ALL_FEATURES
12075           if test -z "$defaultval"; then
12076               if test x"$enablestring" = xdisable; then
12077                   defaultval=yes
12078               else
12079                   defaultval=no
12080               fi
12081           fi
12082
12083           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12084 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12085           # Check whether --enable-display was given.
12086 if test "${enable_display+set}" = set; then :
12087   enableval=$enable_display;
12088                           if test "$enableval" = yes; then
12089                             wx_cv_use_display='wxUSE_DISPLAY=yes'
12090                           else
12091                             wx_cv_use_display='wxUSE_DISPLAY=no'
12092                           fi
12093
12094 else
12095
12096                           wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12097
12098 fi
12099
12100
12101           eval "$wx_cv_use_display"
12102
12103           if test x"$enablestring" = xdisable; then
12104             if test $wxUSE_DISPLAY = no; then
12105               result=yes
12106             else
12107               result=no
12108             fi
12109           else
12110             result=$wxUSE_DISPLAY
12111           fi
12112
12113           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12114 $as_echo "$result" >&6; }
12115
12116
12117           enablestring=
12118           defaultval=$wxUSE_ALL_FEATURES
12119           if test -z "$defaultval"; then
12120               if test x"$enablestring" = xdisable; then
12121                   defaultval=yes
12122               else
12123                   defaultval=no
12124               fi
12125           fi
12126
12127           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12128 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12129           # Check whether --enable-editablebox was given.
12130 if test "${enable_editablebox+set}" = set; then :
12131   enableval=$enable_editablebox;
12132                           if test "$enableval" = yes; then
12133                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12134                           else
12135                             wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12136                           fi
12137
12138 else
12139
12140                           wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12141
12142 fi
12143
12144
12145           eval "$wx_cv_use_editablebox"
12146
12147           if test x"$enablestring" = xdisable; then
12148             if test $wxUSE_EDITABLELISTBOX = no; then
12149               result=yes
12150             else
12151               result=no
12152             fi
12153           else
12154             result=$wxUSE_EDITABLELISTBOX
12155           fi
12156
12157           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12158 $as_echo "$result" >&6; }
12159
12160
12161           enablestring=
12162           defaultval=$wxUSE_ALL_FEATURES
12163           if test -z "$defaultval"; then
12164               if test x"$enablestring" = xdisable; then
12165                   defaultval=yes
12166               else
12167                   defaultval=no
12168               fi
12169           fi
12170
12171           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12172 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12173           # Check whether --enable-filectrl was given.
12174 if test "${enable_filectrl+set}" = set; then :
12175   enableval=$enable_filectrl;
12176                           if test "$enableval" = yes; then
12177                             wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12178                           else
12179                             wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12180                           fi
12181
12182 else
12183
12184                           wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12185
12186 fi
12187
12188
12189           eval "$wx_cv_use_filectrl"
12190
12191           if test x"$enablestring" = xdisable; then
12192             if test $wxUSE_FILECTRL = no; then
12193               result=yes
12194             else
12195               result=no
12196             fi
12197           else
12198             result=$wxUSE_FILECTRL
12199           fi
12200
12201           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12202 $as_echo "$result" >&6; }
12203
12204
12205           enablestring=
12206           defaultval=$wxUSE_ALL_FEATURES
12207           if test -z "$defaultval"; then
12208               if test x"$enablestring" = xdisable; then
12209                   defaultval=yes
12210               else
12211                   defaultval=no
12212               fi
12213           fi
12214
12215           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12216 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12217           # Check whether --enable-filepicker was given.
12218 if test "${enable_filepicker+set}" = set; then :
12219   enableval=$enable_filepicker;
12220                           if test "$enableval" = yes; then
12221                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12222                           else
12223                             wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12224                           fi
12225
12226 else
12227
12228                           wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12229
12230 fi
12231
12232
12233           eval "$wx_cv_use_filepicker"
12234
12235           if test x"$enablestring" = xdisable; then
12236             if test $wxUSE_FILEPICKERCTRL = no; then
12237               result=yes
12238             else
12239               result=no
12240             fi
12241           else
12242             result=$wxUSE_FILEPICKERCTRL
12243           fi
12244
12245           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12246 $as_echo "$result" >&6; }
12247
12248
12249           enablestring=
12250           defaultval=$wxUSE_ALL_FEATURES
12251           if test -z "$defaultval"; then
12252               if test x"$enablestring" = xdisable; then
12253                   defaultval=yes
12254               else
12255                   defaultval=no
12256               fi
12257           fi
12258
12259           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12260 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12261           # Check whether --enable-fontpicker was given.
12262 if test "${enable_fontpicker+set}" = set; then :
12263   enableval=$enable_fontpicker;
12264                           if test "$enableval" = yes; then
12265                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12266                           else
12267                             wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12268                           fi
12269
12270 else
12271
12272                           wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12273
12274 fi
12275
12276
12277           eval "$wx_cv_use_fontpicker"
12278
12279           if test x"$enablestring" = xdisable; then
12280             if test $wxUSE_FONTPICKERCTRL = no; then
12281               result=yes
12282             else
12283               result=no
12284             fi
12285           else
12286             result=$wxUSE_FONTPICKERCTRL
12287           fi
12288
12289           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12290 $as_echo "$result" >&6; }
12291
12292
12293           enablestring=
12294           defaultval=$wxUSE_ALL_FEATURES
12295           if test -z "$defaultval"; then
12296               if test x"$enablestring" = xdisable; then
12297                   defaultval=yes
12298               else
12299                   defaultval=no
12300               fi
12301           fi
12302
12303           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12304 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12305           # Check whether --enable-gauge was given.
12306 if test "${enable_gauge+set}" = set; then :
12307   enableval=$enable_gauge;
12308                           if test "$enableval" = yes; then
12309                             wx_cv_use_gauge='wxUSE_GAUGE=yes'
12310                           else
12311                             wx_cv_use_gauge='wxUSE_GAUGE=no'
12312                           fi
12313
12314 else
12315
12316                           wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12317
12318 fi
12319
12320
12321           eval "$wx_cv_use_gauge"
12322
12323           if test x"$enablestring" = xdisable; then
12324             if test $wxUSE_GAUGE = no; then
12325               result=yes
12326             else
12327               result=no
12328             fi
12329           else
12330             result=$wxUSE_GAUGE
12331           fi
12332
12333           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12334 $as_echo "$result" >&6; }
12335
12336
12337           enablestring=
12338           defaultval=$wxUSE_ALL_FEATURES
12339           if test -z "$defaultval"; then
12340               if test x"$enablestring" = xdisable; then
12341                   defaultval=yes
12342               else
12343                   defaultval=no
12344               fi
12345           fi
12346
12347           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12348 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12349           # Check whether --enable-grid was given.
12350 if test "${enable_grid+set}" = set; then :
12351   enableval=$enable_grid;
12352                           if test "$enableval" = yes; then
12353                             wx_cv_use_grid='wxUSE_GRID=yes'
12354                           else
12355                             wx_cv_use_grid='wxUSE_GRID=no'
12356                           fi
12357
12358 else
12359
12360                           wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12361
12362 fi
12363
12364
12365           eval "$wx_cv_use_grid"
12366
12367           if test x"$enablestring" = xdisable; then
12368             if test $wxUSE_GRID = no; then
12369               result=yes
12370             else
12371               result=no
12372             fi
12373           else
12374             result=$wxUSE_GRID
12375           fi
12376
12377           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12378 $as_echo "$result" >&6; }
12379
12380
12381           enablestring=
12382           defaultval=$wxUSE_ALL_FEATURES
12383           if test -z "$defaultval"; then
12384               if test x"$enablestring" = xdisable; then
12385                   defaultval=yes
12386               else
12387                   defaultval=no
12388               fi
12389           fi
12390
12391           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12392 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12393           # Check whether --enable-headerctrl was given.
12394 if test "${enable_headerctrl+set}" = set; then :
12395   enableval=$enable_headerctrl;
12396                           if test "$enableval" = yes; then
12397                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12398                           else
12399                             wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12400                           fi
12401
12402 else
12403
12404                           wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12405
12406 fi
12407
12408
12409           eval "$wx_cv_use_headerctrl"
12410
12411           if test x"$enablestring" = xdisable; then
12412             if test $wxUSE_HEADERCTRL = no; then
12413               result=yes
12414             else
12415               result=no
12416             fi
12417           else
12418             result=$wxUSE_HEADERCTRL
12419           fi
12420
12421           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12422 $as_echo "$result" >&6; }
12423
12424
12425           enablestring=
12426           defaultval=$wxUSE_ALL_FEATURES
12427           if test -z "$defaultval"; then
12428               if test x"$enablestring" = xdisable; then
12429                   defaultval=yes
12430               else
12431                   defaultval=no
12432               fi
12433           fi
12434
12435           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12436 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12437           # Check whether --enable-hyperlink was given.
12438 if test "${enable_hyperlink+set}" = set; then :
12439   enableval=$enable_hyperlink;
12440                           if test "$enableval" = yes; then
12441                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12442                           else
12443                             wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12444                           fi
12445
12446 else
12447
12448                           wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12449
12450 fi
12451
12452
12453           eval "$wx_cv_use_hyperlink"
12454
12455           if test x"$enablestring" = xdisable; then
12456             if test $wxUSE_HYPERLINKCTRL = no; then
12457               result=yes
12458             else
12459               result=no
12460             fi
12461           else
12462             result=$wxUSE_HYPERLINKCTRL
12463           fi
12464
12465           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12466 $as_echo "$result" >&6; }
12467
12468
12469           enablestring=
12470           defaultval=$wxUSE_ALL_FEATURES
12471           if test -z "$defaultval"; then
12472               if test x"$enablestring" = xdisable; then
12473                   defaultval=yes
12474               else
12475                   defaultval=no
12476               fi
12477           fi
12478
12479           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12480 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12481           # Check whether --enable-imaglist was given.
12482 if test "${enable_imaglist+set}" = set; then :
12483   enableval=$enable_imaglist;
12484                           if test "$enableval" = yes; then
12485                             wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12486                           else
12487                             wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12488                           fi
12489
12490 else
12491
12492                           wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12493
12494 fi
12495
12496
12497           eval "$wx_cv_use_imaglist"
12498
12499           if test x"$enablestring" = xdisable; then
12500             if test $wxUSE_IMAGLIST = no; then
12501               result=yes
12502             else
12503               result=no
12504             fi
12505           else
12506             result=$wxUSE_IMAGLIST
12507           fi
12508
12509           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12510 $as_echo "$result" >&6; }
12511
12512
12513           enablestring=
12514           defaultval=$wxUSE_ALL_FEATURES
12515           if test -z "$defaultval"; then
12516               if test x"$enablestring" = xdisable; then
12517                   defaultval=yes
12518               else
12519                   defaultval=no
12520               fi
12521           fi
12522
12523           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12524 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12525           # Check whether --enable-infobar was given.
12526 if test "${enable_infobar+set}" = set; then :
12527   enableval=$enable_infobar;
12528                           if test "$enableval" = yes; then
12529                             wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12530                           else
12531                             wx_cv_use_infobar='wxUSE_INFOBAR=no'
12532                           fi
12533
12534 else
12535
12536                           wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12537
12538 fi
12539
12540
12541           eval "$wx_cv_use_infobar"
12542
12543           if test x"$enablestring" = xdisable; then
12544             if test $wxUSE_INFOBAR = no; then
12545               result=yes
12546             else
12547               result=no
12548             fi
12549           else
12550             result=$wxUSE_INFOBAR
12551           fi
12552
12553           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12554 $as_echo "$result" >&6; }
12555
12556
12557           enablestring=
12558           defaultval=$wxUSE_ALL_FEATURES
12559           if test -z "$defaultval"; then
12560               if test x"$enablestring" = xdisable; then
12561                   defaultval=yes
12562               else
12563                   defaultval=no
12564               fi
12565           fi
12566
12567           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12568 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12569           # Check whether --enable-listbook was given.
12570 if test "${enable_listbook+set}" = set; then :
12571   enableval=$enable_listbook;
12572                           if test "$enableval" = yes; then
12573                             wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12574                           else
12575                             wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12576                           fi
12577
12578 else
12579
12580                           wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12581
12582 fi
12583
12584
12585           eval "$wx_cv_use_listbook"
12586
12587           if test x"$enablestring" = xdisable; then
12588             if test $wxUSE_LISTBOOK = no; then
12589               result=yes
12590             else
12591               result=no
12592             fi
12593           else
12594             result=$wxUSE_LISTBOOK
12595           fi
12596
12597           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12598 $as_echo "$result" >&6; }
12599
12600
12601           enablestring=
12602           defaultval=$wxUSE_ALL_FEATURES
12603           if test -z "$defaultval"; then
12604               if test x"$enablestring" = xdisable; then
12605                   defaultval=yes
12606               else
12607                   defaultval=no
12608               fi
12609           fi
12610
12611           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12612 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12613           # Check whether --enable-listbox was given.
12614 if test "${enable_listbox+set}" = set; then :
12615   enableval=$enable_listbox;
12616                           if test "$enableval" = yes; then
12617                             wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12618                           else
12619                             wx_cv_use_listbox='wxUSE_LISTBOX=no'
12620                           fi
12621
12622 else
12623
12624                           wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12625
12626 fi
12627
12628
12629           eval "$wx_cv_use_listbox"
12630
12631           if test x"$enablestring" = xdisable; then
12632             if test $wxUSE_LISTBOX = no; then
12633               result=yes
12634             else
12635               result=no
12636             fi
12637           else
12638             result=$wxUSE_LISTBOX
12639           fi
12640
12641           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12642 $as_echo "$result" >&6; }
12643
12644
12645           enablestring=
12646           defaultval=$wxUSE_ALL_FEATURES
12647           if test -z "$defaultval"; then
12648               if test x"$enablestring" = xdisable; then
12649                   defaultval=yes
12650               else
12651                   defaultval=no
12652               fi
12653           fi
12654
12655           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12656 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12657           # Check whether --enable-listctrl was given.
12658 if test "${enable_listctrl+set}" = set; then :
12659   enableval=$enable_listctrl;
12660                           if test "$enableval" = yes; then
12661                             wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12662                           else
12663                             wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12664                           fi
12665
12666 else
12667
12668                           wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12669
12670 fi
12671
12672
12673           eval "$wx_cv_use_listctrl"
12674
12675           if test x"$enablestring" = xdisable; then
12676             if test $wxUSE_LISTCTRL = no; then
12677               result=yes
12678             else
12679               result=no
12680             fi
12681           else
12682             result=$wxUSE_LISTCTRL
12683           fi
12684
12685           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12686 $as_echo "$result" >&6; }
12687
12688
12689           enablestring=
12690           defaultval=$wxUSE_ALL_FEATURES
12691           if test -z "$defaultval"; then
12692               if test x"$enablestring" = xdisable; then
12693                   defaultval=yes
12694               else
12695                   defaultval=no
12696               fi
12697           fi
12698
12699           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12700 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12701           # Check whether --enable-notebook was given.
12702 if test "${enable_notebook+set}" = set; then :
12703   enableval=$enable_notebook;
12704                           if test "$enableval" = yes; then
12705                             wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12706                           else
12707                             wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12708                           fi
12709
12710 else
12711
12712                           wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12713
12714 fi
12715
12716
12717           eval "$wx_cv_use_notebook"
12718
12719           if test x"$enablestring" = xdisable; then
12720             if test $wxUSE_NOTEBOOK = no; then
12721               result=yes
12722             else
12723               result=no
12724             fi
12725           else
12726             result=$wxUSE_NOTEBOOK
12727           fi
12728
12729           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12730 $as_echo "$result" >&6; }
12731
12732
12733           enablestring=
12734           defaultval=$wxUSE_ALL_FEATURES
12735           if test -z "$defaultval"; then
12736               if test x"$enablestring" = xdisable; then
12737                   defaultval=yes
12738               else
12739                   defaultval=no
12740               fi
12741           fi
12742
12743           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12744 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12745           # Check whether --enable-notifmsg was given.
12746 if test "${enable_notifmsg+set}" = set; then :
12747   enableval=$enable_notifmsg;
12748                           if test "$enableval" = yes; then
12749                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12750                           else
12751                             wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12752                           fi
12753
12754 else
12755
12756                           wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12757
12758 fi
12759
12760
12761           eval "$wx_cv_use_notifmsg"
12762
12763           if test x"$enablestring" = xdisable; then
12764             if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12765               result=yes
12766             else
12767               result=no
12768             fi
12769           else
12770             result=$wxUSE_NOTIFICATION_MESSAGE
12771           fi
12772
12773           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12774 $as_echo "$result" >&6; }
12775
12776
12777           enablestring=
12778           defaultval=$wxUSE_ALL_FEATURES
12779           if test -z "$defaultval"; then
12780               if test x"$enablestring" = xdisable; then
12781                   defaultval=yes
12782               else
12783                   defaultval=no
12784               fi
12785           fi
12786
12787           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12788 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12789           # Check whether --enable-odcombobox was given.
12790 if test "${enable_odcombobox+set}" = set; then :
12791   enableval=$enable_odcombobox;
12792                           if test "$enableval" = yes; then
12793                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12794                           else
12795                             wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12796                           fi
12797
12798 else
12799
12800                           wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12801
12802 fi
12803
12804
12805           eval "$wx_cv_use_odcombobox"
12806
12807           if test x"$enablestring" = xdisable; then
12808             if test $wxUSE_ODCOMBOBOX = no; then
12809               result=yes
12810             else
12811               result=no
12812             fi
12813           else
12814             result=$wxUSE_ODCOMBOBOX
12815           fi
12816
12817           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12818 $as_echo "$result" >&6; }
12819
12820
12821           enablestring=
12822           defaultval=$wxUSE_ALL_FEATURES
12823           if test -z "$defaultval"; then
12824               if test x"$enablestring" = xdisable; then
12825                   defaultval=yes
12826               else
12827                   defaultval=no
12828               fi
12829           fi
12830
12831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12832 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12833           # Check whether --enable-popupwin was given.
12834 if test "${enable_popupwin+set}" = set; then :
12835   enableval=$enable_popupwin;
12836                           if test "$enableval" = yes; then
12837                             wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12838                           else
12839                             wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12840                           fi
12841
12842 else
12843
12844                           wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12845
12846 fi
12847
12848
12849           eval "$wx_cv_use_popupwin"
12850
12851           if test x"$enablestring" = xdisable; then
12852             if test $wxUSE_POPUPWIN = no; then
12853               result=yes
12854             else
12855               result=no
12856             fi
12857           else
12858             result=$wxUSE_POPUPWIN
12859           fi
12860
12861           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12862 $as_echo "$result" >&6; }
12863
12864
12865           enablestring=
12866           defaultval=$wxUSE_ALL_FEATURES
12867           if test -z "$defaultval"; then
12868               if test x"$enablestring" = xdisable; then
12869                   defaultval=yes
12870               else
12871                   defaultval=no
12872               fi
12873           fi
12874
12875           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12876 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12877           # Check whether --enable-radiobox was given.
12878 if test "${enable_radiobox+set}" = set; then :
12879   enableval=$enable_radiobox;
12880                           if test "$enableval" = yes; then
12881                             wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12882                           else
12883                             wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12884                           fi
12885
12886 else
12887
12888                           wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12889
12890 fi
12891
12892
12893           eval "$wx_cv_use_radiobox"
12894
12895           if test x"$enablestring" = xdisable; then
12896             if test $wxUSE_RADIOBOX = no; then
12897               result=yes
12898             else
12899               result=no
12900             fi
12901           else
12902             result=$wxUSE_RADIOBOX
12903           fi
12904
12905           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12906 $as_echo "$result" >&6; }
12907
12908
12909           enablestring=
12910           defaultval=$wxUSE_ALL_FEATURES
12911           if test -z "$defaultval"; then
12912               if test x"$enablestring" = xdisable; then
12913                   defaultval=yes
12914               else
12915                   defaultval=no
12916               fi
12917           fi
12918
12919           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12920 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12921           # Check whether --enable-radiobtn was given.
12922 if test "${enable_radiobtn+set}" = set; then :
12923   enableval=$enable_radiobtn;
12924                           if test "$enableval" = yes; then
12925                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12926                           else
12927                             wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12928                           fi
12929
12930 else
12931
12932                           wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12933
12934 fi
12935
12936
12937           eval "$wx_cv_use_radiobtn"
12938
12939           if test x"$enablestring" = xdisable; then
12940             if test $wxUSE_RADIOBTN = no; then
12941               result=yes
12942             else
12943               result=no
12944             fi
12945           else
12946             result=$wxUSE_RADIOBTN
12947           fi
12948
12949           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12950 $as_echo "$result" >&6; }
12951
12952
12953           enablestring=
12954           defaultval=$wxUSE_ALL_FEATURES
12955           if test -z "$defaultval"; then
12956               if test x"$enablestring" = xdisable; then
12957                   defaultval=yes
12958               else
12959                   defaultval=no
12960               fi
12961           fi
12962
12963           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12964 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12965           # Check whether --enable-richmsgdlg was given.
12966 if test "${enable_richmsgdlg+set}" = set; then :
12967   enableval=$enable_richmsgdlg;
12968                           if test "$enableval" = yes; then
12969                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12970                           else
12971                             wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12972                           fi
12973
12974 else
12975
12976                           wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12977
12978 fi
12979
12980
12981           eval "$wx_cv_use_richmsgdlg"
12982
12983           if test x"$enablestring" = xdisable; then
12984             if test $wxUSE_RICHMSGDLG = no; then
12985               result=yes
12986             else
12987               result=no
12988             fi
12989           else
12990             result=$wxUSE_RICHMSGDLG
12991           fi
12992
12993           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12994 $as_echo "$result" >&6; }
12995
12996
12997           enablestring=
12998           defaultval=$wxUSE_ALL_FEATURES
12999           if test -z "$defaultval"; then
13000               if test x"$enablestring" = xdisable; then
13001                   defaultval=yes
13002               else
13003                   defaultval=no
13004               fi
13005           fi
13006
13007           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13008 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13009           # Check whether --enable-richtooltip was given.
13010 if test "${enable_richtooltip+set}" = set; then :
13011   enableval=$enable_richtooltip;
13012                           if test "$enableval" = yes; then
13013                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13014                           else
13015                             wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13016                           fi
13017
13018 else
13019
13020                           wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13021
13022 fi
13023
13024
13025           eval "$wx_cv_use_richtooltip"
13026
13027           if test x"$enablestring" = xdisable; then
13028             if test $wxUSE_RICHTOOLTIP = no; then
13029               result=yes
13030             else
13031               result=no
13032             fi
13033           else
13034             result=$wxUSE_RICHTOOLTIP
13035           fi
13036
13037           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13038 $as_echo "$result" >&6; }
13039
13040
13041           enablestring=
13042           defaultval=$wxUSE_ALL_FEATURES
13043           if test -z "$defaultval"; then
13044               if test x"$enablestring" = xdisable; then
13045                   defaultval=yes
13046               else
13047                   defaultval=no
13048               fi
13049           fi
13050
13051           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13052 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13053           # Check whether --enable-rearrangectrl was given.
13054 if test "${enable_rearrangectrl+set}" = set; then :
13055   enableval=$enable_rearrangectrl;
13056                           if test "$enableval" = yes; then
13057                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13058                           else
13059                             wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13060                           fi
13061
13062 else
13063
13064                           wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13065
13066 fi
13067
13068
13069           eval "$wx_cv_use_rearrangectrl"
13070
13071           if test x"$enablestring" = xdisable; then
13072             if test $wxUSE_REARRANGECTRL = no; then
13073               result=yes
13074             else
13075               result=no
13076             fi
13077           else
13078             result=$wxUSE_REARRANGECTRL
13079           fi
13080
13081           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13082 $as_echo "$result" >&6; }
13083
13084
13085           enablestring=
13086           defaultval=$wxUSE_ALL_FEATURES
13087           if test -z "$defaultval"; then
13088               if test x"$enablestring" = xdisable; then
13089                   defaultval=yes
13090               else
13091                   defaultval=no
13092               fi
13093           fi
13094
13095           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13096 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13097           # Check whether --enable-sash was given.
13098 if test "${enable_sash+set}" = set; then :
13099   enableval=$enable_sash;
13100                           if test "$enableval" = yes; then
13101                             wx_cv_use_sash='wxUSE_SASH=yes'
13102                           else
13103                             wx_cv_use_sash='wxUSE_SASH=no'
13104                           fi
13105
13106 else
13107
13108                           wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13109
13110 fi
13111
13112
13113           eval "$wx_cv_use_sash"
13114
13115           if test x"$enablestring" = xdisable; then
13116             if test $wxUSE_SASH = no; then
13117               result=yes
13118             else
13119               result=no
13120             fi
13121           else
13122             result=$wxUSE_SASH
13123           fi
13124
13125           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13126 $as_echo "$result" >&6; }
13127
13128
13129           enablestring=
13130           defaultval=$wxUSE_ALL_FEATURES
13131           if test -z "$defaultval"; then
13132               if test x"$enablestring" = xdisable; then
13133                   defaultval=yes
13134               else
13135                   defaultval=no
13136               fi
13137           fi
13138
13139           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13140 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13141           # Check whether --enable-scrollbar was given.
13142 if test "${enable_scrollbar+set}" = set; then :
13143   enableval=$enable_scrollbar;
13144                           if test "$enableval" = yes; then
13145                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13146                           else
13147                             wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13148                           fi
13149
13150 else
13151
13152                           wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13153
13154 fi
13155
13156
13157           eval "$wx_cv_use_scrollbar"
13158
13159           if test x"$enablestring" = xdisable; then
13160             if test $wxUSE_SCROLLBAR = no; then
13161               result=yes
13162             else
13163               result=no
13164             fi
13165           else
13166             result=$wxUSE_SCROLLBAR
13167           fi
13168
13169           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13170 $as_echo "$result" >&6; }
13171
13172
13173           enablestring=
13174           defaultval=$wxUSE_ALL_FEATURES
13175           if test -z "$defaultval"; then
13176               if test x"$enablestring" = xdisable; then
13177                   defaultval=yes
13178               else
13179                   defaultval=no
13180               fi
13181           fi
13182
13183           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13184 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13185           # Check whether --enable-searchctrl was given.
13186 if test "${enable_searchctrl+set}" = set; then :
13187   enableval=$enable_searchctrl;
13188                           if test "$enableval" = yes; then
13189                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13190                           else
13191                             wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13192                           fi
13193
13194 else
13195
13196                           wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13197
13198 fi
13199
13200
13201           eval "$wx_cv_use_searchctrl"
13202
13203           if test x"$enablestring" = xdisable; then
13204             if test $wxUSE_SEARCHCTRL = no; then
13205               result=yes
13206             else
13207               result=no
13208             fi
13209           else
13210             result=$wxUSE_SEARCHCTRL
13211           fi
13212
13213           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13214 $as_echo "$result" >&6; }
13215
13216
13217           enablestring=
13218           defaultval=$wxUSE_ALL_FEATURES
13219           if test -z "$defaultval"; then
13220               if test x"$enablestring" = xdisable; then
13221                   defaultval=yes
13222               else
13223                   defaultval=no
13224               fi
13225           fi
13226
13227           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13228 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13229           # Check whether --enable-slider was given.
13230 if test "${enable_slider+set}" = set; then :
13231   enableval=$enable_slider;
13232                           if test "$enableval" = yes; then
13233                             wx_cv_use_slider='wxUSE_SLIDER=yes'
13234                           else
13235                             wx_cv_use_slider='wxUSE_SLIDER=no'
13236                           fi
13237
13238 else
13239
13240                           wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13241
13242 fi
13243
13244
13245           eval "$wx_cv_use_slider"
13246
13247           if test x"$enablestring" = xdisable; then
13248             if test $wxUSE_SLIDER = no; then
13249               result=yes
13250             else
13251               result=no
13252             fi
13253           else
13254             result=$wxUSE_SLIDER
13255           fi
13256
13257           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13258 $as_echo "$result" >&6; }
13259
13260
13261           enablestring=
13262           defaultval=$wxUSE_ALL_FEATURES
13263           if test -z "$defaultval"; then
13264               if test x"$enablestring" = xdisable; then
13265                   defaultval=yes
13266               else
13267                   defaultval=no
13268               fi
13269           fi
13270
13271           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13272 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13273           # Check whether --enable-spinbtn was given.
13274 if test "${enable_spinbtn+set}" = set; then :
13275   enableval=$enable_spinbtn;
13276                           if test "$enableval" = yes; then
13277                             wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13278                           else
13279                             wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13280                           fi
13281
13282 else
13283
13284                           wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13285
13286 fi
13287
13288
13289           eval "$wx_cv_use_spinbtn"
13290
13291           if test x"$enablestring" = xdisable; then
13292             if test $wxUSE_SPINBTN = no; then
13293               result=yes
13294             else
13295               result=no
13296             fi
13297           else
13298             result=$wxUSE_SPINBTN
13299           fi
13300
13301           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13302 $as_echo "$result" >&6; }
13303
13304
13305           enablestring=
13306           defaultval=$wxUSE_ALL_FEATURES
13307           if test -z "$defaultval"; then
13308               if test x"$enablestring" = xdisable; then
13309                   defaultval=yes
13310               else
13311                   defaultval=no
13312               fi
13313           fi
13314
13315           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13316 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13317           # Check whether --enable-spinctrl was given.
13318 if test "${enable_spinctrl+set}" = set; then :
13319   enableval=$enable_spinctrl;
13320                           if test "$enableval" = yes; then
13321                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13322                           else
13323                             wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13324                           fi
13325
13326 else
13327
13328                           wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13329
13330 fi
13331
13332
13333           eval "$wx_cv_use_spinctrl"
13334
13335           if test x"$enablestring" = xdisable; then
13336             if test $wxUSE_SPINCTRL = no; then
13337               result=yes
13338             else
13339               result=no
13340             fi
13341           else
13342             result=$wxUSE_SPINCTRL
13343           fi
13344
13345           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13346 $as_echo "$result" >&6; }
13347
13348
13349           enablestring=
13350           defaultval=$wxUSE_ALL_FEATURES
13351           if test -z "$defaultval"; then
13352               if test x"$enablestring" = xdisable; then
13353                   defaultval=yes
13354               else
13355                   defaultval=no
13356               fi
13357           fi
13358
13359           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13360 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13361           # Check whether --enable-splitter was given.
13362 if test "${enable_splitter+set}" = set; then :
13363   enableval=$enable_splitter;
13364                           if test "$enableval" = yes; then
13365                             wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13366                           else
13367                             wx_cv_use_splitter='wxUSE_SPLITTER=no'
13368                           fi
13369
13370 else
13371
13372                           wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13373
13374 fi
13375
13376
13377           eval "$wx_cv_use_splitter"
13378
13379           if test x"$enablestring" = xdisable; then
13380             if test $wxUSE_SPLITTER = no; then
13381               result=yes
13382             else
13383               result=no
13384             fi
13385           else
13386             result=$wxUSE_SPLITTER
13387           fi
13388
13389           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13390 $as_echo "$result" >&6; }
13391
13392
13393           enablestring=
13394           defaultval=$wxUSE_ALL_FEATURES
13395           if test -z "$defaultval"; then
13396               if test x"$enablestring" = xdisable; then
13397                   defaultval=yes
13398               else
13399                   defaultval=no
13400               fi
13401           fi
13402
13403           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13404 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13405           # Check whether --enable-statbmp was given.
13406 if test "${enable_statbmp+set}" = set; then :
13407   enableval=$enable_statbmp;
13408                           if test "$enableval" = yes; then
13409                             wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13410                           else
13411                             wx_cv_use_statbmp='wxUSE_STATBMP=no'
13412                           fi
13413
13414 else
13415
13416                           wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13417
13418 fi
13419
13420
13421           eval "$wx_cv_use_statbmp"
13422
13423           if test x"$enablestring" = xdisable; then
13424             if test $wxUSE_STATBMP = no; then
13425               result=yes
13426             else
13427               result=no
13428             fi
13429           else
13430             result=$wxUSE_STATBMP
13431           fi
13432
13433           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13434 $as_echo "$result" >&6; }
13435
13436
13437           enablestring=
13438           defaultval=$wxUSE_ALL_FEATURES
13439           if test -z "$defaultval"; then
13440               if test x"$enablestring" = xdisable; then
13441                   defaultval=yes
13442               else
13443                   defaultval=no
13444               fi
13445           fi
13446
13447           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13448 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13449           # Check whether --enable-statbox was given.
13450 if test "${enable_statbox+set}" = set; then :
13451   enableval=$enable_statbox;
13452                           if test "$enableval" = yes; then
13453                             wx_cv_use_statbox='wxUSE_STATBOX=yes'
13454                           else
13455                             wx_cv_use_statbox='wxUSE_STATBOX=no'
13456                           fi
13457
13458 else
13459
13460                           wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13461
13462 fi
13463
13464
13465           eval "$wx_cv_use_statbox"
13466
13467           if test x"$enablestring" = xdisable; then
13468             if test $wxUSE_STATBOX = no; then
13469               result=yes
13470             else
13471               result=no
13472             fi
13473           else
13474             result=$wxUSE_STATBOX
13475           fi
13476
13477           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13478 $as_echo "$result" >&6; }
13479
13480
13481           enablestring=
13482           defaultval=$wxUSE_ALL_FEATURES
13483           if test -z "$defaultval"; then
13484               if test x"$enablestring" = xdisable; then
13485                   defaultval=yes
13486               else
13487                   defaultval=no
13488               fi
13489           fi
13490
13491           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13492 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13493           # Check whether --enable-statline was given.
13494 if test "${enable_statline+set}" = set; then :
13495   enableval=$enable_statline;
13496                           if test "$enableval" = yes; then
13497                             wx_cv_use_statline='wxUSE_STATLINE=yes'
13498                           else
13499                             wx_cv_use_statline='wxUSE_STATLINE=no'
13500                           fi
13501
13502 else
13503
13504                           wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13505
13506 fi
13507
13508
13509           eval "$wx_cv_use_statline"
13510
13511           if test x"$enablestring" = xdisable; then
13512             if test $wxUSE_STATLINE = no; then
13513               result=yes
13514             else
13515               result=no
13516             fi
13517           else
13518             result=$wxUSE_STATLINE
13519           fi
13520
13521           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13522 $as_echo "$result" >&6; }
13523
13524
13525           enablestring=
13526           defaultval=$wxUSE_ALL_FEATURES
13527           if test -z "$defaultval"; then
13528               if test x"$enablestring" = xdisable; then
13529                   defaultval=yes
13530               else
13531                   defaultval=no
13532               fi
13533           fi
13534
13535           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13536 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13537           # Check whether --enable-stattext was given.
13538 if test "${enable_stattext+set}" = set; then :
13539   enableval=$enable_stattext;
13540                           if test "$enableval" = yes; then
13541                             wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13542                           else
13543                             wx_cv_use_stattext='wxUSE_STATTEXT=no'
13544                           fi
13545
13546 else
13547
13548                           wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13549
13550 fi
13551
13552
13553           eval "$wx_cv_use_stattext"
13554
13555           if test x"$enablestring" = xdisable; then
13556             if test $wxUSE_STATTEXT = no; then
13557               result=yes
13558             else
13559               result=no
13560             fi
13561           else
13562             result=$wxUSE_STATTEXT
13563           fi
13564
13565           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13566 $as_echo "$result" >&6; }
13567
13568
13569           enablestring=
13570           defaultval=$wxUSE_ALL_FEATURES
13571           if test -z "$defaultval"; then
13572               if test x"$enablestring" = xdisable; then
13573                   defaultval=yes
13574               else
13575                   defaultval=no
13576               fi
13577           fi
13578
13579           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13580 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13581           # Check whether --enable-statusbar was given.
13582 if test "${enable_statusbar+set}" = set; then :
13583   enableval=$enable_statusbar;
13584                           if test "$enableval" = yes; then
13585                             wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13586                           else
13587                             wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13588                           fi
13589
13590 else
13591
13592                           wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13593
13594 fi
13595
13596
13597           eval "$wx_cv_use_statusbar"
13598
13599           if test x"$enablestring" = xdisable; then
13600             if test $wxUSE_STATUSBAR = no; then
13601               result=yes
13602             else
13603               result=no
13604             fi
13605           else
13606             result=$wxUSE_STATUSBAR
13607           fi
13608
13609           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13610 $as_echo "$result" >&6; }
13611
13612
13613           enablestring=
13614           defaultval=$wxUSE_ALL_FEATURES
13615           if test -z "$defaultval"; then
13616               if test x"$enablestring" = xdisable; then
13617                   defaultval=yes
13618               else
13619                   defaultval=no
13620               fi
13621           fi
13622
13623           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13624 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13625           # Check whether --enable-taskbaricon was given.
13626 if test "${enable_taskbaricon+set}" = set; then :
13627   enableval=$enable_taskbaricon;
13628                           if test "$enableval" = yes; then
13629                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13630                           else
13631                             wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13632                           fi
13633
13634 else
13635
13636                           wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13637
13638 fi
13639
13640
13641           eval "$wx_cv_use_taskbaricon"
13642
13643           if test x"$enablestring" = xdisable; then
13644             if test $wxUSE_TASKBARICON = no; then
13645               result=yes
13646             else
13647               result=no
13648             fi
13649           else
13650             result=$wxUSE_TASKBARICON
13651           fi
13652
13653           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13654 $as_echo "$result" >&6; }
13655
13656
13657           enablestring=
13658           defaultval=$wxUSE_ALL_FEATURES
13659           if test -z "$defaultval"; then
13660               if test x"$enablestring" = xdisable; then
13661                   defaultval=yes
13662               else
13663                   defaultval=no
13664               fi
13665           fi
13666
13667           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13668 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13669           # Check whether --enable-tbarnative was given.
13670 if test "${enable_tbarnative+set}" = set; then :
13671   enableval=$enable_tbarnative;
13672                           if test "$enableval" = yes; then
13673                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13674                           else
13675                             wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13676                           fi
13677
13678 else
13679
13680                           wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13681
13682 fi
13683
13684
13685           eval "$wx_cv_use_tbarnative"
13686
13687           if test x"$enablestring" = xdisable; then
13688             if test $wxUSE_TOOLBAR_NATIVE = no; then
13689               result=yes
13690             else
13691               result=no
13692             fi
13693           else
13694             result=$wxUSE_TOOLBAR_NATIVE
13695           fi
13696
13697           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13698 $as_echo "$result" >&6; }
13699
13700
13701           enablestring=
13702           defaultval=$wxUSE_ALL_FEATURES
13703           if test -z "$defaultval"; then
13704               if test x"$enablestring" = xdisable; then
13705                   defaultval=yes
13706               else
13707                   defaultval=no
13708               fi
13709           fi
13710
13711           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13712 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13713           # Check whether --enable-textctrl was given.
13714 if test "${enable_textctrl+set}" = set; then :
13715   enableval=$enable_textctrl;
13716                           if test "$enableval" = yes; then
13717                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13718                           else
13719                             wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13720                           fi
13721
13722 else
13723
13724                           wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13725
13726 fi
13727
13728
13729           eval "$wx_cv_use_textctrl"
13730
13731           if test x"$enablestring" = xdisable; then
13732             if test $wxUSE_TEXTCTRL = no; then
13733               result=yes
13734             else
13735               result=no
13736             fi
13737           else
13738             result=$wxUSE_TEXTCTRL
13739           fi
13740
13741           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13742 $as_echo "$result" >&6; }
13743
13744
13745           enablestring=
13746           defaultval=$wxUSE_ALL_FEATURES
13747           if test -z "$defaultval"; then
13748               if test x"$enablestring" = xdisable; then
13749                   defaultval=yes
13750               else
13751                   defaultval=no
13752               fi
13753           fi
13754
13755           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13756 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13757           # Check whether --enable-datepick was given.
13758 if test "${enable_datepick+set}" = set; then :
13759   enableval=$enable_datepick;
13760                           if test "$enableval" = yes; then
13761                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13762                           else
13763                             wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13764                           fi
13765
13766 else
13767
13768                           wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13769
13770 fi
13771
13772
13773           eval "$wx_cv_use_datepick"
13774
13775           if test x"$enablestring" = xdisable; then
13776             if test $wxUSE_TIMEPICKCTRL = no; then
13777               result=yes
13778             else
13779               result=no
13780             fi
13781           else
13782             result=$wxUSE_TIMEPICKCTRL
13783           fi
13784
13785           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13786 $as_echo "$result" >&6; }
13787
13788
13789           enablestring=
13790           defaultval=$wxUSE_ALL_FEATURES
13791           if test -z "$defaultval"; then
13792               if test x"$enablestring" = xdisable; then
13793                   defaultval=yes
13794               else
13795                   defaultval=no
13796               fi
13797           fi
13798
13799           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13800 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13801           # Check whether --enable-tipwindow was given.
13802 if test "${enable_tipwindow+set}" = set; then :
13803   enableval=$enable_tipwindow;
13804                           if test "$enableval" = yes; then
13805                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13806                           else
13807                             wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13808                           fi
13809
13810 else
13811
13812                           wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13813
13814 fi
13815
13816
13817           eval "$wx_cv_use_tipwindow"
13818
13819           if test x"$enablestring" = xdisable; then
13820             if test $wxUSE_TIPWINDOW = no; then
13821               result=yes
13822             else
13823               result=no
13824             fi
13825           else
13826             result=$wxUSE_TIPWINDOW
13827           fi
13828
13829           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13830 $as_echo "$result" >&6; }
13831
13832
13833           enablestring=
13834           defaultval=$wxUSE_ALL_FEATURES
13835           if test -z "$defaultval"; then
13836               if test x"$enablestring" = xdisable; then
13837                   defaultval=yes
13838               else
13839                   defaultval=no
13840               fi
13841           fi
13842
13843           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13844 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13845           # Check whether --enable-togglebtn was given.
13846 if test "${enable_togglebtn+set}" = set; then :
13847   enableval=$enable_togglebtn;
13848                           if test "$enableval" = yes; then
13849                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13850                           else
13851                             wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13852                           fi
13853
13854 else
13855
13856                           wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13857
13858 fi
13859
13860
13861           eval "$wx_cv_use_togglebtn"
13862
13863           if test x"$enablestring" = xdisable; then
13864             if test $wxUSE_TOGGLEBTN = no; then
13865               result=yes
13866             else
13867               result=no
13868             fi
13869           else
13870             result=$wxUSE_TOGGLEBTN
13871           fi
13872
13873           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13874 $as_echo "$result" >&6; }
13875
13876
13877           enablestring=
13878           defaultval=$wxUSE_ALL_FEATURES
13879           if test -z "$defaultval"; then
13880               if test x"$enablestring" = xdisable; then
13881                   defaultval=yes
13882               else
13883                   defaultval=no
13884               fi
13885           fi
13886
13887           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13888 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13889           # Check whether --enable-toolbar was given.
13890 if test "${enable_toolbar+set}" = set; then :
13891   enableval=$enable_toolbar;
13892                           if test "$enableval" = yes; then
13893                             wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13894                           else
13895                             wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13896                           fi
13897
13898 else
13899
13900                           wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13901
13902 fi
13903
13904
13905           eval "$wx_cv_use_toolbar"
13906
13907           if test x"$enablestring" = xdisable; then
13908             if test $wxUSE_TOOLBAR = no; then
13909               result=yes
13910             else
13911               result=no
13912             fi
13913           else
13914             result=$wxUSE_TOOLBAR
13915           fi
13916
13917           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13918 $as_echo "$result" >&6; }
13919
13920
13921           enablestring=
13922           defaultval=$wxUSE_ALL_FEATURES
13923           if test -z "$defaultval"; then
13924               if test x"$enablestring" = xdisable; then
13925                   defaultval=yes
13926               else
13927                   defaultval=no
13928               fi
13929           fi
13930
13931           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13932 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13933           # Check whether --enable-toolbook was given.
13934 if test "${enable_toolbook+set}" = set; then :
13935   enableval=$enable_toolbook;
13936                           if test "$enableval" = yes; then
13937                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13938                           else
13939                             wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13940                           fi
13941
13942 else
13943
13944                           wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13945
13946 fi
13947
13948
13949           eval "$wx_cv_use_toolbook"
13950
13951           if test x"$enablestring" = xdisable; then
13952             if test $wxUSE_TOOLBOOK = no; then
13953               result=yes
13954             else
13955               result=no
13956             fi
13957           else
13958             result=$wxUSE_TOOLBOOK
13959           fi
13960
13961           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13962 $as_echo "$result" >&6; }
13963
13964
13965           enablestring=
13966           defaultval=$wxUSE_ALL_FEATURES
13967           if test -z "$defaultval"; then
13968               if test x"$enablestring" = xdisable; then
13969                   defaultval=yes
13970               else
13971                   defaultval=no
13972               fi
13973           fi
13974
13975           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13976 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13977           # Check whether --enable-treebook was given.
13978 if test "${enable_treebook+set}" = set; then :
13979   enableval=$enable_treebook;
13980                           if test "$enableval" = yes; then
13981                             wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13982                           else
13983                             wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13984                           fi
13985
13986 else
13987
13988                           wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13989
13990 fi
13991
13992
13993           eval "$wx_cv_use_treebook"
13994
13995           if test x"$enablestring" = xdisable; then
13996             if test $wxUSE_TREEBOOK = no; then
13997               result=yes
13998             else
13999               result=no
14000             fi
14001           else
14002             result=$wxUSE_TREEBOOK
14003           fi
14004
14005           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14006 $as_echo "$result" >&6; }
14007
14008
14009           enablestring=
14010           defaultval=$wxUSE_ALL_FEATURES
14011           if test -z "$defaultval"; then
14012               if test x"$enablestring" = xdisable; then
14013                   defaultval=yes
14014               else
14015                   defaultval=no
14016               fi
14017           fi
14018
14019           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14020 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14021           # Check whether --enable-treectrl was given.
14022 if test "${enable_treectrl+set}" = set; then :
14023   enableval=$enable_treectrl;
14024                           if test "$enableval" = yes; then
14025                             wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14026                           else
14027                             wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14028                           fi
14029
14030 else
14031
14032                           wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14033
14034 fi
14035
14036
14037           eval "$wx_cv_use_treectrl"
14038
14039           if test x"$enablestring" = xdisable; then
14040             if test $wxUSE_TREECTRL = no; then
14041               result=yes
14042             else
14043               result=no
14044             fi
14045           else
14046             result=$wxUSE_TREECTRL
14047           fi
14048
14049           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14050 $as_echo "$result" >&6; }
14051
14052
14053           enablestring=
14054           defaultval=$wxUSE_ALL_FEATURES
14055           if test -z "$defaultval"; then
14056               if test x"$enablestring" = xdisable; then
14057                   defaultval=yes
14058               else
14059                   defaultval=no
14060               fi
14061           fi
14062
14063           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14064 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14065           # Check whether --enable-treelist was given.
14066 if test "${enable_treelist+set}" = set; then :
14067   enableval=$enable_treelist;
14068                           if test "$enableval" = yes; then
14069                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14070                           else
14071                             wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14072                           fi
14073
14074 else
14075
14076                           wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14077
14078 fi
14079
14080
14081           eval "$wx_cv_use_treelist"
14082
14083           if test x"$enablestring" = xdisable; then
14084             if test $wxUSE_TREELISTCTRL = no; then
14085               result=yes
14086             else
14087               result=no
14088             fi
14089           else
14090             result=$wxUSE_TREELISTCTRL
14091           fi
14092
14093           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14094 $as_echo "$result" >&6; }
14095
14096
14097
14098
14099           enablestring=
14100           defaultval=$wxUSE_ALL_FEATURES
14101           if test -z "$defaultval"; then
14102               if test x"$enablestring" = xdisable; then
14103                   defaultval=yes
14104               else
14105                   defaultval=no
14106               fi
14107           fi
14108
14109           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14110 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14111           # Check whether --enable-commondlg was given.
14112 if test "${enable_commondlg+set}" = set; then :
14113   enableval=$enable_commondlg;
14114                           if test "$enableval" = yes; then
14115                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14116                           else
14117                             wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14118                           fi
14119
14120 else
14121
14122                           wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14123
14124 fi
14125
14126
14127           eval "$wx_cv_use_commondlg"
14128
14129           if test x"$enablestring" = xdisable; then
14130             if test $wxUSE_COMMONDLGS = no; then
14131               result=yes
14132             else
14133               result=no
14134             fi
14135           else
14136             result=$wxUSE_COMMONDLGS
14137           fi
14138
14139           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14140 $as_echo "$result" >&6; }
14141
14142
14143           enablestring=
14144           defaultval=$wxUSE_ALL_FEATURES
14145           if test -z "$defaultval"; then
14146               if test x"$enablestring" = xdisable; then
14147                   defaultval=yes
14148               else
14149                   defaultval=no
14150               fi
14151           fi
14152
14153           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14154 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14155           # Check whether --enable-aboutdlg was given.
14156 if test "${enable_aboutdlg+set}" = set; then :
14157   enableval=$enable_aboutdlg;
14158                           if test "$enableval" = yes; then
14159                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14160                           else
14161                             wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14162                           fi
14163
14164 else
14165
14166                           wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14167
14168 fi
14169
14170
14171           eval "$wx_cv_use_aboutdlg"
14172
14173           if test x"$enablestring" = xdisable; then
14174             if test $wxUSE_ABOUTDLG = no; then
14175               result=yes
14176             else
14177               result=no
14178             fi
14179           else
14180             result=$wxUSE_ABOUTDLG
14181           fi
14182
14183           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14184 $as_echo "$result" >&6; }
14185
14186
14187           enablestring=
14188           defaultval=$wxUSE_ALL_FEATURES
14189           if test -z "$defaultval"; then
14190               if test x"$enablestring" = xdisable; then
14191                   defaultval=yes
14192               else
14193                   defaultval=no
14194               fi
14195           fi
14196
14197           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14198 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14199           # Check whether --enable-choicedlg was given.
14200 if test "${enable_choicedlg+set}" = set; then :
14201   enableval=$enable_choicedlg;
14202                           if test "$enableval" = yes; then
14203                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14204                           else
14205                             wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14206                           fi
14207
14208 else
14209
14210                           wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14211
14212 fi
14213
14214
14215           eval "$wx_cv_use_choicedlg"
14216
14217           if test x"$enablestring" = xdisable; then
14218             if test $wxUSE_CHOICEDLG = no; then
14219               result=yes
14220             else
14221               result=no
14222             fi
14223           else
14224             result=$wxUSE_CHOICEDLG
14225           fi
14226
14227           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14228 $as_echo "$result" >&6; }
14229
14230
14231           enablestring=
14232           defaultval=$wxUSE_ALL_FEATURES
14233           if test -z "$defaultval"; then
14234               if test x"$enablestring" = xdisable; then
14235                   defaultval=yes
14236               else
14237                   defaultval=no
14238               fi
14239           fi
14240
14241           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14242 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14243           # Check whether --enable-coldlg was given.
14244 if test "${enable_coldlg+set}" = set; then :
14245   enableval=$enable_coldlg;
14246                           if test "$enableval" = yes; then
14247                             wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14248                           else
14249                             wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14250                           fi
14251
14252 else
14253
14254                           wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14255
14256 fi
14257
14258
14259           eval "$wx_cv_use_coldlg"
14260
14261           if test x"$enablestring" = xdisable; then
14262             if test $wxUSE_COLOURDLG = no; then
14263               result=yes
14264             else
14265               result=no
14266             fi
14267           else
14268             result=$wxUSE_COLOURDLG
14269           fi
14270
14271           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14272 $as_echo "$result" >&6; }
14273
14274
14275           enablestring=
14276           defaultval=$wxUSE_ALL_FEATURES
14277           if test -z "$defaultval"; then
14278               if test x"$enablestring" = xdisable; then
14279                   defaultval=yes
14280               else
14281                   defaultval=no
14282               fi
14283           fi
14284
14285           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14286 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14287           # Check whether --enable-filedlg was given.
14288 if test "${enable_filedlg+set}" = set; then :
14289   enableval=$enable_filedlg;
14290                           if test "$enableval" = yes; then
14291                             wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14292                           else
14293                             wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14294                           fi
14295
14296 else
14297
14298                           wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14299
14300 fi
14301
14302
14303           eval "$wx_cv_use_filedlg"
14304
14305           if test x"$enablestring" = xdisable; then
14306             if test $wxUSE_FILEDLG = no; then
14307               result=yes
14308             else
14309               result=no
14310             fi
14311           else
14312             result=$wxUSE_FILEDLG
14313           fi
14314
14315           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14316 $as_echo "$result" >&6; }
14317
14318
14319           enablestring=
14320           defaultval=$wxUSE_ALL_FEATURES
14321           if test -z "$defaultval"; then
14322               if test x"$enablestring" = xdisable; then
14323                   defaultval=yes
14324               else
14325                   defaultval=no
14326               fi
14327           fi
14328
14329           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14330 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14331           # Check whether --enable-finddlg was given.
14332 if test "${enable_finddlg+set}" = set; then :
14333   enableval=$enable_finddlg;
14334                           if test "$enableval" = yes; then
14335                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14336                           else
14337                             wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14338                           fi
14339
14340 else
14341
14342                           wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14343
14344 fi
14345
14346
14347           eval "$wx_cv_use_finddlg"
14348
14349           if test x"$enablestring" = xdisable; then
14350             if test $wxUSE_FINDREPLDLG = no; then
14351               result=yes
14352             else
14353               result=no
14354             fi
14355           else
14356             result=$wxUSE_FINDREPLDLG
14357           fi
14358
14359           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14360 $as_echo "$result" >&6; }
14361
14362
14363           enablestring=
14364           defaultval=$wxUSE_ALL_FEATURES
14365           if test -z "$defaultval"; then
14366               if test x"$enablestring" = xdisable; then
14367                   defaultval=yes
14368               else
14369                   defaultval=no
14370               fi
14371           fi
14372
14373           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14374 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14375           # Check whether --enable-fontdlg was given.
14376 if test "${enable_fontdlg+set}" = set; then :
14377   enableval=$enable_fontdlg;
14378                           if test "$enableval" = yes; then
14379                             wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14380                           else
14381                             wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14382                           fi
14383
14384 else
14385
14386                           wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14387
14388 fi
14389
14390
14391           eval "$wx_cv_use_fontdlg"
14392
14393           if test x"$enablestring" = xdisable; then
14394             if test $wxUSE_FONTDLG = no; then
14395               result=yes
14396             else
14397               result=no
14398             fi
14399           else
14400             result=$wxUSE_FONTDLG
14401           fi
14402
14403           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14404 $as_echo "$result" >&6; }
14405
14406
14407           enablestring=
14408           defaultval=$wxUSE_ALL_FEATURES
14409           if test -z "$defaultval"; then
14410               if test x"$enablestring" = xdisable; then
14411                   defaultval=yes
14412               else
14413                   defaultval=no
14414               fi
14415           fi
14416
14417           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14418 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14419           # Check whether --enable-dirdlg was given.
14420 if test "${enable_dirdlg+set}" = set; then :
14421   enableval=$enable_dirdlg;
14422                           if test "$enableval" = yes; then
14423                             wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14424                           else
14425                             wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14426                           fi
14427
14428 else
14429
14430                           wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14431
14432 fi
14433
14434
14435           eval "$wx_cv_use_dirdlg"
14436
14437           if test x"$enablestring" = xdisable; then
14438             if test $wxUSE_DIRDLG = no; then
14439               result=yes
14440             else
14441               result=no
14442             fi
14443           else
14444             result=$wxUSE_DIRDLG
14445           fi
14446
14447           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14448 $as_echo "$result" >&6; }
14449
14450
14451           enablestring=
14452           defaultval=$wxUSE_ALL_FEATURES
14453           if test -z "$defaultval"; then
14454               if test x"$enablestring" = xdisable; then
14455                   defaultval=yes
14456               else
14457                   defaultval=no
14458               fi
14459           fi
14460
14461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14462 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14463           # Check whether --enable-msgdlg was given.
14464 if test "${enable_msgdlg+set}" = set; then :
14465   enableval=$enable_msgdlg;
14466                           if test "$enableval" = yes; then
14467                             wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14468                           else
14469                             wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14470                           fi
14471
14472 else
14473
14474                           wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14475
14476 fi
14477
14478
14479           eval "$wx_cv_use_msgdlg"
14480
14481           if test x"$enablestring" = xdisable; then
14482             if test $wxUSE_MSGDLG = no; then
14483               result=yes
14484             else
14485               result=no
14486             fi
14487           else
14488             result=$wxUSE_MSGDLG
14489           fi
14490
14491           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14492 $as_echo "$result" >&6; }
14493
14494
14495           enablestring=
14496           defaultval=$wxUSE_ALL_FEATURES
14497           if test -z "$defaultval"; then
14498               if test x"$enablestring" = xdisable; then
14499                   defaultval=yes
14500               else
14501                   defaultval=no
14502               fi
14503           fi
14504
14505           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14506 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14507           # Check whether --enable-numberdlg was given.
14508 if test "${enable_numberdlg+set}" = set; then :
14509   enableval=$enable_numberdlg;
14510                           if test "$enableval" = yes; then
14511                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14512                           else
14513                             wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14514                           fi
14515
14516 else
14517
14518                           wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14519
14520 fi
14521
14522
14523           eval "$wx_cv_use_numberdlg"
14524
14525           if test x"$enablestring" = xdisable; then
14526             if test $wxUSE_NUMBERDLG = no; then
14527               result=yes
14528             else
14529               result=no
14530             fi
14531           else
14532             result=$wxUSE_NUMBERDLG
14533           fi
14534
14535           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14536 $as_echo "$result" >&6; }
14537
14538
14539           enablestring=
14540           defaultval=$wxUSE_ALL_FEATURES
14541           if test -z "$defaultval"; then
14542               if test x"$enablestring" = xdisable; then
14543                   defaultval=yes
14544               else
14545                   defaultval=no
14546               fi
14547           fi
14548
14549           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14550 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14551           # Check whether --enable-splash was given.
14552 if test "${enable_splash+set}" = set; then :
14553   enableval=$enable_splash;
14554                           if test "$enableval" = yes; then
14555                             wx_cv_use_splash='wxUSE_SPLASH=yes'
14556                           else
14557                             wx_cv_use_splash='wxUSE_SPLASH=no'
14558                           fi
14559
14560 else
14561
14562                           wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14563
14564 fi
14565
14566
14567           eval "$wx_cv_use_splash"
14568
14569           if test x"$enablestring" = xdisable; then
14570             if test $wxUSE_SPLASH = no; then
14571               result=yes
14572             else
14573               result=no
14574             fi
14575           else
14576             result=$wxUSE_SPLASH
14577           fi
14578
14579           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14580 $as_echo "$result" >&6; }
14581
14582
14583           enablestring=
14584           defaultval=$wxUSE_ALL_FEATURES
14585           if test -z "$defaultval"; then
14586               if test x"$enablestring" = xdisable; then
14587                   defaultval=yes
14588               else
14589                   defaultval=no
14590               fi
14591           fi
14592
14593           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14594 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14595           # Check whether --enable-textdlg was given.
14596 if test "${enable_textdlg+set}" = set; then :
14597   enableval=$enable_textdlg;
14598                           if test "$enableval" = yes; then
14599                             wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14600                           else
14601                             wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14602                           fi
14603
14604 else
14605
14606                           wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14607
14608 fi
14609
14610
14611           eval "$wx_cv_use_textdlg"
14612
14613           if test x"$enablestring" = xdisable; then
14614             if test $wxUSE_TEXTDLG = no; then
14615               result=yes
14616             else
14617               result=no
14618             fi
14619           else
14620             result=$wxUSE_TEXTDLG
14621           fi
14622
14623           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14624 $as_echo "$result" >&6; }
14625
14626
14627           enablestring=
14628           defaultval=$wxUSE_ALL_FEATURES
14629           if test -z "$defaultval"; then
14630               if test x"$enablestring" = xdisable; then
14631                   defaultval=yes
14632               else
14633                   defaultval=no
14634               fi
14635           fi
14636
14637           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14638 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14639           # Check whether --enable-tipdlg was given.
14640 if test "${enable_tipdlg+set}" = set; then :
14641   enableval=$enable_tipdlg;
14642                           if test "$enableval" = yes; then
14643                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14644                           else
14645                             wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14646                           fi
14647
14648 else
14649
14650                           wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14651
14652 fi
14653
14654
14655           eval "$wx_cv_use_tipdlg"
14656
14657           if test x"$enablestring" = xdisable; then
14658             if test $wxUSE_STARTUP_TIPS = no; then
14659               result=yes
14660             else
14661               result=no
14662             fi
14663           else
14664             result=$wxUSE_STARTUP_TIPS
14665           fi
14666
14667           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14668 $as_echo "$result" >&6; }
14669
14670
14671           enablestring=
14672           defaultval=$wxUSE_ALL_FEATURES
14673           if test -z "$defaultval"; then
14674               if test x"$enablestring" = xdisable; then
14675                   defaultval=yes
14676               else
14677                   defaultval=no
14678               fi
14679           fi
14680
14681           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14682 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14683           # Check whether --enable-progressdlg was given.
14684 if test "${enable_progressdlg+set}" = set; then :
14685   enableval=$enable_progressdlg;
14686                           if test "$enableval" = yes; then
14687                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14688                           else
14689                             wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14690                           fi
14691
14692 else
14693
14694                           wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14695
14696 fi
14697
14698
14699           eval "$wx_cv_use_progressdlg"
14700
14701           if test x"$enablestring" = xdisable; then
14702             if test $wxUSE_PROGRESSDLG = no; then
14703               result=yes
14704             else
14705               result=no
14706             fi
14707           else
14708             result=$wxUSE_PROGRESSDLG
14709           fi
14710
14711           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14712 $as_echo "$result" >&6; }
14713
14714
14715           enablestring=
14716           defaultval=$wxUSE_ALL_FEATURES
14717           if test -z "$defaultval"; then
14718               if test x"$enablestring" = xdisable; then
14719                   defaultval=yes
14720               else
14721                   defaultval=no
14722               fi
14723           fi
14724
14725           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14726 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14727           # Check whether --enable-wizarddlg was given.
14728 if test "${enable_wizarddlg+set}" = set; then :
14729   enableval=$enable_wizarddlg;
14730                           if test "$enableval" = yes; then
14731                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14732                           else
14733                             wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14734                           fi
14735
14736 else
14737
14738                           wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14739
14740 fi
14741
14742
14743           eval "$wx_cv_use_wizarddlg"
14744
14745           if test x"$enablestring" = xdisable; then
14746             if test $wxUSE_WIZARDDLG = no; then
14747               result=yes
14748             else
14749               result=no
14750             fi
14751           else
14752             result=$wxUSE_WIZARDDLG
14753           fi
14754
14755           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14756 $as_echo "$result" >&6; }
14757
14758
14759
14760
14761           enablestring=
14762           defaultval=$wxUSE_ALL_FEATURES
14763           if test -z "$defaultval"; then
14764               if test x"$enablestring" = xdisable; then
14765                   defaultval=yes
14766               else
14767                   defaultval=no
14768               fi
14769           fi
14770
14771           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14772 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14773           # Check whether --enable-menus was given.
14774 if test "${enable_menus+set}" = set; then :
14775   enableval=$enable_menus;
14776                           if test "$enableval" = yes; then
14777                             wx_cv_use_menus='wxUSE_MENUS=yes'
14778                           else
14779                             wx_cv_use_menus='wxUSE_MENUS=no'
14780                           fi
14781
14782 else
14783
14784                           wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14785
14786 fi
14787
14788
14789           eval "$wx_cv_use_menus"
14790
14791           if test x"$enablestring" = xdisable; then
14792             if test $wxUSE_MENUS = no; then
14793               result=yes
14794             else
14795               result=no
14796             fi
14797           else
14798             result=$wxUSE_MENUS
14799           fi
14800
14801           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14802 $as_echo "$result" >&6; }
14803
14804
14805           enablestring=
14806           defaultval=$wxUSE_ALL_FEATURES
14807           if test -z "$defaultval"; then
14808               if test x"$enablestring" = xdisable; then
14809                   defaultval=yes
14810               else
14811                   defaultval=no
14812               fi
14813           fi
14814
14815           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14816 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14817           # Check whether --enable-miniframe was given.
14818 if test "${enable_miniframe+set}" = set; then :
14819   enableval=$enable_miniframe;
14820                           if test "$enableval" = yes; then
14821                             wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14822                           else
14823                             wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14824                           fi
14825
14826 else
14827
14828                           wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14829
14830 fi
14831
14832
14833           eval "$wx_cv_use_miniframe"
14834
14835           if test x"$enablestring" = xdisable; then
14836             if test $wxUSE_MINIFRAME = no; then
14837               result=yes
14838             else
14839               result=no
14840             fi
14841           else
14842             result=$wxUSE_MINIFRAME
14843           fi
14844
14845           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14846 $as_echo "$result" >&6; }
14847
14848
14849           enablestring=
14850           defaultval=$wxUSE_ALL_FEATURES
14851           if test -z "$defaultval"; then
14852               if test x"$enablestring" = xdisable; then
14853                   defaultval=yes
14854               else
14855                   defaultval=no
14856               fi
14857           fi
14858
14859           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14860 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14861           # Check whether --enable-tooltips was given.
14862 if test "${enable_tooltips+set}" = set; then :
14863   enableval=$enable_tooltips;
14864                           if test "$enableval" = yes; then
14865                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14866                           else
14867                             wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14868                           fi
14869
14870 else
14871
14872                           wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14873
14874 fi
14875
14876
14877           eval "$wx_cv_use_tooltips"
14878
14879           if test x"$enablestring" = xdisable; then
14880             if test $wxUSE_TOOLTIPS = no; then
14881               result=yes
14882             else
14883               result=no
14884             fi
14885           else
14886             result=$wxUSE_TOOLTIPS
14887           fi
14888
14889           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14890 $as_echo "$result" >&6; }
14891
14892
14893           enablestring=
14894           defaultval=$wxUSE_ALL_FEATURES
14895           if test -z "$defaultval"; then
14896               if test x"$enablestring" = xdisable; then
14897                   defaultval=yes
14898               else
14899                   defaultval=no
14900               fi
14901           fi
14902
14903           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14904 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14905           # Check whether --enable-splines was given.
14906 if test "${enable_splines+set}" = set; then :
14907   enableval=$enable_splines;
14908                           if test "$enableval" = yes; then
14909                             wx_cv_use_splines='wxUSE_SPLINES=yes'
14910                           else
14911                             wx_cv_use_splines='wxUSE_SPLINES=no'
14912                           fi
14913
14914 else
14915
14916                           wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14917
14918 fi
14919
14920
14921           eval "$wx_cv_use_splines"
14922
14923           if test x"$enablestring" = xdisable; then
14924             if test $wxUSE_SPLINES = no; then
14925               result=yes
14926             else
14927               result=no
14928             fi
14929           else
14930             result=$wxUSE_SPLINES
14931           fi
14932
14933           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14934 $as_echo "$result" >&6; }
14935
14936
14937           enablestring=
14938           defaultval=$wxUSE_ALL_FEATURES
14939           if test -z "$defaultval"; then
14940               if test x"$enablestring" = xdisable; then
14941                   defaultval=yes
14942               else
14943                   defaultval=no
14944               fi
14945           fi
14946
14947           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14948 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14949           # Check whether --enable-mousewheel was given.
14950 if test "${enable_mousewheel+set}" = set; then :
14951   enableval=$enable_mousewheel;
14952                           if test "$enableval" = yes; then
14953                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14954                           else
14955                             wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14956                           fi
14957
14958 else
14959
14960                           wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14961
14962 fi
14963
14964
14965           eval "$wx_cv_use_mousewheel"
14966
14967           if test x"$enablestring" = xdisable; then
14968             if test $wxUSE_MOUSEWHEEL = no; then
14969               result=yes
14970             else
14971               result=no
14972             fi
14973           else
14974             result=$wxUSE_MOUSEWHEEL
14975           fi
14976
14977           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14978 $as_echo "$result" >&6; }
14979
14980
14981           enablestring=
14982           defaultval=$wxUSE_ALL_FEATURES
14983           if test -z "$defaultval"; then
14984               if test x"$enablestring" = xdisable; then
14985                   defaultval=yes
14986               else
14987                   defaultval=no
14988               fi
14989           fi
14990
14991           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14992 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14993           # Check whether --enable-validators was given.
14994 if test "${enable_validators+set}" = set; then :
14995   enableval=$enable_validators;
14996                           if test "$enableval" = yes; then
14997                             wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14998                           else
14999                             wx_cv_use_validators='wxUSE_VALIDATORS=no'
15000                           fi
15001
15002 else
15003
15004                           wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15005
15006 fi
15007
15008
15009           eval "$wx_cv_use_validators"
15010
15011           if test x"$enablestring" = xdisable; then
15012             if test $wxUSE_VALIDATORS = no; then
15013               result=yes
15014             else
15015               result=no
15016             fi
15017           else
15018             result=$wxUSE_VALIDATORS
15019           fi
15020
15021           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15022 $as_echo "$result" >&6; }
15023
15024
15025           enablestring=
15026           defaultval=$wxUSE_ALL_FEATURES
15027           if test -z "$defaultval"; then
15028               if test x"$enablestring" = xdisable; then
15029                   defaultval=yes
15030               else
15031                   defaultval=no
15032               fi
15033           fi
15034
15035           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15036 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15037           # Check whether --enable-busyinfo was given.
15038 if test "${enable_busyinfo+set}" = set; then :
15039   enableval=$enable_busyinfo;
15040                           if test "$enableval" = yes; then
15041                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15042                           else
15043                             wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15044                           fi
15045
15046 else
15047
15048                           wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15049
15050 fi
15051
15052
15053           eval "$wx_cv_use_busyinfo"
15054
15055           if test x"$enablestring" = xdisable; then
15056             if test $wxUSE_BUSYINFO = no; then
15057               result=yes
15058             else
15059               result=no
15060             fi
15061           else
15062             result=$wxUSE_BUSYINFO
15063           fi
15064
15065           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15066 $as_echo "$result" >&6; }
15067
15068
15069           enablestring=
15070           defaultval=$wxUSE_ALL_FEATURES
15071           if test -z "$defaultval"; then
15072               if test x"$enablestring" = xdisable; then
15073                   defaultval=yes
15074               else
15075                   defaultval=no
15076               fi
15077           fi
15078
15079           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15080 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15081           # Check whether --enable-hotkey was given.
15082 if test "${enable_hotkey+set}" = set; then :
15083   enableval=$enable_hotkey;
15084                           if test "$enableval" = yes; then
15085                             wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15086                           else
15087                             wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15088                           fi
15089
15090 else
15091
15092                           wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15093
15094 fi
15095
15096
15097           eval "$wx_cv_use_hotkey"
15098
15099           if test x"$enablestring" = xdisable; then
15100             if test $wxUSE_HOTKEY = no; then
15101               result=yes
15102             else
15103               result=no
15104             fi
15105           else
15106             result=$wxUSE_HOTKEY
15107           fi
15108
15109           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15110 $as_echo "$result" >&6; }
15111
15112
15113           enablestring=
15114           defaultval=$wxUSE_ALL_FEATURES
15115           if test -z "$defaultval"; then
15116               if test x"$enablestring" = xdisable; then
15117                   defaultval=yes
15118               else
15119                   defaultval=no
15120               fi
15121           fi
15122
15123           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15124 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15125           # Check whether --enable-joystick was given.
15126 if test "${enable_joystick+set}" = set; then :
15127   enableval=$enable_joystick;
15128                           if test "$enableval" = yes; then
15129                             wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15130                           else
15131                             wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15132                           fi
15133
15134 else
15135
15136                           wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15137
15138 fi
15139
15140
15141           eval "$wx_cv_use_joystick"
15142
15143           if test x"$enablestring" = xdisable; then
15144             if test $wxUSE_JOYSTICK = no; then
15145               result=yes
15146             else
15147               result=no
15148             fi
15149           else
15150             result=$wxUSE_JOYSTICK
15151           fi
15152
15153           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15154 $as_echo "$result" >&6; }
15155
15156
15157           enablestring=
15158           defaultval=$wxUSE_ALL_FEATURES
15159           if test -z "$defaultval"; then
15160               if test x"$enablestring" = xdisable; then
15161                   defaultval=yes
15162               else
15163                   defaultval=no
15164               fi
15165           fi
15166
15167           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15168 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15169           # Check whether --enable-metafile was given.
15170 if test "${enable_metafile+set}" = set; then :
15171   enableval=$enable_metafile;
15172                           if test "$enableval" = yes; then
15173                             wx_cv_use_metafile='wxUSE_METAFILE=yes'
15174                           else
15175                             wx_cv_use_metafile='wxUSE_METAFILE=no'
15176                           fi
15177
15178 else
15179
15180                           wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15181
15182 fi
15183
15184
15185           eval "$wx_cv_use_metafile"
15186
15187           if test x"$enablestring" = xdisable; then
15188             if test $wxUSE_METAFILE = no; then
15189               result=yes
15190             else
15191               result=no
15192             fi
15193           else
15194             result=$wxUSE_METAFILE
15195           fi
15196
15197           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15198 $as_echo "$result" >&6; }
15199
15200
15201           enablestring=
15202           defaultval=$wxUSE_ALL_FEATURES
15203           if test -z "$defaultval"; then
15204               if test x"$enablestring" = xdisable; then
15205                   defaultval=yes
15206               else
15207                   defaultval=no
15208               fi
15209           fi
15210
15211           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15212 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15213           # Check whether --enable-dragimage was given.
15214 if test "${enable_dragimage+set}" = set; then :
15215   enableval=$enable_dragimage;
15216                           if test "$enableval" = yes; then
15217                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15218                           else
15219                             wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15220                           fi
15221
15222 else
15223
15224                           wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15225
15226 fi
15227
15228
15229           eval "$wx_cv_use_dragimage"
15230
15231           if test x"$enablestring" = xdisable; then
15232             if test $wxUSE_DRAGIMAGE = no; then
15233               result=yes
15234             else
15235               result=no
15236             fi
15237           else
15238             result=$wxUSE_DRAGIMAGE
15239           fi
15240
15241           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15242 $as_echo "$result" >&6; }
15243
15244
15245           enablestring=
15246           defaultval=$wxUSE_ALL_FEATURES
15247           if test -z "$defaultval"; then
15248               if test x"$enablestring" = xdisable; then
15249                   defaultval=yes
15250               else
15251                   defaultval=no
15252               fi
15253           fi
15254
15255           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15256 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15257           # Check whether --enable-accessibility was given.
15258 if test "${enable_accessibility+set}" = set; then :
15259   enableval=$enable_accessibility;
15260                           if test "$enableval" = yes; then
15261                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15262                           else
15263                             wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15264                           fi
15265
15266 else
15267
15268                           wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15269
15270 fi
15271
15272
15273           eval "$wx_cv_use_accessibility"
15274
15275           if test x"$enablestring" = xdisable; then
15276             if test $wxUSE_ACCESSIBILITY = no; then
15277               result=yes
15278             else
15279               result=no
15280             fi
15281           else
15282             result=$wxUSE_ACCESSIBILITY
15283           fi
15284
15285           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15286 $as_echo "$result" >&6; }
15287
15288
15289           enablestring=
15290           defaultval=$wxUSE_ALL_FEATURES
15291           if test -z "$defaultval"; then
15292               if test x"$enablestring" = xdisable; then
15293                   defaultval=yes
15294               else
15295                   defaultval=no
15296               fi
15297           fi
15298
15299           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15300 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15301           # Check whether --enable-uiactionsim was given.
15302 if test "${enable_uiactionsim+set}" = set; then :
15303   enableval=$enable_uiactionsim;
15304                           if test "$enableval" = yes; then
15305                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15306                           else
15307                             wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15308                           fi
15309
15310 else
15311
15312                           wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15313
15314 fi
15315
15316
15317           eval "$wx_cv_use_uiactionsim"
15318
15319           if test x"$enablestring" = xdisable; then
15320             if test $wxUSE_UIACTIONSIMULATOR = no; then
15321               result=yes
15322             else
15323               result=no
15324             fi
15325           else
15326             result=$wxUSE_UIACTIONSIMULATOR
15327           fi
15328
15329           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15330 $as_echo "$result" >&6; }
15331
15332
15333           enablestring=
15334           defaultval=$wxUSE_ALL_FEATURES
15335           if test -z "$defaultval"; then
15336               if test x"$enablestring" = xdisable; then
15337                   defaultval=yes
15338               else
15339                   defaultval=no
15340               fi
15341           fi
15342
15343           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15344 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15345           # Check whether --enable-dctransform was given.
15346 if test "${enable_dctransform+set}" = set; then :
15347   enableval=$enable_dctransform;
15348                           if test "$enableval" = yes; then
15349                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15350                           else
15351                             wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15352                           fi
15353
15354 else
15355
15356                           wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15357
15358 fi
15359
15360
15361           eval "$wx_cv_use_dctransform"
15362
15363           if test x"$enablestring" = xdisable; then
15364             if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15365               result=yes
15366             else
15367               result=no
15368             fi
15369           else
15370             result=$wxUSE_DC_TRANSFORM_MATRIX
15371           fi
15372
15373           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15374 $as_echo "$result" >&6; }
15375
15376
15377           enablestring=
15378           defaultval=$wxUSE_ALL_FEATURES
15379           if test -z "$defaultval"; then
15380               if test x"$enablestring" = xdisable; then
15381                   defaultval=yes
15382               else
15383                   defaultval=no
15384               fi
15385           fi
15386
15387           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15388 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15389           # Check whether --enable-webviewwebkit was given.
15390 if test "${enable_webviewwebkit+set}" = set; then :
15391   enableval=$enable_webviewwebkit;
15392                           if test "$enableval" = yes; then
15393                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15394                           else
15395                             wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15396                           fi
15397
15398 else
15399
15400                           wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15401
15402 fi
15403
15404
15405           eval "$wx_cv_use_webviewwebkit"
15406
15407           if test x"$enablestring" = xdisable; then
15408             if test $wxUSE_WEBVIEW_WEBKIT = no; then
15409               result=yes
15410             else
15411               result=no
15412             fi
15413           else
15414             result=$wxUSE_WEBVIEW_WEBKIT
15415           fi
15416
15417           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15418 $as_echo "$result" >&6; }
15419
15420
15421
15422
15423           enablestring=
15424           defaultval=$wxUSE_ALL_FEATURES
15425           if test -z "$defaultval"; then
15426               if test x"$enablestring" = xdisable; then
15427                   defaultval=yes
15428               else
15429                   defaultval=no
15430               fi
15431           fi
15432
15433           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15434 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15435           # Check whether --enable-palette was given.
15436 if test "${enable_palette+set}" = set; then :
15437   enableval=$enable_palette;
15438                           if test "$enableval" = yes; then
15439                             wx_cv_use_palette='wxUSE_PALETTE=yes'
15440                           else
15441                             wx_cv_use_palette='wxUSE_PALETTE=no'
15442                           fi
15443
15444 else
15445
15446                           wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15447
15448 fi
15449
15450
15451           eval "$wx_cv_use_palette"
15452
15453           if test x"$enablestring" = xdisable; then
15454             if test $wxUSE_PALETTE = no; then
15455               result=yes
15456             else
15457               result=no
15458             fi
15459           else
15460             result=$wxUSE_PALETTE
15461           fi
15462
15463           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15464 $as_echo "$result" >&6; }
15465
15466
15467           enablestring=
15468           defaultval=$wxUSE_ALL_FEATURES
15469           if test -z "$defaultval"; then
15470               if test x"$enablestring" = xdisable; then
15471                   defaultval=yes
15472               else
15473                   defaultval=no
15474               fi
15475           fi
15476
15477           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15478 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15479           # Check whether --enable-image was given.
15480 if test "${enable_image+set}" = set; then :
15481   enableval=$enable_image;
15482                           if test "$enableval" = yes; then
15483                             wx_cv_use_image='wxUSE_IMAGE=yes'
15484                           else
15485                             wx_cv_use_image='wxUSE_IMAGE=no'
15486                           fi
15487
15488 else
15489
15490                           wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15491
15492 fi
15493
15494
15495           eval "$wx_cv_use_image"
15496
15497           if test x"$enablestring" = xdisable; then
15498             if test $wxUSE_IMAGE = no; then
15499               result=yes
15500             else
15501               result=no
15502             fi
15503           else
15504             result=$wxUSE_IMAGE
15505           fi
15506
15507           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15508 $as_echo "$result" >&6; }
15509
15510
15511           enablestring=
15512           defaultval=$wxUSE_ALL_FEATURES
15513           if test -z "$defaultval"; then
15514               if test x"$enablestring" = xdisable; then
15515                   defaultval=yes
15516               else
15517                   defaultval=no
15518               fi
15519           fi
15520
15521           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15522 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15523           # Check whether --enable-gif was given.
15524 if test "${enable_gif+set}" = set; then :
15525   enableval=$enable_gif;
15526                           if test "$enableval" = yes; then
15527                             wx_cv_use_gif='wxUSE_GIF=yes'
15528                           else
15529                             wx_cv_use_gif='wxUSE_GIF=no'
15530                           fi
15531
15532 else
15533
15534                           wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15535
15536 fi
15537
15538
15539           eval "$wx_cv_use_gif"
15540
15541           if test x"$enablestring" = xdisable; then
15542             if test $wxUSE_GIF = no; then
15543               result=yes
15544             else
15545               result=no
15546             fi
15547           else
15548             result=$wxUSE_GIF
15549           fi
15550
15551           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15552 $as_echo "$result" >&6; }
15553
15554
15555           enablestring=
15556           defaultval=$wxUSE_ALL_FEATURES
15557           if test -z "$defaultval"; then
15558               if test x"$enablestring" = xdisable; then
15559                   defaultval=yes
15560               else
15561                   defaultval=no
15562               fi
15563           fi
15564
15565           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15566 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15567           # Check whether --enable-pcx was given.
15568 if test "${enable_pcx+set}" = set; then :
15569   enableval=$enable_pcx;
15570                           if test "$enableval" = yes; then
15571                             wx_cv_use_pcx='wxUSE_PCX=yes'
15572                           else
15573                             wx_cv_use_pcx='wxUSE_PCX=no'
15574                           fi
15575
15576 else
15577
15578                           wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15579
15580 fi
15581
15582
15583           eval "$wx_cv_use_pcx"
15584
15585           if test x"$enablestring" = xdisable; then
15586             if test $wxUSE_PCX = no; then
15587               result=yes
15588             else
15589               result=no
15590             fi
15591           else
15592             result=$wxUSE_PCX
15593           fi
15594
15595           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15596 $as_echo "$result" >&6; }
15597
15598
15599           enablestring=
15600           defaultval=$wxUSE_ALL_FEATURES
15601           if test -z "$defaultval"; then
15602               if test x"$enablestring" = xdisable; then
15603                   defaultval=yes
15604               else
15605                   defaultval=no
15606               fi
15607           fi
15608
15609           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15610 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15611           # Check whether --enable-tga was given.
15612 if test "${enable_tga+set}" = set; then :
15613   enableval=$enable_tga;
15614                           if test "$enableval" = yes; then
15615                             wx_cv_use_tga='wxUSE_TGA=yes'
15616                           else
15617                             wx_cv_use_tga='wxUSE_TGA=no'
15618                           fi
15619
15620 else
15621
15622                           wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15623
15624 fi
15625
15626
15627           eval "$wx_cv_use_tga"
15628
15629           if test x"$enablestring" = xdisable; then
15630             if test $wxUSE_TGA = no; then
15631               result=yes
15632             else
15633               result=no
15634             fi
15635           else
15636             result=$wxUSE_TGA
15637           fi
15638
15639           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15640 $as_echo "$result" >&6; }
15641
15642
15643           enablestring=
15644           defaultval=$wxUSE_ALL_FEATURES
15645           if test -z "$defaultval"; then
15646               if test x"$enablestring" = xdisable; then
15647                   defaultval=yes
15648               else
15649                   defaultval=no
15650               fi
15651           fi
15652
15653           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15654 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15655           # Check whether --enable-iff was given.
15656 if test "${enable_iff+set}" = set; then :
15657   enableval=$enable_iff;
15658                           if test "$enableval" = yes; then
15659                             wx_cv_use_iff='wxUSE_IFF=yes'
15660                           else
15661                             wx_cv_use_iff='wxUSE_IFF=no'
15662                           fi
15663
15664 else
15665
15666                           wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15667
15668 fi
15669
15670
15671           eval "$wx_cv_use_iff"
15672
15673           if test x"$enablestring" = xdisable; then
15674             if test $wxUSE_IFF = no; then
15675               result=yes
15676             else
15677               result=no
15678             fi
15679           else
15680             result=$wxUSE_IFF
15681           fi
15682
15683           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15684 $as_echo "$result" >&6; }
15685
15686
15687           enablestring=
15688           defaultval=$wxUSE_ALL_FEATURES
15689           if test -z "$defaultval"; then
15690               if test x"$enablestring" = xdisable; then
15691                   defaultval=yes
15692               else
15693                   defaultval=no
15694               fi
15695           fi
15696
15697           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15698 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15699           # Check whether --enable-pnm was given.
15700 if test "${enable_pnm+set}" = set; then :
15701   enableval=$enable_pnm;
15702                           if test "$enableval" = yes; then
15703                             wx_cv_use_pnm='wxUSE_PNM=yes'
15704                           else
15705                             wx_cv_use_pnm='wxUSE_PNM=no'
15706                           fi
15707
15708 else
15709
15710                           wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15711
15712 fi
15713
15714
15715           eval "$wx_cv_use_pnm"
15716
15717           if test x"$enablestring" = xdisable; then
15718             if test $wxUSE_PNM = no; then
15719               result=yes
15720             else
15721               result=no
15722             fi
15723           else
15724             result=$wxUSE_PNM
15725           fi
15726
15727           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15728 $as_echo "$result" >&6; }
15729
15730
15731           enablestring=
15732           defaultval=$wxUSE_ALL_FEATURES
15733           if test -z "$defaultval"; then
15734               if test x"$enablestring" = xdisable; then
15735                   defaultval=yes
15736               else
15737                   defaultval=no
15738               fi
15739           fi
15740
15741           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15742 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15743           # Check whether --enable-xpm was given.
15744 if test "${enable_xpm+set}" = set; then :
15745   enableval=$enable_xpm;
15746                           if test "$enableval" = yes; then
15747                             wx_cv_use_xpm='wxUSE_XPM=yes'
15748                           else
15749                             wx_cv_use_xpm='wxUSE_XPM=no'
15750                           fi
15751
15752 else
15753
15754                           wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15755
15756 fi
15757
15758
15759           eval "$wx_cv_use_xpm"
15760
15761           if test x"$enablestring" = xdisable; then
15762             if test $wxUSE_XPM = no; then
15763               result=yes
15764             else
15765               result=no
15766             fi
15767           else
15768             result=$wxUSE_XPM
15769           fi
15770
15771           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15772 $as_echo "$result" >&6; }
15773
15774
15775           enablestring=
15776           defaultval=$wxUSE_ALL_FEATURES
15777           if test -z "$defaultval"; then
15778               if test x"$enablestring" = xdisable; then
15779                   defaultval=yes
15780               else
15781                   defaultval=no
15782               fi
15783           fi
15784
15785           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15786 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15787           # Check whether --enable-ico_cur was given.
15788 if test "${enable_ico_cur+set}" = set; then :
15789   enableval=$enable_ico_cur;
15790                           if test "$enableval" = yes; then
15791                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15792                           else
15793                             wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15794                           fi
15795
15796 else
15797
15798                           wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15799
15800 fi
15801
15802
15803           eval "$wx_cv_use_ico_cur"
15804
15805           if test x"$enablestring" = xdisable; then
15806             if test $wxUSE_ICO_CUR = no; then
15807               result=yes
15808             else
15809               result=no
15810             fi
15811           else
15812             result=$wxUSE_ICO_CUR
15813           fi
15814
15815           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15816 $as_echo "$result" >&6; }
15817
15818
15819
15820
15821           enablestring=
15822           defaultval=$wxUSE_ALL_FEATURES
15823           if test -z "$defaultval"; then
15824               if test x"$enablestring" = xdisable; then
15825                   defaultval=yes
15826               else
15827                   defaultval=no
15828               fi
15829           fi
15830
15831           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15832 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15833           # Check whether --enable-dccache was given.
15834 if test "${enable_dccache+set}" = set; then :
15835   enableval=$enable_dccache;
15836                           if test "$enableval" = yes; then
15837                             wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15838                           else
15839                             wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15840                           fi
15841
15842 else
15843
15844                           wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15845
15846 fi
15847
15848
15849           eval "$wx_cv_use_dccache"
15850
15851           if test x"$enablestring" = xdisable; then
15852             if test $wxUSE_DC_CACHEING = no; then
15853               result=yes
15854             else
15855               result=no
15856             fi
15857           else
15858             result=$wxUSE_DC_CACHEING
15859           fi
15860
15861           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15862 $as_echo "$result" >&6; }
15863
15864
15865           enablestring=
15866           defaultval=$wxUSE_ALL_FEATURES
15867           if test -z "$defaultval"; then
15868               if test x"$enablestring" = xdisable; then
15869                   defaultval=yes
15870               else
15871                   defaultval=no
15872               fi
15873           fi
15874
15875           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15876 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15877           # Check whether --enable-ps-in-msw was given.
15878 if test "${enable_ps_in_msw+set}" = set; then :
15879   enableval=$enable_ps_in_msw;
15880                           if test "$enableval" = yes; then
15881                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15882                           else
15883                             wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15884                           fi
15885
15886 else
15887
15888                           wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15889
15890 fi
15891
15892
15893           eval "$wx_cv_use_ps_in_msw"
15894
15895           if test x"$enablestring" = xdisable; then
15896             if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15897               result=yes
15898             else
15899               result=no
15900             fi
15901           else
15902             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15903           fi
15904
15905           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15906 $as_echo "$result" >&6; }
15907
15908
15909           enablestring=
15910           defaultval=$wxUSE_ALL_FEATURES
15911           if test -z "$defaultval"; then
15912               if test x"$enablestring" = xdisable; then
15913                   defaultval=yes
15914               else
15915                   defaultval=no
15916               fi
15917           fi
15918
15919           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15920 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15921           # Check whether --enable-ownerdrawn was given.
15922 if test "${enable_ownerdrawn+set}" = set; then :
15923   enableval=$enable_ownerdrawn;
15924                           if test "$enableval" = yes; then
15925                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15926                           else
15927                             wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15928                           fi
15929
15930 else
15931
15932                           wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15933
15934 fi
15935
15936
15937           eval "$wx_cv_use_ownerdrawn"
15938
15939           if test x"$enablestring" = xdisable; then
15940             if test $wxUSE_OWNER_DRAWN = no; then
15941               result=yes
15942             else
15943               result=no
15944             fi
15945           else
15946             result=$wxUSE_OWNER_DRAWN
15947           fi
15948
15949           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15950 $as_echo "$result" >&6; }
15951
15952
15953           enablestring=
15954           defaultval=$wxUSE_ALL_FEATURES
15955           if test -z "$defaultval"; then
15956               if test x"$enablestring" = xdisable; then
15957                   defaultval=yes
15958               else
15959                   defaultval=no
15960               fi
15961           fi
15962
15963           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15964 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15965           # Check whether --enable-uxtheme was given.
15966 if test "${enable_uxtheme+set}" = set; then :
15967   enableval=$enable_uxtheme;
15968                           if test "$enableval" = yes; then
15969                             wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15970                           else
15971                             wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15972                           fi
15973
15974 else
15975
15976                           wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15977
15978 fi
15979
15980
15981           eval "$wx_cv_use_uxtheme"
15982
15983           if test x"$enablestring" = xdisable; then
15984             if test $wxUSE_UXTHEME = no; then
15985               result=yes
15986             else
15987               result=no
15988             fi
15989           else
15990             result=$wxUSE_UXTHEME
15991           fi
15992
15993           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15994 $as_echo "$result" >&6; }
15995
15996
15997           enablestring=
15998           defaultval=$wxUSE_ALL_FEATURES
15999           if test -z "$defaultval"; then
16000               if test x"$enablestring" = xdisable; then
16001                   defaultval=yes
16002               else
16003                   defaultval=no
16004               fi
16005           fi
16006
16007           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16008 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16009           # Check whether --enable-wxdib was given.
16010 if test "${enable_wxdib+set}" = set; then :
16011   enableval=$enable_wxdib;
16012                           if test "$enableval" = yes; then
16013                             wx_cv_use_wxdib='wxUSE_DIB=yes'
16014                           else
16015                             wx_cv_use_wxdib='wxUSE_DIB=no'
16016                           fi
16017
16018 else
16019
16020                           wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16021
16022 fi
16023
16024
16025           eval "$wx_cv_use_wxdib"
16026
16027           if test x"$enablestring" = xdisable; then
16028             if test $wxUSE_DIB = no; then
16029               result=yes
16030             else
16031               result=no
16032             fi
16033           else
16034             result=$wxUSE_DIB
16035           fi
16036
16037           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16038 $as_echo "$result" >&6; }
16039
16040
16041           enablestring=
16042           defaultval=$wxUSE_ALL_FEATURES
16043           if test -z "$defaultval"; then
16044               if test x"$enablestring" = xdisable; then
16045                   defaultval=yes
16046               else
16047                   defaultval=no
16048               fi
16049           fi
16050
16051           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16052 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16053           # Check whether --enable-webviewie was given.
16054 if test "${enable_webviewie+set}" = set; then :
16055   enableval=$enable_webviewie;
16056                           if test "$enableval" = yes; then
16057                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16058                           else
16059                             wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16060                           fi
16061
16062 else
16063
16064                           wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16065
16066 fi
16067
16068
16069           eval "$wx_cv_use_webviewie"
16070
16071           if test x"$enablestring" = xdisable; then
16072             if test $wxUSE_WEBVIEW_IE = no; then
16073               result=yes
16074             else
16075               result=no
16076             fi
16077           else
16078             result=$wxUSE_WEBVIEW_IE
16079           fi
16080
16081           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16082 $as_echo "$result" >&6; }
16083
16084
16085 if test "$wxUSE_MSW" != 1; then
16086     DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16087 fi
16088
16089
16090           enablestring=
16091           defaultval=$wxUSE_ALL_FEATURES
16092           if test -z "$defaultval"; then
16093               if test x"$enablestring" = xdisable; then
16094                   defaultval=yes
16095               else
16096                   defaultval=no
16097               fi
16098           fi
16099
16100           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16101 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16102           # Check whether --enable-autoidman was given.
16103 if test "${enable_autoidman+set}" = set; then :
16104   enableval=$enable_autoidman;
16105                           if test "$enableval" = yes; then
16106                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16107                           else
16108                             wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16109                           fi
16110
16111 else
16112
16113                           wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16114
16115 fi
16116
16117
16118           eval "$wx_cv_use_autoidman"
16119
16120           if test x"$enablestring" = xdisable; then
16121             if test $wxUSE_AUTOID_MANAGEMENT = no; then
16122               result=yes
16123             else
16124               result=no
16125             fi
16126           else
16127             result=$wxUSE_AUTOID_MANAGEMENT
16128           fi
16129
16130           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16131 $as_echo "$result" >&6; }
16132
16133
16134 fi
16135
16136
16137 cat >confcache <<\_ACEOF
16138 # This file is a shell script that caches the results of configure
16139 # tests run on this system so they can be shared between configure
16140 # scripts and configure runs, see configure's option --config-cache.
16141 # It is not useful on other systems.  If it contains results you don't
16142 # want to keep, you may remove or edit it.
16143 #
16144 # config.status only pays attention to the cache file if you give it
16145 # the --recheck option to rerun configure.
16146 #
16147 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16149 # following values.
16150
16151 _ACEOF
16152
16153 # The following way of writing the cache mishandles newlines in values,
16154 # but we know of no workaround that is simple, portable, and efficient.
16155 # So, we kill variables containing newlines.
16156 # Ultrix sh set writes to stderr and can't be redirected directly,
16157 # and sets the high bit in the cache file unless we assign to the vars.
16158 (
16159   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16160     eval ac_val=\$$ac_var
16161     case $ac_val in #(
16162     *${as_nl}*)
16163       case $ac_var in #(
16164       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16165 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16166       esac
16167       case $ac_var in #(
16168       _ | IFS | as_nl) ;; #(
16169       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16170       *) { eval $ac_var=; unset $ac_var;} ;;
16171       esac ;;
16172     esac
16173   done
16174
16175   (set) 2>&1 |
16176     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16177     *${as_nl}ac_space=\ *)
16178       # `set' does not quote correctly, so add quotes: double-quote
16179       # substitution turns \\\\ into \\, and sed turns \\ into \.
16180       sed -n \
16181         "s/'/'\\\\''/g;
16182           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16183       ;; #(
16184     *)
16185       # `set' quotes correctly as required by POSIX, so do not add quotes.
16186       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16187       ;;
16188     esac |
16189     sort
16190 ) |
16191   sed '
16192      /^ac_cv_env_/b end
16193      t clear
16194      :clear
16195      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16196      t end
16197      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16198      :end' >>confcache
16199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16200   if test -w "$cache_file"; then
16201     if test "x$cache_file" != "x/dev/null"; then
16202       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16203 $as_echo "$as_me: updating cache $cache_file" >&6;}
16204       if test ! -f "$cache_file" || test -h "$cache_file"; then
16205         cat confcache >"$cache_file"
16206       else
16207         case $cache_file in #(
16208         */* | ?:*)
16209           mv -f confcache "$cache_file"$$ &&
16210           mv -f "$cache_file"$$ "$cache_file" ;; #(
16211         *)
16212           mv -f confcache "$cache_file" ;;
16213         esac
16214       fi
16215     fi
16216   else
16217     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16219   fi
16220 fi
16221 rm -f confcache
16222
16223 CFLAGS=${CFLAGS:=}
16224 ac_ext=c
16225 ac_cpp='$CPP $CPPFLAGS'
16226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16229 if test -n "$ac_tool_prefix"; then
16230   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16231 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_prog_CC+:} false; then :
16235   $as_echo_n "(cached) " >&6
16236 else
16237   if test -n "$CC"; then
16238   ac_cv_prog_CC="$CC" # Let the user override the test.
16239 else
16240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16241 for as_dir in $PATH
16242 do
16243   IFS=$as_save_IFS
16244   test -z "$as_dir" && as_dir=.
16245     for ac_exec_ext in '' $ac_executable_extensions; do
16246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16247     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16249     break 2
16250   fi
16251 done
16252   done
16253 IFS=$as_save_IFS
16254
16255 fi
16256 fi
16257 CC=$ac_cv_prog_CC
16258 if test -n "$CC"; then
16259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16260 $as_echo "$CC" >&6; }
16261 else
16262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16264 fi
16265
16266
16267 fi
16268 if test -z "$ac_cv_prog_CC"; then
16269   ac_ct_CC=$CC
16270   # Extract the first word of "gcc", so it can be a program name with args.
16271 set dummy gcc; ac_word=$2
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16273 $as_echo_n "checking for $ac_word... " >&6; }
16274 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16275   $as_echo_n "(cached) " >&6
16276 else
16277   if test -n "$ac_ct_CC"; then
16278   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16279 else
16280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16281 for as_dir in $PATH
16282 do
16283   IFS=$as_save_IFS
16284   test -z "$as_dir" && as_dir=.
16285     for ac_exec_ext in '' $ac_executable_extensions; do
16286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16287     ac_cv_prog_ac_ct_CC="gcc"
16288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16289     break 2
16290   fi
16291 done
16292   done
16293 IFS=$as_save_IFS
16294
16295 fi
16296 fi
16297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16298 if test -n "$ac_ct_CC"; then
16299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16300 $as_echo "$ac_ct_CC" >&6; }
16301 else
16302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 $as_echo "no" >&6; }
16304 fi
16305
16306   if test "x$ac_ct_CC" = x; then
16307     CC=""
16308   else
16309     case $cross_compiling:$ac_tool_warned in
16310 yes:)
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16313 ac_tool_warned=yes ;;
16314 esac
16315     CC=$ac_ct_CC
16316   fi
16317 else
16318   CC="$ac_cv_prog_CC"
16319 fi
16320
16321 if test -z "$CC"; then
16322           if test -n "$ac_tool_prefix"; then
16323     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16324 set dummy ${ac_tool_prefix}cc; ac_word=$2
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16326 $as_echo_n "checking for $ac_word... " >&6; }
16327 if ${ac_cv_prog_CC+:} false; then :
16328   $as_echo_n "(cached) " >&6
16329 else
16330   if test -n "$CC"; then
16331   ac_cv_prog_CC="$CC" # Let the user override the test.
16332 else
16333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16334 for as_dir in $PATH
16335 do
16336   IFS=$as_save_IFS
16337   test -z "$as_dir" && as_dir=.
16338     for ac_exec_ext in '' $ac_executable_extensions; do
16339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16340     ac_cv_prog_CC="${ac_tool_prefix}cc"
16341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16342     break 2
16343   fi
16344 done
16345   done
16346 IFS=$as_save_IFS
16347
16348 fi
16349 fi
16350 CC=$ac_cv_prog_CC
16351 if test -n "$CC"; then
16352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16353 $as_echo "$CC" >&6; }
16354 else
16355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16356 $as_echo "no" >&6; }
16357 fi
16358
16359
16360   fi
16361 fi
16362 if test -z "$CC"; then
16363   # Extract the first word of "cc", so it can be a program name with args.
16364 set dummy cc; ac_word=$2
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16366 $as_echo_n "checking for $ac_word... " >&6; }
16367 if ${ac_cv_prog_CC+:} false; then :
16368   $as_echo_n "(cached) " >&6
16369 else
16370   if test -n "$CC"; then
16371   ac_cv_prog_CC="$CC" # Let the user override the test.
16372 else
16373   ac_prog_rejected=no
16374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16375 for as_dir in $PATH
16376 do
16377   IFS=$as_save_IFS
16378   test -z "$as_dir" && as_dir=.
16379     for ac_exec_ext in '' $ac_executable_extensions; do
16380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16381     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16382        ac_prog_rejected=yes
16383        continue
16384      fi
16385     ac_cv_prog_CC="cc"
16386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16387     break 2
16388   fi
16389 done
16390   done
16391 IFS=$as_save_IFS
16392
16393 if test $ac_prog_rejected = yes; then
16394   # We found a bogon in the path, so make sure we never use it.
16395   set dummy $ac_cv_prog_CC
16396   shift
16397   if test $# != 0; then
16398     # We chose a different compiler from the bogus one.
16399     # However, it has the same basename, so the bogon will be chosen
16400     # first if we set CC to just the basename; use the full file name.
16401     shift
16402     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16403   fi
16404 fi
16405 fi
16406 fi
16407 CC=$ac_cv_prog_CC
16408 if test -n "$CC"; then
16409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16410 $as_echo "$CC" >&6; }
16411 else
16412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16413 $as_echo "no" >&6; }
16414 fi
16415
16416
16417 fi
16418 if test -z "$CC"; then
16419   if test -n "$ac_tool_prefix"; then
16420   for ac_prog in cl.exe
16421   do
16422     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16425 $as_echo_n "checking for $ac_word... " >&6; }
16426 if ${ac_cv_prog_CC+:} false; then :
16427   $as_echo_n "(cached) " >&6
16428 else
16429   if test -n "$CC"; then
16430   ac_cv_prog_CC="$CC" # Let the user override the test.
16431 else
16432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16433 for as_dir in $PATH
16434 do
16435   IFS=$as_save_IFS
16436   test -z "$as_dir" && as_dir=.
16437     for ac_exec_ext in '' $ac_executable_extensions; do
16438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16439     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16441     break 2
16442   fi
16443 done
16444   done
16445 IFS=$as_save_IFS
16446
16447 fi
16448 fi
16449 CC=$ac_cv_prog_CC
16450 if test -n "$CC"; then
16451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16452 $as_echo "$CC" >&6; }
16453 else
16454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16455 $as_echo "no" >&6; }
16456 fi
16457
16458
16459     test -n "$CC" && break
16460   done
16461 fi
16462 if test -z "$CC"; then
16463   ac_ct_CC=$CC
16464   for ac_prog in cl.exe
16465 do
16466   # Extract the first word of "$ac_prog", so it can be a program name with args.
16467 set dummy $ac_prog; ac_word=$2
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16469 $as_echo_n "checking for $ac_word... " >&6; }
16470 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16471   $as_echo_n "(cached) " >&6
16472 else
16473   if test -n "$ac_ct_CC"; then
16474   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16475 else
16476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16477 for as_dir in $PATH
16478 do
16479   IFS=$as_save_IFS
16480   test -z "$as_dir" && as_dir=.
16481     for ac_exec_ext in '' $ac_executable_extensions; do
16482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16483     ac_cv_prog_ac_ct_CC="$ac_prog"
16484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16485     break 2
16486   fi
16487 done
16488   done
16489 IFS=$as_save_IFS
16490
16491 fi
16492 fi
16493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16494 if test -n "$ac_ct_CC"; then
16495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16496 $as_echo "$ac_ct_CC" >&6; }
16497 else
16498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16499 $as_echo "no" >&6; }
16500 fi
16501
16502
16503   test -n "$ac_ct_CC" && break
16504 done
16505
16506   if test "x$ac_ct_CC" = x; then
16507     CC=""
16508   else
16509     case $cross_compiling:$ac_tool_warned in
16510 yes:)
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16513 ac_tool_warned=yes ;;
16514 esac
16515     CC=$ac_ct_CC
16516   fi
16517 fi
16518
16519 fi
16520
16521
16522 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16524 as_fn_error $? "no acceptable C compiler found in \$PATH
16525 See \`config.log' for more details" "$LINENO" 5; }
16526
16527 # Provide some information about the compiler.
16528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16529 set X $ac_compile
16530 ac_compiler=$2
16531 for ac_option in --version -v -V -qversion; do
16532   { { ac_try="$ac_compiler $ac_option >&5"
16533 case "(($ac_try" in
16534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16535   *) ac_try_echo=$ac_try;;
16536 esac
16537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16538 $as_echo "$ac_try_echo"; } >&5
16539   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16540   ac_status=$?
16541   if test -s conftest.err; then
16542     sed '10a\
16543 ... rest of stderr output deleted ...
16544          10q' conftest.err >conftest.er1
16545     cat conftest.er1 >&5
16546   fi
16547   rm -f conftest.er1 conftest.err
16548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16549   test $ac_status = 0; }
16550 done
16551
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h.  */
16554
16555 int
16556 main ()
16557 {
16558
16559   ;
16560   return 0;
16561 }
16562 _ACEOF
16563 ac_clean_files_save=$ac_clean_files
16564 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16565 # Try to create an executable without -o first, disregard a.out.
16566 # It will help us diagnose broken compilers, and finding out an intuition
16567 # of exeext.
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16569 $as_echo_n "checking whether the C compiler works... " >&6; }
16570 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16571
16572 # The possible output files:
16573 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16574
16575 ac_rmfiles=
16576 for ac_file in $ac_files
16577 do
16578   case $ac_file in
16579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16580     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16581   esac
16582 done
16583 rm -f $ac_rmfiles
16584
16585 if { { ac_try="$ac_link_default"
16586 case "(($ac_try" in
16587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16588   *) ac_try_echo=$ac_try;;
16589 esac
16590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16591 $as_echo "$ac_try_echo"; } >&5
16592   (eval "$ac_link_default") 2>&5
16593   ac_status=$?
16594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16595   test $ac_status = 0; }; then :
16596   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16598 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
16599 # so that the user can short-circuit this test for compilers unknown to
16600 # Autoconf.
16601 for ac_file in $ac_files ''
16602 do
16603   test -f "$ac_file" || continue
16604   case $ac_file in
16605     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16606         ;;
16607     [ab].out )
16608         # We found the default executable, but exeext='' is most
16609         # certainly right.
16610         break;;
16611     *.* )
16612         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16613         then :; else
16614            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16615         fi
16616         # We set ac_cv_exeext here because the later test for it is not
16617         # safe: cross compilers may not add the suffix if given an `-o'
16618         # argument, so we may need to know it at that point already.
16619         # Even if this section looks crufty: it has the advantage of
16620         # actually working.
16621         break;;
16622     * )
16623         break;;
16624   esac
16625 done
16626 test "$ac_cv_exeext" = no && ac_cv_exeext=
16627
16628 else
16629   ac_file=''
16630 fi
16631 if test -z "$ac_file"; then :
16632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16633 $as_echo "no" >&6; }
16634 $as_echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16636
16637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16639 as_fn_error 77 "C compiler cannot create executables
16640 See \`config.log' for more details" "$LINENO" 5; }
16641 else
16642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16643 $as_echo "yes" >&6; }
16644 fi
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16646 $as_echo_n "checking for C compiler default output file name... " >&6; }
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16648 $as_echo "$ac_file" >&6; }
16649 ac_exeext=$ac_cv_exeext
16650
16651 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16652 ac_clean_files=$ac_clean_files_save
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16654 $as_echo_n "checking for suffix of executables... " >&6; }
16655 if { { ac_try="$ac_link"
16656 case "(($ac_try" in
16657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658   *) ac_try_echo=$ac_try;;
16659 esac
16660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16661 $as_echo "$ac_try_echo"; } >&5
16662   (eval "$ac_link") 2>&5
16663   ac_status=$?
16664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16665   test $ac_status = 0; }; then :
16666   # If both `conftest.exe' and `conftest' are `present' (well, observable)
16667 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
16668 # work properly (i.e., refer to `conftest.exe'), while it won't with
16669 # `rm'.
16670 for ac_file in conftest.exe conftest conftest.*; do
16671   test -f "$ac_file" || continue
16672   case $ac_file in
16673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16674     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16675           break;;
16676     * ) break;;
16677   esac
16678 done
16679 else
16680   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16682 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16683 See \`config.log' for more details" "$LINENO" 5; }
16684 fi
16685 rm -f conftest conftest$ac_cv_exeext
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16687 $as_echo "$ac_cv_exeext" >&6; }
16688
16689 rm -f conftest.$ac_ext
16690 EXEEXT=$ac_cv_exeext
16691 ac_exeext=$EXEEXT
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h.  */
16694 #include <stdio.h>
16695 int
16696 main ()
16697 {
16698 FILE *f = fopen ("conftest.out", "w");
16699  return ferror (f) || fclose (f) != 0;
16700
16701   ;
16702   return 0;
16703 }
16704 _ACEOF
16705 ac_clean_files="$ac_clean_files conftest.out"
16706 # Check that the compiler produces executables we can run.  If not, either
16707 # the compiler is broken, or we cross compile.
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16709 $as_echo_n "checking whether we are cross compiling... " >&6; }
16710 if test "$cross_compiling" != yes; then
16711   { { ac_try="$ac_link"
16712 case "(($ac_try" in
16713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714   *) ac_try_echo=$ac_try;;
16715 esac
16716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16717 $as_echo "$ac_try_echo"; } >&5
16718   (eval "$ac_link") 2>&5
16719   ac_status=$?
16720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16721   test $ac_status = 0; }
16722   if { ac_try='./conftest$ac_cv_exeext'
16723   { { case "(($ac_try" in
16724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725   *) ac_try_echo=$ac_try;;
16726 esac
16727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16728 $as_echo "$ac_try_echo"; } >&5
16729   (eval "$ac_try") 2>&5
16730   ac_status=$?
16731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16732   test $ac_status = 0; }; }; then
16733     cross_compiling=no
16734   else
16735     if test "$cross_compiling" = maybe; then
16736         cross_compiling=yes
16737     else
16738         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16740 as_fn_error $? "cannot run C compiled programs.
16741 If you meant to cross compile, use \`--host'.
16742 See \`config.log' for more details" "$LINENO" 5; }
16743     fi
16744   fi
16745 fi
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16747 $as_echo "$cross_compiling" >&6; }
16748
16749 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16750 ac_clean_files=$ac_clean_files_save
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16752 $as_echo_n "checking for suffix of object files... " >&6; }
16753 if ${ac_cv_objext+:} false; then :
16754   $as_echo_n "(cached) " >&6
16755 else
16756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h.  */
16758
16759 int
16760 main ()
16761 {
16762
16763   ;
16764   return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest.o conftest.obj
16768 if { { ac_try="$ac_compile"
16769 case "(($ac_try" in
16770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771   *) ac_try_echo=$ac_try;;
16772 esac
16773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16774 $as_echo "$ac_try_echo"; } >&5
16775   (eval "$ac_compile") 2>&5
16776   ac_status=$?
16777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16778   test $ac_status = 0; }; then :
16779   for ac_file in conftest.o conftest.obj conftest.*; do
16780   test -f "$ac_file" || continue;
16781   case $ac_file in
16782     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16783     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16784        break;;
16785   esac
16786 done
16787 else
16788   $as_echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16793 as_fn_error $? "cannot compute suffix of object files: cannot compile
16794 See \`config.log' for more details" "$LINENO" 5; }
16795 fi
16796 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16797 fi
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16799 $as_echo "$ac_cv_objext" >&6; }
16800 OBJEXT=$ac_cv_objext
16801 ac_objext=$OBJEXT
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16804 if ${ac_cv_c_compiler_gnu+:} false; then :
16805   $as_echo_n "(cached) " >&6
16806 else
16807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h.  */
16809
16810 int
16811 main ()
16812 {
16813 #ifndef __GNUC__
16814        choke me
16815 #endif
16816
16817   ;
16818   return 0;
16819 }
16820 _ACEOF
16821 if ac_fn_c_try_compile "$LINENO"; then :
16822   ac_compiler_gnu=yes
16823 else
16824   ac_compiler_gnu=no
16825 fi
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16828
16829 fi
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16831 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16832 if test $ac_compiler_gnu = yes; then
16833   GCC=yes
16834 else
16835   GCC=
16836 fi
16837 ac_test_CFLAGS=${CFLAGS+set}
16838 ac_save_CFLAGS=$CFLAGS
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16840 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16841 if ${ac_cv_prog_cc_g+:} false; then :
16842   $as_echo_n "(cached) " >&6
16843 else
16844   ac_save_c_werror_flag=$ac_c_werror_flag
16845    ac_c_werror_flag=yes
16846    ac_cv_prog_cc_g=no
16847    CFLAGS="-g"
16848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h.  */
16850
16851 int
16852 main ()
16853 {
16854
16855   ;
16856   return 0;
16857 }
16858 _ACEOF
16859 if ac_fn_c_try_compile "$LINENO"; then :
16860   ac_cv_prog_cc_g=yes
16861 else
16862   CFLAGS=""
16863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h.  */
16865
16866 int
16867 main ()
16868 {
16869
16870   ;
16871   return 0;
16872 }
16873 _ACEOF
16874 if ac_fn_c_try_compile "$LINENO"; then :
16875
16876 else
16877   ac_c_werror_flag=$ac_save_c_werror_flag
16878          CFLAGS="-g"
16879          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h.  */
16881
16882 int
16883 main ()
16884 {
16885
16886   ;
16887   return 0;
16888 }
16889 _ACEOF
16890 if ac_fn_c_try_compile "$LINENO"; then :
16891   ac_cv_prog_cc_g=yes
16892 fi
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16894 fi
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16896 fi
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898    ac_c_werror_flag=$ac_save_c_werror_flag
16899 fi
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16901 $as_echo "$ac_cv_prog_cc_g" >&6; }
16902 if test "$ac_test_CFLAGS" = set; then
16903   CFLAGS=$ac_save_CFLAGS
16904 elif test $ac_cv_prog_cc_g = yes; then
16905   if test "$GCC" = yes; then
16906     CFLAGS="-g -O2"
16907   else
16908     CFLAGS="-g"
16909   fi
16910 else
16911   if test "$GCC" = yes; then
16912     CFLAGS="-O2"
16913   else
16914     CFLAGS=
16915   fi
16916 fi
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16919 if ${ac_cv_prog_cc_c89+:} false; then :
16920   $as_echo_n "(cached) " >&6
16921 else
16922   ac_cv_prog_cc_c89=no
16923 ac_save_CC=$CC
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h.  */
16926 #include <stdarg.h>
16927 #include <stdio.h>
16928 struct stat;
16929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16930 struct buf { int x; };
16931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16932 static char *e (p, i)
16933      char **p;
16934      int i;
16935 {
16936   return p[i];
16937 }
16938 static char *f (char * (*g) (char **, int), char **p, ...)
16939 {
16940   char *s;
16941   va_list v;
16942   va_start (v,p);
16943   s = g (p, va_arg (v,int));
16944   va_end (v);
16945   return s;
16946 }
16947
16948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16949    function prototypes and stuff, but not '\xHH' hex character constants.
16950    These don't provoke an error unfortunately, instead are silently treated
16951    as 'x'.  The following induces an error, until -std is added to get
16952    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16953    array size at least.  It's necessary to write '\x00'==0 to get something
16954    that's true only with -std.  */
16955 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16956
16957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16958    inside strings and character constants.  */
16959 #define FOO(x) 'x'
16960 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16961
16962 int test (int i, double x);
16963 struct s1 {int (*f) (int a);};
16964 struct s2 {int (*f) (double a);};
16965 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16966 int argc;
16967 char **argv;
16968 int
16969 main ()
16970 {
16971 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16972   ;
16973   return 0;
16974 }
16975 _ACEOF
16976 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16977         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16978 do
16979   CC="$ac_save_CC $ac_arg"
16980   if ac_fn_c_try_compile "$LINENO"; then :
16981   ac_cv_prog_cc_c89=$ac_arg
16982 fi
16983 rm -f core conftest.err conftest.$ac_objext
16984   test "x$ac_cv_prog_cc_c89" != "xno" && break
16985 done
16986 rm -f conftest.$ac_ext
16987 CC=$ac_save_CC
16988
16989 fi
16990 # AC_CACHE_VAL
16991 case "x$ac_cv_prog_cc_c89" in
16992   x)
16993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16994 $as_echo "none needed" >&6; } ;;
16995   xno)
16996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16997 $as_echo "unsupported" >&6; } ;;
16998   *)
16999     CC="$CC $ac_cv_prog_cc_c89"
17000     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17001 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17002 esac
17003 if test "x$ac_cv_prog_cc_c89" != xno; then :
17004
17005 fi
17006
17007 ac_ext=c
17008 ac_cpp='$CPP $CPPFLAGS'
17009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17012
17013
17014
17015
17016
17017
17018
17019
17020     ac_ext=c
17021 ac_cpp='$CPP $CPPFLAGS'
17022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17025
17026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17027 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17028 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17029   $as_echo_n "(cached) " >&6
17030 else
17031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h.  */
17033
17034 int
17035 main ()
17036 {
17037
17038              #ifndef __INTEL_COMPILER
17039                 choke me
17040              #endif
17041
17042   ;
17043   return 0;
17044 }
17045 _ACEOF
17046 if ac_fn_c_try_compile "$LINENO"; then :
17047   bakefile_cv_c_compiler___INTEL_COMPILER=yes
17048 else
17049   bakefile_cv_c_compiler___INTEL_COMPILER=no
17050
17051 fi
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053
17054
17055 fi
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17057 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17058     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17059         :; INTELCC=yes
17060     else
17061         :;
17062     fi
17063     ac_ext=c
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17068
17069
17070
17071
17072         if test "$INTELCC" = "yes"; then
17073
17074
17075     ac_ext=c
17076 ac_cpp='$CPP $CPPFLAGS'
17077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17080
17081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17082 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17083 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17084   $as_echo_n "(cached) " >&6
17085 else
17086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h.  */
17088
17089 int
17090 main ()
17091 {
17092
17093              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17094                 choke me
17095              #endif
17096
17097   ;
17098   return 0;
17099 }
17100 _ACEOF
17101 if ac_fn_c_try_compile "$LINENO"; then :
17102   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17103 else
17104   bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17105
17106 fi
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108
17109
17110 fi
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17112 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17113     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17114         :; INTELCC8=yes
17115     else
17116         :;
17117     fi
17118     ac_ext=c
17119 ac_cpp='$CPP $CPPFLAGS'
17120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17123
17124
17125
17126
17127
17128     ac_ext=c
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133
17134     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17135 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17136 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17137   $as_echo_n "(cached) " >&6
17138 else
17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h.  */
17141
17142 int
17143 main ()
17144 {
17145
17146              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17147                 choke me
17148              #endif
17149
17150   ;
17151   return 0;
17152 }
17153 _ACEOF
17154 if ac_fn_c_try_compile "$LINENO"; then :
17155   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17156 else
17157   bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17158
17159 fi
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161
17162
17163 fi
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17165 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17166     if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17167         :; INTELCC10=yes
17168     else
17169         :;
17170     fi
17171     ac_ext=c
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176
17177
17178
17179     fi
17180
17181         if test "x$GCC" != "xyes"; then
17182         if test "xCC" = "xC"; then
17183             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17184 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17185 if ${bakefile_cv_c_exto+:} false; then :
17186   $as_echo_n "(cached) " >&6
17187 else
17188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h.  */
17190
17191 int
17192 main ()
17193 {
17194
17195   ;
17196   return 0;
17197 }
17198 _ACEOF
17199 rm -f conftest.$ac_objext conftest.$ac_ext.o
17200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17201   (eval $ac_compile) 2>&5
17202   ac_status=$?
17203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17204   test $ac_status = 0; }; then :
17205   for ac_file in `(ls conftest.* 2>/dev/null)`; do
17206     case $ac_file in
17207         conftest.$ac_ext.o)
17208             bakefile_cv_c_exto="-ext o"
17209             ;;
17210         *)
17211             ;;
17212     esac
17213 done
17214 else
17215   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17217 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17218 See \`config.log' for more details" "$LINENO" 5; }
17219
17220 fi
17221 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17222
17223 fi
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17225 $as_echo "$bakefile_cv_c_exto" >&6; }
17226 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17227     if test "c" = "c"; then
17228         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17229     fi
17230     if test "c" = "cxx"; then
17231         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17232     fi
17233 fi
17234
17235             if test "x$bakefile_cv_c_exto" '!=' "x"; then
17236                 unset ac_cv_prog_cc_g
17237                 ac_test_CFLAGS=${CFLAGS+set}
17238 ac_save_CFLAGS=$CFLAGS
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17241 if ${ac_cv_prog_cc_g+:} false; then :
17242   $as_echo_n "(cached) " >&6
17243 else
17244   ac_save_c_werror_flag=$ac_c_werror_flag
17245    ac_c_werror_flag=yes
17246    ac_cv_prog_cc_g=no
17247    CFLAGS="-g"
17248    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h.  */
17250
17251 int
17252 main ()
17253 {
17254
17255   ;
17256   return 0;
17257 }
17258 _ACEOF
17259 if ac_fn_c_try_compile "$LINENO"; then :
17260   ac_cv_prog_cc_g=yes
17261 else
17262   CFLAGS=""
17263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h.  */
17265
17266 int
17267 main ()
17268 {
17269
17270   ;
17271   return 0;
17272 }
17273 _ACEOF
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275
17276 else
17277   ac_c_werror_flag=$ac_save_c_werror_flag
17278          CFLAGS="-g"
17279          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h.  */
17281
17282 int
17283 main ()
17284 {
17285
17286   ;
17287   return 0;
17288 }
17289 _ACEOF
17290 if ac_fn_c_try_compile "$LINENO"; then :
17291   ac_cv_prog_cc_g=yes
17292 fi
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 fi
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17296 fi
17297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298    ac_c_werror_flag=$ac_save_c_werror_flag
17299 fi
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17301 $as_echo "$ac_cv_prog_cc_g" >&6; }
17302 if test "$ac_test_CFLAGS" = set; then
17303   CFLAGS=$ac_save_CFLAGS
17304 elif test $ac_cv_prog_cc_g = yes; then
17305   if test "$GCC" = yes; then
17306     CFLAGS="-g -O2"
17307   else
17308     CFLAGS="-g"
17309   fi
17310 else
17311   if test "$GCC" = yes; then
17312     CFLAGS="-O2"
17313   else
17314     CFLAGS=
17315   fi
17316 fi
17317             fi
17318         fi
17319
17320                         case `uname -s` in
17321             AIX*)
17322
17323
17324     ac_ext=c
17325 ac_cpp='$CPP $CPPFLAGS'
17326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17329
17330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17331 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17332 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17333   $as_echo_n "(cached) " >&6
17334 else
17335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h.  */
17337
17338 int
17339 main ()
17340 {
17341
17342              #ifndef __xlC__
17343                 choke me
17344              #endif
17345
17346   ;
17347   return 0;
17348 }
17349 _ACEOF
17350 if ac_fn_c_try_compile "$LINENO"; then :
17351   bakefile_cv_c_compiler___xlC__=yes
17352 else
17353   bakefile_cv_c_compiler___xlC__=no
17354
17355 fi
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357
17358
17359 fi
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17361 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17362     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17363         :; XLCC=yes
17364     else
17365         :;
17366     fi
17367     ac_ext=c
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17372
17373
17374
17375                 ;;
17376
17377             Darwin)
17378
17379
17380     ac_ext=c
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17385
17386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17387 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17388 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17389   $as_echo_n "(cached) " >&6
17390 else
17391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h.  */
17393
17394 int
17395 main ()
17396 {
17397
17398              #ifndef __MWERKS__
17399                 choke me
17400              #endif
17401
17402   ;
17403   return 0;
17404 }
17405 _ACEOF
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407   bakefile_cv_c_compiler___MWERKS__=yes
17408 else
17409   bakefile_cv_c_compiler___MWERKS__=no
17410
17411 fi
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413
17414
17415 fi
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17417 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17418     if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17419         :; MWCC=yes
17420     else
17421         :;
17422     fi
17423     ac_ext=c
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17428
17429
17430
17431                 if test "$MWCC" != "yes"; then
17432
17433
17434     ac_ext=c
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17439
17440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17441 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17443   $as_echo_n "(cached) " >&6
17444 else
17445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h.  */
17447
17448 int
17449 main ()
17450 {
17451
17452              #ifndef __xlC__
17453                 choke me
17454              #endif
17455
17456   ;
17457   return 0;
17458 }
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461   bakefile_cv_c_compiler___xlC__=yes
17462 else
17463   bakefile_cv_c_compiler___xlC__=no
17464
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467
17468
17469 fi
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17472     if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17473         :; XLCC=yes
17474     else
17475         :;
17476     fi
17477     ac_ext=c
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17482
17483
17484
17485                 fi
17486                 ;;
17487
17488             IRIX*)
17489
17490
17491     ac_ext=c
17492 ac_cpp='$CPP $CPPFLAGS'
17493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496
17497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17498 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17499 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17500   $as_echo_n "(cached) " >&6
17501 else
17502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h.  */
17504
17505 int
17506 main ()
17507 {
17508
17509              #ifndef _SGI_COMPILER_VERSION
17510                 choke me
17511              #endif
17512
17513   ;
17514   return 0;
17515 }
17516 _ACEOF
17517 if ac_fn_c_try_compile "$LINENO"; then :
17518   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17519 else
17520   bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17521
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525
17526 fi
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17528 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17529     if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17530         :; SGICC=yes
17531     else
17532         :;
17533     fi
17534     ac_ext=c
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17539
17540
17541
17542                 ;;
17543
17544             Linux*)
17545                                                 if test "$INTELCC" != "yes"; then
17546
17547
17548     ac_ext=c
17549 ac_cpp='$CPP $CPPFLAGS'
17550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17553
17554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17555 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17556 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17557   $as_echo_n "(cached) " >&6
17558 else
17559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h.  */
17561
17562 int
17563 main ()
17564 {
17565
17566              #ifndef __SUNPRO_C
17567                 choke me
17568              #endif
17569
17570   ;
17571   return 0;
17572 }
17573 _ACEOF
17574 if ac_fn_c_try_compile "$LINENO"; then :
17575   bakefile_cv_c_compiler___SUNPRO_C=yes
17576 else
17577   bakefile_cv_c_compiler___SUNPRO_C=no
17578
17579 fi
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581
17582
17583 fi
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17585 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17586     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17587         :; SUNCC=yes
17588     else
17589         :;
17590     fi
17591     ac_ext=c
17592 ac_cpp='$CPP $CPPFLAGS'
17593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17596
17597
17598
17599                 fi
17600                 ;;
17601
17602             HP-UX*)
17603
17604
17605     ac_ext=c
17606 ac_cpp='$CPP $CPPFLAGS'
17607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17610
17611     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17612 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17613 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17614   $as_echo_n "(cached) " >&6
17615 else
17616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h.  */
17618
17619 int
17620 main ()
17621 {
17622
17623              #ifndef __HP_cc
17624                 choke me
17625              #endif
17626
17627   ;
17628   return 0;
17629 }
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632   bakefile_cv_c_compiler___HP_cc=yes
17633 else
17634   bakefile_cv_c_compiler___HP_cc=no
17635
17636 fi
17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17638
17639
17640 fi
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17642 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17643     if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17644         :; HPCC=yes
17645     else
17646         :;
17647     fi
17648     ac_ext=c
17649 ac_cpp='$CPP $CPPFLAGS'
17650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17653
17654
17655
17656                 ;;
17657
17658             OSF1)
17659
17660
17661     ac_ext=c
17662 ac_cpp='$CPP $CPPFLAGS'
17663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666
17667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17668 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17669 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17670   $as_echo_n "(cached) " >&6
17671 else
17672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h.  */
17674
17675 int
17676 main ()
17677 {
17678
17679              #ifndef __DECC
17680                 choke me
17681              #endif
17682
17683   ;
17684   return 0;
17685 }
17686 _ACEOF
17687 if ac_fn_c_try_compile "$LINENO"; then :
17688   bakefile_cv_c_compiler___DECC=yes
17689 else
17690   bakefile_cv_c_compiler___DECC=no
17691
17692 fi
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694
17695
17696 fi
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17698 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17699     if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17700         :; COMPAQCC=yes
17701     else
17702         :;
17703     fi
17704     ac_ext=c
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709
17710
17711
17712                 ;;
17713
17714             SunOS)
17715
17716
17717     ac_ext=c
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722
17723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17724 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17725 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17726   $as_echo_n "(cached) " >&6
17727 else
17728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h.  */
17730
17731 int
17732 main ()
17733 {
17734
17735              #ifndef __SUNPRO_C
17736                 choke me
17737              #endif
17738
17739   ;
17740   return 0;
17741 }
17742 _ACEOF
17743 if ac_fn_c_try_compile "$LINENO"; then :
17744   bakefile_cv_c_compiler___SUNPRO_C=yes
17745 else
17746   bakefile_cv_c_compiler___SUNPRO_C=no
17747
17748 fi
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17750
17751
17752 fi
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17754 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17755     if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17756         :; SUNCC=yes
17757     else
17758         :;
17759     fi
17760     ac_ext=c
17761 ac_cpp='$CPP $CPPFLAGS'
17762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17765
17766
17767
17768                 ;;
17769         esac
17770     fi
17771
17772
17773
17774 ac_ext=c
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17780 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17781 # On Suns, sometimes $CPP names a directory.
17782 if test -n "$CPP" && test -d "$CPP"; then
17783   CPP=
17784 fi
17785 if test -z "$CPP"; then
17786   if ${ac_cv_prog_CPP+:} false; then :
17787   $as_echo_n "(cached) " >&6
17788 else
17789       # Double quotes because CPP needs to be expanded
17790     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17791     do
17792       ac_preproc_ok=false
17793 for ac_c_preproc_warn_flag in '' yes
17794 do
17795   # Use a header file that comes with gcc, so configuring glibc
17796   # with a fresh cross-compiler works.
17797   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17798   # <limits.h> exists even on freestanding compilers.
17799   # On the NeXT, cc -E runs the code through the compiler's parser,
17800   # not just through cpp. "Syntax error" is here to catch this case.
17801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h.  */
17803 #ifdef __STDC__
17804 # include <limits.h>
17805 #else
17806 # include <assert.h>
17807 #endif
17808                      Syntax error
17809 _ACEOF
17810 if ac_fn_c_try_cpp "$LINENO"; then :
17811
17812 else
17813   # Broken: fails on valid input.
17814 continue
17815 fi
17816 rm -f conftest.err conftest.i conftest.$ac_ext
17817
17818   # OK, works on sane cases.  Now check whether nonexistent headers
17819   # can be detected and how.
17820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h.  */
17822 #include <ac_nonexistent.h>
17823 _ACEOF
17824 if ac_fn_c_try_cpp "$LINENO"; then :
17825   # Broken: success on invalid input.
17826 continue
17827 else
17828   # Passes both tests.
17829 ac_preproc_ok=:
17830 break
17831 fi
17832 rm -f conftest.err conftest.i conftest.$ac_ext
17833
17834 done
17835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17836 rm -f conftest.i conftest.err conftest.$ac_ext
17837 if $ac_preproc_ok; then :
17838   break
17839 fi
17840
17841     done
17842     ac_cv_prog_CPP=$CPP
17843
17844 fi
17845   CPP=$ac_cv_prog_CPP
17846 else
17847   ac_cv_prog_CPP=$CPP
17848 fi
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17850 $as_echo "$CPP" >&6; }
17851 ac_preproc_ok=false
17852 for ac_c_preproc_warn_flag in '' yes
17853 do
17854   # Use a header file that comes with gcc, so configuring glibc
17855   # with a fresh cross-compiler works.
17856   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17857   # <limits.h> exists even on freestanding compilers.
17858   # On the NeXT, cc -E runs the code through the compiler's parser,
17859   # not just through cpp. "Syntax error" is here to catch this case.
17860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h.  */
17862 #ifdef __STDC__
17863 # include <limits.h>
17864 #else
17865 # include <assert.h>
17866 #endif
17867                      Syntax error
17868 _ACEOF
17869 if ac_fn_c_try_cpp "$LINENO"; then :
17870
17871 else
17872   # Broken: fails on valid input.
17873 continue
17874 fi
17875 rm -f conftest.err conftest.i conftest.$ac_ext
17876
17877   # OK, works on sane cases.  Now check whether nonexistent headers
17878   # can be detected and how.
17879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h.  */
17881 #include <ac_nonexistent.h>
17882 _ACEOF
17883 if ac_fn_c_try_cpp "$LINENO"; then :
17884   # Broken: success on invalid input.
17885 continue
17886 else
17887   # Passes both tests.
17888 ac_preproc_ok=:
17889 break
17890 fi
17891 rm -f conftest.err conftest.i conftest.$ac_ext
17892
17893 done
17894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17895 rm -f conftest.i conftest.err conftest.$ac_ext
17896 if $ac_preproc_ok; then :
17897
17898 else
17899   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17901 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17902 See \`config.log' for more details" "$LINENO" 5; }
17903 fi
17904
17905 ac_ext=c
17906 ac_cpp='$CPP $CPPFLAGS'
17907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910
17911
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17914 if ${ac_cv_path_GREP+:} false; then :
17915   $as_echo_n "(cached) " >&6
17916 else
17917   if test -z "$GREP"; then
17918   ac_path_GREP_found=false
17919   # Loop through the user's path and test for each of PROGNAME-LIST
17920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17922 do
17923   IFS=$as_save_IFS
17924   test -z "$as_dir" && as_dir=.
17925     for ac_prog in grep ggrep; do
17926     for ac_exec_ext in '' $ac_executable_extensions; do
17927       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17928       as_fn_executable_p "$ac_path_GREP" || continue
17929 # Check for GNU ac_path_GREP and select it if it is found.
17930   # Check for GNU $ac_path_GREP
17931 case `"$ac_path_GREP" --version 2>&1` in
17932 *GNU*)
17933   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17934 *)
17935   ac_count=0
17936   $as_echo_n 0123456789 >"conftest.in"
17937   while :
17938   do
17939     cat "conftest.in" "conftest.in" >"conftest.tmp"
17940     mv "conftest.tmp" "conftest.in"
17941     cp "conftest.in" "conftest.nl"
17942     $as_echo 'GREP' >> "conftest.nl"
17943     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17944     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17945     as_fn_arith $ac_count + 1 && ac_count=$as_val
17946     if test $ac_count -gt ${ac_path_GREP_max-0}; then
17947       # Best one so far, save it but keep looking for a better one
17948       ac_cv_path_GREP="$ac_path_GREP"
17949       ac_path_GREP_max=$ac_count
17950     fi
17951     # 10*(2^10) chars as input seems more than enough
17952     test $ac_count -gt 10 && break
17953   done
17954   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17955 esac
17956
17957       $ac_path_GREP_found && break 3
17958     done
17959   done
17960   done
17961 IFS=$as_save_IFS
17962   if test -z "$ac_cv_path_GREP"; then
17963     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17964   fi
17965 else
17966   ac_cv_path_GREP=$GREP
17967 fi
17968
17969 fi
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17971 $as_echo "$ac_cv_path_GREP" >&6; }
17972  GREP="$ac_cv_path_GREP"
17973
17974
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17976 $as_echo_n "checking for egrep... " >&6; }
17977 if ${ac_cv_path_EGREP+:} false; then :
17978   $as_echo_n "(cached) " >&6
17979 else
17980   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17981    then ac_cv_path_EGREP="$GREP -E"
17982    else
17983      if test -z "$EGREP"; then
17984   ac_path_EGREP_found=false
17985   # Loop through the user's path and test for each of PROGNAME-LIST
17986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17988 do
17989   IFS=$as_save_IFS
17990   test -z "$as_dir" && as_dir=.
17991     for ac_prog in egrep; do
17992     for ac_exec_ext in '' $ac_executable_extensions; do
17993       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17994       as_fn_executable_p "$ac_path_EGREP" || continue
17995 # Check for GNU ac_path_EGREP and select it if it is found.
17996   # Check for GNU $ac_path_EGREP
17997 case `"$ac_path_EGREP" --version 2>&1` in
17998 *GNU*)
17999   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18000 *)
18001   ac_count=0
18002   $as_echo_n 0123456789 >"conftest.in"
18003   while :
18004   do
18005     cat "conftest.in" "conftest.in" >"conftest.tmp"
18006     mv "conftest.tmp" "conftest.in"
18007     cp "conftest.in" "conftest.nl"
18008     $as_echo 'EGREP' >> "conftest.nl"
18009     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18010     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18011     as_fn_arith $ac_count + 1 && ac_count=$as_val
18012     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18013       # Best one so far, save it but keep looking for a better one
18014       ac_cv_path_EGREP="$ac_path_EGREP"
18015       ac_path_EGREP_max=$ac_count
18016     fi
18017     # 10*(2^10) chars as input seems more than enough
18018     test $ac_count -gt 10 && break
18019   done
18020   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18021 esac
18022
18023       $ac_path_EGREP_found && break 3
18024     done
18025   done
18026   done
18027 IFS=$as_save_IFS
18028   if test -z "$ac_cv_path_EGREP"; then
18029     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18030   fi
18031 else
18032   ac_cv_path_EGREP=$EGREP
18033 fi
18034
18035    fi
18036 fi
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18038 $as_echo "$ac_cv_path_EGREP" >&6; }
18039  EGREP="$ac_cv_path_EGREP"
18040
18041
18042 if test $ac_cv_c_compiler_gnu = yes; then
18043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18044 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18045 if ${ac_cv_prog_gcc_traditional+:} false; then :
18046   $as_echo_n "(cached) " >&6
18047 else
18048     ac_pattern="Autoconf.*'x'"
18049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h.  */
18051 #include <sgtty.h>
18052 Autoconf TIOCGETP
18053 _ACEOF
18054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18055   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18056   ac_cv_prog_gcc_traditional=yes
18057 else
18058   ac_cv_prog_gcc_traditional=no
18059 fi
18060 rm -f conftest*
18061
18062
18063   if test $ac_cv_prog_gcc_traditional = no; then
18064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18065 /* end confdefs.h.  */
18066 #include <termio.h>
18067 Autoconf TCGETA
18068 _ACEOF
18069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18070   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18071   ac_cv_prog_gcc_traditional=yes
18072 fi
18073 rm -f conftest*
18074
18075   fi
18076 fi
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18078 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18079   if test $ac_cv_prog_gcc_traditional = yes; then
18080     CC="$CC -traditional"
18081   fi
18082 fi
18083
18084
18085 CXXFLAGS=${CXXFLAGS:=}
18086 ac_ext=cpp
18087 ac_cpp='$CXXCPP $CPPFLAGS'
18088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18091 if test -z "$CXX"; then
18092   if test -n "$CCC"; then
18093     CXX=$CCC
18094   else
18095     if test -n "$ac_tool_prefix"; then
18096   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18097   do
18098     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18101 $as_echo_n "checking for $ac_word... " >&6; }
18102 if ${ac_cv_prog_CXX+:} false; then :
18103   $as_echo_n "(cached) " >&6
18104 else
18105   if test -n "$CXX"; then
18106   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18107 else
18108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18109 for as_dir in $PATH
18110 do
18111   IFS=$as_save_IFS
18112   test -z "$as_dir" && as_dir=.
18113     for ac_exec_ext in '' $ac_executable_extensions; do
18114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18115     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18117     break 2
18118   fi
18119 done
18120   done
18121 IFS=$as_save_IFS
18122
18123 fi
18124 fi
18125 CXX=$ac_cv_prog_CXX
18126 if test -n "$CXX"; then
18127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18128 $as_echo "$CXX" >&6; }
18129 else
18130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18131 $as_echo "no" >&6; }
18132 fi
18133
18134
18135     test -n "$CXX" && break
18136   done
18137 fi
18138 if test -z "$CXX"; then
18139   ac_ct_CXX=$CXX
18140   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18141 do
18142   # Extract the first word of "$ac_prog", so it can be a program name with args.
18143 set dummy $ac_prog; ac_word=$2
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18145 $as_echo_n "checking for $ac_word... " >&6; }
18146 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18147   $as_echo_n "(cached) " >&6
18148 else
18149   if test -n "$ac_ct_CXX"; then
18150   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18151 else
18152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18153 for as_dir in $PATH
18154 do
18155   IFS=$as_save_IFS
18156   test -z "$as_dir" && as_dir=.
18157     for ac_exec_ext in '' $ac_executable_extensions; do
18158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18159     ac_cv_prog_ac_ct_CXX="$ac_prog"
18160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18161     break 2
18162   fi
18163 done
18164   done
18165 IFS=$as_save_IFS
18166
18167 fi
18168 fi
18169 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18170 if test -n "$ac_ct_CXX"; then
18171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18172 $as_echo "$ac_ct_CXX" >&6; }
18173 else
18174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18175 $as_echo "no" >&6; }
18176 fi
18177
18178
18179   test -n "$ac_ct_CXX" && break
18180 done
18181
18182   if test "x$ac_ct_CXX" = x; then
18183     CXX="g++"
18184   else
18185     case $cross_compiling:$ac_tool_warned in
18186 yes:)
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18189 ac_tool_warned=yes ;;
18190 esac
18191     CXX=$ac_ct_CXX
18192   fi
18193 fi
18194
18195   fi
18196 fi
18197 # Provide some information about the compiler.
18198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18199 set X $ac_compile
18200 ac_compiler=$2
18201 for ac_option in --version -v -V -qversion; do
18202   { { ac_try="$ac_compiler $ac_option >&5"
18203 case "(($ac_try" in
18204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18205   *) ac_try_echo=$ac_try;;
18206 esac
18207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18208 $as_echo "$ac_try_echo"; } >&5
18209   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18210   ac_status=$?
18211   if test -s conftest.err; then
18212     sed '10a\
18213 ... rest of stderr output deleted ...
18214          10q' conftest.err >conftest.er1
18215     cat conftest.er1 >&5
18216   fi
18217   rm -f conftest.er1 conftest.err
18218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18219   test $ac_status = 0; }
18220 done
18221
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18223 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18224 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18225   $as_echo_n "(cached) " >&6
18226 else
18227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h.  */
18229
18230 int
18231 main ()
18232 {
18233 #ifndef __GNUC__
18234        choke me
18235 #endif
18236
18237   ;
18238   return 0;
18239 }
18240 _ACEOF
18241 if ac_fn_cxx_try_compile "$LINENO"; then :
18242   ac_compiler_gnu=yes
18243 else
18244   ac_compiler_gnu=no
18245 fi
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18248
18249 fi
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18251 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18252 if test $ac_compiler_gnu = yes; then
18253   GXX=yes
18254 else
18255   GXX=
18256 fi
18257 ac_test_CXXFLAGS=${CXXFLAGS+set}
18258 ac_save_CXXFLAGS=$CXXFLAGS
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18260 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18261 if ${ac_cv_prog_cxx_g+:} false; then :
18262   $as_echo_n "(cached) " >&6
18263 else
18264   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18265    ac_cxx_werror_flag=yes
18266    ac_cv_prog_cxx_g=no
18267    CXXFLAGS="-g"
18268    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h.  */
18270
18271 int
18272 main ()
18273 {
18274
18275   ;
18276   return 0;
18277 }
18278 _ACEOF
18279 if ac_fn_cxx_try_compile "$LINENO"; then :
18280   ac_cv_prog_cxx_g=yes
18281 else
18282   CXXFLAGS=""
18283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h.  */
18285
18286 int
18287 main ()
18288 {
18289
18290   ;
18291   return 0;
18292 }
18293 _ACEOF
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18295
18296 else
18297   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18298          CXXFLAGS="-g"
18299          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h.  */
18301
18302 int
18303 main ()
18304 {
18305
18306   ;
18307   return 0;
18308 }
18309 _ACEOF
18310 if ac_fn_cxx_try_compile "$LINENO"; then :
18311   ac_cv_prog_cxx_g=yes
18312 fi
18313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18314 fi
18315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18319 fi
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18321 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18322 if test "$ac_test_CXXFLAGS" = set; then
18323   CXXFLAGS=$ac_save_CXXFLAGS
18324 elif test $ac_cv_prog_cxx_g = yes; then
18325   if test "$GXX" = yes; then
18326     CXXFLAGS="-g -O2"
18327   else
18328     CXXFLAGS="-g"
18329   fi
18330 else
18331   if test "$GXX" = yes; then
18332     CXXFLAGS="-O2"
18333   else
18334     CXXFLAGS=
18335   fi
18336 fi
18337 ac_ext=c
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18342
18343
18344
18345
18346
18347
18348
18349
18350     ac_ext=cpp
18351 ac_cpp='$CXXCPP $CPPFLAGS'
18352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18355
18356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18357 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18358 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18359   $as_echo_n "(cached) " >&6
18360 else
18361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h.  */
18363
18364 int
18365 main ()
18366 {
18367
18368              #ifndef __INTEL_COMPILER
18369                 choke me
18370              #endif
18371
18372   ;
18373   return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_cxx_try_compile "$LINENO"; then :
18377   bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18378 else
18379   bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18380
18381 fi
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383
18384
18385 fi
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18387 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18388     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18389         :; INTELCXX=yes
18390     else
18391         :;
18392     fi
18393     ac_ext=c
18394 ac_cpp='$CPP $CPPFLAGS'
18395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18398
18399
18400
18401
18402         if test "$INTELCXX" = "yes"; then
18403
18404
18405     ac_ext=cpp
18406 ac_cpp='$CXXCPP $CPPFLAGS'
18407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18410
18411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18412 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18413 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18414   $as_echo_n "(cached) " >&6
18415 else
18416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417 /* end confdefs.h.  */
18418
18419 int
18420 main ()
18421 {
18422
18423              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18424                 choke me
18425              #endif
18426
18427   ;
18428   return 0;
18429 }
18430 _ACEOF
18431 if ac_fn_cxx_try_compile "$LINENO"; then :
18432   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18433 else
18434   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18435
18436 fi
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438
18439
18440 fi
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18442 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18443     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18444         :; INTELCXX8=yes
18445     else
18446         :;
18447     fi
18448     ac_ext=c
18449 ac_cpp='$CPP $CPPFLAGS'
18450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18453
18454
18455
18456
18457
18458     ac_ext=cpp
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463
18464     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18465 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18466 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18467   $as_echo_n "(cached) " >&6
18468 else
18469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h.  */
18471
18472 int
18473 main ()
18474 {
18475
18476              #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18477                 choke me
18478              #endif
18479
18480   ;
18481   return 0;
18482 }
18483 _ACEOF
18484 if ac_fn_cxx_try_compile "$LINENO"; then :
18485   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18486 else
18487   bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18488
18489 fi
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491
18492
18493 fi
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18495 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18496     if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18497         :; INTELCXX10=yes
18498     else
18499         :;
18500     fi
18501     ac_ext=c
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18506
18507
18508
18509     fi
18510
18511         if test "x$GCXX" != "xyes"; then
18512         if test "xCXX" = "xC"; then
18513             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18514 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18515 if ${bakefile_cv_c_exto+:} false; then :
18516   $as_echo_n "(cached) " >&6
18517 else
18518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h.  */
18520
18521 int
18522 main ()
18523 {
18524
18525   ;
18526   return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest.$ac_objext conftest.$ac_ext.o
18530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18531   (eval $ac_compile) 2>&5
18532   ac_status=$?
18533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18534   test $ac_status = 0; }; then :
18535   for ac_file in `(ls conftest.* 2>/dev/null)`; do
18536     case $ac_file in
18537         conftest.$ac_ext.o)
18538             bakefile_cv_c_exto="-ext o"
18539             ;;
18540         *)
18541             ;;
18542     esac
18543 done
18544 else
18545   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18547 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18548 See \`config.log' for more details" "$LINENO" 5; }
18549
18550 fi
18551 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18552
18553 fi
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18555 $as_echo "$bakefile_cv_c_exto" >&6; }
18556 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18557     if test "c" = "c"; then
18558         CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18559     fi
18560     if test "c" = "cxx"; then
18561         CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18562     fi
18563 fi
18564
18565             if test "x$bakefile_cv_c_exto" '!=' "x"; then
18566                 unset ac_cv_prog_cc_g
18567                 ac_test_CFLAGS=${CFLAGS+set}
18568 ac_save_CFLAGS=$CFLAGS
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18571 if ${ac_cv_prog_cc_g+:} false; then :
18572   $as_echo_n "(cached) " >&6
18573 else
18574   ac_save_c_werror_flag=$ac_c_werror_flag
18575    ac_c_werror_flag=yes
18576    ac_cv_prog_cc_g=no
18577    CFLAGS="-g"
18578    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h.  */
18580
18581 int
18582 main ()
18583 {
18584
18585   ;
18586   return 0;
18587 }
18588 _ACEOF
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590   ac_cv_prog_cc_g=yes
18591 else
18592   CFLAGS=""
18593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h.  */
18595
18596 int
18597 main ()
18598 {
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 if ac_fn_c_try_compile "$LINENO"; then :
18605
18606 else
18607   ac_c_werror_flag=$ac_save_c_werror_flag
18608          CFLAGS="-g"
18609          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h.  */
18611
18612 int
18613 main ()
18614 {
18615
18616   ;
18617   return 0;
18618 }
18619 _ACEOF
18620 if ac_fn_c_try_compile "$LINENO"; then :
18621   ac_cv_prog_cc_g=yes
18622 fi
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 fi
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18626 fi
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628    ac_c_werror_flag=$ac_save_c_werror_flag
18629 fi
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18631 $as_echo "$ac_cv_prog_cc_g" >&6; }
18632 if test "$ac_test_CFLAGS" = set; then
18633   CFLAGS=$ac_save_CFLAGS
18634 elif test $ac_cv_prog_cc_g = yes; then
18635   if test "$GCC" = yes; then
18636     CFLAGS="-g -O2"
18637   else
18638     CFLAGS="-g"
18639   fi
18640 else
18641   if test "$GCC" = yes; then
18642     CFLAGS="-O2"
18643   else
18644     CFLAGS=
18645   fi
18646 fi
18647             fi
18648         fi
18649
18650                         case `uname -s` in
18651             AIX*)
18652
18653
18654     ac_ext=cpp
18655 ac_cpp='$CXXCPP $CPPFLAGS'
18656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18659
18660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18661 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18662 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18663   $as_echo_n "(cached) " >&6
18664 else
18665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h.  */
18667
18668 int
18669 main ()
18670 {
18671
18672              #ifndef __xlC__
18673                 choke me
18674              #endif
18675
18676   ;
18677   return 0;
18678 }
18679 _ACEOF
18680 if ac_fn_cxx_try_compile "$LINENO"; then :
18681   bakefile_cv_cxx_compiler___xlC__=yes
18682 else
18683   bakefile_cv_cxx_compiler___xlC__=no
18684
18685 fi
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687
18688
18689 fi
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18691 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18692     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18693         :; XLCXX=yes
18694     else
18695         :;
18696     fi
18697     ac_ext=c
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18702
18703
18704
18705                 ;;
18706
18707             Darwin)
18708
18709
18710     ac_ext=cpp
18711 ac_cpp='$CXXCPP $CPPFLAGS'
18712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18715
18716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18717 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18718 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18719   $as_echo_n "(cached) " >&6
18720 else
18721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h.  */
18723
18724 int
18725 main ()
18726 {
18727
18728              #ifndef __MWERKS__
18729                 choke me
18730              #endif
18731
18732   ;
18733   return 0;
18734 }
18735 _ACEOF
18736 if ac_fn_cxx_try_compile "$LINENO"; then :
18737   bakefile_cv_cxx_compiler___MWERKS__=yes
18738 else
18739   bakefile_cv_cxx_compiler___MWERKS__=no
18740
18741 fi
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743
18744
18745 fi
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18747 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18748     if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18749         :; MWCXX=yes
18750     else
18751         :;
18752     fi
18753     ac_ext=c
18754 ac_cpp='$CPP $CPPFLAGS'
18755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18758
18759
18760
18761                 if test "$MWCXX" != "yes"; then
18762
18763
18764     ac_ext=cpp
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18769
18770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18773   $as_echo_n "(cached) " >&6
18774 else
18775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h.  */
18777
18778 int
18779 main ()
18780 {
18781
18782              #ifndef __xlC__
18783                 choke me
18784              #endif
18785
18786   ;
18787   return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791   bakefile_cv_cxx_compiler___xlC__=yes
18792 else
18793   bakefile_cv_cxx_compiler___xlC__=no
18794
18795 fi
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797
18798
18799 fi
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18802     if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18803         :; XLCXX=yes
18804     else
18805         :;
18806     fi
18807     ac_ext=c
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812
18813
18814
18815                 fi
18816                 ;;
18817
18818             IRIX*)
18819
18820
18821     ac_ext=cpp
18822 ac_cpp='$CXXCPP $CPPFLAGS'
18823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18826
18827     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18828 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18829 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18830   $as_echo_n "(cached) " >&6
18831 else
18832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h.  */
18834
18835 int
18836 main ()
18837 {
18838
18839              #ifndef _SGI_COMPILER_VERSION
18840                 choke me
18841              #endif
18842
18843   ;
18844   return 0;
18845 }
18846 _ACEOF
18847 if ac_fn_cxx_try_compile "$LINENO"; then :
18848   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18849 else
18850   bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18851
18852 fi
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854
18855
18856 fi
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18858 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18859     if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18860         :; SGICXX=yes
18861     else
18862         :;
18863     fi
18864     ac_ext=c
18865 ac_cpp='$CPP $CPPFLAGS'
18866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18869
18870
18871
18872                 ;;
18873
18874             Linux*)
18875                                                 if test "$INTELCXX" != "yes"; then
18876
18877
18878     ac_ext=cpp
18879 ac_cpp='$CXXCPP $CPPFLAGS'
18880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18883
18884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18885 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18886 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18887   $as_echo_n "(cached) " >&6
18888 else
18889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h.  */
18891
18892 int
18893 main ()
18894 {
18895
18896              #ifndef __SUNPRO_CC
18897                 choke me
18898              #endif
18899
18900   ;
18901   return 0;
18902 }
18903 _ACEOF
18904 if ac_fn_cxx_try_compile "$LINENO"; then :
18905   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18906 else
18907   bakefile_cv_cxx_compiler___SUNPRO_CC=no
18908
18909 fi
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911
18912
18913 fi
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18915 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18916     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18917         :; SUNCXX=yes
18918     else
18919         :;
18920     fi
18921     ac_ext=c
18922 ac_cpp='$CPP $CPPFLAGS'
18923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18926
18927
18928
18929                 fi
18930                 ;;
18931
18932             HP-UX*)
18933
18934
18935     ac_ext=cpp
18936 ac_cpp='$CXXCPP $CPPFLAGS'
18937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18940
18941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18942 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18943 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18944   $as_echo_n "(cached) " >&6
18945 else
18946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h.  */
18948
18949 int
18950 main ()
18951 {
18952
18953              #ifndef __HP_aCC
18954                 choke me
18955              #endif
18956
18957   ;
18958   return 0;
18959 }
18960 _ACEOF
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962   bakefile_cv_cxx_compiler___HP_aCC=yes
18963 else
18964   bakefile_cv_cxx_compiler___HP_aCC=no
18965
18966 fi
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968
18969
18970 fi
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18972 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18973     if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18974         :; HPCXX=yes
18975     else
18976         :;
18977     fi
18978     ac_ext=c
18979 ac_cpp='$CPP $CPPFLAGS'
18980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18983
18984
18985
18986                 ;;
18987
18988             OSF1)
18989
18990
18991     ac_ext=cpp
18992 ac_cpp='$CXXCPP $CPPFLAGS'
18993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18996
18997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18998 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18999 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19000   $as_echo_n "(cached) " >&6
19001 else
19002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h.  */
19004
19005 int
19006 main ()
19007 {
19008
19009              #ifndef __DECCXX
19010                 choke me
19011              #endif
19012
19013   ;
19014   return 0;
19015 }
19016 _ACEOF
19017 if ac_fn_cxx_try_compile "$LINENO"; then :
19018   bakefile_cv_cxx_compiler___DECCXX=yes
19019 else
19020   bakefile_cv_cxx_compiler___DECCXX=no
19021
19022 fi
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024
19025
19026 fi
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19028 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19029     if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19030         :; COMPAQCXX=yes
19031     else
19032         :;
19033     fi
19034     ac_ext=c
19035 ac_cpp='$CPP $CPPFLAGS'
19036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19039
19040
19041
19042                 ;;
19043
19044             SunOS)
19045
19046
19047     ac_ext=cpp
19048 ac_cpp='$CXXCPP $CPPFLAGS'
19049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19052
19053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19054 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19055 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19056   $as_echo_n "(cached) " >&6
19057 else
19058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h.  */
19060
19061 int
19062 main ()
19063 {
19064
19065              #ifndef __SUNPRO_CC
19066                 choke me
19067              #endif
19068
19069   ;
19070   return 0;
19071 }
19072 _ACEOF
19073 if ac_fn_cxx_try_compile "$LINENO"; then :
19074   bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19075 else
19076   bakefile_cv_cxx_compiler___SUNPRO_CC=no
19077
19078 fi
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080
19081
19082 fi
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19084 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19085     if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19086         :; SUNCXX=yes
19087     else
19088         :;
19089     fi
19090     ac_ext=c
19091 ac_cpp='$CPP $CPPFLAGS'
19092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19095
19096
19097
19098                 ;;
19099         esac
19100     fi
19101
19102
19103
19104 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19105     as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19106 fi
19107
19108 if test "x$SUNCXX" != xyes; then
19109     if test -n "$ac_tool_prefix"; then
19110   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19111 set dummy ${ac_tool_prefix}ar; ac_word=$2
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19113 $as_echo_n "checking for $ac_word... " >&6; }
19114 if ${ac_cv_prog_AR+:} false; then :
19115   $as_echo_n "(cached) " >&6
19116 else
19117   if test -n "$AR"; then
19118   ac_cv_prog_AR="$AR" # Let the user override the test.
19119 else
19120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19121 for as_dir in $PATH
19122 do
19123   IFS=$as_save_IFS
19124   test -z "$as_dir" && as_dir=.
19125     for ac_exec_ext in '' $ac_executable_extensions; do
19126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19127     ac_cv_prog_AR="${ac_tool_prefix}ar"
19128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19129     break 2
19130   fi
19131 done
19132   done
19133 IFS=$as_save_IFS
19134
19135 fi
19136 fi
19137 AR=$ac_cv_prog_AR
19138 if test -n "$AR"; then
19139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19140 $as_echo "$AR" >&6; }
19141 else
19142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19143 $as_echo "no" >&6; }
19144 fi
19145
19146
19147 fi
19148 if test -z "$ac_cv_prog_AR"; then
19149   ac_ct_AR=$AR
19150   # Extract the first word of "ar", so it can be a program name with args.
19151 set dummy ar; ac_word=$2
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19153 $as_echo_n "checking for $ac_word... " >&6; }
19154 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19155   $as_echo_n "(cached) " >&6
19156 else
19157   if test -n "$ac_ct_AR"; then
19158   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19159 else
19160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19161 for as_dir in $PATH
19162 do
19163   IFS=$as_save_IFS
19164   test -z "$as_dir" && as_dir=.
19165     for ac_exec_ext in '' $ac_executable_extensions; do
19166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19167     ac_cv_prog_ac_ct_AR="ar"
19168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19169     break 2
19170   fi
19171 done
19172   done
19173 IFS=$as_save_IFS
19174
19175 fi
19176 fi
19177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19178 if test -n "$ac_ct_AR"; then
19179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19180 $as_echo "$ac_ct_AR" >&6; }
19181 else
19182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19183 $as_echo "no" >&6; }
19184 fi
19185
19186   if test "x$ac_ct_AR" = x; then
19187     AR=""
19188   else
19189     case $cross_compiling:$ac_tool_warned in
19190 yes:)
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19193 ac_tool_warned=yes ;;
19194 esac
19195     AR=$ac_ct_AR
19196   fi
19197 else
19198   AR="$ac_cv_prog_AR"
19199 fi
19200
19201     if test "x$AR" = "x" ; then
19202         as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19203     fi
19204 fi
19205
19206
19207 if test "$wxUSE_MAC" = 1; then
19208
19209 retest_macosx_linking=no
19210
19211 OSX_ARCH_OPTS=""
19212
19213 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19214     if test "x$wxUSE_MAC_ARCH" != xno; then
19215         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19216 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19217     fi
19218
19219     if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19220         OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19221     else         OSX_ARCH_OPTS="ppc,i386"
19222         if test "$wxUSE_OSX_COCOA" = 1; then
19223             OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19224         fi
19225     fi
19226
19227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19228 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19230 $as_echo "$OSX_ARCH_OPTS" >&6; }
19231
19232                                                         retest_macosx_linking=yes
19233 else
19234     if test "x$wxUSE_MAC_ARCH" != xno; then
19235         OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19236     fi
19237 fi
19238
19239 if test "x$OSX_ARCH_OPTS" != "x"; then
19240         if echo $OSX_ARCH_OPTS | grep -q ","; then
19241         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19242 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19243         disable_macosx_deps=yes
19244
19245                                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19246 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19247         bk_use_pch=no
19248     fi
19249
19250     OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19251
19252     CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19253     CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19254     OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19255     OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19256     LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19257 fi
19258
19259 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19260     wxUSE_MACOSX_SDK=
19261 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19262     # TODO: Search for most recent SDK and use it.
19263     wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19264 fi
19265
19266
19267 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19269 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19270     if ! test -d "$wxUSE_MACOSX_SDK"; then
19271         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19273 as_fn_error $? "not found
19274 See \`config.log' for more details" "$LINENO" 5; }
19275     else
19276         { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19277 $as_echo "exists" >&6; }
19278     fi
19279         MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19280     retest_macosx_linking=yes
19281             fi
19282
19283 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19284     wxUSE_MACOSX_VERSION_MIN=
19285 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19286     if test "x$wxUSE_MACOSX_SDK" != "x"; then
19287         { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19288 $as_echo_n "checking SDK deployment version... " >&6; }
19289
19290         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/'`
19291
19292         # If that failed, try again with the new key
19293         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19294
19295             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/'`
19296
19297         fi
19298
19299         if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19300             wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19301             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19302 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19303         else
19304             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19305 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19306             wxUSE_MACOSX_VERSION_MIN=
19307         fi
19308     else
19309         wxUSE_MACOSX_VERSION_MIN=
19310     fi
19311 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19312     wxUSE_MACOSX_VERSION_MIN=10.5
19313 fi
19314
19315 if test "x$MACOSX_SDK_OPTS" != "x"; then
19316     eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19317     eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19318     eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19319     retest_macosx_linking=yes
19320 fi
19321
19322 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19323     if test "$wxUSE_OSX_IPHONE" = 1; then
19324         MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19325     else
19326         MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19327     fi
19328     eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19329     eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19330     eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19331     retest_macosx_linking=yes
19332 fi
19333
19334 if test "x$retest_macosx_linking" = "xyes"; then
19335     ac_ext=c
19336 ac_cpp='$CPP $CPPFLAGS'
19337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19340
19341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19342 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19343     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h.  */
19345
19346 int
19347 main ()
19348 {
19349
19350   ;
19351   return 0;
19352 }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"; then :
19355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19356 $as_echo "yes" >&6; }
19357 else
19358   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19360 as_fn_error $? "no.  Try a different SDK
19361 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19362 fi
19363 rm -f core conftest.err conftest.$ac_objext \
19364     conftest$ac_exeext conftest.$ac_ext
19365     ac_ext=c
19366 ac_cpp='$CPP $CPPFLAGS'
19367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19370
19371
19372     ac_ext=cpp
19373 ac_cpp='$CXXCPP $CPPFLAGS'
19374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19377
19378     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19379 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19380     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h.  */
19382
19383 int
19384 main ()
19385 {
19386
19387   ;
19388   return 0;
19389 }
19390 _ACEOF
19391 if ac_fn_cxx_try_link "$LINENO"; then :
19392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19393 $as_echo "yes" >&6; }
19394 else
19395   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19397 as_fn_error $? "no.  Try a different SDK
19398 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19399 fi
19400 rm -f core conftest.err conftest.$ac_objext \
19401     conftest$ac_exeext conftest.$ac_ext
19402     ac_ext=c
19403 ac_cpp='$CPP $CPPFLAGS'
19404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19407
19408 fi
19409
19410 fi
19411 case "${host}" in
19412
19413                 *-*-darwin* )
19414         INSTALL_PROGRAM="cp -fp"
19415         INSTALL_DATA="cp -fp"
19416         ;;
19417     *)
19418         ;;
19419 esac
19420
19421
19422 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19423                     $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19424
19425
19426             GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19427     CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19428 fi
19429
19430 if test "x$USE_AIX" = "x1"; then
19431             if test "x$XLCXX" = "xyes"; then
19432         CXXFLAGS="-qunique $CXXFLAGS"
19433     fi
19434
19435                                 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19436 fi
19437
19438 case "${host}" in
19439   powerpc-*-darwin* )
19440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19441 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19442     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h.  */
19444
19445 int
19446 main ()
19447 {
19448 #ifndef __POWERPC__
19449         choke me for lack of PowerPC
19450 #endif
19451
19452   ;
19453   return 0;
19454 }
19455 _ACEOF
19456 if ac_fn_c_try_compile "$LINENO"; then :
19457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19458 $as_echo "yes" >&6; }
19459 else
19460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19461 $as_echo "no" >&6; }
19462         $as_echo "#define __POWERPC__ 1" >>confdefs.h
19463
19464
19465 fi
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467   ;;
19468 esac
19469
19470 case "${host}" in
19471   *-*-darwin* )
19472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19473 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19474     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h.  */
19476 #include <CoreFoundation/CFBase.h>
19477
19478 int
19479 main ()
19480 {
19481
19482   ;
19483   return 0;
19484 }
19485 _ACEOF
19486 if ac_fn_c_try_compile "$LINENO"; then :
19487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19488 $as_echo "yes" >&6; }
19489 else
19490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19491 $as_echo "no" >&6; }
19492         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19493 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19494         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h.  */
19496 #define __CF_USE_FRAMEWORK_INCLUDES__
19497 #include <CoreFoundation/CFBase.h>
19498
19499 int
19500 main ()
19501 {
19502
19503   ;
19504   return 0;
19505 }
19506 _ACEOF
19507 if ac_fn_c_try_compile "$LINENO"; then :
19508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19509 $as_echo "yes" >&6; }
19510                         CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19511 else
19512   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19514 as_fn_error $? "no.  CoreFoundation not available.
19515 See \`config.log' for more details" "$LINENO" 5; }
19516
19517 fi
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519
19520
19521 fi
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523   ;;
19524 esac
19525
19526 wants_win32=0
19527 doesnt_want_win32=0
19528 case "${host}" in
19529   *-*-cygwin*)
19530       if test "$wxUSE_MSW" = 1 ; then
19531         wants_win32=1
19532       else
19533                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19534 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19535 if ${wx_cv_nocygwin+:} false; then :
19536   $as_echo_n "(cached) " >&6
19537 else
19538
19539                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h.  */
19541
19542 int
19543 main ()
19544 {
19545
19546                         #ifdef __MINGW32__
19547                             choke me
19548                         #endif
19549
19550   ;
19551   return 0;
19552 }
19553 _ACEOF
19554 if ac_fn_c_try_compile "$LINENO"; then :
19555   wx_cv_nocygwin=no
19556 else
19557   wx_cv_nocygwin=yes
19558
19559 fi
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561
19562
19563 fi
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19565 $as_echo "$wx_cv_nocygwin" >&6; }
19566
19567         if test "$wx_cv_nocygwin" = "yes"; then
19568             wants_win32=1
19569         else
19570             doesnt_want_win32=1
19571         fi
19572       fi
19573       if test "$wants_win32" = 1 ; then
19574         BAKEFILE_FORCE_PLATFORM=win32
19575       fi
19576   ;;
19577   *-*-mingw*)
19578       wants_win32=1
19579   ;;
19580 esac
19581
19582 if test "$wxUSE_WINE" = "yes"; then
19583     wants_win32=1
19584     LDFLAGS_GUI="-mwindows"
19585 fi
19586
19587 if test "$wants_win32" = 1 ; then
19588     USE_UNIX=0
19589     USE_WIN32=1
19590     $as_echo "#define __WIN32__ 1" >>confdefs.h
19591
19592     $as_echo "#define __WIN95__ 1" >>confdefs.h
19593
19594     $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19595
19596     $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19597
19598     $as_echo "#define STRICT 1" >>confdefs.h
19599
19600 fi
19601 if test "$doesnt_want_win32" = 1 ; then
19602     USE_UNIX=1
19603     USE_WIN32=0
19604 fi
19605
19606 if test "$USE_UNIX" = 1 ; then
19607     wxUSE_UNIX=yes
19608     $as_echo "#define __UNIX__ 1" >>confdefs.h
19609
19610 fi
19611
19612 case "${host}" in
19613   *-pc-os2_emx | *-pc-os2-emx )
19614                                                       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19615                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19616 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19617 if ${ac_cv_lib_cExt_drand48+:} false; then :
19618   $as_echo_n "(cached) " >&6
19619 else
19620   ac_check_lib_save_LIBS=$LIBS
19621 LIBS="-lcExt  $LIBS"
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h.  */
19624
19625 /* Override any GCC internal prototype to avoid an error.
19626    Use char because int might match the return type of a GCC
19627    builtin and then its argument prototype would still apply.  */
19628 #ifdef __cplusplus
19629 extern "C"
19630 #endif
19631 char drand48 ();
19632 int
19633 main ()
19634 {
19635 return drand48 ();
19636   ;
19637   return 0;
19638 }
19639 _ACEOF
19640 if ac_fn_c_try_link "$LINENO"; then :
19641   ac_cv_lib_cExt_drand48=yes
19642 else
19643   ac_cv_lib_cExt_drand48=no
19644 fi
19645 rm -f core conftest.err conftest.$ac_objext \
19646     conftest$ac_exeext conftest.$ac_ext
19647 LIBS=$ac_check_lib_save_LIBS
19648 fi
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19650 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19651 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19652   LIBS="$LIBS -lcExt"
19653 fi
19654
19655       else
19656                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19657       fi
19658                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19659 $as_echo_n "checking for gcc/libc version... " >&6; }
19660 if ${wx_cv_gccversion+:} false; then :
19661   $as_echo_n "(cached) " >&6
19662 else
19663
19664           if test "$cross_compiling" = yes; then :
19665                 wx_cv_gccversion="EMX2"
19666
19667 else
19668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h.  */
19670
19671                   #include <stdio.h>
19672
19673                   int main()
19674                   {
19675                       FILE *f=fopen("conftestval", "w");
19676                       if (!f) exit(1);
19677                       fprintf(f,
19678                   #if (__GNUC__ < 3)
19679                               "EMX2"
19680                   #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19681                               "EMX3"
19682                   #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19683                               "Innotek5"
19684                   #else
19685                               "Innotek6"
19686                   #endif
19687                       );
19688                       exit(0);
19689                   }
19690
19691 _ACEOF
19692 if ac_fn_c_try_run "$LINENO"; then :
19693   wx_cv_gccversion=`cat conftestval`
19694 else
19695   wx_cv_gccversion="EMX2"
19696 fi
19697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19698   conftest.$ac_objext conftest.beam conftest.$ac_ext
19699 fi
19700
19701
19702 fi
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19704 $as_echo "$wx_cv_gccversion" >&6; }
19705       if test "$wx_cv_gccversion" = "EMX2"; then
19706           LIBS="$LIBS -lstdcpp"
19707           LDFLAGS="$LDFLAGS -Zsysv-signals"
19708       else
19709           if test "$wx_cv_gccversion" = "EMX3"; then
19710               LIBS="$LIBS -lstdcxx -lgcc"
19711               LDFLAGS="$LDFLAGS -Zsysv-signals"
19712           else
19713               LIBS="$LIBS -lstdc++"
19714           fi
19715       fi
19716       if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19717         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19718 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19719         wxUSE_OMF=yes
19720         enable_omf=yes
19721       fi
19722         ;;
19723   *)
19724
19725       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19726 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19727 if ${ac_cv_string_strcasecmp+:} false; then :
19728   $as_echo_n "(cached) " >&6
19729 else
19730
19731           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h.  */
19733
19734               #include <string.h>
19735
19736 int
19737 main ()
19738 {
19739
19740                   strcasecmp("foo", "bar");
19741
19742   ;
19743   return 0;
19744 }
19745 _ACEOF
19746 if ac_fn_c_try_link "$LINENO"; then :
19747   ac_cv_string_strcasecmp=yes
19748 else
19749   ac_cv_string_strcasecmp=no
19750
19751 fi
19752 rm -f core conftest.err conftest.$ac_objext \
19753     conftest$ac_exeext conftest.$ac_ext
19754
19755 fi
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19757 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19758
19759       if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19760           $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19761
19762       else
19763           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19764 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19765 if ${ac_cv_strings_strcasecmp+:} false; then :
19766   $as_echo_n "(cached) " >&6
19767 else
19768
19769               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h.  */
19771
19772                   #include <strings.h>
19773
19774 int
19775 main ()
19776 {
19777
19778                       strcasecmp("foo", "bar");
19779
19780   ;
19781   return 0;
19782 }
19783 _ACEOF
19784 if ac_fn_c_try_link "$LINENO"; then :
19785   ac_cv_strings_strcasecmp=yes
19786 else
19787   ac_cv_strings_strcasecmp=no
19788
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791     conftest$ac_exeext conftest.$ac_ext
19792
19793 fi
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19795 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19796
19797           if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19798               $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19799
19800           else
19801               as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19802           fi
19803       fi
19804
19805         ;;
19806 esac
19807
19808
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19810 $as_echo_n "checking for ANSI C header files... " >&6; }
19811 if ${ac_cv_header_stdc+:} false; then :
19812   $as_echo_n "(cached) " >&6
19813 else
19814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h.  */
19816 #include <stdlib.h>
19817 #include <stdarg.h>
19818 #include <string.h>
19819 #include <float.h>
19820
19821 int
19822 main ()
19823 {
19824
19825   ;
19826   return 0;
19827 }
19828 _ACEOF
19829 if ac_fn_c_try_compile "$LINENO"; then :
19830   ac_cv_header_stdc=yes
19831 else
19832   ac_cv_header_stdc=no
19833 fi
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835
19836 if test $ac_cv_header_stdc = yes; then
19837   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h.  */
19840 #include <string.h>
19841
19842 _ACEOF
19843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19844   $EGREP "memchr" >/dev/null 2>&1; then :
19845
19846 else
19847   ac_cv_header_stdc=no
19848 fi
19849 rm -f conftest*
19850
19851 fi
19852
19853 if test $ac_cv_header_stdc = yes; then
19854   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h.  */
19857 #include <stdlib.h>
19858
19859 _ACEOF
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861   $EGREP "free" >/dev/null 2>&1; then :
19862
19863 else
19864   ac_cv_header_stdc=no
19865 fi
19866 rm -f conftest*
19867
19868 fi
19869
19870 if test $ac_cv_header_stdc = yes; then
19871   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19872   if test "$cross_compiling" = yes; then :
19873   :
19874 else
19875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h.  */
19877 #include <ctype.h>
19878 #include <stdlib.h>
19879 #if ((' ' & 0x0FF) == 0x020)
19880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19882 #else
19883 # define ISLOWER(c) \
19884                    (('a' <= (c) && (c) <= 'i') \
19885                      || ('j' <= (c) && (c) <= 'r') \
19886                      || ('s' <= (c) && (c) <= 'z'))
19887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19888 #endif
19889
19890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19891 int
19892 main ()
19893 {
19894   int i;
19895   for (i = 0; i < 256; i++)
19896     if (XOR (islower (i), ISLOWER (i))
19897         || toupper (i) != TOUPPER (i))
19898       return 2;
19899   return 0;
19900 }
19901 _ACEOF
19902 if ac_fn_c_try_run "$LINENO"; then :
19903
19904 else
19905   ac_cv_header_stdc=no
19906 fi
19907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19908   conftest.$ac_objext conftest.beam conftest.$ac_ext
19909 fi
19910
19911 fi
19912 fi
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19914 $as_echo "$ac_cv_header_stdc" >&6; }
19915 if test $ac_cv_header_stdc = yes; then
19916
19917 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19918
19919 fi
19920
19921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19923                   inttypes.h stdint.h unistd.h
19924 do :
19925   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19927 "
19928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19929   cat >>confdefs.h <<_ACEOF
19930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19931 _ACEOF
19932
19933 fi
19934
19935 done
19936
19937
19938 for ac_header in langinfo.h wchar.h
19939 do :
19940   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19942 "
19943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19944   cat >>confdefs.h <<_ACEOF
19945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19946 _ACEOF
19947
19948 fi
19949
19950 done
19951
19952
19953 if test "$ac_cv_header_wchar_h" != "yes"; then
19954     for ac_header in wcstr.h
19955 do :
19956   ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19957 "
19958 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19959   cat >>confdefs.h <<_ACEOF
19960 #define HAVE_WCSTR_H 1
19961 _ACEOF
19962
19963 fi
19964
19965 done
19966
19967 fi
19968
19969 case "${host}" in
19970   *-pc-os2_emx | *-pc-os2-emx )
19971                   if test $ac_cv_header_langinfo_h = "yes" \
19972                 -a \(   "$wx_cv_gccversion" = "EMX2" \
19973                      -o "$wx_cv_gccversion" = "EMX3" \
19974                      -o "$wx_cv_gccversion" = "Innotek5" \); then
19975           LIBS="$LIBS -lintl"
19976       fi
19977   ;;
19978 esac
19979
19980 if test "$USE_UNIX" = 1 ; then
19981     for ac_header in sys/select.h
19982 do :
19983   ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19984 "
19985 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19986   cat >>confdefs.h <<_ACEOF
19987 #define HAVE_SYS_SELECT_H 1
19988 _ACEOF
19989
19990 fi
19991
19992 done
19993
19994 fi
19995
19996
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19998 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19999 if ${ac_cv_c_const+:} false; then :
20000   $as_echo_n "(cached) " >&6
20001 else
20002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h.  */
20004
20005 int
20006 main ()
20007 {
20008
20009 #ifndef __cplusplus
20010   /* Ultrix mips cc rejects this sort of thing.  */
20011   typedef int charset[2];
20012   const charset cs = { 0, 0 };
20013   /* SunOS 4.1.1 cc rejects this.  */
20014   char const *const *pcpcc;
20015   char **ppc;
20016   /* NEC SVR4.0.2 mips cc rejects this.  */
20017   struct point {int x, y;};
20018   static struct point const zero = {0,0};
20019   /* AIX XL C 1.02.0.0 rejects this.
20020      It does not let you subtract one const X* pointer from another in
20021      an arm of an if-expression whose if-part is not a constant
20022      expression */
20023   const char *g = "string";
20024   pcpcc = &g + (g ? g-g : 0);
20025   /* HPUX 7.0 cc rejects these. */
20026   ++pcpcc;
20027   ppc = (char**) pcpcc;
20028   pcpcc = (char const *const *) ppc;
20029   { /* SCO 3.2v4 cc rejects this sort of thing.  */
20030     char tx;
20031     char *t = &tx;
20032     char const *s = 0 ? (char *) 0 : (char const *) 0;
20033
20034     *t++ = 0;
20035     if (s) return 0;
20036   }
20037   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
20038     int x[] = {25, 17};
20039     const int *foo = &x[0];
20040     ++foo;
20041   }
20042   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20043     typedef const int *iptr;
20044     iptr p = 0;
20045     ++p;
20046   }
20047   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20048        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20049     struct s { int j; const int *ap[3]; } bx;
20050     struct s *b = &bx; b->j = 5;
20051   }
20052   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20053     const int foo = 10;
20054     if (!foo) return 0;
20055   }
20056   return !cs[0] && !zero.x;
20057 #endif
20058
20059   ;
20060   return 0;
20061 }
20062 _ACEOF
20063 if ac_fn_c_try_compile "$LINENO"; then :
20064   ac_cv_c_const=yes
20065 else
20066   ac_cv_c_const=no
20067 fi
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 fi
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20071 $as_echo "$ac_cv_c_const" >&6; }
20072 if test $ac_cv_c_const = no; then
20073
20074 $as_echo "#define const /**/" >>confdefs.h
20075
20076 fi
20077
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20079 $as_echo_n "checking for inline... " >&6; }
20080 if ${ac_cv_c_inline+:} false; then :
20081   $as_echo_n "(cached) " >&6
20082 else
20083   ac_cv_c_inline=no
20084 for ac_kw in inline __inline__ __inline; do
20085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h.  */
20087 #ifndef __cplusplus
20088 typedef int foo_t;
20089 static $ac_kw foo_t static_foo () {return 0; }
20090 $ac_kw foo_t foo () {return 0; }
20091 #endif
20092
20093 _ACEOF
20094 if ac_fn_c_try_compile "$LINENO"; then :
20095   ac_cv_c_inline=$ac_kw
20096 fi
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098   test "$ac_cv_c_inline" != no && break
20099 done
20100
20101 fi
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20103 $as_echo "$ac_cv_c_inline" >&6; }
20104
20105 case $ac_cv_c_inline in
20106   inline | yes) ;;
20107   *)
20108     case $ac_cv_c_inline in
20109       no) ac_val=;;
20110       *) ac_val=$ac_cv_c_inline;;
20111     esac
20112     cat >>confdefs.h <<_ACEOF
20113 #ifndef __cplusplus
20114 #define inline $ac_val
20115 #endif
20116 _ACEOF
20117     ;;
20118 esac
20119
20120
20121 # The cast to long int works around a bug in the HP C Compiler
20122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20124 # This bug is HP SR number 8606223364.
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20126 $as_echo_n "checking size of short... " >&6; }
20127 if ${ac_cv_sizeof_short+:} false; then :
20128   $as_echo_n "(cached) " >&6
20129 else
20130   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
20131
20132 else
20133   if test "$ac_cv_type_short" = yes; then
20134      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20136 as_fn_error 77 "cannot compute sizeof (short)
20137 See \`config.log' for more details" "$LINENO" 5; }
20138    else
20139      ac_cv_sizeof_short=0
20140    fi
20141 fi
20142
20143 fi
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20145 $as_echo "$ac_cv_sizeof_short" >&6; }
20146
20147
20148
20149 cat >>confdefs.h <<_ACEOF
20150 #define SIZEOF_SHORT $ac_cv_sizeof_short
20151 _ACEOF
20152
20153
20154 # The cast to long int works around a bug in the HP C Compiler
20155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20157 # This bug is HP SR number 8606223364.
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20159 $as_echo_n "checking size of void *... " >&6; }
20160 if ${ac_cv_sizeof_void_p+:} false; then :
20161   $as_echo_n "(cached) " >&6
20162 else
20163   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
20164
20165 else
20166   if test "$ac_cv_type_void_p" = yes; then
20167      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20169 as_fn_error 77 "cannot compute sizeof (void *)
20170 See \`config.log' for more details" "$LINENO" 5; }
20171    else
20172      ac_cv_sizeof_void_p=0
20173    fi
20174 fi
20175
20176 fi
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20178 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20179
20180
20181
20182 cat >>confdefs.h <<_ACEOF
20183 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20184 _ACEOF
20185
20186
20187 # The cast to long int works around a bug in the HP C Compiler
20188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20190 # This bug is HP SR number 8606223364.
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20192 $as_echo_n "checking size of int... " >&6; }
20193 if ${ac_cv_sizeof_int+:} false; then :
20194   $as_echo_n "(cached) " >&6
20195 else
20196   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
20197
20198 else
20199   if test "$ac_cv_type_int" = yes; then
20200      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20202 as_fn_error 77 "cannot compute sizeof (int)
20203 See \`config.log' for more details" "$LINENO" 5; }
20204    else
20205      ac_cv_sizeof_int=0
20206    fi
20207 fi
20208
20209 fi
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20211 $as_echo "$ac_cv_sizeof_int" >&6; }
20212
20213
20214
20215 cat >>confdefs.h <<_ACEOF
20216 #define SIZEOF_INT $ac_cv_sizeof_int
20217 _ACEOF
20218
20219
20220 # The cast to long int works around a bug in the HP C Compiler
20221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20223 # This bug is HP SR number 8606223364.
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20225 $as_echo_n "checking size of long... " >&6; }
20226 if ${ac_cv_sizeof_long+:} false; then :
20227   $as_echo_n "(cached) " >&6
20228 else
20229   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
20230
20231 else
20232   if test "$ac_cv_type_long" = yes; then
20233      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20235 as_fn_error 77 "cannot compute sizeof (long)
20236 See \`config.log' for more details" "$LINENO" 5; }
20237    else
20238      ac_cv_sizeof_long=0
20239    fi
20240 fi
20241
20242 fi
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20244 $as_echo "$ac_cv_sizeof_long" >&6; }
20245
20246
20247
20248 cat >>confdefs.h <<_ACEOF
20249 #define SIZEOF_LONG $ac_cv_sizeof_long
20250 _ACEOF
20251
20252
20253 # The cast to long int works around a bug in the HP C Compiler
20254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20256 # This bug is HP SR number 8606223364.
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20258 $as_echo_n "checking size of size_t... " >&6; }
20259 if ${ac_cv_sizeof_size_t+:} false; then :
20260   $as_echo_n "(cached) " >&6
20261 else
20262   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
20263
20264 else
20265   if test "$ac_cv_type_size_t" = yes; then
20266      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20268 as_fn_error 77 "cannot compute sizeof (size_t)
20269 See \`config.log' for more details" "$LINENO" 5; }
20270    else
20271      ac_cv_sizeof_size_t=0
20272    fi
20273 fi
20274
20275 fi
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20277 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20278
20279
20280
20281 cat >>confdefs.h <<_ACEOF
20282 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20283 _ACEOF
20284
20285
20286
20287 case "${host}" in
20288     arm-*-linux* )
20289         # The cast to long int works around a bug in the HP C Compiler
20290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20292 # This bug is HP SR number 8606223364.
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20294 $as_echo_n "checking size of long long... " >&6; }
20295 if ${ac_cv_sizeof_long_long+:} false; then :
20296   $as_echo_n "(cached) " >&6
20297 else
20298   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20299
20300 else
20301   if test "$ac_cv_type_long_long" = yes; then
20302      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20304 as_fn_error 77 "cannot compute sizeof (long long)
20305 See \`config.log' for more details" "$LINENO" 5; }
20306    else
20307      ac_cv_sizeof_long_long=0
20308    fi
20309 fi
20310
20311 fi
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20313 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20314
20315
20316
20317 cat >>confdefs.h <<_ACEOF
20318 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20319 _ACEOF
20320
20321
20322     ;;
20323     *-hp-hpux* )
20324         # The cast to long int works around a bug in the HP C Compiler
20325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20327 # This bug is HP SR number 8606223364.
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20329 $as_echo_n "checking size of long long... " >&6; }
20330 if ${ac_cv_sizeof_long_long+:} false; then :
20331   $as_echo_n "(cached) " >&6
20332 else
20333   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20334
20335 else
20336   if test "$ac_cv_type_long_long" = yes; then
20337      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20339 as_fn_error 77 "cannot compute sizeof (long long)
20340 See \`config.log' for more details" "$LINENO" 5; }
20341    else
20342      ac_cv_sizeof_long_long=0
20343    fi
20344 fi
20345
20346 fi
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20348 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20349
20350
20351
20352 cat >>confdefs.h <<_ACEOF
20353 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20354 _ACEOF
20355
20356
20357         if test "$ac_cv_sizeof_long_long" != 0; then
20358                         CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20359         fi
20360     ;;
20361     * )
20362         # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20367 $as_echo_n "checking size of long long... " >&6; }
20368 if ${ac_cv_sizeof_long_long+:} false; then :
20369   $as_echo_n "(cached) " >&6
20370 else
20371   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
20372
20373 else
20374   if test "$ac_cv_type_long_long" = yes; then
20375      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20377 as_fn_error 77 "cannot compute sizeof (long long)
20378 See \`config.log' for more details" "$LINENO" 5; }
20379    else
20380      ac_cv_sizeof_long_long=0
20381    fi
20382 fi
20383
20384 fi
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20386 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20387
20388
20389
20390 cat >>confdefs.h <<_ACEOF
20391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20392 _ACEOF
20393
20394
20395 esac
20396
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20402 $as_echo_n "checking size of wchar_t... " >&6; }
20403 if ${ac_cv_sizeof_wchar_t+:} false; then :
20404   $as_echo_n "(cached) " >&6
20405 else
20406   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
20407         /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20408         #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20409         #  error \"fake wchar_t\"
20410         #endif
20411         #ifdef HAVE_WCHAR_H
20412         #  ifdef __CYGWIN__
20413         #    include <stddef.h>
20414         #  endif
20415         #  include <wchar.h>
20416         #endif
20417         #ifdef HAVE_STDLIB_H
20418         #  include <stdlib.h>
20419         #endif
20420         #include <stdio.h>
20421
20422
20423 "; then :
20424
20425 else
20426   if test "$ac_cv_type_wchar_t" = yes; then
20427      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20429 as_fn_error 77 "cannot compute sizeof (wchar_t)
20430 See \`config.log' for more details" "$LINENO" 5; }
20431    else
20432      ac_cv_sizeof_wchar_t=0
20433    fi
20434 fi
20435
20436 fi
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20438 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20439
20440
20441
20442 cat >>confdefs.h <<_ACEOF
20443 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20444 _ACEOF
20445
20446
20447 if test "$ac_cv_sizeof_wchar_t" = 0; then
20448     as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20449 fi
20450 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20451
20452
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20454 $as_echo_n "checking for va_copy... " >&6; }
20455 if ${wx_cv_func_va_copy+:} false; then :
20456   $as_echo_n "(cached) " >&6
20457 else
20458
20459         ac_ext=cpp
20460 ac_cpp='$CXXCPP $CPPFLAGS'
20461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20464
20465         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20466 /* end confdefs.h.  */
20467
20468
20469                 #include <stdarg.h>
20470                 void foo(char *f, ...)
20471                 {
20472                     va_list ap1, ap2;
20473                     va_start(ap1, f);
20474                     va_copy(ap2, ap1);
20475                     va_end(ap2);
20476                     va_end(ap1);
20477                 }
20478                 int main()
20479                 {
20480                     foo("hi", 17);
20481                     return 0;
20482                 }
20483
20484 _ACEOF
20485 if ac_fn_cxx_try_link "$LINENO"; then :
20486   wx_cv_func_va_copy=yes
20487 else
20488   wx_cv_func_va_copy=no
20489
20490 fi
20491 rm -f core conftest.err conftest.$ac_objext \
20492     conftest$ac_exeext conftest.$ac_ext
20493         ac_ext=c
20494 ac_cpp='$CPP $CPPFLAGS'
20495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20498
20499
20500
20501 fi
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20503 $as_echo "$wx_cv_func_va_copy" >&6; }
20504
20505 if test $wx_cv_func_va_copy = "yes"; then
20506     $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20507
20508 else
20509         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20510 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20511 if ${wx_cv_type_va_list_lvalue+:} false; then :
20512   $as_echo_n "(cached) " >&6
20513 else
20514
20515             if test "$cross_compiling" = yes; then :
20516                   wx_cv_type_va_list_lvalue=yes
20517
20518 else
20519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h.  */
20521
20522
20523                     #include <stdarg.h>
20524                     int foo(char *f, ...)
20525                     {
20526                         va_list ap1, ap2;
20527                         va_start(ap1, f);
20528                         ap2 = ap1;
20529                         if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20530                             return 1;
20531                         va_end(ap2);
20532                         va_end(ap1);
20533                         return 0;
20534                     }
20535                     int main()
20536                     {
20537                         return foo("hi", 17);
20538                     }
20539
20540 _ACEOF
20541 if ac_fn_c_try_run "$LINENO"; then :
20542   wx_cv_type_va_list_lvalue=yes
20543 else
20544   wx_cv_type_va_list_lvalue=no
20545 fi
20546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20547   conftest.$ac_objext conftest.beam conftest.$ac_ext
20548 fi
20549
20550
20551
20552 fi
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20554 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20555
20556     if test $wx_cv_type_va_list_lvalue != "yes"; then
20557                         $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20558
20559     fi
20560 fi
20561
20562 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20563
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20565 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20566 if ${wx_cv_have_variadic_macros+:} false; then :
20567   $as_echo_n "(cached) " >&6
20568 else
20569
20570                         ac_ext=cpp
20571 ac_cpp='$CXXCPP $CPPFLAGS'
20572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20575
20576         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h.  */
20578
20579
20580                     #include <stdio.h>
20581                     #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20582
20583 int
20584 main ()
20585 {
20586
20587                     test("%s %d %p", "test", 1, 0);
20588
20589
20590   ;
20591   return 0;
20592 }
20593 _ACEOF
20594 if ac_fn_cxx_try_compile "$LINENO"; then :
20595   wx_cv_have_variadic_macros=yes
20596 else
20597   wx_cv_have_variadic_macros=no
20598
20599 fi
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601         ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20606
20607
20608
20609 fi
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20611 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20612
20613 if test $wx_cv_have_variadic_macros = "yes"; then
20614     $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20615
20616 fi
20617
20618 fi
20619
20620 LARGEFILE_CPPFLAGS=
20621 # Check whether --enable-largefile was given.
20622 if test "${enable_largefile+set}" = set; then :
20623   enableval=$enable_largefile;
20624 fi
20625
20626 if test "$enable_largefile" != no; then
20627             wx_largefile=no
20628
20629     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20630 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20631 if ${ac_cv_sys_file_offset_bits+:} false; then :
20632   $as_echo_n "(cached) " >&6
20633 else
20634
20635           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20636 /* end confdefs.h.  */
20637 #define _FILE_OFFSET_BITS 64
20638                           #include <sys/types.h>
20639 int
20640 main ()
20641 {
20642 typedef struct {
20643     unsigned int field: sizeof(off_t) == 8;
20644 } wxlf;
20645
20646   ;
20647   return 0;
20648 }
20649 _ACEOF
20650 if ac_fn_c_try_compile "$LINENO"; then :
20651   ac_cv_sys_file_offset_bits=64
20652 else
20653   ac_cv_sys_file_offset_bits=no
20654 fi
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656
20657
20658 fi
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20660 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20661
20662     if test "$ac_cv_sys_file_offset_bits" != no; then
20663         wx_largefile=yes
20664         cat >>confdefs.h <<_ACEOF
20665 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20666 _ACEOF
20667
20668     fi
20669
20670     if test "x$wx_largefile" != "xyes"; then
20671
20672     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20673 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20674 if ${ac_cv_sys_large_files+:} false; then :
20675   $as_echo_n "(cached) " >&6
20676 else
20677
20678           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h.  */
20680 #define _LARGE_FILES 1
20681                           #include <sys/types.h>
20682 int
20683 main ()
20684 {
20685 typedef struct {
20686     unsigned int field: sizeof(off_t) == 8;
20687 } wxlf;
20688
20689   ;
20690   return 0;
20691 }
20692 _ACEOF
20693 if ac_fn_c_try_compile "$LINENO"; then :
20694   ac_cv_sys_large_files=1
20695 else
20696   ac_cv_sys_large_files=no
20697 fi
20698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20699
20700
20701 fi
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20703 $as_echo "$ac_cv_sys_large_files" >&6; }
20704
20705     if test "$ac_cv_sys_large_files" != no; then
20706         wx_largefile=yes
20707         cat >>confdefs.h <<_ACEOF
20708 #define _LARGE_FILES $ac_cv_sys_large_files
20709 _ACEOF
20710
20711     fi
20712
20713     fi
20714
20715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20716 $as_echo_n "checking if large file support is available... " >&6; }
20717     if test "x$wx_largefile" = "xyes"; then
20718         $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20719
20720     fi
20721     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20722 $as_echo "$wx_largefile" >&6; }
20723 fi
20724
20725 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20726     LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20727 elif test "$ac_cv_sys_large_files" = 1; then
20728     LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20729 fi
20730
20731 if test -n "$LARGEFILE_CPPFLAGS"; then
20732     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20733
20734                             if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20735         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20736 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20737 if ${wx_cv_STDC_EXT_required+:} false; then :
20738   $as_echo_n "(cached) " >&6
20739 else
20740
20741                 ac_ext=cpp
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20746
20747                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h.  */
20749
20750 int
20751 main ()
20752 {
20753
20754                         #ifndef __STDC_EXT__
20755                             choke me
20756                         #endif
20757
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763   wx_cv_STDC_EXT_required=no
20764 else
20765   wx_cv_STDC_EXT_required=yes
20766
20767 fi
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769                 ac_ext=c
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20774
20775
20776
20777 fi
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20779 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20780         if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20781             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20782         fi
20783     fi
20784 fi
20785
20786 ac_ext=cpp
20787 ac_cpp='$CXXCPP $CPPFLAGS'
20788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20791
20792 old_CPPFLAGS="$CPPFLAGS"
20793 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20795 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20796 if ${ac_cv_sys_largefile_source+:} false; then :
20797   $as_echo_n "(cached) " >&6
20798 else
20799   while :; do
20800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20801 /* end confdefs.h.  */
20802 #include <sys/types.h> /* for off_t */
20803      #include <stdio.h>
20804 int
20805 main ()
20806 {
20807 int (*fp) (FILE *, off_t, int) = fseeko;
20808      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20809   ;
20810   return 0;
20811 }
20812 _ACEOF
20813 if ac_fn_cxx_try_link "$LINENO"; then :
20814   ac_cv_sys_largefile_source=no; break
20815 fi
20816 rm -f core conftest.err conftest.$ac_objext \
20817     conftest$ac_exeext conftest.$ac_ext
20818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20819 /* end confdefs.h.  */
20820 #define _LARGEFILE_SOURCE 1
20821 #include <sys/types.h> /* for off_t */
20822      #include <stdio.h>
20823 int
20824 main ()
20825 {
20826 int (*fp) (FILE *, off_t, int) = fseeko;
20827      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20828   ;
20829   return 0;
20830 }
20831 _ACEOF
20832 if ac_fn_cxx_try_link "$LINENO"; then :
20833   ac_cv_sys_largefile_source=1; break
20834 fi
20835 rm -f core conftest.err conftest.$ac_objext \
20836     conftest$ac_exeext conftest.$ac_ext
20837   ac_cv_sys_largefile_source=unknown
20838   break
20839 done
20840 fi
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20842 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20843 case $ac_cv_sys_largefile_source in #(
20844   no | unknown) ;;
20845   *)
20846 cat >>confdefs.h <<_ACEOF
20847 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20848 _ACEOF
20849 ;;
20850 esac
20851 rm -rf conftest*
20852
20853 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20854 # in glibc 2.1.3, but that breaks too many other things.
20855 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20856 if test $ac_cv_sys_largefile_source != unknown; then
20857
20858 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20859
20860 fi
20861
20862 CPPFLAGS="$old_CPPFLAGS"
20863 ac_ext=c
20864 ac_cpp='$CPP $CPPFLAGS'
20865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20868
20869 if test "$ac_cv_sys_largefile_source" != no; then
20870     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20871 fi
20872
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20874 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20875 if ${ac_cv_c_bigendian+:} false; then :
20876   $as_echo_n "(cached) " >&6
20877 else
20878   ac_cv_c_bigendian=unknown
20879 # See if sys/param.h defines the BYTE_ORDER macro.
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h.  */
20882 #include <sys/types.h>
20883 #include <sys/param.h>
20884 int
20885 main ()
20886 {
20887
20888 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20889  bogus endian macros
20890 #endif
20891   ;
20892   return 0;
20893 }
20894 _ACEOF
20895 if ac_fn_c_try_compile "$LINENO"; then :
20896   # It does; now see whether it defined to BIG_ENDIAN or not.
20897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h.  */
20899 #include <sys/types.h>
20900 #include <sys/param.h>
20901 int
20902 main ()
20903 {
20904
20905 #if BYTE_ORDER != BIG_ENDIAN
20906  not big endian
20907 #endif
20908   ;
20909   return 0;
20910 }
20911 _ACEOF
20912 if ac_fn_c_try_compile "$LINENO"; then :
20913   ac_cv_c_bigendian=yes
20914 else
20915   ac_cv_c_bigendian=no
20916 fi
20917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918 fi
20919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20920 if test $ac_cv_c_bigendian = unknown; then
20921 if test "$cross_compiling" = yes; then :
20922   ac_cv_c_bigendian=unknown
20923 else
20924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h.  */
20926 main () {
20927   /* Are we little or big endian?  From Harbison&Steele.  */
20928   union
20929   {
20930     long l;
20931     char c[sizeof (long)];
20932   } u;
20933   u.l = 1;
20934   exit (u.c[sizeof (long) - 1] == 1);
20935 }
20936 _ACEOF
20937 if ac_fn_c_try_run "$LINENO"; then :
20938   ac_cv_c_bigendian=no
20939 else
20940   ac_cv_c_bigendian=yes
20941 fi
20942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20943   conftest.$ac_objext conftest.beam conftest.$ac_ext
20944 fi
20945
20946 fi
20947 fi
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20949 $as_echo "$ac_cv_c_bigendian" >&6; }
20950 if test $ac_cv_c_bigendian = unknown; then
20951   { $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
20952 $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;}
20953 fi
20954 if test $ac_cv_c_bigendian = yes; then
20955   $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20956
20957 fi
20958
20959
20960
20961
20962     ac_ext=cpp
20963 ac_cpp='$CXXCPP $CPPFLAGS'
20964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20967
20968
20969     for ac_header in iostream
20970 do :
20971   ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
20972 "
20973 if test "x$ac_cv_header_iostream" = xyes; then :
20974   cat >>confdefs.h <<_ACEOF
20975 #define HAVE_IOSTREAM 1
20976 _ACEOF
20977
20978 fi
20979
20980 done
20981
20982
20983     if test "$ac_cv_header_iostream" = "yes" ; then
20984       :
20985     else
20986       $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20987
20988     fi
20989
20990     ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995
20996
20997
20998
20999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21000 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21001 if ${wx_cv_explicit+:} false; then :
21002   $as_echo_n "(cached) " >&6
21003 else
21004
21005
21006     ac_ext=cpp
21007 ac_cpp='$CXXCPP $CPPFLAGS'
21008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21011
21012
21013             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h.  */
21015
21016         class Foo { public: explicit Foo(int) {} };
21017
21018 int
21019 main ()
21020 {
21021
21022         return 0;
21023
21024   ;
21025   return 0;
21026 }
21027 _ACEOF
21028 if ac_fn_cxx_try_compile "$LINENO"; then :
21029
21030         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h.  */
21032
21033                 class Foo { public: explicit Foo(int) {} };
21034                 static void TakeFoo(const Foo& foo) { }
21035
21036 int
21037 main ()
21038 {
21039
21040                 TakeFoo(17);
21041                 return 0;
21042
21043   ;
21044   return 0;
21045 }
21046 _ACEOF
21047 if ac_fn_cxx_try_compile "$LINENO"; then :
21048   wx_cv_explicit=no
21049 else
21050   wx_cv_explicit=yes
21051
21052 fi
21053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054
21055 else
21056   wx_cv_explicit=no
21057
21058 fi
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060
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
21068 fi
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21070 $as_echo "$wx_cv_explicit" >&6; }
21071
21072   if test "$wx_cv_explicit" = "yes"; then
21073     $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21074
21075   fi
21076
21077
21078 if test "x$SUNCXX" = xyes; then
21079     CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21080 fi
21081
21082 if test "x$SUNCC" = xyes; then
21083     CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21084 fi
21085
21086 if test "x$SGICC" = "xyes"; then
21087     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21088 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21089 if ${wx_cv_prog_sgicc744+:} false; then :
21090   $as_echo_n "(cached) " >&6
21091 else
21092
21093             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h.  */
21095
21096 int
21097 main ()
21098 {
21099
21100                     #if _SGI_COMPILER_VERSION >= 744
21101                     chock me: mipsPro is 7.4.4 or later
21102                     #endif
21103
21104   ;
21105   return 0;
21106 }
21107 _ACEOF
21108 if ac_fn_c_try_compile "$LINENO"; then :
21109   wx_cv_prog_sgicc744=no
21110 else
21111   wx_cv_prog_sgicc744=yes
21112
21113 fi
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115
21116
21117 fi
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21119 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21120
21121     if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21122         CFLAGS="-woff 3970 $CFLAGS"
21123     fi
21124 fi
21125 if test "x$SGICXX" = "xyes"; then
21126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21127 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21128 if ${wx_cv_prog_sgicxx744+:} false; then :
21129   $as_echo_n "(cached) " >&6
21130 else
21131
21132             ac_ext=cpp
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21137
21138             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h.  */
21140
21141 int
21142 main ()
21143 {
21144
21145                     #if _SGI_COMPILER_VERSION >= 744
21146                     chock me: mipsPro is 7.4.4 or later
21147                     #endif
21148
21149   ;
21150   return 0;
21151 }
21152 _ACEOF
21153 if ac_fn_cxx_try_compile "$LINENO"; then :
21154   wx_cv_prog_sgicxx744=no
21155 else
21156   wx_cv_prog_sgicxx744=yes
21157
21158 fi
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160             ac_ext=c
21161 ac_cpp='$CPP $CPPFLAGS'
21162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21165
21166
21167
21168 fi
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21170 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21171
21172     if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21173         CXXFLAGS="-woff 3970 $CXXFLAGS"
21174     fi
21175 fi
21176
21177 if test "x$HPCC" = "xyes"; then
21178                     CFLAGS="+W 2011,2450 $CFLAGS"
21179 fi
21180 if test "x$HPCXX" = "xyes"; then
21181                             CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21182 fi
21183
21184 if test "x$COMPAQCXX" = "xyes"; then
21185                                 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21186 fi
21187
21188 ac_ext=cpp
21189 ac_cpp='$CXXCPP $CPPFLAGS'
21190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21193
21194
21195 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21196     if test "$wxUSE_UNICODE" = "yes"; then
21197         std_string="std::wstring"
21198         char_type="wchar_t"
21199     else
21200         std_string="std::string"
21201         char_type="char"
21202     fi
21203
21204         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21205 $as_echo_n "checking for $std_string in <string>... " >&6; }
21206 if ${wx_cv_class_stdstring+:} false; then :
21207   $as_echo_n "(cached) " >&6
21208 else
21209
21210             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h.  */
21212 #include <string>
21213 int
21214 main ()
21215 {
21216 $std_string foo;
21217   ;
21218   return 0;
21219 }
21220 _ACEOF
21221 if ac_fn_cxx_try_compile "$LINENO"; then :
21222   wx_cv_class_stdstring=yes
21223 else
21224   wx_cv_class_stdstring=no
21225
21226 fi
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228
21229
21230 fi
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21232 $as_echo "$wx_cv_class_stdstring" >&6; }
21233
21234     if test "$wx_cv_class_stdstring" = yes; then
21235         if test "$wxUSE_UNICODE" = "yes"; then
21236             $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21237
21238         fi
21239                     else
21240         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21241 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21242 if ${wx_cv_class_stdbasicstring+:} false; then :
21243   $as_echo_n "(cached) " >&6
21244 else
21245
21246                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h.  */
21248
21249                     #ifdef HAVE_WCHAR_H
21250                     #  ifdef __CYGWIN__
21251                     #    include <stddef.h>
21252                     #  endif
21253                     #  include <wchar.h>
21254                     #endif
21255                     #ifdef HAVE_STDLIB_H
21256                     #  include <stdlib.h>
21257                     #endif
21258                     #include <stdio.h>
21259                     #include <string>
21260
21261 int
21262 main ()
21263 {
21264 std::basic_string<$char_type> foo;
21265                      const $char_type* dummy = foo.c_str();
21266   ;
21267   return 0;
21268 }
21269 _ACEOF
21270 if ac_fn_cxx_try_compile "$LINENO"; then :
21271   wx_cv_class_stdbasicstring=yes
21272 else
21273   wx_cv_class_stdbasicstring=no
21274
21275 fi
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277
21278
21279 fi
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21281 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21282
21283         if test "$wx_cv_class_stdbasicstring" != yes; then
21284             if test "$wxUSE_STL" = "yes"; then
21285                 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21286             elif test "$wxUSE_STD_STRING" = "yes"; then
21287                 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21288             else
21289                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21290 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21291                 wxUSE_STD_STRING=no
21292             fi
21293         fi
21294     fi
21295 fi
21296
21297 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21298     ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21299 "
21300 if test "x$ac_cv_type_std__istream" = xyes; then :
21301
21302 cat >>confdefs.h <<_ACEOF
21303 #define HAVE_STD__ISTREAM 1
21304 _ACEOF
21305
21306
21307 else
21308   wxUSE_STD_IOSTREAM=no
21309 fi
21310 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21311 "
21312 if test "x$ac_cv_type_std__ostream" = xyes; then :
21313
21314 cat >>confdefs.h <<_ACEOF
21315 #define HAVE_STD__OSTREAM 1
21316 _ACEOF
21317
21318
21319 else
21320   wxUSE_STD_IOSTREAM=no
21321 fi
21322
21323
21324     if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21325         if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21326             as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21327         else
21328             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21329 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21330         fi
21331     fi
21332 fi
21333
21334 if test "$wxUSE_STL" = "yes"; then
21335         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21336 $as_echo_n "checking for basic STL functionality... " >&6; }
21337 if ${wx_cv_lib_stl+:} false; then :
21338   $as_echo_n "(cached) " >&6
21339 else
21340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h.  */
21342 #include <string>
21343             #include <functional>
21344             #include <algorithm>
21345             #include <vector>
21346             #include <list>
21347 int
21348 main ()
21349 {
21350 std::vector<int> moo;
21351              std::list<int> foo;
21352              std::vector<int>::iterator it =
21353                  std::find_if(moo.begin(), moo.end(),
21354                               std::bind2nd(std::less<int>(), 3));
21355   ;
21356   return 0;
21357 }
21358 _ACEOF
21359 if ac_fn_cxx_try_compile "$LINENO"; then :
21360   wx_cv_lib_stl=yes
21361 else
21362   wx_cv_lib_stl=no
21363
21364 fi
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366
21367 fi
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21369 $as_echo "$wx_cv_lib_stl" >&6; }
21370
21371     if test "$wx_cv_lib_stl" != yes; then
21372          as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21373     fi
21374
21375         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21376 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21377 if ${wx_cv_func_stdstring_compare+:} false; then :
21378   $as_echo_n "(cached) " >&6
21379 else
21380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h.  */
21382 #include <string>
21383 int
21384 main ()
21385 {
21386 std::string foo, bar;
21387             foo.compare(bar);
21388             foo.compare(1, 1, bar);
21389             foo.compare(1, 1, bar, 1, 1);
21390             foo.compare("");
21391             foo.compare(1, 1, "");
21392             foo.compare(1, 1, "", 2);
21393   ;
21394   return 0;
21395 }
21396 _ACEOF
21397 if ac_fn_cxx_try_compile "$LINENO"; then :
21398   wx_cv_func_stdstring_compare=yes
21399 else
21400   wx_cv_func_stdstring_compare=no
21401
21402 fi
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21404
21405 fi
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21407 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21408
21409     if test "$wx_cv_func_stdstring_compare" = yes; then
21410         $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21411
21412     fi
21413
21414     if test "$wx_cv_class_gnuhashmapset" = yes; then
21415          $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21416
21417          $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21418
21419     fi
21420
21421     ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21422
21423 "
21424 if test "x$ac_cv_header_unordered_map" = xyes; then :
21425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21426 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21427 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21428   $as_echo_n "(cached) " >&6
21429 else
21430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431 /* end confdefs.h.  */
21432 #include <unordered_map>
21433                 #include <unordered_set>
21434 int
21435 main ()
21436 {
21437 std::unordered_map<double*, char*> test1;
21438                  std::unordered_set<char*> test2;
21439   ;
21440   return 0;
21441 }
21442 _ACEOF
21443 if ac_fn_cxx_try_compile "$LINENO"; then :
21444   wx_cv_class_stdunorderedmapset=yes
21445 else
21446   wx_cv_class_stdunorderedmapset=no
21447 fi
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449
21450
21451 fi
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21453 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21454 fi
21455
21456
21457
21458     if test "$wx_cv_class_stdunorderedmapset" = yes; then
21459          $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21460
21461          $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21462
21463     else
21464         ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21465
21466 "
21467 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21469 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21470 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21471   $as_echo_n "(cached) " >&6
21472 else
21473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21474 /* end confdefs.h.  */
21475 #include <tr1/unordered_map>
21476                     #include <tr1/unordered_set>
21477 int
21478 main ()
21479 {
21480 std::tr1::unordered_map<double*, char*> test1;
21481                      std::tr1::unordered_set<char*> test2;
21482             #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21483             #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21484             #endif
21485   ;
21486   return 0;
21487 }
21488 _ACEOF
21489 if ac_fn_cxx_try_compile "$LINENO"; then :
21490   wx_cv_class_tr1unorderedmapset=yes
21491 else
21492   wx_cv_class_tr1unorderedmapset=no
21493 fi
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495
21496
21497 fi
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21499 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21500 fi
21501
21502
21503
21504         if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21505             $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21506
21507             $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21508
21509         else
21510                         ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21511
21512 "
21513 if test "x$ac_cv_header_hash_map" = xyes; then :
21514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21515 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21516 if ${wx_cv_class_stdhashmapset+:} false; then :
21517   $as_echo_n "(cached) " >&6
21518 else
21519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h.  */
21521 #include <hash_map>
21522                         #include <hash_set>
21523 int
21524 main ()
21525 {
21526 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21527                          std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21528   ;
21529   return 0;
21530 }
21531 _ACEOF
21532 if ac_fn_cxx_try_compile "$LINENO"; then :
21533   wx_cv_class_stdhashmapset=yes
21534 else
21535   wx_cv_class_stdhashmapset=no
21536 fi
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538
21539
21540 fi
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21542 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21543 fi
21544
21545
21546
21547             if test "$wx_cv_class_stdhashmapset" = yes; then
21548                 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21549
21550                 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21551
21552             fi
21553
21554             ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21555
21556 "
21557 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21559 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21560 if ${wx_cv_class_gnuhashmapset+:} false; then :
21561   $as_echo_n "(cached) " >&6
21562 else
21563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h.  */
21565 #include <ext/hash_map>
21566                         #include <ext/hash_set>
21567 int
21568 main ()
21569 {
21570 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21571                          __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21572   ;
21573   return 0;
21574 }
21575 _ACEOF
21576 if ac_fn_cxx_try_compile "$LINENO"; then :
21577   wx_cv_class_gnuhashmapset=yes
21578 else
21579   wx_cv_class_gnuhashmapset=no
21580 fi
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582
21583
21584 fi
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21586 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21587 fi
21588
21589
21590
21591         fi
21592     fi
21593 fi
21594
21595 ac_ext=cpp
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21601 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21602 if test -z "$CXXCPP"; then
21603   if ${ac_cv_prog_CXXCPP+:} false; then :
21604   $as_echo_n "(cached) " >&6
21605 else
21606       # Double quotes because CXXCPP needs to be expanded
21607     for CXXCPP in "$CXX -E" "/lib/cpp"
21608     do
21609       ac_preproc_ok=false
21610 for ac_cxx_preproc_warn_flag in '' yes
21611 do
21612   # Use a header file that comes with gcc, so configuring glibc
21613   # with a fresh cross-compiler works.
21614   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21615   # <limits.h> exists even on freestanding compilers.
21616   # On the NeXT, cc -E runs the code through the compiler's parser,
21617   # not just through cpp. "Syntax error" is here to catch this case.
21618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21619 /* end confdefs.h.  */
21620 #ifdef __STDC__
21621 # include <limits.h>
21622 #else
21623 # include <assert.h>
21624 #endif
21625                      Syntax error
21626 _ACEOF
21627 if ac_fn_cxx_try_cpp "$LINENO"; then :
21628
21629 else
21630   # Broken: fails on valid input.
21631 continue
21632 fi
21633 rm -f conftest.err conftest.i conftest.$ac_ext
21634
21635   # OK, works on sane cases.  Now check whether nonexistent headers
21636   # can be detected and how.
21637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h.  */
21639 #include <ac_nonexistent.h>
21640 _ACEOF
21641 if ac_fn_cxx_try_cpp "$LINENO"; then :
21642   # Broken: success on invalid input.
21643 continue
21644 else
21645   # Passes both tests.
21646 ac_preproc_ok=:
21647 break
21648 fi
21649 rm -f conftest.err conftest.i conftest.$ac_ext
21650
21651 done
21652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21653 rm -f conftest.i conftest.err conftest.$ac_ext
21654 if $ac_preproc_ok; then :
21655   break
21656 fi
21657
21658     done
21659     ac_cv_prog_CXXCPP=$CXXCPP
21660
21661 fi
21662   CXXCPP=$ac_cv_prog_CXXCPP
21663 else
21664   ac_cv_prog_CXXCPP=$CXXCPP
21665 fi
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21667 $as_echo "$CXXCPP" >&6; }
21668 ac_preproc_ok=false
21669 for ac_cxx_preproc_warn_flag in '' yes
21670 do
21671   # Use a header file that comes with gcc, so configuring glibc
21672   # with a fresh cross-compiler works.
21673   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21674   # <limits.h> exists even on freestanding compilers.
21675   # On the NeXT, cc -E runs the code through the compiler's parser,
21676   # not just through cpp. "Syntax error" is here to catch this case.
21677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h.  */
21679 #ifdef __STDC__
21680 # include <limits.h>
21681 #else
21682 # include <assert.h>
21683 #endif
21684                      Syntax error
21685 _ACEOF
21686 if ac_fn_cxx_try_cpp "$LINENO"; then :
21687
21688 else
21689   # Broken: fails on valid input.
21690 continue
21691 fi
21692 rm -f conftest.err conftest.i conftest.$ac_ext
21693
21694   # OK, works on sane cases.  Now check whether nonexistent headers
21695   # can be detected and how.
21696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h.  */
21698 #include <ac_nonexistent.h>
21699 _ACEOF
21700 if ac_fn_cxx_try_cpp "$LINENO"; then :
21701   # Broken: success on invalid input.
21702 continue
21703 else
21704   # Passes both tests.
21705 ac_preproc_ok=:
21706 break
21707 fi
21708 rm -f conftest.err conftest.i conftest.$ac_ext
21709
21710 done
21711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21712 rm -f conftest.i conftest.err conftest.$ac_ext
21713 if $ac_preproc_ok; then :
21714
21715 else
21716   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21718 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21719 See \`config.log' for more details" "$LINENO" 5; }
21720 fi
21721
21722 ac_ext=cpp
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21727
21728
21729 for ac_header in type_traits tr1/type_traits
21730 do :
21731   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21732 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21734   cat >>confdefs.h <<_ACEOF
21735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21736 _ACEOF
21737
21738 fi
21739
21740 done
21741
21742
21743
21744
21745   if test -n "$GCC"; then
21746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21747 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21748     if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21749   $as_echo_n "(cached) " >&6
21750 else
21751
21752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h.  */
21754
21755 int
21756 main ()
21757 {
21758
21759           unsigned int value=0;
21760           /* wxAtomicInc doesn't use return value here */
21761           __sync_fetch_and_add(&value, 2);
21762           __sync_sub_and_fetch(&value, 1);
21763           /* but wxAtomicDec does, so mimic that: */
21764           unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21765
21766   ;
21767   return 0;
21768 }
21769 _ACEOF
21770 if ac_fn_cxx_try_link "$LINENO"; then :
21771   wx_cv_cc_gcc_atomic_builtins=yes
21772 else
21773   wx_cv_cc_gcc_atomic_builtins=no
21774 fi
21775 rm -f core conftest.err conftest.$ac_objext \
21776     conftest$ac_exeext conftest.$ac_ext
21777
21778 fi
21779
21780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21781 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21782     if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21783       $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21784
21785     fi
21786   fi
21787
21788
21789 ac_ext=c
21790 ac_cpp='$CPP $CPPFLAGS'
21791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21794
21795
21796
21797 SEARCH_INCLUDE="\
21798     /usr/local/include        \
21799     /usr/local/X11/include    \
21800     /usr/local/include/X11    \
21801     /usr/local/X11R7/include  \
21802     /usr/local/X11R6/include  \
21803     /usr/local/include/X11R7  \
21804     /usr/local/include/X11R6  \
21805                               \
21806     /usr/Motif-2.1/include    \
21807     /usr/Motif-1.2/include    \
21808     /usr/include/Motif1.2     \
21809                               \
21810     /usr/dt/include           \
21811     /usr/openwin/include      \
21812                               \
21813     /usr/include/Xm           \
21814                               \
21815     /usr/X11R7/include        \
21816     /usr/X11R6/include        \
21817     /usr/X11R6.4/include      \
21818                               \
21819     /usr/include/X11R7        \
21820     /usr/include/X11R6        \
21821                               \
21822     /usr/X11/include          \
21823     /usr/include/X11          \
21824                               \
21825     /usr/XFree86/include/X11  \
21826     /usr/pkg/include          \
21827                               \
21828     /usr/local/X1R5/include  \
21829     /usr/local/include/X11R5  \
21830     /usr/X11R5/include        \
21831     /usr/include/X11R5        \
21832                               \
21833     /usr/local/X11R4/include  \
21834     /usr/local/include/X11R4  \
21835     /usr/X11R4/include        \
21836     /usr/include/X11R4        \
21837                               \
21838     /usr/openwin/share/include"
21839
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21841 $as_echo_n "checking for libraries directories... " >&6; }
21842
21843 case "${host}" in
21844     *-*-irix6* )
21845         if ${wx_cv_std_libpath+:} false; then :
21846   $as_echo_n "(cached) " >&6
21847 else
21848
21849                 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21850                     for e in a so sl dylib dll.a; do
21851                         libc="$d/libc.$e"
21852                         if test -f $libc; then
21853                             save_LIBS="$LIBS"
21854                             LIBS="$libc"
21855                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h.  */
21857
21858                                     int main() { return 0; }
21859
21860 _ACEOF
21861 if ac_fn_c_try_link "$LINENO"; then :
21862   wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21863 fi
21864 rm -f core conftest.err conftest.$ac_objext \
21865     conftest$ac_exeext conftest.$ac_ext
21866                             LIBS="$save_LIBS"
21867                             if test "x$wx_cv_std_libpath" != "x"; then
21868                                 break 2
21869                             fi
21870                         fi
21871                     done
21872                 done
21873
21874
21875 fi
21876
21877         ;;
21878
21879     *-*-solaris2* )
21880                 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21881             wx_cv_std_libpath="lib/64"
21882         fi
21883         ;;
21884
21885     *-*-linux* )
21886                                         if test "$ac_cv_sizeof_void_p" = 8; then
21887             if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21888                 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21889             elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21890                 wx_cv_std_libpath="lib64"
21891             fi
21892         else
21893             case "${host}" in
21894                 i*86-*-linux* )
21895                     if test -d '/usr/lib/i386-linux-gnu'; then
21896                         wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21897                     fi
21898             esac
21899         fi
21900
21901                                 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21902             wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21903         fi
21904         ;;
21905 esac
21906
21907 if test -z "$wx_cv_std_libpath"; then
21908     wx_cv_std_libpath="lib"
21909 fi
21910
21911 if test -z "$wx_cv_std_libfullpath"; then
21912     wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21913 fi
21914
21915
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21917 $as_echo "$wx_cv_std_libfullpath" >&6; }
21918
21919 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21920
21921 if test "$build" != "$host" -a "$GCC" = yes; then
21922                     if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21923         cross_root=`dirname $cross_root`
21924         cross_root=`dirname $cross_root`
21925
21926                         SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21927         SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21928         SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21929
21930                 if test -z "$PKG_CONFIG_PATH"; then
21931             PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21932             export PKG_CONFIG_PATH
21933         fi
21934
21935                                 if test -z "$x_includes" -o "$x_includes" = NONE; then
21936
21937 ac_find_includes=
21938 for ac_dir in $SEARCH_INCLUDE /usr/include
21939   do
21940     if test -f "$ac_dir/X11/Intrinsic.h"; then
21941       ac_find_includes=$ac_dir
21942       break
21943     fi
21944   done
21945
21946             x_includes=$ac_find_includes
21947         fi
21948         if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21949
21950   ac_find_libraries=
21951   for ac_dir in  $SEARCH_LIB
21952   do
21953     for ac_extension in a so sl dylib dll.a; do
21954       if test -f "$ac_dir/libXt.$ac_extension"; then
21955         ac_find_libraries=$ac_dir
21956         break 2
21957       fi
21958     done
21959   done
21960
21961             x_libraries=$ac_find_libraries
21962         fi
21963     fi
21964 fi
21965
21966
21967 cat >confcache <<\_ACEOF
21968 # This file is a shell script that caches the results of configure
21969 # tests run on this system so they can be shared between configure
21970 # scripts and configure runs, see configure's option --config-cache.
21971 # It is not useful on other systems.  If it contains results you don't
21972 # want to keep, you may remove or edit it.
21973 #
21974 # config.status only pays attention to the cache file if you give it
21975 # the --recheck option to rerun configure.
21976 #
21977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21979 # following values.
21980
21981 _ACEOF
21982
21983 # The following way of writing the cache mishandles newlines in values,
21984 # but we know of no workaround that is simple, portable, and efficient.
21985 # So, we kill variables containing newlines.
21986 # Ultrix sh set writes to stderr and can't be redirected directly,
21987 # and sets the high bit in the cache file unless we assign to the vars.
21988 (
21989   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21990     eval ac_val=\$$ac_var
21991     case $ac_val in #(
21992     *${as_nl}*)
21993       case $ac_var in #(
21994       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21996       esac
21997       case $ac_var in #(
21998       _ | IFS | as_nl) ;; #(
21999       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22000       *) { eval $ac_var=; unset $ac_var;} ;;
22001       esac ;;
22002     esac
22003   done
22004
22005   (set) 2>&1 |
22006     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22007     *${as_nl}ac_space=\ *)
22008       # `set' does not quote correctly, so add quotes: double-quote
22009       # substitution turns \\\\ into \\, and sed turns \\ into \.
22010       sed -n \
22011         "s/'/'\\\\''/g;
22012           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22013       ;; #(
22014     *)
22015       # `set' quotes correctly as required by POSIX, so do not add quotes.
22016       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22017       ;;
22018     esac |
22019     sort
22020 ) |
22021   sed '
22022      /^ac_cv_env_/b end
22023      t clear
22024      :clear
22025      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22026      t end
22027      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22028      :end' >>confcache
22029 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22030   if test -w "$cache_file"; then
22031     if test "x$cache_file" != "x/dev/null"; then
22032       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22033 $as_echo "$as_me: updating cache $cache_file" >&6;}
22034       if test ! -f "$cache_file" || test -h "$cache_file"; then
22035         cat confcache >"$cache_file"
22036       else
22037         case $cache_file in #(
22038         */* | ?:*)
22039           mv -f confcache "$cache_file"$$ &&
22040           mv -f "$cache_file"$$ "$cache_file" ;; #(
22041         *)
22042           mv -f confcache "$cache_file" ;;
22043         esac
22044       fi
22045     fi
22046   else
22047     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22048 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22049   fi
22050 fi
22051 rm -f confcache
22052
22053 have_cos=0
22054 have_floor=0
22055 for ac_func in cos
22056 do :
22057   ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22058 if test "x$ac_cv_func_cos" = xyes; then :
22059   cat >>confdefs.h <<_ACEOF
22060 #define HAVE_COS 1
22061 _ACEOF
22062  have_cos=1
22063 fi
22064 done
22065
22066 for ac_func in floor
22067 do :
22068   ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22069 if test "x$ac_cv_func_floor" = xyes; then :
22070   cat >>confdefs.h <<_ACEOF
22071 #define HAVE_FLOOR 1
22072 _ACEOF
22073  have_floor=1
22074 fi
22075 done
22076
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22078 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22079 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22081 $as_echo "yes" >&6; }
22082 else
22083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22084 $as_echo "no" >&6; }
22085     LIBS="$LIBS -lm"
22086     # use different functions to avoid configure caching
22087     have_sin=0
22088     have_ceil=0
22089     for ac_func in sin
22090 do :
22091   ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22092 if test "x$ac_cv_func_sin" = xyes; then :
22093   cat >>confdefs.h <<_ACEOF
22094 #define HAVE_SIN 1
22095 _ACEOF
22096  have_sin=1
22097 fi
22098 done
22099
22100     for ac_func in ceil
22101 do :
22102   ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22103 if test "x$ac_cv_func_ceil" = xyes; then :
22104   cat >>confdefs.h <<_ACEOF
22105 #define HAVE_CEIL 1
22106 _ACEOF
22107  have_ceil=1
22108 fi
22109 done
22110
22111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22112 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22113     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22116     else
22117         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22118 $as_echo "no" >&6; }
22119         # not sure we should warn the user, crash, etc.
22120     fi
22121 fi
22122
22123 ac_ext=cpp
22124 ac_cpp='$CXXCPP $CPPFLAGS'
22125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22128
22129 if test "wxUSE_UNICODE" = "yes"; then
22130
22131   for wx_func in wcstoull
22132   do
22133     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22134 $as_echo_n "checking for $wx_func... " >&6; }
22135 if eval \${wx_cv_func_$wx_func+:} false; then :
22136   $as_echo_n "(cached) " >&6
22137 else
22138
22139         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h.  */
22141
22142
22143
22144                 $ac_includes_default
22145
22146 int
22147 main ()
22148 {
22149
22150                 #ifndef $wx_func
22151                   &$wx_func;
22152                 #endif
22153
22154
22155   ;
22156   return 0;
22157 }
22158
22159 _ACEOF
22160 if ac_fn_cxx_try_link "$LINENO"; then :
22161   eval wx_cv_func_$wx_func=yes
22162 else
22163   eval wx_cv_func_$wx_func=no
22164 fi
22165 rm -f core conftest.err conftest.$ac_objext \
22166     conftest$ac_exeext conftest.$ac_ext
22167
22168 fi
22169 eval ac_res=\$wx_cv_func_$wx_func
22170                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22171 $as_echo "$ac_res" >&6; }
22172
22173     if eval test \$wx_cv_func_$wx_func = yes
22174     then
22175       cat >>confdefs.h <<_ACEOF
22176 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22177 _ACEOF
22178
22179
22180     else
22181       :
22182
22183     fi
22184   done
22185
22186 else
22187
22188   for wx_func in strtoull
22189   do
22190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22191 $as_echo_n "checking for $wx_func... " >&6; }
22192 if eval \${wx_cv_func_$wx_func+:} false; then :
22193   $as_echo_n "(cached) " >&6
22194 else
22195
22196         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22197 /* end confdefs.h.  */
22198
22199
22200
22201                 $ac_includes_default
22202
22203 int
22204 main ()
22205 {
22206
22207                 #ifndef $wx_func
22208                   &$wx_func;
22209                 #endif
22210
22211
22212   ;
22213   return 0;
22214 }
22215
22216 _ACEOF
22217 if ac_fn_cxx_try_link "$LINENO"; then :
22218   eval wx_cv_func_$wx_func=yes
22219 else
22220   eval wx_cv_func_$wx_func=no
22221 fi
22222 rm -f core conftest.err conftest.$ac_objext \
22223     conftest$ac_exeext conftest.$ac_ext
22224
22225 fi
22226 eval ac_res=\$wx_cv_func_$wx_func
22227                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22228 $as_echo "$ac_res" >&6; }
22229
22230     if eval test \$wx_cv_func_$wx_func = yes
22231     then
22232       cat >>confdefs.h <<_ACEOF
22233 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22234 _ACEOF
22235
22236
22237     else
22238       :
22239
22240     fi
22241   done
22242
22243 fi
22244 ac_ext=c
22245 ac_cpp='$CPP $CPPFLAGS'
22246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22249
22250
22251
22252
22253 if test "$wxUSE_REGEX" != "no"; then
22254     $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22255
22256
22257     if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22258         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22259 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22260         wxUSE_REGEX=builtin
22261     fi
22262
22263     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22264                         ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22265 "
22266 if test "x$ac_cv_header_regex_h" = xyes; then :
22267   for ac_func in regcomp re_search
22268 do :
22269   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22271 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22272   cat >>confdefs.h <<_ACEOF
22273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22274 _ACEOF
22275
22276 fi
22277 done
22278
22279 fi
22280
22281
22282
22283         if test "x$ac_cv_func_regcomp" != "xyes"; then
22284             if test "$wxUSE_REGEX" = "sys" ; then
22285                 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22286             else
22287                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22288 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22289                 wxUSE_REGEX=builtin
22290             fi
22291         else
22292                         wxUSE_REGEX=sys
22293                         $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22294
22295         fi
22296     fi
22297 fi
22298
22299
22300 ZLIB_LINK=
22301 if test "$wxUSE_ZLIB" != "no" ; then
22302     $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22303
22304
22305     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22306                                                 if test "$USE_DARWIN" = 1; then
22307             system_zlib_h_ok="yes"
22308         else
22309                                                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22310 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22311 if ${ac_cv_header_zlib_h+:} false; then :
22312   $as_echo_n "(cached) " >&6
22313 else
22314   if test "$cross_compiling" = yes; then :
22315                       unset ac_cv_header_zlib_h
22316
22317 else
22318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h.  */
22320
22321                         #include <zlib.h>
22322                         #include <stdio.h>
22323
22324                         int main()
22325                         {
22326                             FILE *f=fopen("conftestval", "w");
22327                             if (!f) exit(1);
22328                             fprintf(f, "%s",
22329                                     ZLIB_VERSION[0] == '1' &&
22330                                     (ZLIB_VERSION[2] > '1' ||
22331                                     (ZLIB_VERSION[2] == '1' &&
22332                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22333                             exit(0);
22334                         }
22335
22336 _ACEOF
22337 if ac_fn_c_try_run "$LINENO"; then :
22338   ac_cv_header_zlib_h=`cat conftestval`
22339 else
22340   ac_cv_header_zlib_h=no
22341 fi
22342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22343   conftest.$ac_objext conftest.beam conftest.$ac_ext
22344 fi
22345
22346
22347 fi
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22349 $as_echo "$ac_cv_header_zlib_h" >&6; }
22350                                     ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22351 "
22352 if test "x$ac_cv_header_zlib_h" = xyes; then :
22353
22354 fi
22355
22356
22357
22358             system_zlib_h_ok=$ac_cv_header_zlib_h
22359         fi
22360
22361         if test "$system_zlib_h_ok" = "yes"; then
22362             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22363 $as_echo_n "checking for deflate in -lz... " >&6; }
22364 if ${ac_cv_lib_z_deflate+:} false; then :
22365   $as_echo_n "(cached) " >&6
22366 else
22367   ac_check_lib_save_LIBS=$LIBS
22368 LIBS="-lz  $LIBS"
22369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22370 /* end confdefs.h.  */
22371
22372 /* Override any GCC internal prototype to avoid an error.
22373    Use char because int might match the return type of a GCC
22374    builtin and then its argument prototype would still apply.  */
22375 #ifdef __cplusplus
22376 extern "C"
22377 #endif
22378 char deflate ();
22379 int
22380 main ()
22381 {
22382 return deflate ();
22383   ;
22384   return 0;
22385 }
22386 _ACEOF
22387 if ac_fn_c_try_link "$LINENO"; then :
22388   ac_cv_lib_z_deflate=yes
22389 else
22390   ac_cv_lib_z_deflate=no
22391 fi
22392 rm -f core conftest.err conftest.$ac_objext \
22393     conftest$ac_exeext conftest.$ac_ext
22394 LIBS=$ac_check_lib_save_LIBS
22395 fi
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22397 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22398 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22399   ZLIB_LINK=" -lz"
22400 fi
22401
22402         fi
22403
22404         if test "x$ZLIB_LINK" = "x" ; then
22405             if test "$wxUSE_ZLIB" = "sys" ; then
22406                 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22407             else
22408                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22409 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22410                 wxUSE_ZLIB=builtin
22411             fi
22412         else
22413                         wxUSE_ZLIB=sys
22414         fi
22415     fi
22416 fi
22417
22418
22419 PNG_LINK=
22420 if test "$wxUSE_LIBPNG" != "no" ; then
22421     $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22422
22423
22424             if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22425         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22426 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22427         wxUSE_LIBPNG=builtin
22428     fi
22429
22430     if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22431                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22432 $as_echo_n "checking for png.h > 0.90... " >&6; }
22433 if ${ac_cv_header_png_h+:} false; then :
22434   $as_echo_n "(cached) " >&6
22435 else
22436   if test "$cross_compiling" = yes; then :
22437                   unset ac_cv_header_png_h
22438
22439 else
22440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h.  */
22442
22443                     #include <png.h>
22444                     #include <stdio.h>
22445
22446                     int main()
22447                     {
22448                         FILE *f=fopen("conftestval", "w");
22449                         if (!f) exit(1);
22450                         fprintf(f, "%s",
22451                                  PNG_LIBPNG_VER > 90 ? "yes" : "no");
22452                         exit(0);
22453                     }
22454
22455 _ACEOF
22456 if ac_fn_c_try_run "$LINENO"; then :
22457   ac_cv_header_png_h=`cat conftestval`
22458 else
22459   ac_cv_header_png_h=no
22460 fi
22461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22462   conftest.$ac_objext conftest.beam conftest.$ac_ext
22463 fi
22464
22465
22466 fi
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22468 $as_echo "$ac_cv_header_png_h" >&6; }
22469         ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22470 "
22471 if test "x$ac_cv_header_png_h" = xyes; then :
22472
22473 fi
22474
22475
22476
22477         if test "$ac_cv_header_png_h" = "yes"; then
22478             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22479 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22480 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22481   $as_echo_n "(cached) " >&6
22482 else
22483   ac_check_lib_save_LIBS=$LIBS
22484 LIBS="-lpng -lz -lm $LIBS"
22485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h.  */
22487
22488 /* Override any GCC internal prototype to avoid an error.
22489    Use char because int might match the return type of a GCC
22490    builtin and then its argument prototype would still apply.  */
22491 #ifdef __cplusplus
22492 extern "C"
22493 #endif
22494 char png_sig_cmp ();
22495 int
22496 main ()
22497 {
22498 return png_sig_cmp ();
22499   ;
22500   return 0;
22501 }
22502 _ACEOF
22503 if ac_fn_c_try_link "$LINENO"; then :
22504   ac_cv_lib_png_png_sig_cmp=yes
22505 else
22506   ac_cv_lib_png_png_sig_cmp=no
22507 fi
22508 rm -f core conftest.err conftest.$ac_objext \
22509     conftest$ac_exeext conftest.$ac_ext
22510 LIBS=$ac_check_lib_save_LIBS
22511 fi
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22513 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22514 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22515   PNG_LINK=" -lpng -lz"
22516 fi
22517
22518         fi
22519
22520         if test "x$PNG_LINK" = "x" ; then
22521             if test "$wxUSE_LIBPNG" = "sys" ; then
22522                 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22523             else
22524                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22525 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22526                 wxUSE_LIBPNG=builtin
22527             fi
22528         else
22529                         wxUSE_LIBPNG=sys
22530         fi
22531     fi
22532 fi
22533
22534
22535 JPEG_LINK=
22536 if test "$wxUSE_LIBJPEG" != "no" ; then
22537     $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22538
22539
22540     if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22541                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22542 $as_echo_n "checking for jpeglib.h... " >&6; }
22543         if ${ac_cv_header_jpeglib_h+:} false; then :
22544   $as_echo_n "(cached) " >&6
22545 else
22546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22547 /* end confdefs.h.  */
22548
22549                     #undef HAVE_STDLIB_H
22550                     #include <stdio.h>
22551                     #include <jpeglib.h>
22552
22553 int
22554 main ()
22555 {
22556
22557
22558   ;
22559   return 0;
22560 }
22561 _ACEOF
22562 if ac_fn_c_try_compile "$LINENO"; then :
22563   ac_cv_header_jpeglib_h=yes
22564 else
22565   ac_cv_header_jpeglib_h=no
22566
22567 fi
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569
22570 fi
22571
22572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22573 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22574
22575         if test "$ac_cv_header_jpeglib_h" = "yes"; then
22576             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22577 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22578 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22579   $as_echo_n "(cached) " >&6
22580 else
22581   ac_check_lib_save_LIBS=$LIBS
22582 LIBS="-ljpeg  $LIBS"
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h.  */
22585
22586 /* Override any GCC internal prototype to avoid an error.
22587    Use char because int might match the return type of a GCC
22588    builtin and then its argument prototype would still apply.  */
22589 #ifdef __cplusplus
22590 extern "C"
22591 #endif
22592 char jpeg_read_header ();
22593 int
22594 main ()
22595 {
22596 return jpeg_read_header ();
22597   ;
22598   return 0;
22599 }
22600 _ACEOF
22601 if ac_fn_c_try_link "$LINENO"; then :
22602   ac_cv_lib_jpeg_jpeg_read_header=yes
22603 else
22604   ac_cv_lib_jpeg_jpeg_read_header=no
22605 fi
22606 rm -f core conftest.err conftest.$ac_objext \
22607     conftest$ac_exeext conftest.$ac_ext
22608 LIBS=$ac_check_lib_save_LIBS
22609 fi
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22611 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22612 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22613   JPEG_LINK=" -ljpeg"
22614 fi
22615
22616         fi
22617
22618         if test "x$JPEG_LINK" = "x" ; then
22619             if test "$wxUSE_LIBJPEG" = "sys" ; then
22620                 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22621             else
22622                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22623 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22624                 wxUSE_LIBJPEG=builtin
22625             fi
22626         else
22627                         wxUSE_LIBJPEG=sys
22628
22629             if test "$wxUSE_MSW" = 1; then
22630                                                                                 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22631 "
22632 if test "x$ac_cv_type_boolean" = xyes; then :
22633
22634 cat >>confdefs.h <<_ACEOF
22635 #define HAVE_BOOLEAN 1
22636 _ACEOF
22637
22638
22639                         # The cast to long int works around a bug in the HP C Compiler
22640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22642 # This bug is HP SR number 8606223364.
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22644 $as_echo_n "checking size of boolean... " >&6; }
22645 if ${ac_cv_sizeof_boolean+:} false; then :
22646   $as_echo_n "(cached) " >&6
22647 else
22648   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean"        "
22649                                 #undef HAVE_BOOLEAN
22650                                 #include <stdio.h>
22651                                 #include <jpeglib.h>
22652
22653 "; then :
22654
22655 else
22656   if test "$ac_cv_type_boolean" = yes; then
22657      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22659 as_fn_error 77 "cannot compute sizeof (boolean)
22660 See \`config.log' for more details" "$LINENO" 5; }
22661    else
22662      ac_cv_sizeof_boolean=0
22663    fi
22664 fi
22665
22666 fi
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22668 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22669
22670
22671
22672 cat >>confdefs.h <<_ACEOF
22673 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22674 _ACEOF
22675
22676
22677                         cat >>confdefs.h <<_ACEOF
22678 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22679 _ACEOF
22680
22681
22682 fi
22683
22684             fi
22685         fi
22686     fi
22687 fi
22688
22689
22690 TIFF_LINK=
22691 TIFF_PREREQ_LINKS=-lm
22692 if test "$wxUSE_LIBTIFF" != "no" ; then
22693     $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22694
22695
22696     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22697                         if test "$wxUSE_LIBJPEG" = "sys"; then
22698             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22699         fi
22700         if test "$wxUSE_ZLIB" = "sys"; then
22701             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22702         fi
22703         ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22704
22705 "
22706 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22707
22708                             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22709 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22710 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22711   $as_echo_n "(cached) " >&6
22712 else
22713   ac_check_lib_save_LIBS=$LIBS
22714 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h.  */
22717
22718 /* Override any GCC internal prototype to avoid an error.
22719    Use char because int might match the return type of a GCC
22720    builtin and then its argument prototype would still apply.  */
22721 #ifdef __cplusplus
22722 extern "C"
22723 #endif
22724 char TIFFError ();
22725 int
22726 main ()
22727 {
22728 return TIFFError ();
22729   ;
22730   return 0;
22731 }
22732 _ACEOF
22733 if ac_fn_c_try_link "$LINENO"; then :
22734   ac_cv_lib_tiff_TIFFError=yes
22735 else
22736   ac_cv_lib_tiff_TIFFError=no
22737 fi
22738 rm -f core conftest.err conftest.$ac_objext \
22739     conftest$ac_exeext conftest.$ac_ext
22740 LIBS=$ac_check_lib_save_LIBS
22741 fi
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22743 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22744 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22745   TIFF_LINK=" -ltiff"
22746 fi
22747
22748
22749 fi
22750
22751
22752
22753         if test "x$TIFF_LINK" = "x" ; then
22754             if test "$wxUSE_LIBTIFF" = "sys" ; then
22755                 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22756             else
22757                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22758 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22759                 wxUSE_LIBTIFF=builtin
22760             fi
22761         else
22762                         wxUSE_LIBTIFF=sys
22763         fi
22764     fi
22765     if test "$wxUSE_LIBTIFF" = "builtin" ; then
22766         if test "$wxUSE_LIBJPEG" = "no"; then
22767                                                                                     ac_configure_args="$ac_configure_args --disable-jpeg"
22768         fi
22769
22770
22771 subdirs="$subdirs src/tiff"
22772
22773     fi
22774 fi
22775
22776
22777 if test "$wxUSE_EXPAT" != "no"; then
22778     wxUSE_XML=yes
22779     $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22780
22781     $as_echo "#define wxUSE_XML 1" >>confdefs.h
22782
22783
22784     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22785         ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22786 "
22787 if test "x$ac_cv_header_expat_h" = xyes; then :
22788   found_expat_h=1
22789 fi
22790
22791
22792         if test "x$found_expat_h" = "x1"; then
22793                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22794 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22795 if ${wx_cv_expat_is_not_broken+:} false; then :
22796   $as_echo_n "(cached) " >&6
22797 else
22798
22799                 ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22804
22805                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h.  */
22807 #include <expat.h>
22808 int
22809 main ()
22810 {
22811
22812   ;
22813   return 0;
22814 }
22815 _ACEOF
22816 if ac_fn_cxx_try_compile "$LINENO"; then :
22817   wx_cv_expat_is_not_broken=yes
22818 else
22819   wx_cv_expat_is_not_broken=no
22820
22821 fi
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823                 ac_ext=c
22824 ac_cpp='$CPP $CPPFLAGS'
22825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22828
22829
22830
22831 fi
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22833 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22834             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22835                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22836 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22837 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22838   $as_echo_n "(cached) " >&6
22839 else
22840   ac_check_lib_save_LIBS=$LIBS
22841 LIBS="-lexpat  $LIBS"
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h.  */
22844
22845 /* Override any GCC internal prototype to avoid an error.
22846    Use char because int might match the return type of a GCC
22847    builtin and then its argument prototype would still apply.  */
22848 #ifdef __cplusplus
22849 extern "C"
22850 #endif
22851 char XML_ParserCreate ();
22852 int
22853 main ()
22854 {
22855 return XML_ParserCreate ();
22856   ;
22857   return 0;
22858 }
22859 _ACEOF
22860 if ac_fn_c_try_link "$LINENO"; then :
22861   ac_cv_lib_expat_XML_ParserCreate=yes
22862 else
22863   ac_cv_lib_expat_XML_ParserCreate=no
22864 fi
22865 rm -f core conftest.err conftest.$ac_objext \
22866     conftest$ac_exeext conftest.$ac_ext
22867 LIBS=$ac_check_lib_save_LIBS
22868 fi
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22870 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22871 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22872   EXPAT_LINK=" -lexpat"
22873 fi
22874
22875             fi
22876         fi
22877         if test "x$EXPAT_LINK" = "x" ; then
22878             if test "$wxUSE_EXPAT" = "sys" ; then
22879                 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22880             else
22881                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22882 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22883                 wxUSE_EXPAT=builtin
22884             fi
22885         else
22886                         wxUSE_EXPAT=sys
22887         fi
22888     fi
22889     if test "$wxUSE_EXPAT" = "builtin" ; then
22890                 subdirs="$subdirs src/expat"
22891
22892     fi
22893 fi
22894
22895
22896
22897 if test "$wxUSE_LIBMSPACK" != "no"; then
22898     ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22899 "
22900 if test "x$ac_cv_header_mspack_h" = xyes; then :
22901   found_mspack_h=1
22902 fi
22903
22904
22905     if test "x$found_mspack_h" = "x1"; then
22906         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22907 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22908 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22909   $as_echo_n "(cached) " >&6
22910 else
22911   ac_check_lib_save_LIBS=$LIBS
22912 LIBS="-lmspack  $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 mspack_create_chm_decompressor ();
22923 int
22924 main ()
22925 {
22926 return mspack_create_chm_decompressor ();
22927   ;
22928   return 0;
22929 }
22930 _ACEOF
22931 if ac_fn_c_try_link "$LINENO"; then :
22932   ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22933 else
22934   ac_cv_lib_mspack_mspack_create_chm_decompressor=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_mspack_mspack_create_chm_decompressor" >&5
22941 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22942 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
22943   MSPACK_LINK=" -lmspack"
22944 fi
22945
22946     fi
22947     if test "x$MSPACK_LINK" = "x" ; then
22948         wxUSE_LIBMSPACK=no
22949     fi
22950 fi
22951
22952 if test "$wxUSE_LIBMSPACK" != "no"; then
22953     $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22954
22955 fi
22956
22957
22958
22959 AFMINSTALL=
22960 WIN32INSTALL=
22961
22962 TOOLKIT=
22963 TOOLKIT_INCLUDE=
22964 WIDGET_SET=
22965
22966 if test "$USE_WIN32" = 1 ; then
22967     for ac_header in w32api.h
22968 do :
22969   ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22970 "
22971 if test "x$ac_cv_header_w32api_h" = xyes; then :
22972   cat >>confdefs.h <<_ACEOF
22973 #define HAVE_W32API_H 1
22974 _ACEOF
22975
22976 fi
22977
22978 done
22979
22980     ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
22981 "
22982 if test "x$ac_cv_header_windows_h" = xyes; then :
22983
22984 else
22985
22986         as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22987
22988 fi
22989
22990
22991
22992     LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22993     case "${host}" in
22994         x86_64-*-mingw32* )
22995                                                 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
22996         ;;
22997     esac
22998     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22999         LIBS="$LIBS -loleacc"
23000     fi
23001
23002     case "${host}" in
23003         *-*-cygwin* )
23004                         LIBS="$LIBS -lkernel32 -luser32"
23005     esac
23006
23007         RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23008     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23009
23010                 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23011
23012         WIN32INSTALL=win32install
23013 fi
23014
23015 if test "$wxUSE_GUI" = "yes"; then
23016     USE_GUI=1
23017
23018     GUI_TK_LIBRARY=
23019
23020     WXGTK1=
23021     WXGTK127=
23022     WXGTK2=
23023     WXGTK3=
23024     WXGPE=
23025
23026     if test "$wxUSE_OLD_COCOA" = 1 ; then
23027         if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23028             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23029 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23030             wxUSE_PRINTING_ARCHITECTURE=no
23031         fi
23032         if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23033             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23034 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23035             wxUSE_DRAG_AND_DROP=no
23036         fi
23037         if test "$wxUSE_DRAGIMAGE" = "yes"; then
23038             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23039 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23040             wxUSE_DRAGIMAGE=no
23041         fi
23042     fi
23043
23044     if test "$wxUSE_MSW" = 1 ; then
23045         TOOLKIT=MSW
23046         GUIDIST=MSW_DIST
23047
23048                 case "${host}" in
23049             *-*-mingw32* )
23050                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23051         esac
23052     fi
23053
23054     if test "$wxUSE_GTK" = 1; then
23055                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23056 $as_echo_n "checking for GTK+ version... " >&6; }
23057
23058         gtk_version_cached=1
23059         if ${wx_cv_lib_gtk+:} false; then :
23060   $as_echo_n "(cached) " >&6
23061 else
23062
23063                                                 gtk_version_cached=0
23064                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23065 $as_echo "" >&6; }
23066
23067                                                 GTK_MODULES=
23068                 if test "$wxUSE_THREADS" = "yes"; then
23069                     GTK_MODULES=gthread
23070                 fi
23071
23072                 if test -z "$wxGTK_VERSION"; then
23073                     wxGTK_VERSION=any
23074                 fi
23075
23076                                 wx_cv_lib_gtk=
23077                 if test "x$wxGTK_VERSION" != "x1"
23078                 then
23079                                                                                 case "${host}" in
23080                         *-*-solaris2* )
23081                             if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23082                                 enable_gtktest=no
23083                             fi
23084                     esac
23085
23086                     if test "$wxGTK_VERSION" != 3; then
23087                         # Check whether --enable-gtktest was given.
23088 if test "${enable_gtktest+set}" = set; then :
23089   enableval=$enable_gtktest;
23090 else
23091   enable_gtktest=yes
23092 fi
23093
23094
23095   pkg_config_args=gtk+-2.0
23096   for module in . $GTK_MODULES
23097   do
23098       case "$module" in
23099          gthread)
23100              pkg_config_args="$pkg_config_args gthread-2.0"
23101          ;;
23102       esac
23103   done
23104
23105   no_gtk=""
23106
23107   # Extract the first word of "pkg-config", so it can be a program name with args.
23108 set dummy pkg-config; ac_word=$2
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23110 $as_echo_n "checking for $ac_word... " >&6; }
23111 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23112   $as_echo_n "(cached) " >&6
23113 else
23114   case $PKG_CONFIG in
23115   [\\/]* | ?:[\\/]*)
23116   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23117   ;;
23118   *)
23119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23120 for as_dir in $PATH
23121 do
23122   IFS=$as_save_IFS
23123   test -z "$as_dir" && as_dir=.
23124     for ac_exec_ext in '' $ac_executable_extensions; do
23125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23126     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23128     break 2
23129   fi
23130 done
23131   done
23132 IFS=$as_save_IFS
23133
23134   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23135   ;;
23136 esac
23137 fi
23138 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23139 if test -n "$PKG_CONFIG"; then
23140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23141 $as_echo "$PKG_CONFIG" >&6; }
23142 else
23143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23144 $as_echo "no" >&6; }
23145 fi
23146
23147
23148
23149   if test x$PKG_CONFIG != xno ; then
23150     if pkg-config --atleast-pkgconfig-version 0.7 ; then
23151       :
23152     else
23153       echo "*** pkg-config too old; version 0.7 or better required."
23154       no_gtk=yes
23155       PKG_CONFIG=no
23156     fi
23157   else
23158     no_gtk=yes
23159   fi
23160
23161   min_gtk_version=2.6.0
23162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23163 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23164
23165   if test x$PKG_CONFIG != xno ; then
23166     ## don't try to run the test against uninstalled libtool libs
23167     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23168           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23169           enable_gtktest=no
23170     fi
23171
23172     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23173           :
23174     else
23175           no_gtk=yes
23176     fi
23177   fi
23178
23179   if test x"$no_gtk" = x ; then
23180     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23181     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23182     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23183            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23184     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23185            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23186     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23187            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23188     if test "x$enable_gtktest" = "xyes" ; then
23189       ac_save_CFLAGS="$CFLAGS"
23190       ac_save_LIBS="$LIBS"
23191       CFLAGS="$CFLAGS $GTK_CFLAGS"
23192       LIBS="$GTK_LIBS $LIBS"
23193       rm -f conf.gtktest
23194       if test "$cross_compiling" = yes; then :
23195   echo $ac_n "cross compiling; assumed OK... $ac_c"
23196 else
23197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h.  */
23199
23200 #include <gtk/gtk.h>
23201 #include <stdio.h>
23202 #include <stdlib.h>
23203
23204 int
23205 main ()
23206 {
23207   int major, minor, micro;
23208   char *tmp_version;
23209
23210   system ("touch conf.gtktest");
23211
23212   /* HP/UX 9 (%@#!) writes to sscanf strings */
23213   tmp_version = g_strdup("$min_gtk_version");
23214   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23215      printf("%s, bad version string\n", "$min_gtk_version");
23216      exit(1);
23217    }
23218
23219   if ((gtk_major_version != $gtk_config_major_version) ||
23220       (gtk_minor_version != $gtk_config_minor_version) ||
23221       (gtk_micro_version != $gtk_config_micro_version))
23222     {
23223       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23224              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23225              gtk_major_version, gtk_minor_version, gtk_micro_version);
23226       printf ("*** was found! If pkg-config was correct, then it is best\n");
23227       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23228       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23229       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23230       printf("*** required on your system.\n");
23231       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23232       printf("*** to point to the correct configuration files\n");
23233     }
23234   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23235            (gtk_minor_version != GTK_MINOR_VERSION) ||
23236            (gtk_micro_version != GTK_MICRO_VERSION))
23237     {
23238       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23239              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23240       printf("*** library (version %d.%d.%d)\n",
23241              gtk_major_version, gtk_minor_version, gtk_micro_version);
23242     }
23243   else
23244     {
23245       if ((gtk_major_version > major) ||
23246         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23247         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23248       {
23249         return 0;
23250        }
23251      else
23252       {
23253         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23254                gtk_major_version, gtk_minor_version, gtk_micro_version);
23255         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23256                major, minor, micro);
23257         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23258         printf("***\n");
23259         printf("*** If you have already installed a sufficiently new version, this error\n");
23260         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23261         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23262         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23263         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23264         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23265         printf("*** so that the correct libraries are found at run-time))\n");
23266       }
23267     }
23268   return 1;
23269 }
23270
23271 _ACEOF
23272 if ac_fn_c_try_run "$LINENO"; then :
23273
23274 else
23275   no_gtk=yes
23276 fi
23277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23278   conftest.$ac_objext conftest.beam conftest.$ac_ext
23279 fi
23280
23281        CFLAGS="$ac_save_CFLAGS"
23282        LIBS="$ac_save_LIBS"
23283      fi
23284   fi
23285   if test "x$no_gtk" = x ; then
23286      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23287 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23288      wx_cv_lib_gtk=2.0
23289   else
23290      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23291 $as_echo "no" >&6; }
23292      if test "$PKG_CONFIG" = "no" ; then
23293        echo "*** A new enough version of pkg-config was not found."
23294        echo "*** See http://pkgconfig.sourceforge.net"
23295      else
23296        if test -f conf.gtktest ; then
23297         :
23298        else
23299           echo "*** Could not run GTK+ test program, checking why..."
23300           ac_save_CFLAGS="$CFLAGS"
23301           ac_save_LIBS="$LIBS"
23302           CFLAGS="$CFLAGS $GTK_CFLAGS"
23303           LIBS="$LIBS $GTK_LIBS"
23304           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23305 /* end confdefs.h.  */
23306
23307 #include <gtk/gtk.h>
23308 #include <stdio.h>
23309
23310 int
23311 main ()
23312 {
23313  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23314   ;
23315   return 0;
23316 }
23317 _ACEOF
23318 if ac_fn_c_try_link "$LINENO"; then :
23319    echo "*** The test program compiled, but did not run. This usually means"
23320           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23321           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23322           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23323           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23324           echo "*** is required on your system"
23325           echo "***"
23326           echo "*** If you have an old version installed, it is best to remove it, although"
23327           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23328 else
23329    echo "*** The test program failed to compile or link. See the file config.log for the"
23330           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23331 fi
23332 rm -f core conftest.err conftest.$ac_objext \
23333     conftest$ac_exeext conftest.$ac_ext
23334           CFLAGS="$ac_save_CFLAGS"
23335           LIBS="$ac_save_LIBS"
23336        fi
23337      fi
23338      GTK_CFLAGS=""
23339      GTK_LIBS=""
23340      :
23341   fi
23342
23343
23344   rm -f conf.gtktest
23345
23346                     fi
23347                     if test -z "$wx_cv_lib_gtk"; then
23348                         if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23349                             # Check whether --enable-gtktest was given.
23350 if test "${enable_gtktest+set}" = set; then :
23351   enableval=$enable_gtktest;
23352 else
23353   enable_gtktest=yes
23354 fi
23355
23356
23357   pkg_config_args=gtk+-3.0
23358   for module in . $GTK_MODULES
23359   do
23360       case "$module" in
23361          gthread)
23362              pkg_config_args="$pkg_config_args gthread-2.0"
23363          ;;
23364       esac
23365   done
23366
23367   no_gtk=""
23368
23369   # Extract the first word of "pkg-config", so it can be a program name with args.
23370 set dummy pkg-config; ac_word=$2
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23372 $as_echo_n "checking for $ac_word... " >&6; }
23373 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23374   $as_echo_n "(cached) " >&6
23375 else
23376   case $PKG_CONFIG in
23377   [\\/]* | ?:[\\/]*)
23378   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23379   ;;
23380   *)
23381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23382 for as_dir in $PATH
23383 do
23384   IFS=$as_save_IFS
23385   test -z "$as_dir" && as_dir=.
23386     for ac_exec_ext in '' $ac_executable_extensions; do
23387   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23388     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23390     break 2
23391   fi
23392 done
23393   done
23394 IFS=$as_save_IFS
23395
23396   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23397   ;;
23398 esac
23399 fi
23400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23401 if test -n "$PKG_CONFIG"; then
23402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23403 $as_echo "$PKG_CONFIG" >&6; }
23404 else
23405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23406 $as_echo "no" >&6; }
23407 fi
23408
23409
23410
23411   if test x$PKG_CONFIG != xno ; then
23412     if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23413       :
23414     else
23415       echo "*** pkg-config too old; version 0.7 or better required."
23416       no_gtk=yes
23417       PKG_CONFIG=no
23418     fi
23419   else
23420     no_gtk=yes
23421   fi
23422
23423   min_gtk_version=3.0.0
23424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23425 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23426
23427   if test x$PKG_CONFIG != xno ; then
23428     ## don't try to run the test against uninstalled libtool libs
23429     if $PKG_CONFIG --uninstalled $pkg_config_args; then
23430           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23431           enable_gtktest=no
23432     fi
23433
23434     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23435           :
23436     else
23437           no_gtk=yes
23438     fi
23439   fi
23440
23441   if test x"$no_gtk" = x ; then
23442     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23443     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23444     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23445            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23446     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23447            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23448     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23449            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23450     if test "x$enable_gtktest" = "xyes" ; then
23451       ac_save_CFLAGS="$CFLAGS"
23452       ac_save_LIBS="$LIBS"
23453       CFLAGS="$CFLAGS $GTK_CFLAGS"
23454       LIBS="$GTK_LIBS $LIBS"
23455       rm -f conf.gtktest
23456       if test "$cross_compiling" = yes; then :
23457   echo $ac_n "cross compiling; assumed OK... $ac_c"
23458 else
23459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h.  */
23461
23462 #include <gtk/gtk.h>
23463 #include <stdio.h>
23464 #include <stdlib.h>
23465
23466 int
23467 main ()
23468 {
23469   int major, minor, micro;
23470   char *tmp_version;
23471
23472   fclose (fopen ("conf.gtktest", "w"));
23473
23474   /* HP/UX 9 (%@#!) writes to sscanf strings */
23475   tmp_version = g_strdup("$min_gtk_version");
23476   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23477      printf("%s, bad version string\n", "$min_gtk_version");
23478      exit(1);
23479    }
23480
23481   if ((gtk_major_version != $gtk_config_major_version) ||
23482       (gtk_minor_version != $gtk_config_minor_version) ||
23483       (gtk_micro_version != $gtk_config_micro_version))
23484     {
23485       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23486              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23487              gtk_major_version, gtk_minor_version, gtk_micro_version);
23488       printf ("*** was found! If pkg-config was correct, then it is best\n");
23489       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23490       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23491       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23492       printf("*** required on your system.\n");
23493       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23494       printf("*** to point to the correct configuration files\n");
23495     }
23496   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23497            (gtk_minor_version != GTK_MINOR_VERSION) ||
23498            (gtk_micro_version != GTK_MICRO_VERSION))
23499     {
23500       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23501              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23502       printf("*** library (version %d.%d.%d)\n",
23503              gtk_major_version, gtk_minor_version, gtk_micro_version);
23504     }
23505   else
23506     {
23507       if ((gtk_major_version > major) ||
23508         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23509         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23510       {
23511         return 0;
23512        }
23513      else
23514       {
23515         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23516                gtk_major_version, gtk_minor_version, gtk_micro_version);
23517         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23518                major, minor, micro);
23519         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23520         printf("***\n");
23521         printf("*** If you have already installed a sufficiently new version, this error\n");
23522         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23523         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23524         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23525         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23526         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23527         printf("*** so that the correct libraries are found at run-time))\n");
23528       }
23529     }
23530   return 1;
23531 }
23532
23533 _ACEOF
23534 if ac_fn_c_try_run "$LINENO"; then :
23535
23536 else
23537   no_gtk=yes
23538 fi
23539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23540   conftest.$ac_objext conftest.beam conftest.$ac_ext
23541 fi
23542
23543        CFLAGS="$ac_save_CFLAGS"
23544        LIBS="$ac_save_LIBS"
23545      fi
23546   fi
23547   if test "x$no_gtk" = x ; then
23548      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23549 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23550      wx_cv_lib_gtk=3
23551   else
23552      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23553 $as_echo "no" >&6; }
23554      if test "$PKG_CONFIG" = "no" ; then
23555        echo "*** A new enough version of pkg-config was not found."
23556        echo "*** See http://pkgconfig.sourceforge.net"
23557      else
23558        if test -f conf.gtktest ; then
23559         :
23560        else
23561           echo "*** Could not run GTK+ test program, checking why..."
23562           ac_save_CFLAGS="$CFLAGS"
23563           ac_save_LIBS="$LIBS"
23564           CFLAGS="$CFLAGS $GTK_CFLAGS"
23565           LIBS="$LIBS $GTK_LIBS"
23566           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23567 /* end confdefs.h.  */
23568
23569 #include <gtk/gtk.h>
23570 #include <stdio.h>
23571
23572 int
23573 main ()
23574 {
23575  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23576   ;
23577   return 0;
23578 }
23579 _ACEOF
23580 if ac_fn_c_try_link "$LINENO"; then :
23581    echo "*** The test program compiled, but did not run. This usually means"
23582           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23583           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23584           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23585           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23586           echo "*** is required on your system"
23587           echo "***"
23588           echo "*** If you have an old version installed, it is best to remove it, although"
23589           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23590 else
23591    echo "*** The test program failed to compile or link. See the file config.log for the"
23592           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23593 fi
23594 rm -f core conftest.err conftest.$ac_objext \
23595     conftest$ac_exeext conftest.$ac_ext
23596           CFLAGS="$ac_save_CFLAGS"
23597           LIBS="$ac_save_LIBS"
23598        fi
23599      fi
23600      GTK_CFLAGS=""
23601      GTK_LIBS=""
23602      :
23603   fi
23604
23605
23606   rm -f conf.gtktest
23607
23608                         fi
23609                     fi
23610                 fi
23611
23612                                 if test -z "$wx_cv_lib_gtk"; then
23613                     if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23614
23615 # Check whether --with-gtk-prefix was given.
23616 if test "${with_gtk_prefix+set}" = set; then :
23617   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23618 else
23619   gtk_config_prefix=""
23620 fi
23621
23622
23623 # Check whether --with-gtk-exec-prefix was given.
23624 if test "${with_gtk_exec_prefix+set}" = set; then :
23625   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23626 else
23627   gtk_config_exec_prefix=""
23628 fi
23629
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   for module in . $GTK_MODULES
23639   do
23640       case "$module" in
23641          gthread)
23642              gtk_config_args="$gtk_config_args gthread"
23643          ;;
23644       esac
23645   done
23646
23647   if test x$gtk_config_exec_prefix != x ; then
23648      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23649      if test x${GTK_CONFIG+set} != xset ; then
23650         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23651      fi
23652   fi
23653   if test x$gtk_config_prefix != x ; then
23654      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23655      if test x${GTK_CONFIG+set} != xset ; then
23656         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23657      fi
23658   fi
23659
23660   # Extract the first word of "gtk-config", so it can be a program name with args.
23661 set dummy gtk-config; ac_word=$2
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23663 $as_echo_n "checking for $ac_word... " >&6; }
23664 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23665   $as_echo_n "(cached) " >&6
23666 else
23667   case $GTK_CONFIG in
23668   [\\/]* | ?:[\\/]*)
23669   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23670   ;;
23671   *)
23672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23673 for as_dir in $PATH
23674 do
23675   IFS=$as_save_IFS
23676   test -z "$as_dir" && as_dir=.
23677     for ac_exec_ext in '' $ac_executable_extensions; do
23678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23679     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23681     break 2
23682   fi
23683 done
23684   done
23685 IFS=$as_save_IFS
23686
23687   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23688   ;;
23689 esac
23690 fi
23691 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23692 if test -n "$GTK_CONFIG"; then
23693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23694 $as_echo "$GTK_CONFIG" >&6; }
23695 else
23696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23697 $as_echo "no" >&6; }
23698 fi
23699
23700
23701   min_gtk_version=1.2.7
23702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23703 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23704   no_gtk=""
23705   if test "$GTK_CONFIG" = "no" ; then
23706     no_gtk=yes
23707   else
23708     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23709     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23710     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23711            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23712     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23713            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23714     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23715            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23716     if test "x$enable_gtktest" = "xyes" ; then
23717       ac_save_CFLAGS="$CFLAGS"
23718       ac_save_LIBS="$LIBS"
23719       CFLAGS="$CFLAGS $GTK_CFLAGS"
23720       LIBS="$GTK_LIBS $LIBS"
23721       rm -f conf.gtktest
23722       if test "$cross_compiling" = yes; then :
23723   echo $ac_n "cross compiling; assumed OK... $ac_c"
23724 else
23725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23726 /* end confdefs.h.  */
23727
23728 #include <gtk/gtk.h>
23729 #include <stdio.h>
23730 #include <stdlib.h>
23731
23732 int
23733 main ()
23734 {
23735   int major, minor, micro;
23736   char *tmp_version;
23737
23738   system ("touch conf.gtktest");
23739
23740   /* HP/UX 9 (%@#!) writes to sscanf strings */
23741   tmp_version = g_strdup("$min_gtk_version");
23742   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23743      printf("%s, bad version string\n", "$min_gtk_version");
23744      exit(1);
23745    }
23746
23747   if ((gtk_major_version != $gtk_config_major_version) ||
23748       (gtk_minor_version != $gtk_config_minor_version) ||
23749       (gtk_micro_version != $gtk_config_micro_version))
23750     {
23751       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23752              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23753              gtk_major_version, gtk_minor_version, gtk_micro_version);
23754       printf ("*** was found! If gtk-config was correct, then it is best\n");
23755       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23756       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23757       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23758       printf("*** required on your system.\n");
23759       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23760       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23761       printf("*** before re-running configure\n");
23762     }
23763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23764   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23765            (gtk_minor_version != GTK_MINOR_VERSION) ||
23766            (gtk_micro_version != GTK_MICRO_VERSION))
23767     {
23768       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23769              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23770       printf("*** library (version %d.%d.%d)\n",
23771              gtk_major_version, gtk_minor_version, gtk_micro_version);
23772     }
23773 #endif /* defined (GTK_MAJOR_VERSION) ... */
23774   else
23775     {
23776       if ((gtk_major_version > major) ||
23777         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23778         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23779       {
23780         return 0;
23781        }
23782      else
23783       {
23784         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23785                gtk_major_version, gtk_minor_version, gtk_micro_version);
23786         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23787                major, minor, micro);
23788         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23789         printf("***\n");
23790         printf("*** If you have already installed a sufficiently new version, this error\n");
23791         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23792         printf("*** being found. The easiest way to fix this is to remove the old version\n");
23793         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23794         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23795         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23796         printf("*** so that the correct libraries are found at run-time))\n");
23797       }
23798     }
23799   return 1;
23800 }
23801
23802 _ACEOF
23803 if ac_fn_c_try_run "$LINENO"; then :
23804
23805 else
23806   no_gtk=yes
23807 fi
23808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23809   conftest.$ac_objext conftest.beam conftest.$ac_ext
23810 fi
23811
23812        CFLAGS="$ac_save_CFLAGS"
23813        LIBS="$ac_save_LIBS"
23814      fi
23815   fi
23816   if test "x$no_gtk" = x ; then
23817      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23818 $as_echo "yes" >&6; }
23819      wx_cv_lib_gtk=1.2.7
23820   else
23821      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23822 $as_echo "no" >&6; }
23823      if test "$GTK_CONFIG" = "no" ; then
23824        echo "*** The gtk-config script installed by GTK could not be found"
23825        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23826        echo "*** your path, or set the GTK_CONFIG environment variable to the"
23827        echo "*** full path to gtk-config."
23828      else
23829        if test -f conf.gtktest ; then
23830         :
23831        else
23832           echo "*** Could not run GTK test program, checking why..."
23833           CFLAGS="$CFLAGS $GTK_CFLAGS"
23834           LIBS="$LIBS $GTK_LIBS"
23835           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23836 /* end confdefs.h.  */
23837
23838 #include <gtk/gtk.h>
23839 #include <stdio.h>
23840
23841 int
23842 main ()
23843 {
23844  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23845   ;
23846   return 0;
23847 }
23848 _ACEOF
23849 if ac_fn_c_try_link "$LINENO"; then :
23850    echo "*** The test program compiled, but did not run. This usually means"
23851           echo "*** that the run-time linker is not finding GTK or finding the wrong"
23852           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23853           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23854           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
23855           echo "*** is required on your system"
23856           echo "***"
23857           echo "*** If you have an old version installed, it is best to remove it, although"
23858           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23859           echo "***"
23860           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23861           echo "*** came with the system with the command"
23862           echo "***"
23863           echo "***    rpm --erase --nodeps gtk gtk-devel"
23864 else
23865    echo "*** The test program failed to compile or link. See the file config.log for the"
23866           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23867           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23868           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23869 fi
23870 rm -f core conftest.err conftest.$ac_objext \
23871     conftest$ac_exeext conftest.$ac_ext
23872           CFLAGS="$ac_save_CFLAGS"
23873           LIBS="$ac_save_LIBS"
23874        fi
23875      fi
23876      GTK_CFLAGS=""
23877      GTK_LIBS=""
23878      :
23879   fi
23880
23881
23882   rm -f conf.gtktest
23883
23884
23885                         if test -z "$wx_cv_lib_gtk"; then
23886
23887 # Check whether --with-gtk-prefix was given.
23888 if test "${with_gtk_prefix+set}" = set; then :
23889   withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23890 else
23891   gtk_config_prefix=""
23892 fi
23893
23894
23895 # Check whether --with-gtk-exec-prefix was given.
23896 if test "${with_gtk_exec_prefix+set}" = set; then :
23897   withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23898 else
23899   gtk_config_exec_prefix=""
23900 fi
23901
23902 # Check whether --enable-gtktest was given.
23903 if test "${enable_gtktest+set}" = set; then :
23904   enableval=$enable_gtktest;
23905 else
23906   enable_gtktest=yes
23907 fi
23908
23909
23910   for module in . $GTK_MODULES
23911   do
23912       case "$module" in
23913          gthread)
23914              gtk_config_args="$gtk_config_args gthread"
23915          ;;
23916       esac
23917   done
23918
23919   if test x$gtk_config_exec_prefix != x ; then
23920      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23921      if test x${GTK_CONFIG+set} != xset ; then
23922         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23923      fi
23924   fi
23925   if test x$gtk_config_prefix != x ; then
23926      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23927      if test x${GTK_CONFIG+set} != xset ; then
23928         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23929      fi
23930   fi
23931
23932   # Extract the first word of "gtk-config", so it can be a program name with args.
23933 set dummy gtk-config; ac_word=$2
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23935 $as_echo_n "checking for $ac_word... " >&6; }
23936 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23937   $as_echo_n "(cached) " >&6
23938 else
23939   case $GTK_CONFIG in
23940   [\\/]* | ?:[\\/]*)
23941   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23942   ;;
23943   *)
23944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23945 for as_dir in $PATH
23946 do
23947   IFS=$as_save_IFS
23948   test -z "$as_dir" && as_dir=.
23949     for ac_exec_ext in '' $ac_executable_extensions; do
23950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23951     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23953     break 2
23954   fi
23955 done
23956   done
23957 IFS=$as_save_IFS
23958
23959   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23960   ;;
23961 esac
23962 fi
23963 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23964 if test -n "$GTK_CONFIG"; then
23965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23966 $as_echo "$GTK_CONFIG" >&6; }
23967 else
23968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23969 $as_echo "no" >&6; }
23970 fi
23971
23972
23973   min_gtk_version=1.2.3
23974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23975 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23976   no_gtk=""
23977   if test "$GTK_CONFIG" = "no" ; then
23978     no_gtk=yes
23979   else
23980     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23981     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23982     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23983            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23984     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23985            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23986     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23987            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23988     if test "x$enable_gtktest" = "xyes" ; then
23989       ac_save_CFLAGS="$CFLAGS"
23990       ac_save_LIBS="$LIBS"
23991       CFLAGS="$CFLAGS $GTK_CFLAGS"
23992       LIBS="$GTK_LIBS $LIBS"
23993       rm -f conf.gtktest
23994       if test "$cross_compiling" = yes; then :
23995   echo $ac_n "cross compiling; assumed OK... $ac_c"
23996 else
23997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h.  */
23999
24000 #include <gtk/gtk.h>
24001 #include <stdio.h>
24002 #include <stdlib.h>
24003
24004 int
24005 main ()
24006 {
24007   int major, minor, micro;
24008   char *tmp_version;
24009
24010   system ("touch conf.gtktest");
24011
24012   /* HP/UX 9 (%@#!) writes to sscanf strings */
24013   tmp_version = g_strdup("$min_gtk_version");
24014   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24015      printf("%s, bad version string\n", "$min_gtk_version");
24016      exit(1);
24017    }
24018
24019   if ((gtk_major_version != $gtk_config_major_version) ||
24020       (gtk_minor_version != $gtk_config_minor_version) ||
24021       (gtk_micro_version != $gtk_config_micro_version))
24022     {
24023       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24024              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24025              gtk_major_version, gtk_minor_version, gtk_micro_version);
24026       printf ("*** was found! If gtk-config was correct, then it is best\n");
24027       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24028       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24029       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24030       printf("*** required on your system.\n");
24031       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24032       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24033       printf("*** before re-running configure\n");
24034     }
24035 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24036   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24037            (gtk_minor_version != GTK_MINOR_VERSION) ||
24038            (gtk_micro_version != GTK_MICRO_VERSION))
24039     {
24040       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24041              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24042       printf("*** library (version %d.%d.%d)\n",
24043              gtk_major_version, gtk_minor_version, gtk_micro_version);
24044     }
24045 #endif /* defined (GTK_MAJOR_VERSION) ... */
24046   else
24047     {
24048       if ((gtk_major_version > major) ||
24049         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24050         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24051       {
24052         return 0;
24053        }
24054      else
24055       {
24056         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24057                gtk_major_version, gtk_minor_version, gtk_micro_version);
24058         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24059                major, minor, micro);
24060         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24061         printf("***\n");
24062         printf("*** If you have already installed a sufficiently new version, this error\n");
24063         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24064         printf("*** being found. The easiest way to fix this is to remove the old version\n");
24065         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24066         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24067         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24068         printf("*** so that the correct libraries are found at run-time))\n");
24069       }
24070     }
24071   return 1;
24072 }
24073
24074 _ACEOF
24075 if ac_fn_c_try_run "$LINENO"; then :
24076
24077 else
24078   no_gtk=yes
24079 fi
24080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24081   conftest.$ac_objext conftest.beam conftest.$ac_ext
24082 fi
24083
24084        CFLAGS="$ac_save_CFLAGS"
24085        LIBS="$ac_save_LIBS"
24086      fi
24087   fi
24088   if test "x$no_gtk" = x ; then
24089      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24090 $as_echo "yes" >&6; }
24091      wx_cv_lib_gtk=1.2.3
24092   else
24093      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24094 $as_echo "no" >&6; }
24095      if test "$GTK_CONFIG" = "no" ; then
24096        echo "*** The gtk-config script installed by GTK could not be found"
24097        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24098        echo "*** your path, or set the GTK_CONFIG environment variable to the"
24099        echo "*** full path to gtk-config."
24100      else
24101        if test -f conf.gtktest ; then
24102         :
24103        else
24104           echo "*** Could not run GTK test program, checking why..."
24105           CFLAGS="$CFLAGS $GTK_CFLAGS"
24106           LIBS="$LIBS $GTK_LIBS"
24107           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h.  */
24109
24110 #include <gtk/gtk.h>
24111 #include <stdio.h>
24112
24113 int
24114 main ()
24115 {
24116  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24117   ;
24118   return 0;
24119 }
24120 _ACEOF
24121 if ac_fn_c_try_link "$LINENO"; then :
24122    echo "*** The test program compiled, but did not run. This usually means"
24123           echo "*** that the run-time linker is not finding GTK or finding the wrong"
24124           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24125           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24126           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
24127           echo "*** is required on your system"
24128           echo "***"
24129           echo "*** If you have an old version installed, it is best to remove it, although"
24130           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24131           echo "***"
24132           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24133           echo "*** came with the system with the command"
24134           echo "***"
24135           echo "***    rpm --erase --nodeps gtk gtk-devel"
24136 else
24137    echo "*** The test program failed to compile or link. See the file config.log for the"
24138           echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24139           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24140           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24141 fi
24142 rm -f core conftest.err conftest.$ac_objext \
24143     conftest$ac_exeext conftest.$ac_ext
24144           CFLAGS="$ac_save_CFLAGS"
24145           LIBS="$ac_save_LIBS"
24146        fi
24147      fi
24148      GTK_CFLAGS=""
24149      GTK_LIBS=""
24150      :
24151   fi
24152
24153
24154   rm -f conf.gtktest
24155
24156                         fi
24157                     fi
24158                 fi
24159
24160                 if test -z "$wx_cv_lib_gtk"; then
24161                                         wx_cv_lib_gtk=none
24162                 else
24163                                         GTK_LIBS="$GTK_LIBS -lX11"
24164
24165                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
24166                     wx_cv_libs_gtk=$GTK_LIBS
24167                 fi
24168
24169
24170 fi
24171
24172
24173                         if test "$gtk_version_cached" = 1; then
24174             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24175 $as_echo "$wx_cv_lib_gtk" >&6; }
24176         fi
24177
24178         case "$wx_cv_lib_gtk" in
24179             3)      WXGTK3=1
24180                     TOOLKIT_VERSION=3
24181                     ;;
24182             2.0)    WXGTK2=1
24183                     TOOLKIT_VERSION=2
24184                     ;;
24185             1.2.7)  WXGTK127=1
24186                     WXGTK1=1
24187                     ;;
24188             1.2*)   WXGTK1=1 ;;
24189             *)      as_fn_error $? "
24190 The development files for GTK+ were not found. For GTK+ 2, please
24191 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24192 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24193 and that the version is 1.2.3 or above. Also check that the
24194 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24195 --libs' are in the LD_LIBRARY_PATH or equivalent.
24196                             " "$LINENO" 5
24197                     ;;
24198         esac
24199
24200         if test "$WXGTK3" = 1; then
24201             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24202
24203             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24204
24205         elif test "$WXGTK2" = 1; then
24206             save_CFLAGS="$CFLAGS"
24207             save_LIBS="$LIBS"
24208             CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24209             LIBS="$LIBS $wx_cv_libs_gtk"
24210
24211                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24212 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24213             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h.  */
24215
24216                             #include <gtk/gtk.h>
24217
24218 int
24219 main ()
24220 {
24221
24222                             #if !GTK_CHECK_VERSION(2,18,0)
24223                             Not GTK+ 2.18
24224                             #endif
24225
24226   ;
24227   return 0;
24228 }
24229 _ACEOF
24230 if ac_fn_c_try_compile "$LINENO"; then :
24231
24232                             $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24233
24234                             $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24235
24236                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24237 $as_echo "yes" >&6; }
24238                             ac_wxgtk218=1
24239
24240 else
24241
24242                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24243 $as_echo "no" >&6; }
24244                             ac_wxgtk218=0
24245
24246 fi
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248
24249             if test "$ac_wxgtk218" = 0; then
24250                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24251 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24252                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h.  */
24254
24255                                 #include <gtk/gtk.h>
24256
24257 int
24258 main ()
24259 {
24260
24261                                 #if !GTK_CHECK_VERSION(2,10,0)
24262                                 Not GTK+ 2.10
24263                                 #endif
24264
24265   ;
24266   return 0;
24267 }
24268 _ACEOF
24269 if ac_fn_c_try_compile "$LINENO"; then :
24270
24271                                 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24272
24273                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24274 $as_echo "yes" >&6; }
24275                                 ac_wxgtk210=1
24276
24277 else
24278
24279                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24280 $as_echo "no" >&6; }
24281                                 ac_wxgtk210=0
24282
24283 fi
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285             fi
24286
24287             CFLAGS="$save_CFLAGS"
24288             LIBS="$save_LIBS"
24289         else
24290             if test "$wxUSE_UNICODE" = "yes"; then
24291                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24292 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24293                 wxUSE_UNICODE=no
24294             fi
24295
24296                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24297 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24298 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24299   $as_echo_n "(cached) " >&6
24300 else
24301   ac_check_lib_save_LIBS=$LIBS
24302 LIBS="-lgdk  $LIBS"
24303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24304 /* end confdefs.h.  */
24305
24306 /* Override any GCC internal prototype to avoid an error.
24307    Use char because int might match the return type of a GCC
24308    builtin and then its argument prototype would still apply.  */
24309 #ifdef __cplusplus
24310 extern "C"
24311 #endif
24312 char gdk_im_open ();
24313 int
24314 main ()
24315 {
24316 return gdk_im_open ();
24317   ;
24318   return 0;
24319 }
24320 _ACEOF
24321 if ac_fn_c_try_link "$LINENO"; then :
24322   ac_cv_lib_gdk_gdk_im_open=yes
24323 else
24324   ac_cv_lib_gdk_gdk_im_open=no
24325 fi
24326 rm -f core conftest.err conftest.$ac_objext \
24327     conftest$ac_exeext conftest.$ac_ext
24328 LIBS=$ac_check_lib_save_LIBS
24329 fi
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24331 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24332 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24333   $as_echo "#define HAVE_XIM 1" >>confdefs.h
24334
24335 fi
24336
24337
24338                                     if test "$USE_DARWIN" != 1; then
24339                 for ac_func in poll
24340 do :
24341   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24342 if test "x$ac_cv_func_poll" = xyes; then :
24343   cat >>confdefs.h <<_ACEOF
24344 #define HAVE_POLL 1
24345 _ACEOF
24346
24347 fi
24348 done
24349
24350             fi
24351         fi
24352
24353         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24354         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24355         AFMINSTALL=afminstall
24356         TOOLKIT=GTK
24357         GUIDIST=GTK_DIST
24358
24359                 if test "$wxUSE_GPE" = "yes"; then
24360             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24361 $as_echo_n "checking for gpewidget library... " >&6; }
24362
24363   ac_find_libraries=
24364   for ac_dir in  $SEARCH_LIB
24365   do
24366     for ac_extension in a so sl dylib dll.a; do
24367       if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24368         ac_find_libraries=$ac_dir
24369         break 2
24370       fi
24371     done
24372   done
24373
24374             if test "$ac_find_libraries" != "" ; then
24375
24376     if test "$ac_find_libraries" = "default location"; then
24377     ac_path_to_link=""
24378   else
24379     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24380     result=$?
24381     if test $result = 0; then
24382       ac_path_to_link=""
24383     else
24384       ac_path_to_link=" -L$ac_find_libraries"
24385     fi
24386   fi
24387
24388                                                 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24389                 WXGPE=1
24390                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24391 $as_echo "found in $ac_find_libraries" >&6; }
24392             else
24393                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24394 $as_echo "not found" >&6; }
24395             fi
24396
24397                                                                                                                     fi
24398     fi
24399
24400     if test "$wxUSE_DFB" = 1; then
24401
24402
24403 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24404         if test -n "$ac_tool_prefix"; then
24405   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24406 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24408 $as_echo_n "checking for $ac_word... " >&6; }
24409 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24410   $as_echo_n "(cached) " >&6
24411 else
24412   case $PKG_CONFIG in
24413   [\\/]* | ?:[\\/]*)
24414   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24415   ;;
24416   *)
24417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24418 for as_dir in $PATH
24419 do
24420   IFS=$as_save_IFS
24421   test -z "$as_dir" && as_dir=.
24422     for ac_exec_ext in '' $ac_executable_extensions; do
24423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24424     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24426     break 2
24427   fi
24428 done
24429   done
24430 IFS=$as_save_IFS
24431
24432   ;;
24433 esac
24434 fi
24435 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24436 if test -n "$PKG_CONFIG"; then
24437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24438 $as_echo "$PKG_CONFIG" >&6; }
24439 else
24440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24441 $as_echo "no" >&6; }
24442 fi
24443
24444
24445 fi
24446 if test -z "$ac_cv_path_PKG_CONFIG"; then
24447   ac_pt_PKG_CONFIG=$PKG_CONFIG
24448   # Extract the first word of "pkg-config", so it can be a program name with args.
24449 set dummy pkg-config; ac_word=$2
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24451 $as_echo_n "checking for $ac_word... " >&6; }
24452 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24453   $as_echo_n "(cached) " >&6
24454 else
24455   case $ac_pt_PKG_CONFIG in
24456   [\\/]* | ?:[\\/]*)
24457   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24458   ;;
24459   *)
24460   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24461 for as_dir in $PATH
24462 do
24463   IFS=$as_save_IFS
24464   test -z "$as_dir" && as_dir=.
24465     for ac_exec_ext in '' $ac_executable_extensions; do
24466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24467     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24469     break 2
24470   fi
24471 done
24472   done
24473 IFS=$as_save_IFS
24474
24475   ;;
24476 esac
24477 fi
24478 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24479 if test -n "$ac_pt_PKG_CONFIG"; then
24480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24481 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24482 else
24483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24484 $as_echo "no" >&6; }
24485 fi
24486
24487   if test "x$ac_pt_PKG_CONFIG" = x; then
24488     PKG_CONFIG=""
24489   else
24490     case $cross_compiling:$ac_tool_warned in
24491 yes:)
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24494 ac_tool_warned=yes ;;
24495 esac
24496     PKG_CONFIG=$ac_pt_PKG_CONFIG
24497   fi
24498 else
24499   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24500 fi
24501
24502 fi
24503 if test -n "$PKG_CONFIG"; then
24504         _pkg_min_version=0.9.0
24505         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24506 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24507         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24508                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24509 $as_echo "yes" >&6; }
24510         else
24511                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24512 $as_echo "no" >&6; }
24513                 PKG_CONFIG=""
24514         fi
24515
24516 fi
24517
24518
24519 pkg_failed=no
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24521 $as_echo_n "checking for DIRECTFB... " >&6; }
24522
24523 if test -n "$PKG_CONFIG"; then
24524     if test -n "$DIRECTFB_CFLAGS"; then
24525         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24526     else
24527         if test -n "$PKG_CONFIG" && \
24528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24529   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24530   ac_status=$?
24531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24532   test $ac_status = 0; }; then
24533   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24534 else
24535   pkg_failed=yes
24536 fi
24537     fi
24538 else
24539         pkg_failed=untried
24540 fi
24541 if test -n "$PKG_CONFIG"; then
24542     if test -n "$DIRECTFB_LIBS"; then
24543         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24544     else
24545         if test -n "$PKG_CONFIG" && \
24546     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24547   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24548   ac_status=$?
24549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24550   test $ac_status = 0; }; then
24551   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24552 else
24553   pkg_failed=yes
24554 fi
24555     fi
24556 else
24557         pkg_failed=untried
24558 fi
24559
24560
24561
24562 if test $pkg_failed = yes; then
24563
24564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24565         _pkg_short_errors_supported=yes
24566 else
24567         _pkg_short_errors_supported=no
24568 fi
24569         if test $_pkg_short_errors_supported = yes; then
24570                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24571         else
24572                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24573         fi
24574         # Put the nasty error message in config.log where it belongs
24575         echo "$DIRECTFB_PKG_ERRORS" >&5
24576
24577
24578                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24579
24580
24581 elif test $pkg_failed = untried; then
24582
24583                            as_fn_error $? "DirectFB not found." "$LINENO" 5
24584
24585
24586 else
24587         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24588         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24589         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24590 $as_echo "yes" >&6; }
24591
24592                            wxUSE_UNIVERSAL="yes"
24593                            TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24594                            GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24595                            TOOLKIT=DFB
24596                            GUIDIST=DFB_DIST
24597
24598 fi
24599     fi
24600
24601     if test "$wxUSE_MICROWIN" = 1; then
24602         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24603 $as_echo_n "checking for MicroWindows... " >&6; }
24604         if test "x$MICROWINDOWS" = x ; then
24605             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24606 $as_echo "not found" >&6; }
24607             as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24608         else
24609             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24610 $as_echo "$MICROWINDOWS" >&6; }
24611         fi
24612
24613         if test -f $MICROWINDOWS/lib/libmwin.a; then
24614             { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24615 $as_echo "MicroWindows' libraries found." >&6; }
24616         else
24617             as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24618         fi
24619
24620         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24621         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24622
24623         wxUSE_UNIVERSAL="yes"
24624
24625         AFMINSTALL=afminstall
24626         TOOLKIT=MICROWIN
24627         GUIDIST=MICROWIN_DIST
24628
24629         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24630     fi
24631
24632         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24633                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24634 $as_echo_n "checking for X... " >&6; }
24635
24636
24637 # Check whether --with-x was given.
24638 if test "${with_x+set}" = set; then :
24639   withval=$with_x;
24640 fi
24641
24642 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24643 if test "x$with_x" = xno; then
24644   # The user explicitly disabled X.
24645   have_x=disabled
24646 else
24647   case $x_includes,$x_libraries in #(
24648     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24649     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24650   $as_echo_n "(cached) " >&6
24651 else
24652   # One or both of the vars are not set, and there is no cached value.
24653 ac_x_includes=no ac_x_libraries=no
24654 rm -f -r conftest.dir
24655 if mkdir conftest.dir; then
24656   cd conftest.dir
24657   cat >Imakefile <<'_ACEOF'
24658 incroot:
24659         @echo incroot='${INCROOT}'
24660 usrlibdir:
24661         @echo usrlibdir='${USRLIBDIR}'
24662 libdir:
24663         @echo libdir='${LIBDIR}'
24664 _ACEOF
24665   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24666     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24667     for ac_var in incroot usrlibdir libdir; do
24668       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24669     done
24670     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24671     for ac_extension in a so sl dylib la dll; do
24672       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24673          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24674         ac_im_usrlibdir=$ac_im_libdir; break
24675       fi
24676     done
24677     # Screen out bogus values from the imake configuration.  They are
24678     # bogus both because they are the default anyway, and because
24679     # using them would break gcc on systems where it needs fixed includes.
24680     case $ac_im_incroot in
24681         /usr/include) ac_x_includes= ;;
24682         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24683     esac
24684     case $ac_im_usrlibdir in
24685         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24686         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24687     esac
24688   fi
24689   cd ..
24690   rm -f -r conftest.dir
24691 fi
24692
24693 # Standard set of common directories for X headers.
24694 # Check X11 before X11Rn because it is often a symlink to the current release.
24695 ac_x_header_dirs='
24696 /usr/X11/include
24697 /usr/X11R7/include
24698 /usr/X11R6/include
24699 /usr/X11R5/include
24700 /usr/X11R4/include
24701
24702 /usr/include/X11
24703 /usr/include/X11R7
24704 /usr/include/X11R6
24705 /usr/include/X11R5
24706 /usr/include/X11R4
24707
24708 /usr/local/X11/include
24709 /usr/local/X11R7/include
24710 /usr/local/X11R6/include
24711 /usr/local/X11R5/include
24712 /usr/local/X11R4/include
24713
24714 /usr/local/include/X11
24715 /usr/local/include/X11R7
24716 /usr/local/include/X11R6
24717 /usr/local/include/X11R5
24718 /usr/local/include/X11R4
24719
24720 /usr/X386/include
24721 /usr/x386/include
24722 /usr/XFree86/include/X11
24723
24724 /usr/include
24725 /usr/local/include
24726 /usr/unsupported/include
24727 /usr/athena/include
24728 /usr/local/x11r5/include
24729 /usr/lpp/Xamples/include
24730
24731 /usr/openwin/include
24732 /usr/openwin/share/include'
24733
24734 if test "$ac_x_includes" = no; then
24735   # Guess where to find include files, by looking for Xlib.h.
24736   # First, try using that file with no special directory specified.
24737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24738 /* end confdefs.h.  */
24739 #include <X11/Xlib.h>
24740 _ACEOF
24741 if ac_fn_c_try_cpp "$LINENO"; then :
24742   # We can compile using X headers with no special include directory.
24743 ac_x_includes=
24744 else
24745   for ac_dir in $ac_x_header_dirs; do
24746   if test -r "$ac_dir/X11/Xlib.h"; then
24747     ac_x_includes=$ac_dir
24748     break
24749   fi
24750 done
24751 fi
24752 rm -f conftest.err conftest.i conftest.$ac_ext
24753 fi # $ac_x_includes = no
24754
24755 if test "$ac_x_libraries" = no; then
24756   # Check for the libraries.
24757   # See if we find them without any special options.
24758   # Don't add to $LIBS permanently.
24759   ac_save_LIBS=$LIBS
24760   LIBS="-lX11 $LIBS"
24761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h.  */
24763 #include <X11/Xlib.h>
24764 int
24765 main ()
24766 {
24767 XrmInitialize ()
24768   ;
24769   return 0;
24770 }
24771 _ACEOF
24772 if ac_fn_c_try_link "$LINENO"; then :
24773   LIBS=$ac_save_LIBS
24774 # We can link X programs with no special library path.
24775 ac_x_libraries=
24776 else
24777   LIBS=$ac_save_LIBS
24778 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24779 do
24780   # Don't even attempt the hair of trying to link an X program!
24781   for ac_extension in a so sl dylib la dll; do
24782     if test -r "$ac_dir/libX11.$ac_extension"; then
24783       ac_x_libraries=$ac_dir
24784       break 2
24785     fi
24786   done
24787 done
24788 fi
24789 rm -f core conftest.err conftest.$ac_objext \
24790     conftest$ac_exeext conftest.$ac_ext
24791 fi # $ac_x_libraries = no
24792
24793 case $ac_x_includes,$ac_x_libraries in #(
24794   no,* | *,no | *\'*)
24795     # Didn't find X, or a directory has "'" in its name.
24796     ac_cv_have_x="have_x=no";; #(
24797   *)
24798     # Record where we found X for the cache.
24799     ac_cv_have_x="have_x=yes\
24800         ac_x_includes='$ac_x_includes'\
24801         ac_x_libraries='$ac_x_libraries'"
24802 esac
24803 fi
24804 ;; #(
24805     *) have_x=yes;;
24806   esac
24807   eval "$ac_cv_have_x"
24808 fi # $with_x != no
24809
24810 if test "$have_x" != yes; then
24811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24812 $as_echo "$have_x" >&6; }
24813   no_x=yes
24814 else
24815   # If each of the values was on the command line, it overrides each guess.
24816   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24817   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24818   # Update the cache value to reflect the command line values.
24819   ac_cv_have_x="have_x=yes\
24820         ac_x_includes='$x_includes'\
24821         ac_x_libraries='$x_libraries'"
24822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24823 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24824 fi
24825
24826 if test "$no_x" = yes; then
24827   # Not all programs may use this symbol, but it does not hurt to define it.
24828
24829 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24830
24831   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24832 else
24833   if test -n "$x_includes"; then
24834     X_CFLAGS="$X_CFLAGS -I$x_includes"
24835   fi
24836
24837   # It would also be nice to do this for all -L options, not just this one.
24838   if test -n "$x_libraries"; then
24839     X_LIBS="$X_LIBS -L$x_libraries"
24840     # For Solaris; some versions of Sun CC require a space after -R and
24841     # others require no space.  Words are not sufficient . . . .
24842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24843 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24844     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24845     ac_xsave_c_werror_flag=$ac_c_werror_flag
24846     ac_c_werror_flag=yes
24847     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24848 /* end confdefs.h.  */
24849
24850 int
24851 main ()
24852 {
24853
24854   ;
24855   return 0;
24856 }
24857 _ACEOF
24858 if ac_fn_c_try_link "$LINENO"; then :
24859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24860 $as_echo "no" >&6; }
24861        X_LIBS="$X_LIBS -R$x_libraries"
24862 else
24863   LIBS="$ac_xsave_LIBS -R $x_libraries"
24864        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24865 /* end confdefs.h.  */
24866
24867 int
24868 main ()
24869 {
24870
24871   ;
24872   return 0;
24873 }
24874 _ACEOF
24875 if ac_fn_c_try_link "$LINENO"; then :
24876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24877 $as_echo "yes" >&6; }
24878           X_LIBS="$X_LIBS -R $x_libraries"
24879 else
24880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24881 $as_echo "neither works" >&6; }
24882 fi
24883 rm -f core conftest.err conftest.$ac_objext \
24884     conftest$ac_exeext conftest.$ac_ext
24885 fi
24886 rm -f core conftest.err conftest.$ac_objext \
24887     conftest$ac_exeext conftest.$ac_ext
24888     ac_c_werror_flag=$ac_xsave_c_werror_flag
24889     LIBS=$ac_xsave_LIBS
24890   fi
24891
24892   # Check for system-dependent libraries X programs must link with.
24893   # Do this before checking for the system-independent R6 libraries
24894   # (-lICE), since we may need -lsocket or whatever for X linking.
24895
24896   if test "$ISC" = yes; then
24897     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24898   else
24899     # Martyn Johnson says this is needed for Ultrix, if the X
24900     # libraries were built with DECnet support.  And Karl Berry says
24901     # the Alpha needs dnet_stub (dnet does not exist).
24902     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24903     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h.  */
24905
24906 /* Override any GCC internal prototype to avoid an error.
24907    Use char because int might match the return type of a GCC
24908    builtin and then its argument prototype would still apply.  */
24909 #ifdef __cplusplus
24910 extern "C"
24911 #endif
24912 char XOpenDisplay ();
24913 int
24914 main ()
24915 {
24916 return XOpenDisplay ();
24917   ;
24918   return 0;
24919 }
24920 _ACEOF
24921 if ac_fn_c_try_link "$LINENO"; then :
24922
24923 else
24924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24925 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24926 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24927   $as_echo_n "(cached) " >&6
24928 else
24929   ac_check_lib_save_LIBS=$LIBS
24930 LIBS="-ldnet  $LIBS"
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h.  */
24933
24934 /* Override any GCC internal prototype to avoid an error.
24935    Use char because int might match the return type of a GCC
24936    builtin and then its argument prototype would still apply.  */
24937 #ifdef __cplusplus
24938 extern "C"
24939 #endif
24940 char dnet_ntoa ();
24941 int
24942 main ()
24943 {
24944 return dnet_ntoa ();
24945   ;
24946   return 0;
24947 }
24948 _ACEOF
24949 if ac_fn_c_try_link "$LINENO"; then :
24950   ac_cv_lib_dnet_dnet_ntoa=yes
24951 else
24952   ac_cv_lib_dnet_dnet_ntoa=no
24953 fi
24954 rm -f core conftest.err conftest.$ac_objext \
24955     conftest$ac_exeext conftest.$ac_ext
24956 LIBS=$ac_check_lib_save_LIBS
24957 fi
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24959 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24960 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24961   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24962 fi
24963
24964     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24965       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24966 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24967 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24968   $as_echo_n "(cached) " >&6
24969 else
24970   ac_check_lib_save_LIBS=$LIBS
24971 LIBS="-ldnet_stub  $LIBS"
24972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24973 /* end confdefs.h.  */
24974
24975 /* Override any GCC internal prototype to avoid an error.
24976    Use char because int might match the return type of a GCC
24977    builtin and then its argument prototype would still apply.  */
24978 #ifdef __cplusplus
24979 extern "C"
24980 #endif
24981 char dnet_ntoa ();
24982 int
24983 main ()
24984 {
24985 return dnet_ntoa ();
24986   ;
24987   return 0;
24988 }
24989 _ACEOF
24990 if ac_fn_c_try_link "$LINENO"; then :
24991   ac_cv_lib_dnet_stub_dnet_ntoa=yes
24992 else
24993   ac_cv_lib_dnet_stub_dnet_ntoa=no
24994 fi
24995 rm -f core conftest.err conftest.$ac_objext \
24996     conftest$ac_exeext conftest.$ac_ext
24997 LIBS=$ac_check_lib_save_LIBS
24998 fi
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25000 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25001 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25002   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25003 fi
25004
25005     fi
25006 fi
25007 rm -f core conftest.err conftest.$ac_objext \
25008     conftest$ac_exeext conftest.$ac_ext
25009     LIBS="$ac_xsave_LIBS"
25010
25011     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25012     # to get the SysV transport functions.
25013     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25014     # needs -lnsl.
25015     # The nsl library prevents programs from opening the X display
25016     # on Irix 5.2, according to T.E. Dickey.
25017     # The functions gethostbyname, getservbyname, and inet_addr are
25018     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25019     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25020 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25021
25022 fi
25023
25024     if test $ac_cv_func_gethostbyname = no; then
25025       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25026 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25027 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25028   $as_echo_n "(cached) " >&6
25029 else
25030   ac_check_lib_save_LIBS=$LIBS
25031 LIBS="-lnsl  $LIBS"
25032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25033 /* end confdefs.h.  */
25034
25035 /* Override any GCC internal prototype to avoid an error.
25036    Use char because int might match the return type of a GCC
25037    builtin and then its argument prototype would still apply.  */
25038 #ifdef __cplusplus
25039 extern "C"
25040 #endif
25041 char gethostbyname ();
25042 int
25043 main ()
25044 {
25045 return gethostbyname ();
25046   ;
25047   return 0;
25048 }
25049 _ACEOF
25050 if ac_fn_c_try_link "$LINENO"; then :
25051   ac_cv_lib_nsl_gethostbyname=yes
25052 else
25053   ac_cv_lib_nsl_gethostbyname=no
25054 fi
25055 rm -f core conftest.err conftest.$ac_objext \
25056     conftest$ac_exeext conftest.$ac_ext
25057 LIBS=$ac_check_lib_save_LIBS
25058 fi
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25060 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25061 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25062   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25063 fi
25064
25065       if test $ac_cv_lib_nsl_gethostbyname = no; then
25066         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25067 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25068 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25069   $as_echo_n "(cached) " >&6
25070 else
25071   ac_check_lib_save_LIBS=$LIBS
25072 LIBS="-lbsd  $LIBS"
25073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h.  */
25075
25076 /* Override any GCC internal prototype to avoid an error.
25077    Use char because int might match the return type of a GCC
25078    builtin and then its argument prototype would still apply.  */
25079 #ifdef __cplusplus
25080 extern "C"
25081 #endif
25082 char gethostbyname ();
25083 int
25084 main ()
25085 {
25086 return gethostbyname ();
25087   ;
25088   return 0;
25089 }
25090 _ACEOF
25091 if ac_fn_c_try_link "$LINENO"; then :
25092   ac_cv_lib_bsd_gethostbyname=yes
25093 else
25094   ac_cv_lib_bsd_gethostbyname=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext \
25097     conftest$ac_exeext conftest.$ac_ext
25098 LIBS=$ac_check_lib_save_LIBS
25099 fi
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25101 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25102 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25103   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25104 fi
25105
25106       fi
25107     fi
25108
25109     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25110     # socket/setsockopt and other routines are undefined under SCO ODT
25111     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25112     # on later versions), says Simon Leinen: it contains gethostby*
25113     # variants that don't use the name server (or something).  -lsocket
25114     # must be given before -lnsl if both are needed.  We assume that
25115     # if connect needs -lnsl, so does gethostbyname.
25116     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25117 if test "x$ac_cv_func_connect" = xyes; then :
25118
25119 fi
25120
25121     if test $ac_cv_func_connect = no; then
25122       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25123 $as_echo_n "checking for connect in -lsocket... " >&6; }
25124 if ${ac_cv_lib_socket_connect+:} false; then :
25125   $as_echo_n "(cached) " >&6
25126 else
25127   ac_check_lib_save_LIBS=$LIBS
25128 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h.  */
25131
25132 /* Override any GCC internal prototype to avoid an error.
25133    Use char because int might match the return type of a GCC
25134    builtin and then its argument prototype would still apply.  */
25135 #ifdef __cplusplus
25136 extern "C"
25137 #endif
25138 char connect ();
25139 int
25140 main ()
25141 {
25142 return connect ();
25143   ;
25144   return 0;
25145 }
25146 _ACEOF
25147 if ac_fn_c_try_link "$LINENO"; then :
25148   ac_cv_lib_socket_connect=yes
25149 else
25150   ac_cv_lib_socket_connect=no
25151 fi
25152 rm -f core conftest.err conftest.$ac_objext \
25153     conftest$ac_exeext conftest.$ac_ext
25154 LIBS=$ac_check_lib_save_LIBS
25155 fi
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25157 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25158 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25159   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25160 fi
25161
25162     fi
25163
25164     # Guillermo Gomez says -lposix is necessary on A/UX.
25165     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25166 if test "x$ac_cv_func_remove" = xyes; then :
25167
25168 fi
25169
25170     if test $ac_cv_func_remove = no; then
25171       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25172 $as_echo_n "checking for remove in -lposix... " >&6; }
25173 if ${ac_cv_lib_posix_remove+:} false; then :
25174   $as_echo_n "(cached) " >&6
25175 else
25176   ac_check_lib_save_LIBS=$LIBS
25177 LIBS="-lposix  $LIBS"
25178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25179 /* end confdefs.h.  */
25180
25181 /* Override any GCC internal prototype to avoid an error.
25182    Use char because int might match the return type of a GCC
25183    builtin and then its argument prototype would still apply.  */
25184 #ifdef __cplusplus
25185 extern "C"
25186 #endif
25187 char remove ();
25188 int
25189 main ()
25190 {
25191 return remove ();
25192   ;
25193   return 0;
25194 }
25195 _ACEOF
25196 if ac_fn_c_try_link "$LINENO"; then :
25197   ac_cv_lib_posix_remove=yes
25198 else
25199   ac_cv_lib_posix_remove=no
25200 fi
25201 rm -f core conftest.err conftest.$ac_objext \
25202     conftest$ac_exeext conftest.$ac_ext
25203 LIBS=$ac_check_lib_save_LIBS
25204 fi
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25206 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25207 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25208   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25209 fi
25210
25211     fi
25212
25213     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25214     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25215 if test "x$ac_cv_func_shmat" = xyes; then :
25216
25217 fi
25218
25219     if test $ac_cv_func_shmat = no; then
25220       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25221 $as_echo_n "checking for shmat in -lipc... " >&6; }
25222 if ${ac_cv_lib_ipc_shmat+:} false; then :
25223   $as_echo_n "(cached) " >&6
25224 else
25225   ac_check_lib_save_LIBS=$LIBS
25226 LIBS="-lipc  $LIBS"
25227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25228 /* end confdefs.h.  */
25229
25230 /* Override any GCC internal prototype to avoid an error.
25231    Use char because int might match the return type of a GCC
25232    builtin and then its argument prototype would still apply.  */
25233 #ifdef __cplusplus
25234 extern "C"
25235 #endif
25236 char shmat ();
25237 int
25238 main ()
25239 {
25240 return shmat ();
25241   ;
25242   return 0;
25243 }
25244 _ACEOF
25245 if ac_fn_c_try_link "$LINENO"; then :
25246   ac_cv_lib_ipc_shmat=yes
25247 else
25248   ac_cv_lib_ipc_shmat=no
25249 fi
25250 rm -f core conftest.err conftest.$ac_objext \
25251     conftest$ac_exeext conftest.$ac_ext
25252 LIBS=$ac_check_lib_save_LIBS
25253 fi
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25255 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25256 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25257   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25258 fi
25259
25260     fi
25261   fi
25262
25263   # Check for libraries that X11R6 Xt/Xaw programs need.
25264   ac_save_LDFLAGS=$LDFLAGS
25265   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25266   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25267   # check for ICE first), but we must link in the order -lSM -lICE or
25268   # we get undefined symbols.  So assume we have SM if we have ICE.
25269   # These have to be linked with before -lX11, unlike the other
25270   # libraries we check for below, so use a different variable.
25271   # John Interrante, Karl Berry
25272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25273 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25274 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25275   $as_echo_n "(cached) " >&6
25276 else
25277   ac_check_lib_save_LIBS=$LIBS
25278 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25280 /* end confdefs.h.  */
25281
25282 /* Override any GCC internal prototype to avoid an error.
25283    Use char because int might match the return type of a GCC
25284    builtin and then its argument prototype would still apply.  */
25285 #ifdef __cplusplus
25286 extern "C"
25287 #endif
25288 char IceConnectionNumber ();
25289 int
25290 main ()
25291 {
25292 return IceConnectionNumber ();
25293   ;
25294   return 0;
25295 }
25296 _ACEOF
25297 if ac_fn_c_try_link "$LINENO"; then :
25298   ac_cv_lib_ICE_IceConnectionNumber=yes
25299 else
25300   ac_cv_lib_ICE_IceConnectionNumber=no
25301 fi
25302 rm -f core conftest.err conftest.$ac_objext \
25303     conftest$ac_exeext conftest.$ac_ext
25304 LIBS=$ac_check_lib_save_LIBS
25305 fi
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25307 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25308 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25309   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25310 fi
25311
25312   LDFLAGS=$ac_save_LDFLAGS
25313
25314 fi
25315
25316
25317         if test "$no_x" = "yes"; then
25318           as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25319         fi
25320
25321                                 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25322         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25323         AFMINSTALL=afminstall
25324         COMPILED_X_PROGRAM=0
25325
25326     fi
25327
25328     if test "$wxUSE_X11" = 1; then
25329         if test "$wxUSE_NANOX" = "yes"; then
25330             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25331 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25332             if test "x$MICROWIN" = x ; then
25333                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25334 $as_echo "not found" >&6; }
25335                 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25336             else
25337                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25338 $as_echo "$MICROWIN" >&6; }
25339                 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25340
25341             fi
25342         fi
25343
25344         if test "$wxUSE_UNICODE" = "yes"; then
25345
25346
25347 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25348         if test -n "$ac_tool_prefix"; then
25349   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25350 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25352 $as_echo_n "checking for $ac_word... " >&6; }
25353 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25354   $as_echo_n "(cached) " >&6
25355 else
25356   case $PKG_CONFIG in
25357   [\\/]* | ?:[\\/]*)
25358   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25359   ;;
25360   *)
25361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25362 for as_dir in $PATH
25363 do
25364   IFS=$as_save_IFS
25365   test -z "$as_dir" && as_dir=.
25366     for ac_exec_ext in '' $ac_executable_extensions; do
25367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25368     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25370     break 2
25371   fi
25372 done
25373   done
25374 IFS=$as_save_IFS
25375
25376   ;;
25377 esac
25378 fi
25379 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25380 if test -n "$PKG_CONFIG"; then
25381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25382 $as_echo "$PKG_CONFIG" >&6; }
25383 else
25384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25385 $as_echo "no" >&6; }
25386 fi
25387
25388
25389 fi
25390 if test -z "$ac_cv_path_PKG_CONFIG"; then
25391   ac_pt_PKG_CONFIG=$PKG_CONFIG
25392   # Extract the first word of "pkg-config", so it can be a program name with args.
25393 set dummy pkg-config; ac_word=$2
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25395 $as_echo_n "checking for $ac_word... " >&6; }
25396 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25397   $as_echo_n "(cached) " >&6
25398 else
25399   case $ac_pt_PKG_CONFIG in
25400   [\\/]* | ?:[\\/]*)
25401   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25402   ;;
25403   *)
25404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25405 for as_dir in $PATH
25406 do
25407   IFS=$as_save_IFS
25408   test -z "$as_dir" && as_dir=.
25409     for ac_exec_ext in '' $ac_executable_extensions; do
25410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25411     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25413     break 2
25414   fi
25415 done
25416   done
25417 IFS=$as_save_IFS
25418
25419   ;;
25420 esac
25421 fi
25422 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25423 if test -n "$ac_pt_PKG_CONFIG"; then
25424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25425 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25426 else
25427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25428 $as_echo "no" >&6; }
25429 fi
25430
25431   if test "x$ac_pt_PKG_CONFIG" = x; then
25432     PKG_CONFIG=""
25433   else
25434     case $cross_compiling:$ac_tool_warned in
25435 yes:)
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25438 ac_tool_warned=yes ;;
25439 esac
25440     PKG_CONFIG=$ac_pt_PKG_CONFIG
25441   fi
25442 else
25443   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25444 fi
25445
25446 fi
25447 if test -n "$PKG_CONFIG"; then
25448         _pkg_min_version=0.9.0
25449         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25450 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25451         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25452                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25453 $as_echo "yes" >&6; }
25454         else
25455                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25456 $as_echo "no" >&6; }
25457                 PKG_CONFIG=""
25458         fi
25459
25460 fi
25461
25462
25463 pkg_failed=no
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25465 $as_echo_n "checking for PANGOX... " >&6; }
25466
25467 if test -n "$PKG_CONFIG"; then
25468     if test -n "$PANGOX_CFLAGS"; then
25469         pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25470     else
25471         if test -n "$PKG_CONFIG" && \
25472     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25473   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25474   ac_status=$?
25475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25476   test $ac_status = 0; }; then
25477   pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25478 else
25479   pkg_failed=yes
25480 fi
25481     fi
25482 else
25483         pkg_failed=untried
25484 fi
25485 if test -n "$PKG_CONFIG"; then
25486     if test -n "$PANGOX_LIBS"; then
25487         pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25488     else
25489         if test -n "$PKG_CONFIG" && \
25490     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25491   ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25492   ac_status=$?
25493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25494   test $ac_status = 0; }; then
25495   pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25496 else
25497   pkg_failed=yes
25498 fi
25499     fi
25500 else
25501         pkg_failed=untried
25502 fi
25503
25504
25505
25506 if test $pkg_failed = yes; then
25507
25508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25509         _pkg_short_errors_supported=yes
25510 else
25511         _pkg_short_errors_supported=no
25512 fi
25513         if test $_pkg_short_errors_supported = yes; then
25514                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25515         else
25516                 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25517         fi
25518         # Put the nasty error message in config.log where it belongs
25519         echo "$PANGOX_PKG_ERRORS" >&5
25520
25521
25522                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25523
25524
25525 elif test $pkg_failed = untried; then
25526
25527                     as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25528
25529
25530 else
25531         PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25532         PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25533         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25534 $as_echo "yes" >&6; }
25535
25536                     CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25537                     CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25538                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25539
25540 fi
25541
25542 pkg_failed=no
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25544 $as_echo_n "checking for PANGOFT2... " >&6; }
25545
25546 if test -n "$PKG_CONFIG"; then
25547     if test -n "$PANGOFT2_CFLAGS"; then
25548         pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25549     else
25550         if test -n "$PKG_CONFIG" && \
25551     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25552   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25553   ac_status=$?
25554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25555   test $ac_status = 0; }; then
25556   pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25557 else
25558   pkg_failed=yes
25559 fi
25560     fi
25561 else
25562         pkg_failed=untried
25563 fi
25564 if test -n "$PKG_CONFIG"; then
25565     if test -n "$PANGOFT2_LIBS"; then
25566         pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25567     else
25568         if test -n "$PKG_CONFIG" && \
25569     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25570   ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25571   ac_status=$?
25572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25573   test $ac_status = 0; }; then
25574   pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25575 else
25576   pkg_failed=yes
25577 fi
25578     fi
25579 else
25580         pkg_failed=untried
25581 fi
25582
25583
25584
25585 if test $pkg_failed = yes; then
25586
25587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25588         _pkg_short_errors_supported=yes
25589 else
25590         _pkg_short_errors_supported=no
25591 fi
25592         if test $_pkg_short_errors_supported = yes; then
25593                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25594         else
25595                 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25596         fi
25597         # Put the nasty error message in config.log where it belongs
25598         echo "$PANGOFT2_PKG_ERRORS" >&5
25599
25600
25601                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25602 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25603                     wxUSE_PRINTING_ARCHITECTURE="no"
25604
25605
25606 elif test $pkg_failed = untried; then
25607
25608                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25609 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25610                     wxUSE_PRINTING_ARCHITECTURE="no"
25611
25612
25613 else
25614         PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25615         PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25616         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25617 $as_echo "yes" >&6; }
25618
25619                     CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25620                     CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25621                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25622
25623 fi
25624
25625 pkg_failed=no
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25627 $as_echo_n "checking for PANGOXFT... " >&6; }
25628
25629 if test -n "$PKG_CONFIG"; then
25630     if test -n "$PANGOXFT_CFLAGS"; then
25631         pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25632     else
25633         if test -n "$PKG_CONFIG" && \
25634     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25635   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25636   ac_status=$?
25637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25638   test $ac_status = 0; }; then
25639   pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25640 else
25641   pkg_failed=yes
25642 fi
25643     fi
25644 else
25645         pkg_failed=untried
25646 fi
25647 if test -n "$PKG_CONFIG"; then
25648     if test -n "$PANGOXFT_LIBS"; then
25649         pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25650     else
25651         if test -n "$PKG_CONFIG" && \
25652     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25653   ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25654   ac_status=$?
25655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25656   test $ac_status = 0; }; then
25657   pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25658 else
25659   pkg_failed=yes
25660 fi
25661     fi
25662 else
25663         pkg_failed=untried
25664 fi
25665
25666
25667
25668 if test $pkg_failed = yes; then
25669
25670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25671         _pkg_short_errors_supported=yes
25672 else
25673         _pkg_short_errors_supported=no
25674 fi
25675         if test $_pkg_short_errors_supported = yes; then
25676                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25677         else
25678                 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25679         fi
25680         # Put the nasty error message in config.log where it belongs
25681         echo "$PANGOXFT_PKG_ERRORS" >&5
25682
25683
25684                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25685 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25686
25687
25688 elif test $pkg_failed = untried; then
25689
25690                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25691 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25692
25693
25694 else
25695         PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25696         PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25697         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25698 $as_echo "yes" >&6; }
25699
25700                     $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25701
25702                     CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25703                     CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25704                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25705
25706 fi
25707             save_LIBS="$LIBS"
25708             LIBS="$LIBS $PANGOX_LIBS"
25709             for ac_func in pango_font_family_is_monospace
25710 do :
25711   ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25712 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25713   cat >>confdefs.h <<_ACEOF
25714 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25715 _ACEOF
25716
25717 fi
25718 done
25719
25720             LIBS="$save_LIBS"
25721         fi
25722
25723         wxUSE_UNIVERSAL="yes"
25724
25725         if test "$wxUSE_NANOX" = "yes"; then
25726             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25727             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"
25728             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25729         else
25730             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25731         fi
25732
25733         TOOLKIT=X11
25734         GUIDIST=X11_DIST
25735     fi
25736
25737     if test "$wxUSE_MOTIF" = 1; then
25738         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25739 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25740
25741 ac_find_includes=
25742 for ac_dir in $SEARCH_INCLUDE /usr/include
25743   do
25744     if test -f "$ac_dir/Xm/Xm.h"; then
25745       ac_find_includes=$ac_dir
25746       break
25747     fi
25748   done
25749
25750         if test "$ac_find_includes" != "" ; then
25751             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25752 $as_echo "found in $ac_find_includes" >&6; }
25753
25754     if test "x$ac_find_includes" = "x/usr/include"; then
25755     ac_path_to_include=""
25756   else
25757     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25758     result=$?
25759     if test $result = 0; then
25760       ac_path_to_include=""
25761     else
25762       ac_path_to_include=" -I$ac_find_includes"
25763     fi
25764   fi
25765
25766             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25767         else
25768             save_CFLAGS=$CFLAGS
25769             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25770
25771             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h.  */
25773
25774                     #include <Xm/Xm.h>
25775
25776 int
25777 main ()
25778 {
25779
25780                     int version;
25781                     version = xmUseVersion;
25782
25783   ;
25784   return 0;
25785 }
25786 _ACEOF
25787 if ac_fn_c_try_compile "$LINENO"; then :
25788
25789                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25790 $as_echo "found in default search path" >&6; }
25791                     COMPILED_X_PROGRAM=1
25792
25793 else
25794
25795                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25796 $as_echo "no" >&6; }
25797                     as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25798
25799
25800 fi
25801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25802
25803             CFLAGS=$save_CFLAGS
25804         fi
25805
25806
25807         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25808 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25809
25810   ac_find_libraries=
25811   for ac_dir in  $SEARCH_LIB
25812   do
25813     for ac_extension in a so sl dylib dll.a; do
25814       if test -f "$ac_dir/libXm.$ac_extension"; then
25815         ac_find_libraries=$ac_dir
25816         break 2
25817       fi
25818     done
25819   done
25820
25821
25822         if test "x$ac_find_libraries" != "x" ; then
25823             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25824 $as_echo "found in $ac_find_libraries" >&6; }
25825
25826
25827     if test "$ac_find_libraries" = "default location"; then
25828     ac_path_to_link=""
25829   else
25830     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25831     result=$?
25832     if test $result = 0; then
25833       ac_path_to_link=""
25834     else
25835       ac_path_to_link=" -L$ac_find_libraries"
25836     fi
25837   fi
25838
25839             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25840         else
25841                                                 save_CFLAGS=$CFLAGS
25842             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25843             save_LIBS="$LIBS"
25844             LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25845
25846             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h.  */
25848
25849                     #include <Xm/Xm.h>
25850
25851 int
25852 main ()
25853 {
25854
25855                     int version;
25856                     version = xmUseVersion;
25857
25858   ;
25859   return 0;
25860 }
25861 _ACEOF
25862 if ac_fn_c_try_link "$LINENO"; then :
25863
25864                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25865 $as_echo "found in default search path" >&6; }
25866                     COMPILED_X_PROGRAM=1
25867
25868 else
25869
25870                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25871 $as_echo "no" >&6; }
25872                     as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25873
25874
25875 fi
25876 rm -f core conftest.err conftest.$ac_objext \
25877     conftest$ac_exeext conftest.$ac_ext
25878
25879             CFLAGS=$save_CFLAGS
25880             LIBS="$save_LIBS"
25881         fi
25882
25883         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25884 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25885         libp_link=""
25886         libsm_ice_link=""
25887         libs_found=0
25888         for libp in "" " -lXp"; do
25889             if test "$libs_found" = 0; then
25890                 for libsm_ice in "" " -lSM -lICE"; do
25891                     if test "$libs_found" = 0; then
25892                         save_LIBS="$LIBS"
25893                         LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25894                         save_CFLAGS=$CFLAGS
25895                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25896
25897                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25898 /* end confdefs.h.  */
25899
25900                                 #include <Xm/Xm.h>
25901                                 #include <Xm/List.h>
25902
25903 int
25904 main ()
25905 {
25906
25907                                 XmString string = NULL;
25908                                 Widget w = NULL;
25909                                 int position = 0;
25910                                 XmListAddItem(w, string, position);
25911
25912   ;
25913   return 0;
25914 }
25915 _ACEOF
25916 if ac_fn_c_try_link "$LINENO"; then :
25917
25918                                 libp_link="$libp"
25919                                 libsm_ice_link="$libsm_ice"
25920                                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25921 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25922                                 libs_found=1
25923
25924 fi
25925 rm -f core conftest.err conftest.$ac_objext \
25926     conftest$ac_exeext conftest.$ac_ext
25927
25928                         LIBS="$save_LIBS"
25929                         CFLAGS=$save_CFLAGS
25930                     fi
25931                 done
25932             fi
25933         done
25934
25935         if test "$libs_found" = 0; then
25936             { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25937 $as_echo "can't find the right libraries" >&6; }
25938             as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25939         fi
25940
25941                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25942 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25943 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
25944   $as_echo_n "(cached) " >&6
25945 else
25946   ac_check_lib_save_LIBS=$LIBS
25947 LIBS="-lSgm  $LIBS"
25948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h.  */
25950
25951 /* Override any GCC internal prototype to avoid an error.
25952    Use char because int might match the return type of a GCC
25953    builtin and then its argument prototype would still apply.  */
25954 #ifdef __cplusplus
25955 extern "C"
25956 #endif
25957 char SgCreateList ();
25958 int
25959 main ()
25960 {
25961 return SgCreateList ();
25962   ;
25963   return 0;
25964 }
25965 _ACEOF
25966 if ac_fn_c_try_link "$LINENO"; then :
25967   ac_cv_lib_Sgm_SgCreateList=yes
25968 else
25969   ac_cv_lib_Sgm_SgCreateList=no
25970 fi
25971 rm -f core conftest.err conftest.$ac_objext \
25972     conftest$ac_exeext conftest.$ac_ext
25973 LIBS=$ac_check_lib_save_LIBS
25974 fi
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25976 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25977 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
25978   libsgm_link=" -lSgm"
25979 fi
25980
25981
25982         save_CFLAGS=$CFLAGS
25983         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25984
25985         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25986 $as_echo_n "checking for Motif 2... " >&6; }
25987 if ${wx_cv_lib_motif2+:} false; then :
25988   $as_echo_n "(cached) " >&6
25989 else
25990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25991 /* end confdefs.h.  */
25992
25993                             #include <Xm/Xm.h>
25994
25995 int
25996 main ()
25997 {
25998
25999                             #if XmVersion < 2000
26000                             Not Motif 2
26001                             #endif
26002
26003   ;
26004   return 0;
26005 }
26006 _ACEOF
26007 if ac_fn_c_try_compile "$LINENO"; then :
26008   wx_cv_lib_motif2="yes"
26009 else
26010   wx_cv_lib_motif2="no"
26011 fi
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26013 fi
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26015 $as_echo "$wx_cv_lib_motif2" >&6; }
26016         if test "$wx_cv_lib_motif2" = "yes"; then
26017             $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26018
26019         else
26020             $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26021
26022         fi
26023
26024         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26025 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26026 if ${wx_cv_lib_lesstif+:} false; then :
26027   $as_echo_n "(cached) " >&6
26028 else
26029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26030 /* end confdefs.h.  */
26031
26032                             #include <Xm/Xm.h>
26033
26034 int
26035 main ()
26036 {
26037
26038                             #if !defined(LesstifVersion) || LesstifVersion <= 0
26039                             Not Lesstif
26040                             #endif
26041
26042   ;
26043   return 0;
26044 }
26045 _ACEOF
26046 if ac_fn_c_try_compile "$LINENO"; then :
26047   wx_cv_lib_lesstif="yes"
26048 else
26049   wx_cv_lib_lesstif="no"
26050 fi
26051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26052
26053 fi
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26055 $as_echo "$wx_cv_lib_lesstif" >&6; }
26056         if test "$wx_cv_lib_lesstif" = "yes"; then
26057             $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26058
26059         else
26060             $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26061
26062         fi
26063
26064         CFLAGS=$save_CFLAGS
26065
26066         GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26067         TOOLKIT=MOTIF
26068         GUIDIST=MOTIF_DIST
26069     fi
26070
26071         if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26072                 if test "$wxUSE_LIBXPM" = "sys"; then
26073             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26074 $as_echo_n "checking for Xpm library... " >&6; }
26075
26076   ac_find_libraries=
26077   for ac_dir in  $SEARCH_LIB
26078   do
26079     for ac_extension in a so sl dylib dll.a; do
26080       if test -f "$ac_dir/libXpm.$ac_extension"; then
26081         ac_find_libraries=$ac_dir
26082         break 2
26083       fi
26084     done
26085   done
26086
26087             if test "$ac_find_libraries" != "" ; then
26088
26089     if test "$ac_find_libraries" = "default location"; then
26090     ac_path_to_link=""
26091   else
26092     echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26093     result=$?
26094     if test $result = 0; then
26095       ac_path_to_link=""
26096     else
26097       ac_path_to_link=" -L$ac_find_libraries"
26098     fi
26099   fi
26100
26101                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
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                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26106 $as_echo_n "checking for X11/xpm.h... " >&6; }
26107 if ${wx_cv_x11_xpm_h+:} false; then :
26108   $as_echo_n "(cached) " >&6
26109 else
26110
26111                         save_CFLAGS=$CFLAGS
26112                         CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26113
26114                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h.  */
26116
26117                                 #include <X11/xpm.h>
26118
26119 int
26120 main ()
26121 {
26122
26123                                 int version;
26124                                 version = XpmLibraryVersion();
26125
26126   ;
26127   return 0;
26128 }
26129 _ACEOF
26130 if ac_fn_c_try_compile "$LINENO"; then :
26131   wx_cv_x11_xpm_h=yes
26132 else
26133   wx_cv_x11_xpm_h=no
26134
26135 fi
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137
26138                         CFLAGS=$save_CFLAGS
26139
26140
26141 fi
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26143 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26144
26145                 if test $wx_cv_x11_xpm_h = "yes"; then
26146                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26147                     $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26148
26149                 else
26150                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26151 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26152                 fi
26153             fi
26154
26155         fi
26156
26157                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26158 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26159 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26160   $as_echo_n "(cached) " >&6
26161 else
26162   ac_check_lib_save_LIBS=$LIBS
26163 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26165 /* end confdefs.h.  */
26166
26167 /* Override any GCC internal prototype to avoid an error.
26168    Use char because int might match the return type of a GCC
26169    builtin and then its argument prototype would still apply.  */
26170 #ifdef __cplusplus
26171 extern "C"
26172 #endif
26173 char XShapeQueryExtension ();
26174 int
26175 main ()
26176 {
26177 return XShapeQueryExtension ();
26178   ;
26179   return 0;
26180 }
26181 _ACEOF
26182 if ac_fn_c_try_link "$LINENO"; then :
26183   ac_cv_lib_Xext_XShapeQueryExtension=yes
26184 else
26185   ac_cv_lib_Xext_XShapeQueryExtension=no
26186 fi
26187 rm -f core conftest.err conftest.$ac_objext \
26188     conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26190 fi
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26192 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26193 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26194
26195                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26196                       wxHAVE_XEXT_LIB=1
26197
26198 fi
26199
26200
26201         if test "$wxHAVE_XEXT_LIB" = 1; then
26202             save_CFLAGS="$CFLAGS"
26203             CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26204
26205             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26206 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26207             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26208 /* end confdefs.h.  */
26209
26210                             #include <X11/Xlib.h>
26211                             #include <X11/extensions/shape.h>
26212
26213 int
26214 main ()
26215 {
26216
26217                             int dummy1, dummy2;
26218                             XShapeQueryExtension((Display*)NULL,
26219                                                  (int*)NULL, (int*)NULL);
26220
26221   ;
26222   return 0;
26223 }
26224 _ACEOF
26225 if ac_fn_c_try_compile "$LINENO"; then :
26226
26227                             $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26228
26229                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26230 $as_echo "found" >&6; }
26231
26232 else
26233
26234                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26235 $as_echo "not found" >&6; }
26236
26237 fi
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239             CFLAGS="$save_CFLAGS"
26240
26241         fi
26242     fi
26243
26244     if test "$wxUSE_OSX_CARBON" = 1; then
26245         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26246 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26247         if test "$GCC" = yes; then
26248             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26249 $as_echo "gcc" >&6; }
26250             CPPFLAGS_PASCAL="-fpascal-strings"
26251         elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26252             { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26253 $as_echo "xlc" >&6; }
26254             CPPFLAGS_PASCAL="-qmacpstr"
26255         else
26256             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26257 $as_echo "none" >&6; }
26258         fi
26259
26260         if test "x$wxUSE_UNIX" = "xyes"; then
26261             CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26262         else
26263                         CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26264         fi
26265
26266         TOOLKIT=OSX_CARBON
26267                 GUIDIST=OSX_CARBON_DIST
26268                         WXBASEPORT="_carbon"
26269
26270                                         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26271     fi
26272
26273     if test "$wxUSE_OSX_COCOA" = 1; then
26274         TOOLKIT=OSX_COCOA
26275         GUIDIST=OSX_COCOA_DIST
26276
26277                 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26278     fi
26279
26280     if test "$wxUSE_OSX_IPHONE" = 1; then
26281         TOOLKIT=OSX_IPHONE
26282     fi
26283
26284     if test "$wxUSE_OLD_COCOA" = 1; then
26285         TOOLKIT=COCOA
26286         GUIDIST=COCOA_DIST
26287     fi
26288
26289     if test "$wxUSE_PM" = 1; then
26290         TOOLKIT=PM
26291         GUIDIST=PM_DIST
26292         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26293 $as_echo_n "checking for type SPBCDATA... " >&6; }
26294 if ${wx_cv_spbcdata+:} false; then :
26295   $as_echo_n "(cached) " >&6
26296 else
26297
26298                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h.  */
26300
26301                         #define INCL_PM
26302                         #include <os2.h>
26303
26304 int
26305 main ()
26306 {
26307
26308                         SPBCDATA test;
26309
26310   ;
26311   return 0;
26312 }
26313 _ACEOF
26314 if ac_fn_c_try_compile "$LINENO"; then :
26315   wx_cv_spbcdata=yes
26316 else
26317   wx_cv_spbcdata=no
26318
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321
26322
26323 fi
26324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26325 $as_echo "$wx_cv_spbcdata" >&6; }
26326
26327         if test $wx_cv_spbcdata = "yes"; then
26328             $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26329
26330         fi
26331     fi
26332
26333         if test "$TOOLKIT" = "PM" ; then
26334         TOOLKIT_DIR="os2"
26335     else
26336         TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26337     fi
26338
26339     if test "$wxUSE_UNIVERSAL" = "yes"; then
26340         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26341         WIDGET_SET=univ
26342     fi
26343
26344         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26345     DISTDIR="wx\$(TOOLKIT)"
26346 else
26347     USE_GUI=0
26348
26349             TOOLKIT_DIR="base"
26350
26351         if test "$USE_WIN32" = 1 ; then
26352                         TOOLKIT="MSW"
26353     fi
26354
26355         GUIDIST="BASE_DIST"
26356     DISTDIR="wxBase"
26357 fi
26358
26359
26360
26361 if test "$wxUSE_GUI" = "yes"; then
26362     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26363                 for ac_header in X11/Xlib.h
26364 do :
26365   ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26366 "
26367 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26368   cat >>confdefs.h <<_ACEOF
26369 #define HAVE_X11_XLIB_H 1
26370 _ACEOF
26371
26372 fi
26373
26374 done
26375
26376         for ac_header in X11/XKBlib.h
26377 do :
26378   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26379                           #if HAVE_X11_XLIB_H
26380                             #include <X11/Xlib.h>
26381                           #endif
26382
26383 "
26384 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26385   cat >>confdefs.h <<_ACEOF
26386 #define HAVE_X11_XKBLIB_H 1
26387 _ACEOF
26388
26389 fi
26390
26391 done
26392
26393     fi
26394 fi
26395
26396
26397
26398 USE_XINERAMA=0
26399 if test "$wxUSE_DISPLAY" = "yes"; then
26400         if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26401
26402   ac_find_libraries=
26403
26404     fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26405
26406
26407 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26408         if test -n "$ac_tool_prefix"; then
26409   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26410 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26412 $as_echo_n "checking for $ac_word... " >&6; }
26413 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26414   $as_echo_n "(cached) " >&6
26415 else
26416   case $PKG_CONFIG in
26417   [\\/]* | ?:[\\/]*)
26418   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26419   ;;
26420   *)
26421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26422 for as_dir in $PATH
26423 do
26424   IFS=$as_save_IFS
26425   test -z "$as_dir" && as_dir=.
26426     for ac_exec_ext in '' $ac_executable_extensions; do
26427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26428     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26430     break 2
26431   fi
26432 done
26433   done
26434 IFS=$as_save_IFS
26435
26436   ;;
26437 esac
26438 fi
26439 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26440 if test -n "$PKG_CONFIG"; then
26441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26442 $as_echo "$PKG_CONFIG" >&6; }
26443 else
26444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26445 $as_echo "no" >&6; }
26446 fi
26447
26448
26449 fi
26450 if test -z "$ac_cv_path_PKG_CONFIG"; then
26451   ac_pt_PKG_CONFIG=$PKG_CONFIG
26452   # Extract the first word of "pkg-config", so it can be a program name with args.
26453 set dummy pkg-config; ac_word=$2
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26455 $as_echo_n "checking for $ac_word... " >&6; }
26456 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26457   $as_echo_n "(cached) " >&6
26458 else
26459   case $ac_pt_PKG_CONFIG in
26460   [\\/]* | ?:[\\/]*)
26461   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26462   ;;
26463   *)
26464   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26465 for as_dir in $PATH
26466 do
26467   IFS=$as_save_IFS
26468   test -z "$as_dir" && as_dir=.
26469     for ac_exec_ext in '' $ac_executable_extensions; do
26470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26471     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26473     break 2
26474   fi
26475 done
26476   done
26477 IFS=$as_save_IFS
26478
26479   ;;
26480 esac
26481 fi
26482 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26483 if test -n "$ac_pt_PKG_CONFIG"; then
26484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26485 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26486 else
26487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26488 $as_echo "no" >&6; }
26489 fi
26490
26491   if test "x$ac_pt_PKG_CONFIG" = x; then
26492     PKG_CONFIG=""
26493   else
26494     case $cross_compiling:$ac_tool_warned in
26495 yes:)
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26498 ac_tool_warned=yes ;;
26499 esac
26500     PKG_CONFIG=$ac_pt_PKG_CONFIG
26501   fi
26502 else
26503   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26504 fi
26505
26506 fi
26507 if test -n "$PKG_CONFIG"; then
26508         _pkg_min_version=0.9.0
26509         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26510 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26511         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26512                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26513 $as_echo "yes" >&6; }
26514         else
26515                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26516 $as_echo "no" >&6; }
26517                 PKG_CONFIG=""
26518         fi
26519
26520 fi 6> /dev/null
26521
26522 pkg_failed=no
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26524 $as_echo_n "checking for Xinerama... " >&6; }
26525
26526 if test -n "$PKG_CONFIG"; then
26527     if test -n "$Xinerama_CFLAGS"; then
26528         pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26529     else
26530         if test -n "$PKG_CONFIG" && \
26531     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26532   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26533   ac_status=$?
26534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26535   test $ac_status = 0; }; then
26536   pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26537 else
26538   pkg_failed=yes
26539 fi
26540     fi
26541 else
26542         pkg_failed=untried
26543 fi
26544 if test -n "$PKG_CONFIG"; then
26545     if test -n "$Xinerama_LIBS"; then
26546         pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26547     else
26548         if test -n "$PKG_CONFIG" && \
26549     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26550   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26551   ac_status=$?
26552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26553   test $ac_status = 0; }; then
26554   pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26555 else
26556   pkg_failed=yes
26557 fi
26558     fi
26559 else
26560         pkg_failed=untried
26561 fi
26562
26563
26564
26565 if test $pkg_failed = yes; then
26566
26567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26568         _pkg_short_errors_supported=yes
26569 else
26570         _pkg_short_errors_supported=no
26571 fi
26572         if test $_pkg_short_errors_supported = yes; then
26573                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26574         else
26575                 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26576         fi
26577         # Put the nasty error message in config.log where it belongs
26578         echo "$Xinerama_PKG_ERRORS" >&5
26579
26580
26581       if test "x$ac_find_libraries" = "x"; then
26582                 if test "xXineramaQueryScreens" != "x"; then
26583           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26584 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26585 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26586   $as_echo_n "(cached) " >&6
26587 else
26588   ac_check_lib_save_LIBS=$LIBS
26589 LIBS="-lXinerama  $LIBS"
26590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26591 /* end confdefs.h.  */
26592
26593 /* Override any GCC internal prototype to avoid an error.
26594    Use char because int might match the return type of a GCC
26595    builtin and then its argument prototype would still apply.  */
26596 #ifdef __cplusplus
26597 extern "C"
26598 #endif
26599 char XineramaQueryScreens ();
26600 int
26601 main ()
26602 {
26603 return XineramaQueryScreens ();
26604   ;
26605   return 0;
26606 }
26607 _ACEOF
26608 if ac_fn_c_try_link "$LINENO"; then :
26609   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26610 else
26611   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26612 fi
26613 rm -f core conftest.err conftest.$ac_objext \
26614     conftest$ac_exeext conftest.$ac_ext
26615 LIBS=$ac_check_lib_save_LIBS
26616 fi
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26618 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26619 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26620   ac_find_libraries="std"
26621 fi
26622
26623         fi
26624       fi
26625
26626       if test "x$ac_find_libraries" = "x"; then
26627                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26628 $as_echo_n "checking elsewhere... " >&6; }
26629
26630   ac_find_libraries=
26631   for ac_dir in  $SEARCH_LIB
26632   do
26633     for ac_extension in a so sl dylib dll.a; do
26634       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26635         ac_find_libraries=$ac_dir
26636         break 2
26637       fi
26638     done
26639   done
26640
26641         if test "x$ac_find_libraries" != "x"; then
26642           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26643 $as_echo "yes" >&6; }
26644         else
26645           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26646 $as_echo "no" >&6; }
26647         fi
26648       fi
26649
26650 elif test $pkg_failed = untried; then
26651
26652       if test "x$ac_find_libraries" = "x"; then
26653                 if test "xXineramaQueryScreens" != "x"; then
26654           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26655 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26656 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26657   $as_echo_n "(cached) " >&6
26658 else
26659   ac_check_lib_save_LIBS=$LIBS
26660 LIBS="-lXinerama  $LIBS"
26661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26662 /* end confdefs.h.  */
26663
26664 /* Override any GCC internal prototype to avoid an error.
26665    Use char because int might match the return type of a GCC
26666    builtin and then its argument prototype would still apply.  */
26667 #ifdef __cplusplus
26668 extern "C"
26669 #endif
26670 char XineramaQueryScreens ();
26671 int
26672 main ()
26673 {
26674 return XineramaQueryScreens ();
26675   ;
26676   return 0;
26677 }
26678 _ACEOF
26679 if ac_fn_c_try_link "$LINENO"; then :
26680   ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26681 else
26682   ac_cv_lib_Xinerama_XineramaQueryScreens=no
26683 fi
26684 rm -f core conftest.err conftest.$ac_objext \
26685     conftest$ac_exeext conftest.$ac_ext
26686 LIBS=$ac_check_lib_save_LIBS
26687 fi
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26689 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26690 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26691   ac_find_libraries="std"
26692 fi
26693
26694         fi
26695       fi
26696
26697       if test "x$ac_find_libraries" = "x"; then
26698                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26699 $as_echo_n "checking elsewhere... " >&6; }
26700
26701   ac_find_libraries=
26702   for ac_dir in  $SEARCH_LIB
26703   do
26704     for ac_extension in a so sl dylib dll.a; do
26705       if test -f "$ac_dir/libXinerama.$ac_extension"; then
26706         ac_find_libraries=$ac_dir
26707         break 2
26708       fi
26709     done
26710   done
26711
26712         if test "x$ac_find_libraries" != "x"; then
26713           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26714 $as_echo "yes" >&6; }
26715         else
26716           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26717 $as_echo "no" >&6; }
26718         fi
26719       fi
26720
26721 else
26722         Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26723         Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26724         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26725 $as_echo "yes" >&6; }
26726
26727             ac_find_libraries="std"
26728
26729                                                 eval ac_find_cflags=\$Xinerama_CFLAGS
26730       eval fl_libs=\$Xinerama_LIBS
26731
26732                   for fl_path in $fl_libs
26733       do
26734         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26735                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26736         fi
26737       done
26738
26739 fi
26740
26741         if test "$ac_find_libraries" != "" ; then
26742             if test "$ac_find_libraries" != "std" ; then
26743
26744     if test "$ac_find_libraries" = "default location"; then
26745     ac_path_to_link=""
26746   else
26747     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26748     result=$?
26749     if test $result = 0; then
26750       ac_path_to_link=""
26751     else
26752       ac_path_to_link=" -L$ac_find_libraries"
26753     fi
26754   fi
26755
26756               if test "$ac_path_to_link" != " -L/usr/lib" ; then
26757                   LDFLAGS="$LDFLAGS $ac_path_to_link"
26758               fi
26759             fi
26760             USE_XINERAMA=1
26761             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26762         else
26763             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26764 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26765             wxUSE_DISPLAY="no"
26766         fi
26767     elif test "$wxUSE_MSW" = 1; then
26768                 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26769 "
26770 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26771
26772 fi
26773
26774
26775     fi
26776 fi
26777
26778 if test "$wxUSE_DISPLAY" = "yes"; then
26779         if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26780
26781   ac_find_libraries=
26782
26783     fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26784
26785
26786 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26787         if test -n "$ac_tool_prefix"; then
26788   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26789 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26791 $as_echo_n "checking for $ac_word... " >&6; }
26792 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26793   $as_echo_n "(cached) " >&6
26794 else
26795   case $PKG_CONFIG in
26796   [\\/]* | ?:[\\/]*)
26797   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26798   ;;
26799   *)
26800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26801 for as_dir in $PATH
26802 do
26803   IFS=$as_save_IFS
26804   test -z "$as_dir" && as_dir=.
26805     for ac_exec_ext in '' $ac_executable_extensions; do
26806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26807     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26809     break 2
26810   fi
26811 done
26812   done
26813 IFS=$as_save_IFS
26814
26815   ;;
26816 esac
26817 fi
26818 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26819 if test -n "$PKG_CONFIG"; then
26820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26821 $as_echo "$PKG_CONFIG" >&6; }
26822 else
26823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26824 $as_echo "no" >&6; }
26825 fi
26826
26827
26828 fi
26829 if test -z "$ac_cv_path_PKG_CONFIG"; then
26830   ac_pt_PKG_CONFIG=$PKG_CONFIG
26831   # Extract the first word of "pkg-config", so it can be a program name with args.
26832 set dummy pkg-config; ac_word=$2
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26834 $as_echo_n "checking for $ac_word... " >&6; }
26835 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26836   $as_echo_n "(cached) " >&6
26837 else
26838   case $ac_pt_PKG_CONFIG in
26839   [\\/]* | ?:[\\/]*)
26840   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26841   ;;
26842   *)
26843   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26844 for as_dir in $PATH
26845 do
26846   IFS=$as_save_IFS
26847   test -z "$as_dir" && as_dir=.
26848     for ac_exec_ext in '' $ac_executable_extensions; do
26849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26850     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26852     break 2
26853   fi
26854 done
26855   done
26856 IFS=$as_save_IFS
26857
26858   ;;
26859 esac
26860 fi
26861 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26862 if test -n "$ac_pt_PKG_CONFIG"; then
26863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26864 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26865 else
26866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26867 $as_echo "no" >&6; }
26868 fi
26869
26870   if test "x$ac_pt_PKG_CONFIG" = x; then
26871     PKG_CONFIG=""
26872   else
26873     case $cross_compiling:$ac_tool_warned in
26874 yes:)
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26877 ac_tool_warned=yes ;;
26878 esac
26879     PKG_CONFIG=$ac_pt_PKG_CONFIG
26880   fi
26881 else
26882   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26883 fi
26884
26885 fi
26886 if test -n "$PKG_CONFIG"; then
26887         _pkg_min_version=0.9.0
26888         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26889 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26890         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26891                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26892 $as_echo "yes" >&6; }
26893         else
26894                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26895 $as_echo "no" >&6; }
26896                 PKG_CONFIG=""
26897         fi
26898
26899 fi 6> /dev/null
26900
26901 pkg_failed=no
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26903 $as_echo_n "checking for Xxf86vm... " >&6; }
26904
26905 if test -n "$PKG_CONFIG"; then
26906     if test -n "$Xxf86vm_CFLAGS"; then
26907         pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26908     else
26909         if test -n "$PKG_CONFIG" && \
26910     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26911   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26912   ac_status=$?
26913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26914   test $ac_status = 0; }; then
26915   pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26916 else
26917   pkg_failed=yes
26918 fi
26919     fi
26920 else
26921         pkg_failed=untried
26922 fi
26923 if test -n "$PKG_CONFIG"; then
26924     if test -n "$Xxf86vm_LIBS"; then
26925         pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26926     else
26927         if test -n "$PKG_CONFIG" && \
26928     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26929   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26930   ac_status=$?
26931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26932   test $ac_status = 0; }; then
26933   pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26934 else
26935   pkg_failed=yes
26936 fi
26937     fi
26938 else
26939         pkg_failed=untried
26940 fi
26941
26942
26943
26944 if test $pkg_failed = yes; then
26945
26946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26947         _pkg_short_errors_supported=yes
26948 else
26949         _pkg_short_errors_supported=no
26950 fi
26951         if test $_pkg_short_errors_supported = yes; then
26952                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26953         else
26954                 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26955         fi
26956         # Put the nasty error message in config.log where it belongs
26957         echo "$Xxf86vm_PKG_ERRORS" >&5
26958
26959
26960       if test "x$ac_find_libraries" = "x"; then
26961                 if test "xXF86VidModeQueryExtension" != "x"; then
26962           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26963 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26964 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
26965   $as_echo_n "(cached) " >&6
26966 else
26967   ac_check_lib_save_LIBS=$LIBS
26968 LIBS="-lXxf86vm  $LIBS"
26969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26970 /* end confdefs.h.  */
26971
26972 /* Override any GCC internal prototype to avoid an error.
26973    Use char because int might match the return type of a GCC
26974    builtin and then its argument prototype would still apply.  */
26975 #ifdef __cplusplus
26976 extern "C"
26977 #endif
26978 char XF86VidModeQueryExtension ();
26979 int
26980 main ()
26981 {
26982 return XF86VidModeQueryExtension ();
26983   ;
26984   return 0;
26985 }
26986 _ACEOF
26987 if ac_fn_c_try_link "$LINENO"; then :
26988   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26989 else
26990   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26991 fi
26992 rm -f core conftest.err conftest.$ac_objext \
26993     conftest$ac_exeext conftest.$ac_ext
26994 LIBS=$ac_check_lib_save_LIBS
26995 fi
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26997 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26998 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
26999   ac_find_libraries="std"
27000 fi
27001
27002         fi
27003       fi
27004
27005       if test "x$ac_find_libraries" = "x"; then
27006                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27007 $as_echo_n "checking elsewhere... " >&6; }
27008
27009   ac_find_libraries=
27010   for ac_dir in  $SEARCH_LIB
27011   do
27012     for ac_extension in a so sl dylib dll.a; do
27013       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27014         ac_find_libraries=$ac_dir
27015         break 2
27016       fi
27017     done
27018   done
27019
27020         if test "x$ac_find_libraries" != "x"; then
27021           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27022 $as_echo "yes" >&6; }
27023         else
27024           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27025 $as_echo "no" >&6; }
27026         fi
27027       fi
27028
27029 elif test $pkg_failed = untried; then
27030
27031       if test "x$ac_find_libraries" = "x"; then
27032                 if test "xXF86VidModeQueryExtension" != "x"; then
27033           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27034 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27035 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27036   $as_echo_n "(cached) " >&6
27037 else
27038   ac_check_lib_save_LIBS=$LIBS
27039 LIBS="-lXxf86vm  $LIBS"
27040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h.  */
27042
27043 /* Override any GCC internal prototype to avoid an error.
27044    Use char because int might match the return type of a GCC
27045    builtin and then its argument prototype would still apply.  */
27046 #ifdef __cplusplus
27047 extern "C"
27048 #endif
27049 char XF86VidModeQueryExtension ();
27050 int
27051 main ()
27052 {
27053 return XF86VidModeQueryExtension ();
27054   ;
27055   return 0;
27056 }
27057 _ACEOF
27058 if ac_fn_c_try_link "$LINENO"; then :
27059   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27060 else
27061   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27062 fi
27063 rm -f core conftest.err conftest.$ac_objext \
27064     conftest$ac_exeext conftest.$ac_ext
27065 LIBS=$ac_check_lib_save_LIBS
27066 fi
27067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27068 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27069 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27070   ac_find_libraries="std"
27071 fi
27072
27073         fi
27074       fi
27075
27076       if test "x$ac_find_libraries" = "x"; then
27077                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27078 $as_echo_n "checking elsewhere... " >&6; }
27079
27080   ac_find_libraries=
27081   for ac_dir in  $SEARCH_LIB
27082   do
27083     for ac_extension in a so sl dylib dll.a; do
27084       if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27085         ac_find_libraries=$ac_dir
27086         break 2
27087       fi
27088     done
27089   done
27090
27091         if test "x$ac_find_libraries" != "x"; then
27092           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27093 $as_echo "yes" >&6; }
27094         else
27095           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27096 $as_echo "no" >&6; }
27097         fi
27098       fi
27099
27100 else
27101         Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27102         Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27104 $as_echo "yes" >&6; }
27105
27106             ac_find_libraries="std"
27107
27108                                                 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27109       eval fl_libs=\$Xxf86vm_LIBS
27110
27111                   for fl_path in $fl_libs
27112       do
27113         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27114                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27115         fi
27116       done
27117
27118 fi
27119
27120         if test "$ac_find_libraries" != "" ; then
27121             for ac_header in X11/extensions/xf86vmode.h
27122 do :
27123   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27124                                   #if HAVE_X11_XLIB_H
27125                                     #include <X11/Xlib.h>
27126                                   #endif
27127
27128 "
27129 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27130   cat >>confdefs.h <<_ACEOF
27131 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27132 _ACEOF
27133
27134                               GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27135
27136 fi
27137
27138 done
27139
27140         fi
27141     fi
27142 fi
27143
27144 if test "$wxUSE_DETECT_SM" = "yes"; then
27145     if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27146
27147   ac_find_libraries=
27148
27149     fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27150
27151
27152 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27153         if test -n "$ac_tool_prefix"; then
27154   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27155 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27157 $as_echo_n "checking for $ac_word... " >&6; }
27158 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27159   $as_echo_n "(cached) " >&6
27160 else
27161   case $PKG_CONFIG in
27162   [\\/]* | ?:[\\/]*)
27163   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27164   ;;
27165   *)
27166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27167 for as_dir in $PATH
27168 do
27169   IFS=$as_save_IFS
27170   test -z "$as_dir" && as_dir=.
27171     for ac_exec_ext in '' $ac_executable_extensions; do
27172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27173     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27175     break 2
27176   fi
27177 done
27178   done
27179 IFS=$as_save_IFS
27180
27181   ;;
27182 esac
27183 fi
27184 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27185 if test -n "$PKG_CONFIG"; then
27186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27187 $as_echo "$PKG_CONFIG" >&6; }
27188 else
27189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27190 $as_echo "no" >&6; }
27191 fi
27192
27193
27194 fi
27195 if test -z "$ac_cv_path_PKG_CONFIG"; then
27196   ac_pt_PKG_CONFIG=$PKG_CONFIG
27197   # Extract the first word of "pkg-config", so it can be a program name with args.
27198 set dummy pkg-config; ac_word=$2
27199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27200 $as_echo_n "checking for $ac_word... " >&6; }
27201 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27202   $as_echo_n "(cached) " >&6
27203 else
27204   case $ac_pt_PKG_CONFIG in
27205   [\\/]* | ?:[\\/]*)
27206   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27207   ;;
27208   *)
27209   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27210 for as_dir in $PATH
27211 do
27212   IFS=$as_save_IFS
27213   test -z "$as_dir" && as_dir=.
27214     for ac_exec_ext in '' $ac_executable_extensions; do
27215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27216     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27218     break 2
27219   fi
27220 done
27221   done
27222 IFS=$as_save_IFS
27223
27224   ;;
27225 esac
27226 fi
27227 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27228 if test -n "$ac_pt_PKG_CONFIG"; then
27229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27230 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27231 else
27232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27233 $as_echo "no" >&6; }
27234 fi
27235
27236   if test "x$ac_pt_PKG_CONFIG" = x; then
27237     PKG_CONFIG=""
27238   else
27239     case $cross_compiling:$ac_tool_warned in
27240 yes:)
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27243 ac_tool_warned=yes ;;
27244 esac
27245     PKG_CONFIG=$ac_pt_PKG_CONFIG
27246   fi
27247 else
27248   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27249 fi
27250
27251 fi
27252 if test -n "$PKG_CONFIG"; then
27253         _pkg_min_version=0.9.0
27254         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27255 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27256         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27257                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27258 $as_echo "yes" >&6; }
27259         else
27260                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27261 $as_echo "no" >&6; }
27262                 PKG_CONFIG=""
27263         fi
27264
27265 fi 6> /dev/null
27266
27267 pkg_failed=no
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27269 $as_echo_n "checking for SM... " >&6; }
27270
27271 if test -n "$PKG_CONFIG"; then
27272     if test -n "$SM_CFLAGS"; then
27273         pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27274     else
27275         if test -n "$PKG_CONFIG" && \
27276     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27277   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27278   ac_status=$?
27279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27280   test $ac_status = 0; }; then
27281   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27282 else
27283   pkg_failed=yes
27284 fi
27285     fi
27286 else
27287         pkg_failed=untried
27288 fi
27289 if test -n "$PKG_CONFIG"; then
27290     if test -n "$SM_LIBS"; then
27291         pkg_cv_SM_LIBS="$SM_LIBS"
27292     else
27293         if test -n "$PKG_CONFIG" && \
27294     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27295   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27296   ac_status=$?
27297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27298   test $ac_status = 0; }; then
27299   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27300 else
27301   pkg_failed=yes
27302 fi
27303     fi
27304 else
27305         pkg_failed=untried
27306 fi
27307
27308
27309
27310 if test $pkg_failed = yes; then
27311
27312 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27313         _pkg_short_errors_supported=yes
27314 else
27315         _pkg_short_errors_supported=no
27316 fi
27317         if test $_pkg_short_errors_supported = yes; then
27318                 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27319         else
27320                 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27321         fi
27322         # Put the nasty error message in config.log where it belongs
27323         echo "$SM_PKG_ERRORS" >&5
27324
27325
27326       if test "x$ac_find_libraries" = "x"; then
27327                 if test "xSmcOpenConnection" != "x"; then
27328           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27329 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27330 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27331   $as_echo_n "(cached) " >&6
27332 else
27333   ac_check_lib_save_LIBS=$LIBS
27334 LIBS="-lSM  $LIBS"
27335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27336 /* end confdefs.h.  */
27337
27338 /* Override any GCC internal prototype to avoid an error.
27339    Use char because int might match the return type of a GCC
27340    builtin and then its argument prototype would still apply.  */
27341 #ifdef __cplusplus
27342 extern "C"
27343 #endif
27344 char SmcOpenConnection ();
27345 int
27346 main ()
27347 {
27348 return SmcOpenConnection ();
27349   ;
27350   return 0;
27351 }
27352 _ACEOF
27353 if ac_fn_c_try_link "$LINENO"; then :
27354   ac_cv_lib_SM_SmcOpenConnection=yes
27355 else
27356   ac_cv_lib_SM_SmcOpenConnection=no
27357 fi
27358 rm -f core conftest.err conftest.$ac_objext \
27359     conftest$ac_exeext conftest.$ac_ext
27360 LIBS=$ac_check_lib_save_LIBS
27361 fi
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27363 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27364 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27365   ac_find_libraries="std"
27366 fi
27367
27368         fi
27369       fi
27370
27371       if test "x$ac_find_libraries" = "x"; then
27372                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27373 $as_echo_n "checking elsewhere... " >&6; }
27374
27375   ac_find_libraries=
27376   for ac_dir in  $SEARCH_LIB
27377   do
27378     for ac_extension in a so sl dylib dll.a; do
27379       if test -f "$ac_dir/libSM.$ac_extension"; then
27380         ac_find_libraries=$ac_dir
27381         break 2
27382       fi
27383     done
27384   done
27385
27386         if test "x$ac_find_libraries" != "x"; then
27387           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27388 $as_echo "yes" >&6; }
27389         else
27390           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27391 $as_echo "no" >&6; }
27392         fi
27393       fi
27394
27395 elif test $pkg_failed = untried; then
27396
27397       if test "x$ac_find_libraries" = "x"; then
27398                 if test "xSmcOpenConnection" != "x"; then
27399           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27400 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27401 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27402   $as_echo_n "(cached) " >&6
27403 else
27404   ac_check_lib_save_LIBS=$LIBS
27405 LIBS="-lSM  $LIBS"
27406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27407 /* end confdefs.h.  */
27408
27409 /* Override any GCC internal prototype to avoid an error.
27410    Use char because int might match the return type of a GCC
27411    builtin and then its argument prototype would still apply.  */
27412 #ifdef __cplusplus
27413 extern "C"
27414 #endif
27415 char SmcOpenConnection ();
27416 int
27417 main ()
27418 {
27419 return SmcOpenConnection ();
27420   ;
27421   return 0;
27422 }
27423 _ACEOF
27424 if ac_fn_c_try_link "$LINENO"; then :
27425   ac_cv_lib_SM_SmcOpenConnection=yes
27426 else
27427   ac_cv_lib_SM_SmcOpenConnection=no
27428 fi
27429 rm -f core conftest.err conftest.$ac_objext \
27430     conftest$ac_exeext conftest.$ac_ext
27431 LIBS=$ac_check_lib_save_LIBS
27432 fi
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27434 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27435 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27436   ac_find_libraries="std"
27437 fi
27438
27439         fi
27440       fi
27441
27442       if test "x$ac_find_libraries" = "x"; then
27443                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27444 $as_echo_n "checking elsewhere... " >&6; }
27445
27446   ac_find_libraries=
27447   for ac_dir in  $SEARCH_LIB
27448   do
27449     for ac_extension in a so sl dylib dll.a; do
27450       if test -f "$ac_dir/libSM.$ac_extension"; then
27451         ac_find_libraries=$ac_dir
27452         break 2
27453       fi
27454     done
27455   done
27456
27457         if test "x$ac_find_libraries" != "x"; then
27458           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27459 $as_echo "yes" >&6; }
27460         else
27461           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27462 $as_echo "no" >&6; }
27463         fi
27464       fi
27465
27466 else
27467         SM_CFLAGS=$pkg_cv_SM_CFLAGS
27468         SM_LIBS=$pkg_cv_SM_LIBS
27469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27470 $as_echo "yes" >&6; }
27471
27472             ac_find_libraries="std"
27473
27474                                                 eval ac_find_cflags=\$SM_CFLAGS
27475       eval fl_libs=\$SM_LIBS
27476
27477                   for fl_path in $fl_libs
27478       do
27479         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27480                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27481         fi
27482       done
27483
27484 fi
27485
27486         if test "$ac_find_libraries" != "" ; then
27487             if test "$ac_find_libraries" != "std" ; then
27488
27489     if test "$ac_find_libraries" = "default location"; then
27490     ac_path_to_link=""
27491   else
27492     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27493     result=$?
27494     if test $result = 0; then
27495       ac_path_to_link=""
27496     else
27497       ac_path_to_link=" -L$ac_find_libraries"
27498     fi
27499   fi
27500
27501               if test "$ac_path_to_link" != " -L/usr/lib" ; then
27502                 LDFLAGS="$LDFLAGS $ac_path_to_link"
27503               fi
27504             fi
27505             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27506         else
27507             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27508 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27509             wxUSE_DETECT_SM="no"
27510         fi
27511     else
27512         wxUSE_DETECT_SM="no"
27513     fi
27514 fi
27515
27516
27517
27518 USE_OPENGL=0
27519 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27520
27521
27522     if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27523         OPENGL_LIBS="-framework OpenGL -framework AGL"
27524     elif test "$wxUSE_MSW" = 1; then
27525         OPENGL_LIBS="-lopengl32 -lglu32"
27526     elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27527
27528                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27529 $as_echo_n "checking for OpenGL headers... " >&6; }
27530
27531 ac_find_includes=
27532 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27533   do
27534     if test -f "$ac_dir/GL/gl.h"; then
27535       ac_find_includes=$ac_dir
27536       break
27537     fi
27538   done
27539
27540         if test "$ac_find_includes" != "" ; then
27541             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27542 $as_echo "found in $ac_find_includes" >&6; }
27543
27544     if test "x$ac_find_includes" = "x/usr/include"; then
27545     ac_path_to_include=""
27546   else
27547     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27548     result=$?
27549     if test $result = 0; then
27550       ac_path_to_include=""
27551     else
27552       ac_path_to_include=" -I$ac_find_includes"
27553     fi
27554   fi
27555
27556             CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27557         else
27558             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27559 $as_echo "not found" >&6; }
27560         fi
27561
27562         ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27563 "
27564 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27565
27566             ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27567 "
27568 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27569
27570                 found_gl=0
27571
27572
27573   ac_find_libraries=
27574
27575     fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27576
27577
27578 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27579         if test -n "$ac_tool_prefix"; then
27580   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27581 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27583 $as_echo_n "checking for $ac_word... " >&6; }
27584 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27585   $as_echo_n "(cached) " >&6
27586 else
27587   case $PKG_CONFIG in
27588   [\\/]* | ?:[\\/]*)
27589   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27590   ;;
27591   *)
27592   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27593 for as_dir in $PATH
27594 do
27595   IFS=$as_save_IFS
27596   test -z "$as_dir" && as_dir=.
27597     for ac_exec_ext in '' $ac_executable_extensions; do
27598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27599     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27601     break 2
27602   fi
27603 done
27604   done
27605 IFS=$as_save_IFS
27606
27607   ;;
27608 esac
27609 fi
27610 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27611 if test -n "$PKG_CONFIG"; then
27612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27613 $as_echo "$PKG_CONFIG" >&6; }
27614 else
27615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27616 $as_echo "no" >&6; }
27617 fi
27618
27619
27620 fi
27621 if test -z "$ac_cv_path_PKG_CONFIG"; then
27622   ac_pt_PKG_CONFIG=$PKG_CONFIG
27623   # Extract the first word of "pkg-config", so it can be a program name with args.
27624 set dummy pkg-config; ac_word=$2
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27626 $as_echo_n "checking for $ac_word... " >&6; }
27627 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27628   $as_echo_n "(cached) " >&6
27629 else
27630   case $ac_pt_PKG_CONFIG in
27631   [\\/]* | ?:[\\/]*)
27632   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27633   ;;
27634   *)
27635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27636 for as_dir in $PATH
27637 do
27638   IFS=$as_save_IFS
27639   test -z "$as_dir" && as_dir=.
27640     for ac_exec_ext in '' $ac_executable_extensions; do
27641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27642     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27644     break 2
27645   fi
27646 done
27647   done
27648 IFS=$as_save_IFS
27649
27650   ;;
27651 esac
27652 fi
27653 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27654 if test -n "$ac_pt_PKG_CONFIG"; then
27655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27656 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27657 else
27658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27659 $as_echo "no" >&6; }
27660 fi
27661
27662   if test "x$ac_pt_PKG_CONFIG" = x; then
27663     PKG_CONFIG=""
27664   else
27665     case $cross_compiling:$ac_tool_warned in
27666 yes:)
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27669 ac_tool_warned=yes ;;
27670 esac
27671     PKG_CONFIG=$ac_pt_PKG_CONFIG
27672   fi
27673 else
27674   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27675 fi
27676
27677 fi
27678 if test -n "$PKG_CONFIG"; then
27679         _pkg_min_version=0.9.0
27680         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27681 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27682         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27683                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27684 $as_echo "yes" >&6; }
27685         else
27686                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27687 $as_echo "no" >&6; }
27688                 PKG_CONFIG=""
27689         fi
27690
27691 fi 6> /dev/null
27692
27693 pkg_failed=no
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27695 $as_echo_n "checking for GL... " >&6; }
27696
27697 if test -n "$PKG_CONFIG"; then
27698     if test -n "$GL_CFLAGS"; then
27699         pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27700     else
27701         if test -n "$PKG_CONFIG" && \
27702     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27703   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27704   ac_status=$?
27705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27706   test $ac_status = 0; }; then
27707   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27708 else
27709   pkg_failed=yes
27710 fi
27711     fi
27712 else
27713         pkg_failed=untried
27714 fi
27715 if test -n "$PKG_CONFIG"; then
27716     if test -n "$GL_LIBS"; then
27717         pkg_cv_GL_LIBS="$GL_LIBS"
27718     else
27719         if test -n "$PKG_CONFIG" && \
27720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27721   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27722   ac_status=$?
27723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27724   test $ac_status = 0; }; then
27725   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27726 else
27727   pkg_failed=yes
27728 fi
27729     fi
27730 else
27731         pkg_failed=untried
27732 fi
27733
27734
27735
27736 if test $pkg_failed = yes; then
27737
27738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27739         _pkg_short_errors_supported=yes
27740 else
27741         _pkg_short_errors_supported=no
27742 fi
27743         if test $_pkg_short_errors_supported = yes; then
27744                 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27745         else
27746                 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27747         fi
27748         # Put the nasty error message in config.log where it belongs
27749         echo "$GL_PKG_ERRORS" >&5
27750
27751
27752       if test "x$ac_find_libraries" = "x"; then
27753                 if test "xglBegin" != "x"; then
27754           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27755 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27756 if ${ac_cv_lib_GL_glBegin+:} false; then :
27757   $as_echo_n "(cached) " >&6
27758 else
27759   ac_check_lib_save_LIBS=$LIBS
27760 LIBS="-lGL  $LIBS"
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h.  */
27763
27764 /* Override any GCC internal prototype to avoid an error.
27765    Use char because int might match the return type of a GCC
27766    builtin and then its argument prototype would still apply.  */
27767 #ifdef __cplusplus
27768 extern "C"
27769 #endif
27770 char glBegin ();
27771 int
27772 main ()
27773 {
27774 return glBegin ();
27775   ;
27776   return 0;
27777 }
27778 _ACEOF
27779 if ac_fn_c_try_link "$LINENO"; then :
27780   ac_cv_lib_GL_glBegin=yes
27781 else
27782   ac_cv_lib_GL_glBegin=no
27783 fi
27784 rm -f core conftest.err conftest.$ac_objext \
27785     conftest$ac_exeext conftest.$ac_ext
27786 LIBS=$ac_check_lib_save_LIBS
27787 fi
27788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27789 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27790 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27791   ac_find_libraries="std"
27792 fi
27793
27794         fi
27795       fi
27796
27797       if test "x$ac_find_libraries" = "x"; then
27798                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27799 $as_echo_n "checking elsewhere... " >&6; }
27800
27801   ac_find_libraries=
27802   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27803   do
27804     for ac_extension in a so sl dylib dll.a; do
27805       if test -f "$ac_dir/libGL.$ac_extension"; then
27806         ac_find_libraries=$ac_dir
27807         break 2
27808       fi
27809     done
27810   done
27811
27812         if test "x$ac_find_libraries" != "x"; then
27813           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27814 $as_echo "yes" >&6; }
27815         else
27816           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27817 $as_echo "no" >&6; }
27818         fi
27819       fi
27820
27821 elif test $pkg_failed = untried; then
27822
27823       if test "x$ac_find_libraries" = "x"; then
27824                 if test "xglBegin" != "x"; then
27825           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27826 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27827 if ${ac_cv_lib_GL_glBegin+:} false; then :
27828   $as_echo_n "(cached) " >&6
27829 else
27830   ac_check_lib_save_LIBS=$LIBS
27831 LIBS="-lGL  $LIBS"
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h.  */
27834
27835 /* Override any GCC internal prototype to avoid an error.
27836    Use char because int might match the return type of a GCC
27837    builtin and then its argument prototype would still apply.  */
27838 #ifdef __cplusplus
27839 extern "C"
27840 #endif
27841 char glBegin ();
27842 int
27843 main ()
27844 {
27845 return glBegin ();
27846   ;
27847   return 0;
27848 }
27849 _ACEOF
27850 if ac_fn_c_try_link "$LINENO"; then :
27851   ac_cv_lib_GL_glBegin=yes
27852 else
27853   ac_cv_lib_GL_glBegin=no
27854 fi
27855 rm -f core conftest.err conftest.$ac_objext \
27856     conftest$ac_exeext conftest.$ac_ext
27857 LIBS=$ac_check_lib_save_LIBS
27858 fi
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27860 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27861 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27862   ac_find_libraries="std"
27863 fi
27864
27865         fi
27866       fi
27867
27868       if test "x$ac_find_libraries" = "x"; then
27869                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27870 $as_echo_n "checking elsewhere... " >&6; }
27871
27872   ac_find_libraries=
27873   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27874   do
27875     for ac_extension in a so sl dylib dll.a; do
27876       if test -f "$ac_dir/libGL.$ac_extension"; then
27877         ac_find_libraries=$ac_dir
27878         break 2
27879       fi
27880     done
27881   done
27882
27883         if test "x$ac_find_libraries" != "x"; then
27884           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27885 $as_echo "yes" >&6; }
27886         else
27887           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27888 $as_echo "no" >&6; }
27889         fi
27890       fi
27891
27892 else
27893         GL_CFLAGS=$pkg_cv_GL_CFLAGS
27894         GL_LIBS=$pkg_cv_GL_LIBS
27895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27896 $as_echo "yes" >&6; }
27897
27898             ac_find_libraries="std"
27899
27900                                                 eval ac_find_cflags=\$GL_CFLAGS
27901       eval fl_libs=\$GL_LIBS
27902
27903                   for fl_path in $fl_libs
27904       do
27905         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27906                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27907         fi
27908       done
27909
27910 fi
27911
27912                 if test "$ac_find_libraries" != "" ; then
27913                     if test "$ac_find_libraries" != "std" ; then
27914
27915     if test "$ac_find_libraries" = "default location"; then
27916     ac_path_to_link=""
27917   else
27918     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27919     result=$?
27920     if test $result = 0; then
27921       ac_path_to_link=""
27922     else
27923       ac_path_to_link=" -L$ac_find_libraries"
27924     fi
27925   fi
27926
27927                       if test "$ac_path_to_link" != " -L/usr/lib" ; then
27928                         LDFLAGS_GL="$ac_path_to_link"
27929                       fi
27930                     fi
27931
27932
27933   ac_find_libraries=
27934
27935     fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27936
27937
27938 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27939         if test -n "$ac_tool_prefix"; then
27940   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27941 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27943 $as_echo_n "checking for $ac_word... " >&6; }
27944 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27945   $as_echo_n "(cached) " >&6
27946 else
27947   case $PKG_CONFIG in
27948   [\\/]* | ?:[\\/]*)
27949   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27950   ;;
27951   *)
27952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27953 for as_dir in $PATH
27954 do
27955   IFS=$as_save_IFS
27956   test -z "$as_dir" && as_dir=.
27957     for ac_exec_ext in '' $ac_executable_extensions; do
27958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27959     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27961     break 2
27962   fi
27963 done
27964   done
27965 IFS=$as_save_IFS
27966
27967   ;;
27968 esac
27969 fi
27970 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27971 if test -n "$PKG_CONFIG"; then
27972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27973 $as_echo "$PKG_CONFIG" >&6; }
27974 else
27975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27976 $as_echo "no" >&6; }
27977 fi
27978
27979
27980 fi
27981 if test -z "$ac_cv_path_PKG_CONFIG"; then
27982   ac_pt_PKG_CONFIG=$PKG_CONFIG
27983   # Extract the first word of "pkg-config", so it can be a program name with args.
27984 set dummy pkg-config; ac_word=$2
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27986 $as_echo_n "checking for $ac_word... " >&6; }
27987 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27988   $as_echo_n "(cached) " >&6
27989 else
27990   case $ac_pt_PKG_CONFIG in
27991   [\\/]* | ?:[\\/]*)
27992   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27993   ;;
27994   *)
27995   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27996 for as_dir in $PATH
27997 do
27998   IFS=$as_save_IFS
27999   test -z "$as_dir" && as_dir=.
28000     for ac_exec_ext in '' $ac_executable_extensions; do
28001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28002     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28004     break 2
28005   fi
28006 done
28007   done
28008 IFS=$as_save_IFS
28009
28010   ;;
28011 esac
28012 fi
28013 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28014 if test -n "$ac_pt_PKG_CONFIG"; then
28015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28016 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28017 else
28018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28019 $as_echo "no" >&6; }
28020 fi
28021
28022   if test "x$ac_pt_PKG_CONFIG" = x; then
28023     PKG_CONFIG=""
28024   else
28025     case $cross_compiling:$ac_tool_warned in
28026 yes:)
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28029 ac_tool_warned=yes ;;
28030 esac
28031     PKG_CONFIG=$ac_pt_PKG_CONFIG
28032   fi
28033 else
28034   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28035 fi
28036
28037 fi
28038 if test -n "$PKG_CONFIG"; then
28039         _pkg_min_version=0.9.0
28040         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28041 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28042         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28043                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28044 $as_echo "yes" >&6; }
28045         else
28046                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28047 $as_echo "no" >&6; }
28048                 PKG_CONFIG=""
28049         fi
28050
28051 fi 6> /dev/null
28052
28053 pkg_failed=no
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28055 $as_echo_n "checking for GLU... " >&6; }
28056
28057 if test -n "$PKG_CONFIG"; then
28058     if test -n "$GLU_CFLAGS"; then
28059         pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28060     else
28061         if test -n "$PKG_CONFIG" && \
28062     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28063   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28064   ac_status=$?
28065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28066   test $ac_status = 0; }; then
28067   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28068 else
28069   pkg_failed=yes
28070 fi
28071     fi
28072 else
28073         pkg_failed=untried
28074 fi
28075 if test -n "$PKG_CONFIG"; then
28076     if test -n "$GLU_LIBS"; then
28077         pkg_cv_GLU_LIBS="$GLU_LIBS"
28078     else
28079         if test -n "$PKG_CONFIG" && \
28080     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28081   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28082   ac_status=$?
28083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28084   test $ac_status = 0; }; then
28085   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28086 else
28087   pkg_failed=yes
28088 fi
28089     fi
28090 else
28091         pkg_failed=untried
28092 fi
28093
28094
28095
28096 if test $pkg_failed = yes; then
28097
28098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28099         _pkg_short_errors_supported=yes
28100 else
28101         _pkg_short_errors_supported=no
28102 fi
28103         if test $_pkg_short_errors_supported = yes; then
28104                 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28105         else
28106                 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28107         fi
28108         # Put the nasty error message in config.log where it belongs
28109         echo "$GLU_PKG_ERRORS" >&5
28110
28111
28112       if test "x$ac_find_libraries" = "x"; then
28113                 if test "xgluBeginCurve" != "x"; then
28114           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28115 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28116 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28117   $as_echo_n "(cached) " >&6
28118 else
28119   ac_check_lib_save_LIBS=$LIBS
28120 LIBS="-lGLU  $LIBS"
28121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28122 /* end confdefs.h.  */
28123
28124 /* Override any GCC internal prototype to avoid an error.
28125    Use char because int might match the return type of a GCC
28126    builtin and then its argument prototype would still apply.  */
28127 #ifdef __cplusplus
28128 extern "C"
28129 #endif
28130 char gluBeginCurve ();
28131 int
28132 main ()
28133 {
28134 return gluBeginCurve ();
28135   ;
28136   return 0;
28137 }
28138 _ACEOF
28139 if ac_fn_c_try_link "$LINENO"; then :
28140   ac_cv_lib_GLU_gluBeginCurve=yes
28141 else
28142   ac_cv_lib_GLU_gluBeginCurve=no
28143 fi
28144 rm -f core conftest.err conftest.$ac_objext \
28145     conftest$ac_exeext conftest.$ac_ext
28146 LIBS=$ac_check_lib_save_LIBS
28147 fi
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28149 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28150 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28151   ac_find_libraries="std"
28152 fi
28153
28154         fi
28155       fi
28156
28157       if test "x$ac_find_libraries" = "x"; then
28158                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28159 $as_echo_n "checking elsewhere... " >&6; }
28160
28161   ac_find_libraries=
28162   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28163   do
28164     for ac_extension in a so sl dylib dll.a; do
28165       if test -f "$ac_dir/libGLU.$ac_extension"; then
28166         ac_find_libraries=$ac_dir
28167         break 2
28168       fi
28169     done
28170   done
28171
28172         if test "x$ac_find_libraries" != "x"; then
28173           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28174 $as_echo "yes" >&6; }
28175         else
28176           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28177 $as_echo "no" >&6; }
28178         fi
28179       fi
28180
28181 elif test $pkg_failed = untried; then
28182
28183       if test "x$ac_find_libraries" = "x"; then
28184                 if test "xgluBeginCurve" != "x"; then
28185           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28186 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28187 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28188   $as_echo_n "(cached) " >&6
28189 else
28190   ac_check_lib_save_LIBS=$LIBS
28191 LIBS="-lGLU  $LIBS"
28192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28193 /* end confdefs.h.  */
28194
28195 /* Override any GCC internal prototype to avoid an error.
28196    Use char because int might match the return type of a GCC
28197    builtin and then its argument prototype would still apply.  */
28198 #ifdef __cplusplus
28199 extern "C"
28200 #endif
28201 char gluBeginCurve ();
28202 int
28203 main ()
28204 {
28205 return gluBeginCurve ();
28206   ;
28207   return 0;
28208 }
28209 _ACEOF
28210 if ac_fn_c_try_link "$LINENO"; then :
28211   ac_cv_lib_GLU_gluBeginCurve=yes
28212 else
28213   ac_cv_lib_GLU_gluBeginCurve=no
28214 fi
28215 rm -f core conftest.err conftest.$ac_objext \
28216     conftest$ac_exeext conftest.$ac_ext
28217 LIBS=$ac_check_lib_save_LIBS
28218 fi
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28220 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28221 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28222   ac_find_libraries="std"
28223 fi
28224
28225         fi
28226       fi
28227
28228       if test "x$ac_find_libraries" = "x"; then
28229                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28230 $as_echo_n "checking elsewhere... " >&6; }
28231
28232   ac_find_libraries=
28233   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28234   do
28235     for ac_extension in a so sl dylib dll.a; do
28236       if test -f "$ac_dir/libGLU.$ac_extension"; then
28237         ac_find_libraries=$ac_dir
28238         break 2
28239       fi
28240     done
28241   done
28242
28243         if test "x$ac_find_libraries" != "x"; then
28244           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28245 $as_echo "yes" >&6; }
28246         else
28247           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28248 $as_echo "no" >&6; }
28249         fi
28250       fi
28251
28252 else
28253         GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28254         GLU_LIBS=$pkg_cv_GLU_LIBS
28255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28256 $as_echo "yes" >&6; }
28257
28258             ac_find_libraries="std"
28259
28260                                                 eval ac_find_cflags=\$GLU_CFLAGS
28261       eval fl_libs=\$GLU_LIBS
28262
28263                   for fl_path in $fl_libs
28264       do
28265         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28266                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28267         fi
28268       done
28269
28270 fi
28271
28272                     if test "$ac_find_libraries" != "" ; then
28273                       if test "$ac_find_libraries" != "std" ; then
28274
28275     if test "$ac_find_libraries" = "default location"; then
28276     ac_path_to_link=""
28277   else
28278     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28279     result=$?
28280     if test $result = 0; then
28281       ac_path_to_link=""
28282     else
28283       ac_path_to_link=" -L$ac_find_libraries"
28284     fi
28285   fi
28286
28287                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
28288                                 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28289                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28290                         fi
28291                       fi
28292
28293                         found_gl=1
28294                         OPENGL_LIBS="-lGL -lGLU"
28295                     fi
28296                 fi
28297
28298                 if test "$found_gl" != 1; then
28299
28300   ac_find_libraries=
28301
28302     fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28303
28304
28305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28306         if test -n "$ac_tool_prefix"; then
28307   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28308 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28310 $as_echo_n "checking for $ac_word... " >&6; }
28311 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28312   $as_echo_n "(cached) " >&6
28313 else
28314   case $PKG_CONFIG in
28315   [\\/]* | ?:[\\/]*)
28316   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28317   ;;
28318   *)
28319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28320 for as_dir in $PATH
28321 do
28322   IFS=$as_save_IFS
28323   test -z "$as_dir" && as_dir=.
28324     for ac_exec_ext in '' $ac_executable_extensions; do
28325   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28326     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28328     break 2
28329   fi
28330 done
28331   done
28332 IFS=$as_save_IFS
28333
28334   ;;
28335 esac
28336 fi
28337 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28338 if test -n "$PKG_CONFIG"; then
28339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28340 $as_echo "$PKG_CONFIG" >&6; }
28341 else
28342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28343 $as_echo "no" >&6; }
28344 fi
28345
28346
28347 fi
28348 if test -z "$ac_cv_path_PKG_CONFIG"; then
28349   ac_pt_PKG_CONFIG=$PKG_CONFIG
28350   # Extract the first word of "pkg-config", so it can be a program name with args.
28351 set dummy pkg-config; ac_word=$2
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28353 $as_echo_n "checking for $ac_word... " >&6; }
28354 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28355   $as_echo_n "(cached) " >&6
28356 else
28357   case $ac_pt_PKG_CONFIG in
28358   [\\/]* | ?:[\\/]*)
28359   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28360   ;;
28361   *)
28362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28363 for as_dir in $PATH
28364 do
28365   IFS=$as_save_IFS
28366   test -z "$as_dir" && as_dir=.
28367     for ac_exec_ext in '' $ac_executable_extensions; do
28368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28369     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28371     break 2
28372   fi
28373 done
28374   done
28375 IFS=$as_save_IFS
28376
28377   ;;
28378 esac
28379 fi
28380 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28381 if test -n "$ac_pt_PKG_CONFIG"; then
28382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28383 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28384 else
28385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28386 $as_echo "no" >&6; }
28387 fi
28388
28389   if test "x$ac_pt_PKG_CONFIG" = x; then
28390     PKG_CONFIG=""
28391   else
28392     case $cross_compiling:$ac_tool_warned in
28393 yes:)
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28396 ac_tool_warned=yes ;;
28397 esac
28398     PKG_CONFIG=$ac_pt_PKG_CONFIG
28399   fi
28400 else
28401   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28402 fi
28403
28404 fi
28405 if test -n "$PKG_CONFIG"; then
28406         _pkg_min_version=0.9.0
28407         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28408 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28409         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28410                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28411 $as_echo "yes" >&6; }
28412         else
28413                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28414 $as_echo "no" >&6; }
28415                 PKG_CONFIG=""
28416         fi
28417
28418 fi 6> /dev/null
28419
28420 pkg_failed=no
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28422 $as_echo_n "checking for MesaGL... " >&6; }
28423
28424 if test -n "$PKG_CONFIG"; then
28425     if test -n "$MesaGL_CFLAGS"; then
28426         pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28427     else
28428         if test -n "$PKG_CONFIG" && \
28429     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28430   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28431   ac_status=$?
28432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28433   test $ac_status = 0; }; then
28434   pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28435 else
28436   pkg_failed=yes
28437 fi
28438     fi
28439 else
28440         pkg_failed=untried
28441 fi
28442 if test -n "$PKG_CONFIG"; then
28443     if test -n "$MesaGL_LIBS"; then
28444         pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28445     else
28446         if test -n "$PKG_CONFIG" && \
28447     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28448   ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28449   ac_status=$?
28450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28451   test $ac_status = 0; }; then
28452   pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28453 else
28454   pkg_failed=yes
28455 fi
28456     fi
28457 else
28458         pkg_failed=untried
28459 fi
28460
28461
28462
28463 if test $pkg_failed = yes; then
28464
28465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28466         _pkg_short_errors_supported=yes
28467 else
28468         _pkg_short_errors_supported=no
28469 fi
28470         if test $_pkg_short_errors_supported = yes; then
28471                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28472         else
28473                 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28474         fi
28475         # Put the nasty error message in config.log where it belongs
28476         echo "$MesaGL_PKG_ERRORS" >&5
28477
28478
28479       if test "x$ac_find_libraries" = "x"; then
28480                 if test "xglEnable" != "x"; then
28481           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28482 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28483 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28484   $as_echo_n "(cached) " >&6
28485 else
28486   ac_check_lib_save_LIBS=$LIBS
28487 LIBS="-lMesaGL  $LIBS"
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h.  */
28490
28491 /* Override any GCC internal prototype to avoid an error.
28492    Use char because int might match the return type of a GCC
28493    builtin and then its argument prototype would still apply.  */
28494 #ifdef __cplusplus
28495 extern "C"
28496 #endif
28497 char glEnable ();
28498 int
28499 main ()
28500 {
28501 return glEnable ();
28502   ;
28503   return 0;
28504 }
28505 _ACEOF
28506 if ac_fn_c_try_link "$LINENO"; then :
28507   ac_cv_lib_MesaGL_glEnable=yes
28508 else
28509   ac_cv_lib_MesaGL_glEnable=no
28510 fi
28511 rm -f core conftest.err conftest.$ac_objext \
28512     conftest$ac_exeext conftest.$ac_ext
28513 LIBS=$ac_check_lib_save_LIBS
28514 fi
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28516 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28517 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28518   ac_find_libraries="std"
28519 fi
28520
28521         fi
28522       fi
28523
28524       if test "x$ac_find_libraries" = "x"; then
28525                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28526 $as_echo_n "checking elsewhere... " >&6; }
28527
28528   ac_find_libraries=
28529   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28530   do
28531     for ac_extension in a so sl dylib dll.a; do
28532       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28533         ac_find_libraries=$ac_dir
28534         break 2
28535       fi
28536     done
28537   done
28538
28539         if test "x$ac_find_libraries" != "x"; then
28540           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28541 $as_echo "yes" >&6; }
28542         else
28543           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28544 $as_echo "no" >&6; }
28545         fi
28546       fi
28547
28548 elif test $pkg_failed = untried; then
28549
28550       if test "x$ac_find_libraries" = "x"; then
28551                 if test "xglEnable" != "x"; then
28552           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28553 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28554 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28555   $as_echo_n "(cached) " >&6
28556 else
28557   ac_check_lib_save_LIBS=$LIBS
28558 LIBS="-lMesaGL  $LIBS"
28559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28560 /* end confdefs.h.  */
28561
28562 /* Override any GCC internal prototype to avoid an error.
28563    Use char because int might match the return type of a GCC
28564    builtin and then its argument prototype would still apply.  */
28565 #ifdef __cplusplus
28566 extern "C"
28567 #endif
28568 char glEnable ();
28569 int
28570 main ()
28571 {
28572 return glEnable ();
28573   ;
28574   return 0;
28575 }
28576 _ACEOF
28577 if ac_fn_c_try_link "$LINENO"; then :
28578   ac_cv_lib_MesaGL_glEnable=yes
28579 else
28580   ac_cv_lib_MesaGL_glEnable=no
28581 fi
28582 rm -f core conftest.err conftest.$ac_objext \
28583     conftest$ac_exeext conftest.$ac_ext
28584 LIBS=$ac_check_lib_save_LIBS
28585 fi
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28587 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28588 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28589   ac_find_libraries="std"
28590 fi
28591
28592         fi
28593       fi
28594
28595       if test "x$ac_find_libraries" = "x"; then
28596                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28597 $as_echo_n "checking elsewhere... " >&6; }
28598
28599   ac_find_libraries=
28600   for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28601   do
28602     for ac_extension in a so sl dylib dll.a; do
28603       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28604         ac_find_libraries=$ac_dir
28605         break 2
28606       fi
28607     done
28608   done
28609
28610         if test "x$ac_find_libraries" != "x"; then
28611           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28612 $as_echo "yes" >&6; }
28613         else
28614           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28615 $as_echo "no" >&6; }
28616         fi
28617       fi
28618
28619 else
28620         MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28621         MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28623 $as_echo "yes" >&6; }
28624
28625             ac_find_libraries="std"
28626
28627                                                 eval ac_find_cflags=\$MesaGL_CFLAGS
28628       eval fl_libs=\$MesaGL_LIBS
28629
28630                   for fl_path in $fl_libs
28631       do
28632         if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28633                               ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28634         fi
28635       done
28636
28637 fi
28638
28639                     if test "$ac_find_libraries" != "" ; then
28640                       if test "$ac_find_libraries" != "std" ; then
28641
28642     if test "$ac_find_libraries" = "default location"; then
28643     ac_path_to_link=""
28644   else
28645     echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28646     result=$?
28647     if test $result = 0; then
28648       ac_path_to_link=""
28649     else
28650       ac_path_to_link=" -L$ac_find_libraries"
28651     fi
28652   fi
28653
28654                         if test "$ac_path_to_link" != " -L/usr/lib" ; then
28655                           LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28656                         fi
28657                       fi
28658                       OPENGL_LIBS="-lMesaGL -lMesaGLU"
28659                     fi
28660                 fi
28661
28662 fi
28663
28664
28665
28666 fi
28667
28668
28669
28670         if test "x$OPENGL_LIBS" = "x"; then
28671             if test "$wxUSE_OPENGL" = "yes"; then
28672                 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28673             else
28674                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28675 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28676                 wxUSE_OPENGL=no
28677                 USE_OPENGL=0
28678             fi
28679         fi
28680     else
28681         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28682 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28683         wxUSE_OPENGL="no"
28684     fi
28685
28686     if test "$wxUSE_OPENGL" = "auto"; then
28687                                 wxUSE_OPENGL=yes
28688     fi
28689
28690     if test "$wxUSE_OPENGL" = "yes"; then
28691         USE_OPENGL=1
28692         $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28693
28694         $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28695
28696         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28697     fi
28698 fi
28699
28700
28701 if test -n "$TOOLKIT" ; then
28702     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28703 fi
28704
28705
28706
28707 if test "$wxUSE_SHARED" = "yes"; then
28708     case "${host}" in
28709       *-pc-msdosdjgpp )
28710                 wxUSE_SHARED=no
28711         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28712 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28713       ;;
28714     esac
28715 fi
28716
28717 if test "$wxUSE_SHARED" = "yes"; then
28718
28719
28720     case "${host}" in
28721         *-*-cygwin* | *-*-mingw* )
28722                                                                                                 wx_cv_version_script=no
28723             ;;
28724
28725         *)
28726             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28727 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28728 if ${wx_cv_version_script+:} false; then :
28729   $as_echo_n "(cached) " >&6
28730 else
28731
28732                 echo "VER_1 { *; };" >conftest.sym
28733                 echo "int main() { return 0; }" >conftest.cpp
28734
28735                 if { ac_try='
28736                         $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28737                         -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28738   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28739   (eval $ac_try) 2>&5
28740   ac_status=$?
28741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742   test $ac_status = 0; }; } ; then
28743                   if test -s conftest.stderr ; then
28744                       wx_cv_version_script=no
28745                   else
28746                       wx_cv_version_script=yes
28747                   fi
28748                 else
28749                   wx_cv_version_script=no
28750                 fi
28751
28752                                                                                                                                                                                                 if test $wx_cv_version_script = yes
28753                 then
28754                   echo "struct B { virtual ~B() { } }; \
28755                         struct D : public B { }; \
28756                         void F() { D d; }" > conftest.cpp
28757
28758                   if { ac_try='
28759                         $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28760                         -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28761   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28762   (eval $ac_try) 2>&5
28763   ac_status=$?
28764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28765   test $ac_status = 0; }; } &&
28766                      { ac_try='
28767                         $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28768                         -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28769   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28770   (eval $ac_try) 2>&5
28771   ac_status=$?
28772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28773   test $ac_status = 0; }; }
28774                   then
28775                     if { ac_try='
28776                           $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28777                           -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28778   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28779   (eval $ac_try) 2>&5
28780   ac_status=$?
28781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28782   test $ac_status = 0; }; }
28783                     then
28784                       wx_cv_version_script=yes
28785                     else
28786                       wx_cv_version_script=no
28787                     fi
28788                   fi
28789                 fi
28790
28791                 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28792                 rm -f conftest1.output conftest2.output conftest3.output
28793
28794 fi
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28796 $as_echo "$wx_cv_version_script" >&6; }
28797
28798             if test $wx_cv_version_script = yes ; then
28799                 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28800             fi
28801             ;;
28802     esac
28803
28804
28805             if test "$wxUSE_VISIBILITY" != "no"; then
28806
28807
28808   if test -n "$GCC"; then
28809     CFLAGS_VISIBILITY="-fvisibility=hidden"
28810     CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28812 $as_echo_n "checking for symbols visibility support... " >&6; }
28813     if ${wx_cv_cc_visibility+:} false; then :
28814   $as_echo_n "(cached) " >&6
28815 else
28816
28817       wx_save_CXXFLAGS="$CXXFLAGS"
28818       CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28819       ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h.  */
28827
28828          /* we need gcc >= 4.0, older versions with visibility support
28829             didn't have class visibility: */
28830          #if defined(__GNUC__) && __GNUC__ < 4
28831          error this gcc is too old;
28832          #endif
28833
28834          /* visibility only makes sense for ELF shared libs: */
28835          #if !defined(__ELF__) && !defined(__APPLE__)
28836          error this platform has no visibility;
28837          #endif
28838
28839          /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28840          #if defined(__clang__)
28841          clang compiler is still broken w.r.t. visibility;
28842          #endif
28843
28844          extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28845          extern __attribute__((__visibility__("default"))) int exportedvar;
28846          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28847          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28848          class __attribute__((__visibility__("default"))) Foo {
28849            Foo() {}
28850          };
28851
28852 int
28853 main ()
28854 {
28855
28856   ;
28857   return 0;
28858 }
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861   wx_cv_cc_visibility=yes
28862 else
28863   wx_cv_cc_visibility=no
28864 fi
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866       ac_ext=c
28867 ac_cpp='$CPP $CPPFLAGS'
28868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28871
28872       CXXFLAGS="$wx_save_CXXFLAGS"
28873 fi
28874
28875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28876 $as_echo "$wx_cv_cc_visibility" >&6; }
28877     if test $wx_cv_cc_visibility = yes; then
28878                               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28879 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28880       if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28881   $as_echo_n "(cached) " >&6
28882 else
28883
28884         wx_save_CXXFLAGS="$CXXFLAGS"
28885         wx_save_LDFLAGS="$LDFLAGS"
28886         CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28887         LDFLAGS="$LDFLAGS -shared -fPIC"
28888         ac_ext=cpp
28889 ac_cpp='$CXXCPP $CPPFLAGS'
28890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28893
28894         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28895 /* end confdefs.h.  */
28896
28897             #include <string>
28898
28899 int
28900 main ()
28901 {
28902
28903             std::string s("hello");
28904             return s.length();
28905
28906   ;
28907   return 0;
28908 }
28909 _ACEOF
28910 if ac_fn_cxx_try_link "$LINENO"; then :
28911   wx_cv_cc_broken_libstdcxx_visibility=no
28912 else
28913   wx_cv_cc_broken_libstdcxx_visibility=yes
28914 fi
28915 rm -f core conftest.err conftest.$ac_objext \
28916     conftest$ac_exeext conftest.$ac_ext
28917         ac_ext=c
28918 ac_cpp='$CPP $CPPFLAGS'
28919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28922
28923         CXXFLAGS="$wx_save_CXXFLAGS"
28924         LDFLAGS="$wx_save_LDFLAGS"
28925 fi
28926
28927       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28928 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28929
28930       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28931         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28932 $as_echo_n "checking whether we can work around it... " >&6; }
28933         if ${wx_cv_cc_visibility_workaround+:} false; then :
28934   $as_echo_n "(cached) " >&6
28935 else
28936
28937           ac_ext=cpp
28938 ac_cpp='$CXXCPP $CPPFLAGS'
28939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942
28943           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28944 /* end confdefs.h.  */
28945
28946               #pragma GCC visibility push(default)
28947               #include <string>
28948               #pragma GCC visibility pop
28949
28950 int
28951 main ()
28952 {
28953
28954               std::string s("hello");
28955               return s.length();
28956
28957   ;
28958   return 0;
28959 }
28960 _ACEOF
28961 if ac_fn_cxx_try_link "$LINENO"; then :
28962   wx_cv_cc_visibility_workaround=no
28963 else
28964   wx_cv_cc_visibility_workaround=yes
28965 fi
28966 rm -f core conftest.err conftest.$ac_objext \
28967     conftest$ac_exeext conftest.$ac_ext
28968           ac_ext=c
28969 ac_cpp='$CPP $CPPFLAGS'
28970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973
28974
28975 fi
28976
28977         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28978 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28979
28980         if test $wx_cv_cc_visibility_workaround = no; then
28981                     wx_cv_cc_visibility=no
28982         fi
28983       fi
28984     fi
28985
28986     if test $wx_cv_cc_visibility = yes; then
28987       $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28988
28989       if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28990         $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28991
28992       fi
28993     else
28994       CFLAGS_VISIBILITY=""
28995       CXXFLAGS_VISIBILITY=""
28996     fi
28997
28998
28999   fi
29000
29001     fi
29002
29003         if test "x$SUNCXX" = xyes; then
29004         SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29005         WXCONFIG_RPATH="-R\$libdir"
29006     else
29007     case "${host}" in
29008       *-*-linux* | *-*-gnu* )
29009         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29010         WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29011         ;;
29012
29013       *-*-solaris2* )
29014
29015                         CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29016
29017                         saveLdflags="$LDFLAGS"
29018         LDFLAGS="$saveLdflags -Wl,-rpath,/"
29019         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29020 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29021         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29022 /* end confdefs.h.  */
29023
29024 int
29025 main ()
29026 {
29027
29028   ;
29029   return 0;
29030 }
29031 _ACEOF
29032 if ac_fn_c_try_link "$LINENO"; then :
29033
29034                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29035 $as_echo "yes" >&6; }
29036                 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29037                 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29038
29039 else
29040
29041                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29042 $as_echo "no" >&6; }
29043                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29044 $as_echo_n "checking if the linker accepts -R... " >&6; }
29045                 LDFLAGS="$saveLdflags -Wl,-R,/"
29046                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29047 /* end confdefs.h.  */
29048
29049 int
29050 main ()
29051 {
29052
29053   ;
29054   return 0;
29055 }
29056 _ACEOF
29057 if ac_fn_c_try_link "$LINENO"; then :
29058
29059                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29060 $as_echo "yes" >&6; }
29061                         SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29062                         WXCONFIG_RPATH="-Wl,-R,\$libdir"
29063
29064 else
29065
29066                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29067 $as_echo "no" >&6; }
29068
29069 fi
29070 rm -f core conftest.err conftest.$ac_objext \
29071     conftest$ac_exeext conftest.$ac_ext
29072
29073 fi
29074 rm -f core conftest.err conftest.$ac_objext \
29075     conftest$ac_exeext conftest.$ac_ext
29076         LDFLAGS="$saveLdflags"
29077       ;;
29078
29079       *-*-darwin* )
29080         install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29081         if test "$install_name_tool" -a -x "$install_name_tool"; then
29082             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29083             cat <<EOF >change-install-names
29084 #!/bin/sh
29085 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29086 for i in \${libnames} ; do
29087     ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29088     for dep in \${libnames} ; do
29089         ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29090     done
29091 done
29092 EOF
29093             chmod +x change-install-names
29094             DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29095         fi
29096
29097                                         HEADER_PAD_OPTION="-headerpad_max_install_names"
29098       ;;
29099
29100       *-*-cygwin* | *-*-mingw32* )
29101         ;;
29102
29103       *-*-hpux* )
29104         SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29105         WXCONFIG_RPATH="-Wl,+b,\$libdir"
29106         ;;
29107
29108     esac
29109     fi
29110
29111             WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29112
29113     if test $wxUSE_RPATH = "no"; then
29114         SAMPLES_RPATH_FLAG=''
29115         DYLIB_PATH_POSTLINK=''
29116         WXCONFIG_RPATH=''
29117     fi
29118
29119     SHARED=1
29120
29121 else
29122
29123     config_linkage_component="-static"
29124     SHARED=0
29125
29126 fi
29127
29128
29129 UNICODE=0
29130 lib_unicode_suffix=
29131 WX_CHARTYPE="ansi"
29132 if test "$wxUSE_UNICODE" = "yes"; then
29133     lib_unicode_suffix=u
29134     WX_CHARTYPE="unicode"
29135     UNICODE=1
29136 fi
29137
29138 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29139 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29140
29141 DEBUG_INFO=0
29142 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29143     DEBUG_INFO=1
29144 fi
29145
29146 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29147
29148 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29149
29150 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29151
29152
29153 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29154     WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29155 else
29156     WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29157 fi
29158 if test "${TOOLKIT_DIR}" = "os2"; then
29159     WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29160 else
29161     WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29162 fi
29163
29164
29165
29166 if test "$wxUSE_OLD_COCOA" = 1; then
29167
29168     ac_ext=c
29169 ac_cpp='$CPP $CPPFLAGS'
29170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29173
29174 ac_ext=m
29175
29176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29177 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29178     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h.  */
29180 #include <AppKit/NSEvent.h>
29181 #include <CoreFoundation/CoreFoundation.h>
29182
29183 int
29184 main ()
29185 {
29186
29187   ;
29188   return 0;
29189 }
29190 _ACEOF
29191 if ac_fn_c_try_compile "$LINENO"; then :
29192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29193 $as_echo "no" >&6; }
29194 else
29195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29196 $as_echo "yes" >&6; }
29197         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29198 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29199         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29200 /* end confdefs.h.  */
29201 #define __Point__ 1
29202 #include <AppKit/NSEvent.h>
29203 #include <CoreFoundation/CoreFoundation.h>
29204
29205 int
29206 main ()
29207 {
29208
29209   ;
29210   return 0;
29211 }
29212 _ACEOF
29213 if ac_fn_c_try_compile "$LINENO"; then :
29214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29215 $as_echo "yes" >&6; }
29216             $as_echo "#define __Point__ 1" >>confdefs.h
29217
29218
29219 else
29220   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29222 as_fn_error $? "no
29223 See \`config.log' for more details" "$LINENO" 5; }
29224
29225 fi
29226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29227
29228 fi
29229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29230     ac_ext=c
29231 ac_cpp='$CPP $CPPFLAGS'
29232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29235
29236 fi
29237
29238
29239 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29240 if test "x$ac_cv_type_mode_t" = xyes; then :
29241
29242 else
29243
29244 cat >>confdefs.h <<_ACEOF
29245 #define mode_t int
29246 _ACEOF
29247
29248 fi
29249
29250 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29251 if test "x$ac_cv_type_off_t" = xyes; then :
29252
29253 else
29254
29255 cat >>confdefs.h <<_ACEOF
29256 #define off_t long int
29257 _ACEOF
29258
29259 fi
29260
29261 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29262 if test "x$ac_cv_type_pid_t" = xyes; then :
29263
29264 else
29265
29266 cat >>confdefs.h <<_ACEOF
29267 #define pid_t int
29268 _ACEOF
29269
29270 fi
29271
29272 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29273 if test "x$ac_cv_type_size_t" = xyes; then :
29274
29275 else
29276
29277 cat >>confdefs.h <<_ACEOF
29278 #define size_t unsigned int
29279 _ACEOF
29280
29281 fi
29282
29283
29284 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29285 if test "x$ac_cv_type_ssize_t" = xyes; then :
29286
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE_SSIZE_T 1
29289 _ACEOF
29290
29291
29292 fi
29293
29294
29295 ac_ext=cpp
29296 ac_cpp='$CXXCPP $CPPFLAGS'
29297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29301 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29302 if ${wx_cv_size_t_is_uint+:} false; then :
29303   $as_echo_n "(cached) " >&6
29304 else
29305
29306                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29307 /* end confdefs.h.  */
29308 #include <stddef.h>
29309 int
29310 main ()
29311 {
29312
29313             return 0; }
29314
29315             struct Foo { void foo(size_t); void foo(unsigned int); };
29316
29317             int bar() {
29318
29319   ;
29320   return 0;
29321 }
29322 _ACEOF
29323 if ac_fn_cxx_try_compile "$LINENO"; then :
29324   wx_cv_size_t_is_uint=no
29325 else
29326   wx_cv_size_t_is_uint=yes
29327
29328 fi
29329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29330
29331
29332 fi
29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29334 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29335
29336 if test "$wx_cv_size_t_is_uint" = "yes"; then
29337     $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29338
29339 else
29340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29341 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29342 if ${wx_cv_size_t_is_ulong+:} false; then :
29343   $as_echo_n "(cached) " >&6
29344 else
29345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29346 /* end confdefs.h.  */
29347 #include <stddef.h>
29348 int
29349 main ()
29350 {
29351
29352                 return 0; }
29353
29354                 struct Foo { void foo(size_t); void foo(unsigned long); };
29355
29356                 int bar() {
29357
29358   ;
29359   return 0;
29360 }
29361 _ACEOF
29362 if ac_fn_cxx_try_compile "$LINENO"; then :
29363   wx_cv_size_t_is_ulong=no
29364 else
29365   wx_cv_size_t_is_ulong=yes
29366
29367 fi
29368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29369
29370 fi
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29372 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29373
29374     if test "$wx_cv_size_t_is_ulong" = "yes"; then
29375         $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29376
29377     fi
29378 fi
29379
29380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29381 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29382 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29383   $as_echo_n "(cached) " >&6
29384 else
29385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29386 /* end confdefs.h.  */
29387 #include <wchar.h>
29388 int
29389 main ()
29390 {
29391
29392             return 0; }
29393
29394             struct Foo { void foo(wchar_t);
29395                          void foo(unsigned short);
29396                          void foo(unsigned int);
29397                          void foo(unsigned long); };
29398
29399             int bar() {
29400
29401   ;
29402   return 0;
29403 }
29404 _ACEOF
29405 if ac_fn_cxx_try_compile "$LINENO"; then :
29406   wx_cv_wchar_t_is_separate_type=yes
29407 else
29408   wx_cv_wchar_t_is_separate_type=no
29409
29410 fi
29411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29412
29413 fi
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29415 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29416
29417 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29418     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29419
29420 else
29421     $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29422
29423 fi
29424
29425 ac_ext=c
29426 ac_cpp='$CPP $CPPFLAGS'
29427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29430
29431
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29433 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29434 if ${wx_cv_struct_pw_gecos+:} false; then :
29435   $as_echo_n "(cached) " >&6
29436 else
29437
29438         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h.  */
29440 #include <pwd.h>
29441 int
29442 main ()
29443 {
29444
29445                 char *p;
29446                 struct passwd *pw;
29447                 p = pw->pw_gecos;
29448
29449   ;
29450   return 0;
29451 }
29452 _ACEOF
29453 if ac_fn_c_try_compile "$LINENO"; then :
29454
29455                 wx_cv_struct_pw_gecos=yes
29456
29457 else
29458
29459                 wx_cv_struct_pw_gecos=no
29460
29461
29462 fi
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464
29465
29466 fi
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29468 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29469
29470 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29471     $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29472
29473 fi
29474
29475
29476 WCSLEN_FOUND=0
29477 WCHAR_LINK=
29478 for ac_func in wcslen
29479 do :
29480   ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29481 if test "x$ac_cv_func_wcslen" = xyes; then :
29482   cat >>confdefs.h <<_ACEOF
29483 #define HAVE_WCSLEN 1
29484 _ACEOF
29485  WCSLEN_FOUND=1
29486 fi
29487 done
29488
29489
29490 if test "$WCSLEN_FOUND" = 0; then
29491     if test "$TOOLKIT" = "MSW"; then
29492         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29493 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29494 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29495   $as_echo_n "(cached) " >&6
29496 else
29497   ac_check_lib_save_LIBS=$LIBS
29498 LIBS="-lmsvcrt  $LIBS"
29499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29500 /* end confdefs.h.  */
29501
29502 /* Override any GCC internal prototype to avoid an error.
29503    Use char because int might match the return type of a GCC
29504    builtin and then its argument prototype would still apply.  */
29505 #ifdef __cplusplus
29506 extern "C"
29507 #endif
29508 char wcslen ();
29509 int
29510 main ()
29511 {
29512 return wcslen ();
29513   ;
29514   return 0;
29515 }
29516 _ACEOF
29517 if ac_fn_c_try_link "$LINENO"; then :
29518   ac_cv_lib_msvcrt_wcslen=yes
29519 else
29520   ac_cv_lib_msvcrt_wcslen=no
29521 fi
29522 rm -f core conftest.err conftest.$ac_objext \
29523     conftest$ac_exeext conftest.$ac_ext
29524 LIBS=$ac_check_lib_save_LIBS
29525 fi
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29527 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29528 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29529   WCHAR_OK=1
29530 fi
29531
29532     else
29533         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29534 $as_echo_n "checking for wcslen in -lw... " >&6; }
29535 if ${ac_cv_lib_w_wcslen+:} false; then :
29536   $as_echo_n "(cached) " >&6
29537 else
29538   ac_check_lib_save_LIBS=$LIBS
29539 LIBS="-lw  $LIBS"
29540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29541 /* end confdefs.h.  */
29542
29543 /* Override any GCC internal prototype to avoid an error.
29544    Use char because int might match the return type of a GCC
29545    builtin and then its argument prototype would still apply.  */
29546 #ifdef __cplusplus
29547 extern "C"
29548 #endif
29549 char wcslen ();
29550 int
29551 main ()
29552 {
29553 return wcslen ();
29554   ;
29555   return 0;
29556 }
29557 _ACEOF
29558 if ac_fn_c_try_link "$LINENO"; then :
29559   ac_cv_lib_w_wcslen=yes
29560 else
29561   ac_cv_lib_w_wcslen=no
29562 fi
29563 rm -f core conftest.err conftest.$ac_objext \
29564     conftest$ac_exeext conftest.$ac_ext
29565 LIBS=$ac_check_lib_save_LIBS
29566 fi
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29568 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29569 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29570
29571                         WCHAR_LINK=" -lw"
29572                         WCSLEN_FOUND=1
29573
29574 fi
29575
29576     fi
29577 fi
29578
29579 if test "$WCSLEN_FOUND" = 1; then
29580     $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29581
29582 fi
29583
29584 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29585 do :
29586   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29589   cat >>confdefs.h <<_ACEOF
29590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29591 _ACEOF
29592
29593 fi
29594 done
29595
29596
29597 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29598     CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29599 fi
29600
29601 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29602 "
29603 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29604
29605 cat >>confdefs.h <<_ACEOF
29606 #define HAVE_MBSTATE_T 1
29607 _ACEOF
29608
29609 for ac_func in wcsrtombs
29610 do :
29611   ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29612 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29613   cat >>confdefs.h <<_ACEOF
29614 #define HAVE_WCSRTOMBS 1
29615 _ACEOF
29616
29617 fi
29618 done
29619
29620 fi
29621
29622
29623 for ac_func in snprintf vsnprintf vsscanf
29624 do :
29625   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29628   cat >>confdefs.h <<_ACEOF
29629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29630 _ACEOF
29631
29632 fi
29633 done
29634
29635
29636 ac_ext=cpp
29637 ac_cpp='$CXXCPP $CPPFLAGS'
29638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29641
29642 if test "$ac_cv_func_vsnprintf" = "yes"; then
29643         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29644 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29645 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29646   $as_echo_n "(cached) " >&6
29647 else
29648
29649                                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29650 /* end confdefs.h.  */
29651
29652                     #include <stdio.h>
29653                     #include <stdarg.h>
29654
29655 int
29656 main ()
29657 {
29658
29659                     char *buf;
29660                     va_list ap;
29661                     vsnprintf(buf, 10u, "%s", ap);
29662
29663   ;
29664   return 0;
29665 }
29666 _ACEOF
29667 if ac_fn_cxx_try_compile "$LINENO"; then :
29668   wx_cv_func_vsnprintf_decl=yes
29669 else
29670   wx_cv_func_vsnprintf_decl=no
29671
29672 fi
29673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29674
29675
29676 fi
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29678 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29679
29680     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29681         $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29682
29683
29684                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29685 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29686 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29687   $as_echo_n "(cached) " >&6
29688 else
29689
29690                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h.  */
29692
29693                         #include <stdio.h>
29694                         #include <stdarg.h>
29695                         #ifdef __MSL__
29696                         #if __MSL__ >= 0x6000
29697                         namespace std {}
29698                         using namespace std;
29699                         #endif
29700                         #endif
29701
29702 int
29703 main ()
29704 {
29705
29706                         char *buf;
29707                         va_list ap;
29708                         const char *fmt = "%s";
29709                         vsnprintf(buf, 10u, fmt, ap);
29710
29711   ;
29712   return 0;
29713 }
29714 _ACEOF
29715 if ac_fn_cxx_try_compile "$LINENO"; then :
29716   wx_cv_func_broken_vsnprintf_decl=no
29717 else
29718   wx_cv_func_broken_vsnprintf_decl=yes
29719
29720 fi
29721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29722
29723
29724 fi
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29726 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29727
29728         if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29729             $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29730
29731         fi
29732     fi
29733 fi
29734
29735 if test "$ac_cv_func_snprintf" = "yes"; then
29736     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29737 $as_echo_n "checking for snprintf declaration... " >&6; }
29738 if ${wx_cv_func_snprintf_decl+:} false; then :
29739   $as_echo_n "(cached) " >&6
29740 else
29741
29742             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29743 /* end confdefs.h.  */
29744
29745                     #include <stdio.h>
29746                     #include <stdarg.h>
29747                     #ifdef __MSL__
29748                     #if __MSL__ >= 0x6000
29749                     namespace std {}
29750                     using namespace std;
29751                     #endif
29752                     #endif
29753
29754 int
29755 main ()
29756 {
29757
29758                     char *buf;
29759                     snprintf(buf, 10u, "%s", "wx");
29760
29761   ;
29762   return 0;
29763 }
29764 _ACEOF
29765 if ac_fn_cxx_try_compile "$LINENO"; then :
29766   wx_cv_func_snprintf_decl=yes
29767 else
29768   wx_cv_func_snprintf_decl=no
29769
29770 fi
29771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29772
29773
29774 fi
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29776 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29777
29778     if test "$wx_cv_func_snprintf_decl" = "yes"; then
29779         $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29780
29781     fi
29782
29783     if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29784
29785                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29786 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29787 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29788   $as_echo_n "(cached) " >&6
29789 else
29790
29791                 if test "$cross_compiling" = yes; then :
29792
29793                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29794 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29795 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29796 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29797                         wx_cv_func_snprintf_pos_params=no
29798
29799
29800 else
29801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h.  */
29803
29804                         #include <stdio.h>
29805
29806                         int main (void)
29807                         {
29808                             char buffer[128];
29809                             snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29810                             if (strcmp ("2 3 1", buffer) == 0)
29811                                 exit (0);
29812                             exit (1);
29813                         }
29814
29815 _ACEOF
29816 if ac_fn_cxx_try_run "$LINENO"; then :
29817   wx_cv_func_snprintf_pos_params=no
29818 else
29819   wx_cv_func_snprintf_pos_params=yes
29820 fi
29821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29822   conftest.$ac_objext conftest.beam conftest.$ac_ext
29823 fi
29824
29825
29826
29827 fi
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29829 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29830
29831         if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29832             $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29833
29834         fi
29835     fi
29836 fi
29837
29838 if test "$ac_cv_func_vsscanf" = "yes"; then
29839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29840 $as_echo_n "checking for vsscanf declaration... " >&6; }
29841 if ${wx_cv_func_vsscanf_decl+:} false; then :
29842   $as_echo_n "(cached) " >&6
29843 else
29844
29845             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29846 /* end confdefs.h.  */
29847
29848                     #include <stdio.h>
29849                     #include <stdarg.h>
29850                     #ifdef __MSL__
29851                     #if __MSL__ >= 0x6000
29852                     namespace std {}
29853                     using namespace std;
29854                     #endif
29855                     #endif
29856
29857 int
29858 main ()
29859 {
29860
29861                     char *buf;
29862                     va_list args;
29863                     vsscanf(buf, "%s", args);
29864
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870   wx_cv_func_vsscanf_decl=yes
29871 else
29872   wx_cv_func_vsscanf_decl=no
29873
29874 fi
29875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29876
29877
29878 fi
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29880 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29881
29882     if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29883         $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29884
29885     fi
29886 fi
29887 ac_ext=c
29888 ac_cpp='$CPP $CPPFLAGS'
29889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29892
29893
29894 if test "$wxUSE_UNICODE" = yes; then
29895
29896             wchar_headers="#include <stdio.h>
29897 #include <wchar.h>"
29898     case "${host}" in
29899         *-*-solaris2* )
29900             for ac_header in widec.h
29901 do :
29902   ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29903 "
29904 if test "x$ac_cv_header_widec_h" = xyes; then :
29905   cat >>confdefs.h <<_ACEOF
29906 #define HAVE_WIDEC_H 1
29907 _ACEOF
29908
29909 fi
29910
29911 done
29912
29913             if test "$ac_cv_header_widec_h" = "yes"; then
29914                 wchar_headers="$wchar_headers
29915 #include <widec.h>"
29916             fi
29917     esac
29918
29919
29920   for wx_func in putws fputws wprintf vswprintf vswscanf
29921   do
29922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29923 $as_echo_n "checking for $wx_func... " >&6; }
29924 if eval \${wx_cv_func_$wx_func+:} 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
29932                 $wchar_headers
29933                 $ac_includes_default
29934
29935 int
29936 main ()
29937 {
29938
29939                 #ifndef $wx_func
29940                   &$wx_func;
29941                 #endif
29942
29943
29944   ;
29945   return 0;
29946 }
29947
29948 _ACEOF
29949 if ac_fn_c_try_link "$LINENO"; then :
29950   eval wx_cv_func_$wx_func=yes
29951 else
29952   eval wx_cv_func_$wx_func=no
29953 fi
29954 rm -f core conftest.err conftest.$ac_objext \
29955     conftest$ac_exeext conftest.$ac_ext
29956
29957 fi
29958 eval ac_res=\$wx_cv_func_$wx_func
29959                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29960 $as_echo "$ac_res" >&6; }
29961
29962     if eval test \$wx_cv_func_$wx_func = yes
29963     then
29964       cat >>confdefs.h <<_ACEOF
29965 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29966 _ACEOF
29967
29968
29969     else
29970       :
29971
29972     fi
29973   done
29974
29975
29976                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29977 $as_echo_n "checking for _vsnwprintf... " >&6; }
29978     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h.  */
29980 #include <wchar.h>
29981 int
29982 main ()
29983 {
29984 &_vsnwprintf;
29985   ;
29986   return 0;
29987 }
29988 _ACEOF
29989 if ac_fn_c_try_compile "$LINENO"; then :
29990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29991 $as_echo "yes" >&6; }
29992                     $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29993
29994 else
29995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29996 $as_echo "no" >&6; }
29997 fi
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
29999 fi
30000
30001 if test "$wxUSE_FILE" = "yes"; then
30002
30003   for wx_func in fsync
30004   do
30005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30006 $as_echo_n "checking for $wx_func... " >&6; }
30007 if eval \${wx_cv_func_$wx_func+:} false; then :
30008   $as_echo_n "(cached) " >&6
30009 else
30010
30011         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30012 /* end confdefs.h.  */
30013
30014
30015
30016                 $ac_includes_default
30017
30018 int
30019 main ()
30020 {
30021
30022                 #ifndef $wx_func
30023                   &$wx_func;
30024                 #endif
30025
30026
30027   ;
30028   return 0;
30029 }
30030
30031 _ACEOF
30032 if ac_fn_c_try_link "$LINENO"; then :
30033   eval wx_cv_func_$wx_func=yes
30034 else
30035   eval wx_cv_func_$wx_func=no
30036 fi
30037 rm -f core conftest.err conftest.$ac_objext \
30038     conftest$ac_exeext conftest.$ac_ext
30039
30040 fi
30041 eval ac_res=\$wx_cv_func_$wx_func
30042                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30043 $as_echo "$ac_res" >&6; }
30044
30045     if eval test \$wx_cv_func_$wx_func = yes
30046     then
30047       cat >>confdefs.h <<_ACEOF
30048 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30049 _ACEOF
30050
30051
30052     else
30053       :
30054
30055     fi
30056   done
30057
30058 fi
30059
30060 ac_ext=cpp
30061 ac_cpp='$CXXCPP $CPPFLAGS'
30062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30065
30066
30067   for wx_func in round
30068   do
30069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30070 $as_echo_n "checking for $wx_func... " >&6; }
30071 if eval \${wx_cv_func_$wx_func+:} false; then :
30072   $as_echo_n "(cached) " >&6
30073 else
30074
30075         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30076 /* end confdefs.h.  */
30077
30078
30079                 #include <math.h>
30080                 $ac_includes_default
30081
30082 int
30083 main ()
30084 {
30085
30086                 #ifndef $wx_func
30087                   &$wx_func;
30088                 #endif
30089
30090
30091   ;
30092   return 0;
30093 }
30094
30095 _ACEOF
30096 if ac_fn_cxx_try_link "$LINENO"; then :
30097   eval wx_cv_func_$wx_func=yes
30098 else
30099   eval wx_cv_func_$wx_func=no
30100 fi
30101 rm -f core conftest.err conftest.$ac_objext \
30102     conftest$ac_exeext conftest.$ac_ext
30103
30104 fi
30105 eval ac_res=\$wx_cv_func_$wx_func
30106                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30107 $as_echo "$ac_res" >&6; }
30108
30109     if eval test \$wx_cv_func_$wx_func = yes
30110     then
30111       cat >>confdefs.h <<_ACEOF
30112 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30113 _ACEOF
30114
30115
30116     else
30117       :
30118
30119     fi
30120   done
30121
30122 ac_ext=c
30123 ac_cpp='$CPP $CPPFLAGS'
30124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30127
30128
30129 if test "$TOOLKIT" != "MSW"; then
30130
30131 if test "$wxUSE_LIBICONV" != "no" ; then
30132
30133
30134
30135 # Check whether --with-libiconv-prefix was given.
30136 if test "${with_libiconv_prefix+set}" = set; then :
30137   withval=$with_libiconv_prefix;
30138     for dir in `echo "$withval" | tr : ' '`; do
30139       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30140       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30141     done
30142
30143 fi
30144
30145
30146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30147 $as_echo_n "checking for iconv... " >&6; }
30148 if ${am_cv_func_iconv+:} false; then :
30149   $as_echo_n "(cached) " >&6
30150 else
30151
30152     am_cv_func_iconv="no, consider installing GNU libiconv"
30153     am_cv_lib_iconv=no
30154     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30155 /* end confdefs.h.  */
30156 #include <stdlib.h>
30157 #include <iconv.h>
30158 int
30159 main ()
30160 {
30161 iconv_t cd = iconv_open("","");
30162        iconv(cd,NULL,NULL,NULL,NULL);
30163        iconv_close(cd);
30164   ;
30165   return 0;
30166 }
30167 _ACEOF
30168 if ac_fn_c_try_link "$LINENO"; then :
30169   am_cv_func_iconv=yes
30170 fi
30171 rm -f core conftest.err conftest.$ac_objext \
30172     conftest$ac_exeext conftest.$ac_ext
30173     if test "$am_cv_func_iconv" != yes; then
30174       am_save_LIBS="$LIBS"
30175       LIBS="$LIBS -liconv"
30176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30177 /* end confdefs.h.  */
30178 #include <stdlib.h>
30179 #include <iconv.h>
30180 int
30181 main ()
30182 {
30183 iconv_t cd = iconv_open("","");
30184          iconv(cd,NULL,NULL,NULL,NULL);
30185          iconv_close(cd);
30186   ;
30187   return 0;
30188 }
30189 _ACEOF
30190 if ac_fn_c_try_link "$LINENO"; then :
30191   am_cv_lib_iconv=yes
30192         am_cv_func_iconv=yes
30193 fi
30194 rm -f core conftest.err conftest.$ac_objext \
30195     conftest$ac_exeext conftest.$ac_ext
30196       LIBS="$am_save_LIBS"
30197     fi
30198
30199 fi
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30201 $as_echo "$am_cv_func_iconv" >&6; }
30202   if test "$am_cv_func_iconv" = yes; then
30203
30204 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30205
30206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30207 $as_echo_n "checking if iconv needs const... " >&6; }
30208 if ${wx_cv_func_iconv_const+:} false; then :
30209   $as_echo_n "(cached) " >&6
30210 else
30211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h.  */
30213
30214 #include <stdlib.h>
30215 #include <iconv.h>
30216 extern
30217 #ifdef __cplusplus
30218 "C"
30219 #endif
30220 #if defined(__STDC__) || defined(__cplusplus)
30221 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30222 #else
30223 size_t iconv();
30224 #endif
30225
30226 int
30227 main ()
30228 {
30229
30230   ;
30231   return 0;
30232 }
30233 _ACEOF
30234 if ac_fn_c_try_compile "$LINENO"; then :
30235   wx_cv_func_iconv_const="no"
30236 else
30237   wx_cv_func_iconv_const="yes"
30238
30239 fi
30240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30241
30242 fi
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30244 $as_echo "$wx_cv_func_iconv_const" >&6; }
30245
30246     iconv_const=
30247     if test "x$wx_cv_func_iconv_const" = "xyes"; then
30248         iconv_const="const"
30249     fi
30250
30251
30252 cat >>confdefs.h <<_ACEOF
30253 #define ICONV_CONST $iconv_const
30254 _ACEOF
30255
30256   fi
30257   LIBICONV=
30258   if test "$am_cv_lib_iconv" = yes; then
30259     LIBICONV="-liconv"
30260   fi
30261
30262
30263     LIBS="$LIBICONV $LIBS"
30264 fi
30265
30266 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30267     for ac_func in sigaction
30268 do :
30269   ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30270 if test "x$ac_cv_func_sigaction" = xyes; then :
30271   cat >>confdefs.h <<_ACEOF
30272 #define HAVE_SIGACTION 1
30273 _ACEOF
30274
30275 fi
30276 done
30277
30278
30279     if test "$ac_cv_func_sigaction" = "no"; then
30280         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30281 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30282         wxUSE_ON_FATAL_EXCEPTION=no
30283     fi
30284
30285     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30286       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30287 $as_echo_n "checking for sa_handler type... " >&6; }
30288 if ${wx_cv_type_sa_handler+:} false; then :
30289   $as_echo_n "(cached) " >&6
30290 else
30291
30292                 ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30297
30298         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h.  */
30300 #include <signal.h>
30301 int
30302 main ()
30303 {
30304
30305                         extern void testSigHandler(int);
30306
30307                         struct sigaction sa;
30308                         sa.sa_handler = testSigHandler;
30309
30310   ;
30311   return 0;
30312 }
30313 _ACEOF
30314 if ac_fn_cxx_try_compile "$LINENO"; then :
30315
30316                         wx_cv_type_sa_handler=int
30317
30318 else
30319
30320                         wx_cv_type_sa_handler=void
30321
30322 fi
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324         ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329
30330
30331 fi
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30333 $as_echo "$wx_cv_type_sa_handler" >&6; }
30334
30335       cat >>confdefs.h <<_ACEOF
30336 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30337 _ACEOF
30338
30339     fi
30340 fi
30341
30342 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30344 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30345 if ${wx_cv_func_backtrace+:} false; then :
30346   $as_echo_n "(cached) " >&6
30347 else
30348
30349             ac_ext=cpp
30350 ac_cpp='$CXXCPP $CPPFLAGS'
30351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30354
30355             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30356 /* end confdefs.h.  */
30357 #include <execinfo.h>
30358 int
30359 main ()
30360 {
30361
30362                     void *trace[1];
30363                     char **messages;
30364
30365                     backtrace(trace, 1);
30366                     messages = backtrace_symbols(trace, 1);
30367
30368   ;
30369   return 0;
30370 }
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373   wx_cv_func_backtrace=yes
30374 else
30375   wx_cv_func_backtrace=no
30376
30377 fi
30378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30379             ac_ext=c
30380 ac_cpp='$CPP $CPPFLAGS'
30381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384
30385
30386
30387 fi
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30389 $as_echo "$wx_cv_func_backtrace" >&6; }
30390
30391
30392     if test "$wx_cv_func_backtrace" = "no"; then
30393         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30394 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30395         wxUSE_STACKWALKER=no
30396     else
30397         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30398 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30399 if ${wx_cv_func_cxa_demangle+:} false; then :
30400   $as_echo_n "(cached) " >&6
30401 else
30402
30403                 ac_ext=cpp
30404 ac_cpp='$CXXCPP $CPPFLAGS'
30405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408
30409                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h.  */
30411 #include <cxxabi.h>
30412 int
30413 main ()
30414 {
30415
30416                         int rc;
30417                         __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30418
30419   ;
30420   return 0;
30421 }
30422 _ACEOF
30423 if ac_fn_cxx_try_link "$LINENO"; then :
30424   wx_cv_func_cxa_demangle=yes
30425 else
30426   wx_cv_func_cxa_demangle=no
30427
30428 fi
30429 rm -f core conftest.err conftest.$ac_objext \
30430     conftest$ac_exeext conftest.$ac_ext
30431                 ac_ext=c
30432 ac_cpp='$CPP $CPPFLAGS'
30433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30436
30437
30438
30439 fi
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30441 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30442
30443         if test "$wx_cv_func_cxa_demangle" = "yes"; then
30444             $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30445
30446         fi
30447     fi
30448 fi
30449
30450 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30451     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30452 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30453     wxUSE_STACKWALKER=no
30454 fi
30455
30456
30457 for ac_func in mkstemp mktemp
30458 do :
30459   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30462   cat >>confdefs.h <<_ACEOF
30463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30464 _ACEOF
30465  break
30466 fi
30467 done
30468
30469
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30471 $as_echo_n "checking for statfs... " >&6; }
30472 if ${wx_cv_func_statfs+:} false; then :
30473   $as_echo_n "(cached) " >&6
30474 else
30475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30476 /* end confdefs.h.  */
30477
30478              #if defined(__BSD__)
30479              #include <sys/param.h>
30480              #include <sys/mount.h>
30481              #else
30482              #include <sys/vfs.h>
30483              #endif
30484
30485 int
30486 main ()
30487 {
30488
30489              long l;
30490              struct statfs fs;
30491              statfs("/", &fs);
30492              l = fs.f_bsize;
30493              l += fs.f_blocks;
30494              l += fs.f_bavail;
30495
30496   ;
30497   return 0;
30498 }
30499 _ACEOF
30500 if ac_fn_c_try_compile "$LINENO"; then :
30501   wx_cv_func_statfs=yes
30502 else
30503   wx_cv_func_statfs=no
30504
30505 fi
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507
30508 fi
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30510 $as_echo "$wx_cv_func_statfs" >&6; }
30511
30512 if test "$wx_cv_func_statfs" = "yes"; then
30513         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30514 $as_echo_n "checking for statfs declaration... " >&6; }
30515 if ${wx_cv_func_statfs_decl+:} false; then :
30516   $as_echo_n "(cached) " >&6
30517 else
30518   ac_ext=cpp
30519 ac_cpp='$CXXCPP $CPPFLAGS'
30520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30523
30524         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30525 /* end confdefs.h.  */
30526
30527                  #if defined(__BSD__)
30528                  #include <sys/param.h>
30529                  #include <sys/mount.h>
30530                  #else
30531                  #include <sys/vfs.h>
30532                  #endif
30533
30534 int
30535 main ()
30536 {
30537
30538                 struct statfs fs;
30539                 statfs("", &fs);
30540
30541   ;
30542   return 0;
30543 }
30544 _ACEOF
30545 if ac_fn_cxx_try_compile "$LINENO"; then :
30546   wx_cv_func_statfs_decl=yes
30547 else
30548   wx_cv_func_statfs_decl=no
30549
30550 fi
30551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30552         ac_ext=c
30553 ac_cpp='$CPP $CPPFLAGS'
30554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30557
30558
30559 fi
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30561 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30562
30563     if test "$wx_cv_func_statfs_decl" = "yes"; then
30564         $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30565
30566     fi
30567
30568     wx_cv_type_statvfs_t="struct statfs"
30569     $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30570
30571 else
30572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30573 $as_echo_n "checking for statvfs... " >&6; }
30574 if ${wx_cv_func_statvfs+:} false; then :
30575   $as_echo_n "(cached) " >&6
30576 else
30577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30578 /* end confdefs.h.  */
30579
30580                 #include <stddef.h>
30581                 #include <sys/statvfs.h>
30582
30583 int
30584 main ()
30585 {
30586
30587                 statvfs("/", NULL);
30588
30589   ;
30590   return 0;
30591 }
30592 _ACEOF
30593 if ac_fn_c_try_compile "$LINENO"; then :
30594   wx_cv_func_statvfs=yes
30595 else
30596   wx_cv_func_statvfs=no
30597
30598 fi
30599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30600
30601 fi
30602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30603 $as_echo "$wx_cv_func_statvfs" >&6; }
30604
30605     if test "$wx_cv_func_statvfs" = "yes"; then
30606                                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30607 $as_echo_n "checking for statvfs argument type... " >&6; }
30608 if ${wx_cv_type_statvfs_t+:} false; then :
30609   $as_echo_n "(cached) " >&6
30610 else
30611   ac_ext=cpp
30612 ac_cpp='$CXXCPP $CPPFLAGS'
30613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30616
30617             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h.  */
30619
30620                     #include <sys/statvfs.h>
30621
30622 int
30623 main ()
30624 {
30625
30626                     long l;
30627                     statvfs_t fs;
30628                     statvfs("/", &fs);
30629                     l = fs.f_bsize;
30630                     l += fs.f_blocks;
30631                     l += fs.f_bavail;
30632
30633   ;
30634   return 0;
30635 }
30636 _ACEOF
30637 if ac_fn_cxx_try_compile "$LINENO"; then :
30638   wx_cv_type_statvfs_t=statvfs_t
30639 else
30640
30641                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30642 /* end confdefs.h.  */
30643
30644                             #include <sys/statvfs.h>
30645
30646 int
30647 main ()
30648 {
30649
30650                             long l;
30651                             struct statvfs fs;
30652                             statvfs("/", &fs);
30653                             l = fs.f_bsize;
30654                             l += fs.f_blocks;
30655                             l += fs.f_bavail;
30656
30657   ;
30658   return 0;
30659 }
30660 _ACEOF
30661 if ac_fn_cxx_try_compile "$LINENO"; then :
30662   wx_cv_type_statvfs_t="struct statvfs"
30663 else
30664   wx_cv_type_statvfs_t="unknown"
30665
30666 fi
30667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30668
30669
30670 fi
30671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30672             ac_ext=c
30673 ac_cpp='$CPP $CPPFLAGS'
30674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30677
30678
30679 fi
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30681 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30682
30683         if test "$wx_cv_type_statvfs_t" != "unknown"; then
30684             $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30685
30686         fi
30687     else
30688                 wx_cv_type_statvfs_t="unknown"
30689     fi
30690 fi
30691
30692 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30693     cat >>confdefs.h <<_ACEOF
30694 #define WX_STATFS_T $wx_cv_type_statvfs_t
30695 _ACEOF
30696
30697 else
30698     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30699 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30700 fi
30701
30702 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30703     for ac_func in fcntl flock
30704 do :
30705   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30708   cat >>confdefs.h <<_ACEOF
30709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30710 _ACEOF
30711  break
30712 fi
30713 done
30714
30715
30716     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30717         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30718 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30719         wxUSE_SNGLINST_CHECKER=no
30720     fi
30721 fi
30722
30723 for ac_func in setenv putenv
30724 do :
30725   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30727 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30728   cat >>confdefs.h <<_ACEOF
30729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30730 _ACEOF
30731  break
30732 fi
30733 done
30734
30735 if test "$ac_cv_func_setenv" = "yes"; then
30736     for ac_func in unsetenv
30737 do :
30738   ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30739 if test "x$ac_cv_func_unsetenv" = xyes; then :
30740   cat >>confdefs.h <<_ACEOF
30741 #define HAVE_UNSETENV 1
30742 _ACEOF
30743
30744 fi
30745 done
30746
30747 fi
30748
30749 HAVE_SOME_SLEEP_FUNC=0
30750 if test "$USE_BEOS" = 1; then
30751             $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30752
30753     HAVE_SOME_SLEEP_FUNC=1
30754 fi
30755
30756 if test "$USE_DARWIN" = 1; then
30757             $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30758
30759     HAVE_SOME_SLEEP_FUNC=1
30760 fi
30761
30762 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30763         POSIX4_LINK=
30764     for ac_func in nanosleep
30765 do :
30766   ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30767 if test "x$ac_cv_func_nanosleep" = xyes; then :
30768   cat >>confdefs.h <<_ACEOF
30769 #define HAVE_NANOSLEEP 1
30770 _ACEOF
30771  $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30772
30773 else
30774
30775             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30776 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30777 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30778   $as_echo_n "(cached) " >&6
30779 else
30780   ac_check_lib_save_LIBS=$LIBS
30781 LIBS="-lposix4  $LIBS"
30782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h.  */
30784
30785 /* Override any GCC internal prototype to avoid an error.
30786    Use char because int might match the return type of a GCC
30787    builtin and then its argument prototype would still apply.  */
30788 #ifdef __cplusplus
30789 extern "C"
30790 #endif
30791 char nanosleep ();
30792 int
30793 main ()
30794 {
30795 return nanosleep ();
30796   ;
30797   return 0;
30798 }
30799 _ACEOF
30800 if ac_fn_c_try_link "$LINENO"; then :
30801   ac_cv_lib_posix4_nanosleep=yes
30802 else
30803   ac_cv_lib_posix4_nanosleep=no
30804 fi
30805 rm -f core conftest.err conftest.$ac_objext \
30806     conftest$ac_exeext conftest.$ac_ext
30807 LIBS=$ac_check_lib_save_LIBS
30808 fi
30809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30810 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30811 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30812
30813                     $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30814
30815                     POSIX4_LINK=" -lposix4"
30816
30817 else
30818
30819
30820   for wx_func in usleep
30821   do
30822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30823 $as_echo_n "checking for $wx_func... " >&6; }
30824 if eval \${wx_cv_func_$wx_func+:} false; then :
30825   $as_echo_n "(cached) " >&6
30826 else
30827
30828         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30829 /* end confdefs.h.  */
30830
30831
30832
30833                 $ac_includes_default
30834
30835 int
30836 main ()
30837 {
30838
30839                 #ifndef $wx_func
30840                   &$wx_func;
30841                 #endif
30842
30843
30844   ;
30845   return 0;
30846 }
30847
30848 _ACEOF
30849 if ac_fn_c_try_link "$LINENO"; then :
30850   eval wx_cv_func_$wx_func=yes
30851 else
30852   eval wx_cv_func_$wx_func=no
30853 fi
30854 rm -f core conftest.err conftest.$ac_objext \
30855     conftest$ac_exeext conftest.$ac_ext
30856
30857 fi
30858 eval ac_res=\$wx_cv_func_$wx_func
30859                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30860 $as_echo "$ac_res" >&6; }
30861
30862     if eval test \$wx_cv_func_$wx_func = yes
30863     then
30864       cat >>confdefs.h <<_ACEOF
30865 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30866 _ACEOF
30867
30868
30869     else
30870       :
30871       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30872 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30873
30874     fi
30875   done
30876
30877
30878
30879 fi
30880
30881
30882
30883 fi
30884 done
30885
30886 fi
30887
30888
30889   for wx_func in uname
30890   do
30891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30892 $as_echo_n "checking for $wx_func... " >&6; }
30893 if eval \${wx_cv_func_$wx_func+:} false; then :
30894   $as_echo_n "(cached) " >&6
30895 else
30896
30897         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30898 /* end confdefs.h.  */
30899
30900
30901                 #include <sys/utsname.h>
30902                 $ac_includes_default
30903
30904 int
30905 main ()
30906 {
30907
30908                 #ifndef $wx_func
30909                   &$wx_func;
30910                 #endif
30911
30912
30913   ;
30914   return 0;
30915 }
30916
30917 _ACEOF
30918 if ac_fn_c_try_link "$LINENO"; then :
30919   eval wx_cv_func_$wx_func=yes
30920 else
30921   eval wx_cv_func_$wx_func=no
30922 fi
30923 rm -f core conftest.err conftest.$ac_objext \
30924     conftest$ac_exeext conftest.$ac_ext
30925
30926 fi
30927 eval ac_res=\$wx_cv_func_$wx_func
30928                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30929 $as_echo "$ac_res" >&6; }
30930
30931     if eval test \$wx_cv_func_$wx_func = yes
30932     then
30933       cat >>confdefs.h <<_ACEOF
30934 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30935 _ACEOF
30936
30937
30938     else
30939       :
30940
30941     fi
30942   done
30943
30944 if test "$wx_cv_func_uname" != yes; then
30945
30946   for wx_func in gethostname
30947   do
30948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30949 $as_echo_n "checking for $wx_func... " >&6; }
30950 if eval \${wx_cv_func_$wx_func+:} false; then :
30951   $as_echo_n "(cached) " >&6
30952 else
30953
30954         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30955 /* end confdefs.h.  */
30956
30957
30958
30959                 $ac_includes_default
30960
30961 int
30962 main ()
30963 {
30964
30965                 #ifndef $wx_func
30966                   &$wx_func;
30967                 #endif
30968
30969
30970   ;
30971   return 0;
30972 }
30973
30974 _ACEOF
30975 if ac_fn_c_try_link "$LINENO"; then :
30976   eval wx_cv_func_$wx_func=yes
30977 else
30978   eval wx_cv_func_$wx_func=no
30979 fi
30980 rm -f core conftest.err conftest.$ac_objext \
30981     conftest$ac_exeext conftest.$ac_ext
30982
30983 fi
30984 eval ac_res=\$wx_cv_func_$wx_func
30985                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30986 $as_echo "$ac_res" >&6; }
30987
30988     if eval test \$wx_cv_func_$wx_func = yes
30989     then
30990       cat >>confdefs.h <<_ACEOF
30991 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30992 _ACEOF
30993
30994
30995     else
30996       :
30997
30998     fi
30999   done
31000
31001 fi
31002
31003
31004   for wx_func in strtok_r
31005   do
31006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31007 $as_echo_n "checking for $wx_func... " >&6; }
31008 if eval \${wx_cv_func_$wx_func+:} false; then :
31009   $as_echo_n "(cached) " >&6
31010 else
31011
31012         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h.  */
31014
31015
31016                 #define _REENTRANT
31017                 $ac_includes_default
31018
31019 int
31020 main ()
31021 {
31022
31023                 #ifndef $wx_func
31024                   &$wx_func;
31025                 #endif
31026
31027
31028   ;
31029   return 0;
31030 }
31031
31032 _ACEOF
31033 if ac_fn_c_try_link "$LINENO"; then :
31034   eval wx_cv_func_$wx_func=yes
31035 else
31036   eval wx_cv_func_$wx_func=no
31037 fi
31038 rm -f core conftest.err conftest.$ac_objext \
31039     conftest$ac_exeext conftest.$ac_ext
31040
31041 fi
31042 eval ac_res=\$wx_cv_func_$wx_func
31043                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31044 $as_echo "$ac_res" >&6; }
31045
31046     if eval test \$wx_cv_func_$wx_func = yes
31047     then
31048       cat >>confdefs.h <<_ACEOF
31049 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31050 _ACEOF
31051
31052
31053     else
31054       :
31055
31056     fi
31057   done
31058
31059
31060 INET_LINK=
31061 for ac_func in inet_addr
31062 do :
31063   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31064 if test "x$ac_cv_func_inet_addr" = xyes; then :
31065   cat >>confdefs.h <<_ACEOF
31066 #define HAVE_INET_ADDR 1
31067 _ACEOF
31068  $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31069
31070 else
31071
31072         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31073 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31074 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31075   $as_echo_n "(cached) " >&6
31076 else
31077   ac_check_lib_save_LIBS=$LIBS
31078 LIBS="-lnsl  $LIBS"
31079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31080 /* end confdefs.h.  */
31081
31082 /* Override any GCC internal prototype to avoid an error.
31083    Use char because int might match the return type of a GCC
31084    builtin and then its argument prototype would still apply.  */
31085 #ifdef __cplusplus
31086 extern "C"
31087 #endif
31088 char inet_addr ();
31089 int
31090 main ()
31091 {
31092 return inet_addr ();
31093   ;
31094   return 0;
31095 }
31096 _ACEOF
31097 if ac_fn_c_try_link "$LINENO"; then :
31098   ac_cv_lib_nsl_inet_addr=yes
31099 else
31100   ac_cv_lib_nsl_inet_addr=no
31101 fi
31102 rm -f core conftest.err conftest.$ac_objext \
31103     conftest$ac_exeext conftest.$ac_ext
31104 LIBS=$ac_check_lib_save_LIBS
31105 fi
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31107 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31108 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31109   INET_LINK="nsl"
31110 else
31111
31112                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31113 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31114 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31115   $as_echo_n "(cached) " >&6
31116 else
31117   ac_check_lib_save_LIBS=$LIBS
31118 LIBS="-lresolv  $LIBS"
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h.  */
31121
31122 /* Override any GCC internal prototype to avoid an error.
31123    Use char because int might match the return type of a GCC
31124    builtin and then its argument prototype would still apply.  */
31125 #ifdef __cplusplus
31126 extern "C"
31127 #endif
31128 char inet_addr ();
31129 int
31130 main ()
31131 {
31132 return inet_addr ();
31133   ;
31134   return 0;
31135 }
31136 _ACEOF
31137 if ac_fn_c_try_link "$LINENO"; then :
31138   ac_cv_lib_resolv_inet_addr=yes
31139 else
31140   ac_cv_lib_resolv_inet_addr=no
31141 fi
31142 rm -f core conftest.err conftest.$ac_objext \
31143     conftest$ac_exeext conftest.$ac_ext
31144 LIBS=$ac_check_lib_save_LIBS
31145 fi
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31147 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31148 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31149   INET_LINK="resolv"
31150 else
31151
31152                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31153 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31154 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31155   $as_echo_n "(cached) " >&6
31156 else
31157   ac_check_lib_save_LIBS=$LIBS
31158 LIBS="-lsocket  $LIBS"
31159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h.  */
31161
31162 /* Override any GCC internal prototype to avoid an error.
31163    Use char because int might match the return type of a GCC
31164    builtin and then its argument prototype would still apply.  */
31165 #ifdef __cplusplus
31166 extern "C"
31167 #endif
31168 char inet_addr ();
31169 int
31170 main ()
31171 {
31172 return inet_addr ();
31173   ;
31174   return 0;
31175 }
31176 _ACEOF
31177 if ac_fn_c_try_link "$LINENO"; then :
31178   ac_cv_lib_socket_inet_addr=yes
31179 else
31180   ac_cv_lib_socket_inet_addr=no
31181 fi
31182 rm -f core conftest.err conftest.$ac_objext \
31183     conftest$ac_exeext conftest.$ac_ext
31184 LIBS=$ac_check_lib_save_LIBS
31185 fi
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31187 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31188 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31189   INET_LINK="socket"
31190
31191 fi
31192
31193
31194
31195 fi
31196
31197
31198
31199 fi
31200
31201
31202
31203 fi
31204 done
31205
31206
31207 for ac_func in inet_aton
31208 do :
31209   ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31210 if test "x$ac_cv_func_inet_aton" = xyes; then :
31211   cat >>confdefs.h <<_ACEOF
31212 #define HAVE_INET_ATON 1
31213 _ACEOF
31214  $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31215
31216 else
31217
31218                         as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31220 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31221 if eval \${$as_ac_Lib+:} false; then :
31222   $as_echo_n "(cached) " >&6
31223 else
31224   ac_check_lib_save_LIBS=$LIBS
31225 LIBS="-l$INET_LINK  $LIBS"
31226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31227 /* end confdefs.h.  */
31228
31229 /* Override any GCC internal prototype to avoid an error.
31230    Use char because int might match the return type of a GCC
31231    builtin and then its argument prototype would still apply.  */
31232 #ifdef __cplusplus
31233 extern "C"
31234 #endif
31235 char inet_aton ();
31236 int
31237 main ()
31238 {
31239 return inet_aton ();
31240   ;
31241   return 0;
31242 }
31243 _ACEOF
31244 if ac_fn_c_try_link "$LINENO"; then :
31245   eval "$as_ac_Lib=yes"
31246 else
31247   eval "$as_ac_Lib=no"
31248 fi
31249 rm -f core conftest.err conftest.$ac_objext \
31250     conftest$ac_exeext conftest.$ac_ext
31251 LIBS=$ac_check_lib_save_LIBS
31252 fi
31253 eval ac_res=\$$as_ac_Lib
31254                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31255 $as_echo "$ac_res" >&6; }
31256 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31257   $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31258
31259 fi
31260
31261
31262 fi
31263 done
31264
31265
31266 if test "x$INET_LINK" != "x"; then
31267     $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31268
31269     INET_LINK=" -l$INET_LINK"
31270 fi
31271
31272
31273   for wx_func in fdopen
31274   do
31275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31276 $as_echo_n "checking for $wx_func... " >&6; }
31277 if eval \${wx_cv_func_$wx_func+:} false; then :
31278   $as_echo_n "(cached) " >&6
31279 else
31280
31281         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31282 /* end confdefs.h.  */
31283
31284
31285
31286                 $ac_includes_default
31287
31288 int
31289 main ()
31290 {
31291
31292                 #ifndef $wx_func
31293                   &$wx_func;
31294                 #endif
31295
31296
31297   ;
31298   return 0;
31299 }
31300
31301 _ACEOF
31302 if ac_fn_c_try_link "$LINENO"; then :
31303   eval wx_cv_func_$wx_func=yes
31304 else
31305   eval wx_cv_func_$wx_func=no
31306 fi
31307 rm -f core conftest.err conftest.$ac_objext \
31308     conftest$ac_exeext conftest.$ac_ext
31309
31310 fi
31311 eval ac_res=\$wx_cv_func_$wx_func
31312                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31313 $as_echo "$ac_res" >&6; }
31314
31315     if eval test \$wx_cv_func_$wx_func = yes
31316     then
31317       cat >>confdefs.h <<_ACEOF
31318 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31319 _ACEOF
31320
31321
31322     else
31323       :
31324
31325     fi
31326   done
31327
31328
31329 if test "$wxUSE_TARSTREAM" = "yes"; then
31330
31331   for wx_func in sysconf
31332   do
31333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31334 $as_echo_n "checking for $wx_func... " >&6; }
31335 if eval \${wx_cv_func_$wx_func+:} false; then :
31336   $as_echo_n "(cached) " >&6
31337 else
31338
31339         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31340 /* end confdefs.h.  */
31341
31342
31343
31344                 $ac_includes_default
31345
31346 int
31347 main ()
31348 {
31349
31350                 #ifndef $wx_func
31351                   &$wx_func;
31352                 #endif
31353
31354
31355   ;
31356   return 0;
31357 }
31358
31359 _ACEOF
31360 if ac_fn_c_try_link "$LINENO"; then :
31361   eval wx_cv_func_$wx_func=yes
31362 else
31363   eval wx_cv_func_$wx_func=no
31364 fi
31365 rm -f core conftest.err conftest.$ac_objext \
31366     conftest$ac_exeext conftest.$ac_ext
31367
31368 fi
31369 eval ac_res=\$wx_cv_func_$wx_func
31370                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31371 $as_echo "$ac_res" >&6; }
31372
31373     if eval test \$wx_cv_func_$wx_func = yes
31374     then
31375       cat >>confdefs.h <<_ACEOF
31376 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31377 _ACEOF
31378
31379
31380     else
31381       :
31382
31383     fi
31384   done
31385
31386
31387
31388   for wx_func in getpwuid_r
31389   do
31390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31391 $as_echo_n "checking for $wx_func... " >&6; }
31392 if eval \${wx_cv_func_$wx_func+:} false; then :
31393   $as_echo_n "(cached) " >&6
31394 else
31395
31396         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h.  */
31398
31399
31400
31401                     #define _REENTRANT
31402                     #include <pwd.h>
31403
31404                 $ac_includes_default
31405
31406 int
31407 main ()
31408 {
31409
31410                 #ifndef $wx_func
31411                   &$wx_func;
31412                 #endif
31413
31414                     struct passwd pw, *ppw;
31415                     char buf[1024];
31416                     getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31417
31418
31419   ;
31420   return 0;
31421 }
31422
31423 _ACEOF
31424 if ac_fn_c_try_link "$LINENO"; then :
31425   eval wx_cv_func_$wx_func=yes
31426 else
31427   eval wx_cv_func_$wx_func=no
31428 fi
31429 rm -f core conftest.err conftest.$ac_objext \
31430     conftest$ac_exeext conftest.$ac_ext
31431
31432 fi
31433 eval ac_res=\$wx_cv_func_$wx_func
31434                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31435 $as_echo "$ac_res" >&6; }
31436
31437     if eval test \$wx_cv_func_$wx_func = yes
31438     then
31439       cat >>confdefs.h <<_ACEOF
31440 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31441 _ACEOF
31442
31443
31444     else
31445       :
31446
31447     fi
31448   done
31449
31450
31451
31452   for wx_func in getgrgid_r
31453   do
31454     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31455 $as_echo_n "checking for $wx_func... " >&6; }
31456 if eval \${wx_cv_func_$wx_func+:} false; then :
31457   $as_echo_n "(cached) " >&6
31458 else
31459
31460         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31461 /* end confdefs.h.  */
31462
31463
31464
31465                     #define _REENTRANT
31466                     #include <grp.h>
31467
31468                 $ac_includes_default
31469
31470 int
31471 main ()
31472 {
31473
31474                 #ifndef $wx_func
31475                   &$wx_func;
31476                 #endif
31477
31478                     struct group grp, *pgrp;
31479                     char buf[1024];
31480                     getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31481
31482
31483   ;
31484   return 0;
31485 }
31486
31487 _ACEOF
31488 if ac_fn_c_try_link "$LINENO"; then :
31489   eval wx_cv_func_$wx_func=yes
31490 else
31491   eval wx_cv_func_$wx_func=no
31492 fi
31493 rm -f core conftest.err conftest.$ac_objext \
31494     conftest$ac_exeext conftest.$ac_ext
31495
31496 fi
31497 eval ac_res=\$wx_cv_func_$wx_func
31498                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31499 $as_echo "$ac_res" >&6; }
31500
31501     if eval test \$wx_cv_func_$wx_func = yes
31502     then
31503       cat >>confdefs.h <<_ACEOF
31504 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31505 _ACEOF
31506
31507
31508     else
31509       :
31510
31511     fi
31512   done
31513
31514 fi
31515
31516 fi
31517
31518
31519
31520 cat >confcache <<\_ACEOF
31521 # This file is a shell script that caches the results of configure
31522 # tests run on this system so they can be shared between configure
31523 # scripts and configure runs, see configure's option --config-cache.
31524 # It is not useful on other systems.  If it contains results you don't
31525 # want to keep, you may remove or edit it.
31526 #
31527 # config.status only pays attention to the cache file if you give it
31528 # the --recheck option to rerun configure.
31529 #
31530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31532 # following values.
31533
31534 _ACEOF
31535
31536 # The following way of writing the cache mishandles newlines in values,
31537 # but we know of no workaround that is simple, portable, and efficient.
31538 # So, we kill variables containing newlines.
31539 # Ultrix sh set writes to stderr and can't be redirected directly,
31540 # and sets the high bit in the cache file unless we assign to the vars.
31541 (
31542   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31543     eval ac_val=\$$ac_var
31544     case $ac_val in #(
31545     *${as_nl}*)
31546       case $ac_var in #(
31547       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31549       esac
31550       case $ac_var in #(
31551       _ | IFS | as_nl) ;; #(
31552       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31553       *) { eval $ac_var=; unset $ac_var;} ;;
31554       esac ;;
31555     esac
31556   done
31557
31558   (set) 2>&1 |
31559     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31560     *${as_nl}ac_space=\ *)
31561       # `set' does not quote correctly, so add quotes: double-quote
31562       # substitution turns \\\\ into \\, and sed turns \\ into \.
31563       sed -n \
31564         "s/'/'\\\\''/g;
31565           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31566       ;; #(
31567     *)
31568       # `set' quotes correctly as required by POSIX, so do not add quotes.
31569       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31570       ;;
31571     esac |
31572     sort
31573 ) |
31574   sed '
31575      /^ac_cv_env_/b end
31576      t clear
31577      :clear
31578      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31579      t end
31580      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31581      :end' >>confcache
31582 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31583   if test -w "$cache_file"; then
31584     if test "x$cache_file" != "x/dev/null"; then
31585       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31586 $as_echo "$as_me: updating cache $cache_file" >&6;}
31587       if test ! -f "$cache_file" || test -h "$cache_file"; then
31588         cat confcache >"$cache_file"
31589       else
31590         case $cache_file in #(
31591         */* | ?:*)
31592           mv -f confcache "$cache_file"$$ &&
31593           mv -f "$cache_file"$$ "$cache_file" ;; #(
31594         *)
31595           mv -f confcache "$cache_file" ;;
31596         esac
31597       fi
31598     fi
31599   else
31600     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31602   fi
31603 fi
31604 rm -f confcache
31605
31606
31607 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31608
31609
31610     THREADS_LINK=
31611     THREADS_CFLAGS=
31612
31613     if test "$wxUSE_THREADS" = "yes" ; then
31614         if test "$USE_BEOS" = 1; then
31615             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31616 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31617             wxUSE_THREADS="no"
31618         fi
31619     fi
31620
31621     if test "$wxUSE_THREADS" = "yes" ; then
31622
31623
31624                                 THREAD_OPTS="-pthread"
31625         if test "x$SUNCXX" = xyes; then
31626             THREAD_OPTS="-mt lthread $THREAD_OPTS"
31627         fi
31628
31629         case "${host}" in
31630           *-*-solaris2* | *-*-sunos4* )
31631                 if test "x$GCC" = "xyes"; then
31632                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
31633                 fi
31634                 ;;
31635           *-*-freebsd*)
31636                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31637                 ;;
31638           *-*-darwin* | *-*-cygwin* )
31639                                                 THREAD_OPTS=""
31640                 ;;
31641           *-*-aix*)
31642                                 THREAD_OPTS="pthreads"
31643                 ;;
31644           *-hp-hpux* )
31645                 if test "x$GCC" = "xyes"; then
31646                                         $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31647                         THREAD_OPTS=""
31648                 else
31649                                                             THREAD_OPTS="-mt"
31650                 fi
31651                 ;;
31652
31653           *-*-irix* )
31654                                                                 if test "x$GCC" = "xyes"; then
31655                     THREAD_OPTS=""
31656                 fi
31657                 ;;
31658
31659           *-*-qnx*)
31660                                                 THREAD_OPTS=""
31661                 ;;
31662
31663           *-*-*UnixWare*)
31664                                 if test "x$GCC" != "xyes"; then
31665                     THREAD_OPTS="-Ethread"
31666                 fi
31667                 ;;
31668         esac
31669
31670         case "${host}" in
31671             *-*-qnx*)
31672                                                                 THREAD_OPTS="none pthread"
31673                 ;;
31674
31675             *)
31676                                                                                 THREAD_OPTS="$THREAD_OPTS pthread none"
31677                 ;;
31678         esac
31679
31680                 THREADS_OK=no
31681         for flag in $THREAD_OPTS; do
31682             case $flag in
31683                 none)
31684                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31685 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31686                     ;;
31687
31688                 -*)
31689                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31690 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31691                     THREADS_CFLAGS="$flag"
31692                     ;;
31693
31694                 *)
31695                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31696 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31697                     THREADS_LINK="-l$flag"
31698                     ;;
31699               esac
31700
31701               save_LIBS="$LIBS"
31702               save_CFLAGS="$CFLAGS"
31703               LIBS="$THREADS_LINK $LIBS"
31704               CFLAGS="$THREADS_CFLAGS $CFLAGS"
31705
31706               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31707 /* end confdefs.h.  */
31708 #include <pthread.h>
31709 int
31710 main ()
31711 {
31712 pthread_create(0,0,0,0);
31713   ;
31714   return 0;
31715 }
31716 _ACEOF
31717 if ac_fn_c_try_link "$LINENO"; then :
31718   THREADS_OK=yes
31719 fi
31720 rm -f core conftest.err conftest.$ac_objext \
31721     conftest$ac_exeext conftest.$ac_ext
31722
31723               LIBS="$save_LIBS"
31724               CFLAGS="$save_CFLAGS"
31725
31726               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31727 $as_echo "$THREADS_OK" >&6; }
31728               if test "x$THREADS_OK" = "xyes"; then
31729                       break;
31730               fi
31731
31732               THREADS_LINK=""
31733               THREADS_CFLAGS=""
31734       done
31735
31736       if test "x$THREADS_OK" != "xyes"; then
31737           wxUSE_THREADS=no
31738           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31739 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31740       else
31741                                                                                           LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31742           WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31743           LIBS="$THREADS_LINK $LIBS"
31744
31745           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31746 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31747           flag=no
31748           case "${host}" in
31749             *-aix*)
31750                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31751                 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31752                 flag="-D_THREAD_SAFE"
31753                 ;;
31754             *-freebsd*)
31755                 flag="-D_THREAD_SAFE"
31756                 ;;
31757             *-hp-hpux* )
31758                 flag="-D_REENTRANT"
31759                 if test "x$GCC" != "xyes"; then
31760                                         flag="$flag -D_RWSTD_MULTI_THREAD"
31761                 fi
31762                 ;;
31763             *solaris* | alpha*-osf*)
31764                 flag="-D_REENTRANT"
31765                 ;;
31766           esac
31767           { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31768 $as_echo "${flag}" >&6; }
31769           if test "x$flag" != xno; then
31770               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31771           fi
31772
31773                     WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31774       fi
31775     fi
31776
31777         if test "$wxUSE_THREADS" = "yes" ; then
31778         for ac_func in pthread_setconcurrency
31779 do :
31780   ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31781 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31782   cat >>confdefs.h <<_ACEOF
31783 #define HAVE_PTHREAD_SETCONCURRENCY 1
31784 _ACEOF
31785  $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31786
31787 else
31788
31789                 for ac_func in thr_setconcurrency
31790 do :
31791   ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31792 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31793   cat >>confdefs.h <<_ACEOF
31794 #define HAVE_THR_SETCONCURRENCY 1
31795 _ACEOF
31796  $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31797
31798 else
31799   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31800 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31801 fi
31802 done
31803
31804
31805 fi
31806 done
31807
31808
31809                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31810 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31811 if ${wx_cv_func_pthread_cleanup+:} false; then :
31812   $as_echo_n "(cached) " >&6
31813 else
31814
31815                                 ac_ext=cpp
31816 ac_cpp='$CXXCPP $CPPFLAGS'
31817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31820
31821         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31822 /* end confdefs.h.  */
31823 #include <pthread.h>
31824                void ThreadCleanupFunc(void *p);
31825
31826 int
31827 main ()
31828 {
31829
31830                 void *p;
31831                 pthread_cleanup_push(ThreadCleanupFunc, p);
31832                 pthread_cleanup_pop(0);
31833
31834   ;
31835   return 0;
31836 }
31837 _ACEOF
31838 if ac_fn_cxx_try_compile "$LINENO"; then :
31839
31840                wx_cv_func_pthread_cleanup=yes
31841
31842 else
31843
31844                wx_cv_func_pthread_cleanup=no
31845
31846
31847 fi
31848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31849         ac_ext=c
31850 ac_cpp='$CPP $CPPFLAGS'
31851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31854
31855
31856 fi
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31858 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31859       if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31860         $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31861
31862       fi
31863
31864       for ac_header in sched.h
31865 do :
31866   ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31867 "
31868 if test "x$ac_cv_header_sched_h" = xyes; then :
31869   cat >>confdefs.h <<_ACEOF
31870 #define HAVE_SCHED_H 1
31871 _ACEOF
31872
31873 fi
31874
31875 done
31876
31877       if test "$ac_cv_header_sched_h" = "yes"; then
31878           ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31879 if test "x$ac_cv_func_sched_yield" = xyes; then :
31880   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31881
31882 else
31883
31884                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31885 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31886 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31887   $as_echo_n "(cached) " >&6
31888 else
31889   ac_check_lib_save_LIBS=$LIBS
31890 LIBS="-lposix4  $LIBS"
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h.  */
31893
31894 /* Override any GCC internal prototype to avoid an error.
31895    Use char because int might match the return type of a GCC
31896    builtin and then its argument prototype would still apply.  */
31897 #ifdef __cplusplus
31898 extern "C"
31899 #endif
31900 char sched_yield ();
31901 int
31902 main ()
31903 {
31904 return sched_yield ();
31905   ;
31906   return 0;
31907 }
31908 _ACEOF
31909 if ac_fn_c_try_link "$LINENO"; then :
31910   ac_cv_lib_posix4_sched_yield=yes
31911 else
31912   ac_cv_lib_posix4_sched_yield=no
31913 fi
31914 rm -f core conftest.err conftest.$ac_objext \
31915     conftest$ac_exeext conftest.$ac_ext
31916 LIBS=$ac_check_lib_save_LIBS
31917 fi
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31919 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31920 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
31921   $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31922  POSIX4_LINK=" -lposix4"
31923 else
31924   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31925 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31926
31927 fi
31928
31929
31930
31931 fi
31932
31933       fi
31934
31935                                           HAVE_PRIOR_FUNCS=0
31936       ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31937 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
31938   ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31939 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
31940   ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31941 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
31942   HAVE_PRIOR_FUNCS=1
31943 else
31944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31945 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31946 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
31947   $as_echo_n "(cached) " >&6
31948 else
31949   ac_check_lib_save_LIBS=$LIBS
31950 LIBS="-lposix4  $LIBS"
31951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31952 /* end confdefs.h.  */
31953
31954 /* Override any GCC internal prototype to avoid an error.
31955    Use char because int might match the return type of a GCC
31956    builtin and then its argument prototype would still apply.  */
31957 #ifdef __cplusplus
31958 extern "C"
31959 #endif
31960 char sched_get_priority_max ();
31961 int
31962 main ()
31963 {
31964 return sched_get_priority_max ();
31965   ;
31966   return 0;
31967 }
31968 _ACEOF
31969 if ac_fn_c_try_link "$LINENO"; then :
31970   ac_cv_lib_posix4_sched_get_priority_max=yes
31971 else
31972   ac_cv_lib_posix4_sched_get_priority_max=no
31973 fi
31974 rm -f core conftest.err conftest.$ac_objext \
31975     conftest$ac_exeext conftest.$ac_ext
31976 LIBS=$ac_check_lib_save_LIBS
31977 fi
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31979 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31980 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
31981
31982                                 HAVE_PRIOR_FUNCS=1
31983                                 POSIX4_LINK=" -lposix4"
31984
31985 fi
31986
31987
31988 fi
31989
31990
31991 fi
31992
31993
31994 fi
31995
31996
31997       if test "$HAVE_PRIOR_FUNCS" = 1; then
31998         $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31999
32000       else
32001         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32002 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32003       fi
32004
32005       ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32006 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32007   $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32008
32009 else
32010   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32011 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32012 fi
32013
32014
32015       ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32016 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32017   $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32018
32019 else
32020   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32021 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32022 fi
32023
32024
32025       ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32026 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32027   $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32028
32029 fi
32030
32031
32032
32033       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32034 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32035 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32036   $as_echo_n "(cached) " >&6
32037 else
32038
32039         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32040 /* end confdefs.h.  */
32041 #include <pthread.h>
32042 int
32043 main ()
32044 {
32045
32046                pthread_mutexattr_t attr;
32047                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32048
32049   ;
32050   return 0;
32051 }
32052 _ACEOF
32053 if ac_fn_c_try_compile "$LINENO"; then :
32054   wx_cv_type_pthread_mutexattr_t=yes
32055 else
32056   wx_cv_type_pthread_mutexattr_t=no
32057
32058 fi
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060
32061 fi
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32063 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32064
32065       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32066         $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32067
32068
32069                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32070 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32071 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32072   $as_echo_n "(cached) " >&6
32073 else
32074
32075                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32076 /* end confdefs.h.  */
32077 #include <pthread.h>
32078 int
32079 main ()
32080 {
32081
32082                                pthread_mutexattr_t attr;
32083                                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32084
32085   ;
32086   return 0;
32087 }
32088 _ACEOF
32089 if ac_fn_c_try_compile "$LINENO"; then :
32090   wx_cv_func_pthread_mutexattr_settype_decl=yes
32091 else
32092   wx_cv_func_pthread_mutexattr_settype_decl=no
32093
32094 fi
32095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32096
32097 fi
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32099 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32100         if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32101             $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32102
32103         fi
32104       else
32105                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32106 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32107 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32108   $as_echo_n "(cached) " >&6
32109 else
32110
32111             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32112 /* end confdefs.h.  */
32113 #include <pthread.h>
32114 int
32115 main ()
32116 {
32117
32118                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32119
32120   ;
32121   return 0;
32122 }
32123 _ACEOF
32124 if ac_fn_c_try_compile "$LINENO"; then :
32125
32126                     wx_cv_type_pthread_rec_mutex_init=yes
32127
32128 else
32129
32130                     wx_cv_type_pthread_rec_mutex_init=no
32131
32132
32133 fi
32134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135
32136 fi
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32138 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32139         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32140           $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32141
32142         else
32143                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32144 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32145         fi
32146       fi
32147
32148       if test "$wxUSE_COMPILER_TLS" = "auto"; then
32149           if test "$USE_NETBSD" = 1; then
32150               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32151 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32152               wxUSE_COMPILER_TLS=no
32153           else
32154               wxUSE_COMPILER_TLS=yes
32155           fi
32156       fi
32157
32158       if test "$wxUSE_COMPILER_TLS" = "yes"; then
32159                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32160 $as_echo_n "checking for __thread keyword... " >&6; }
32161 if ${wx_cv_cc___thread+:} false; then :
32162   $as_echo_n "(cached) " >&6
32163 else
32164
32165                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h.  */
32167 #include <pthread.h>
32168 int
32169 main ()
32170 {
32171
32172                           static __thread int n = 0;
32173                           static __thread int *p = 0;
32174
32175   ;
32176   return 0;
32177 }
32178 _ACEOF
32179 if ac_fn_c_try_compile "$LINENO"; then :
32180   wx_cv_cc___thread=yes
32181 else
32182   wx_cv_cc___thread=no
32183
32184 fi
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186
32187
32188 fi
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32190 $as_echo "$wx_cv_cc___thread" >&6; }
32191
32192           if test "$wx_cv_cc___thread" = "yes"; then
32193
32194   GXX_VERSION=""
32195
32196
32197
32198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32199 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32200
32201   if  test "x$GCC" = "xyes" ; then :
32202
32203     if  test -z "" ; then :
32204
32205       ax_gcc_option_test="int main()
32206 {
32207         return 0;
32208 }"
32209
32210 else
32211
32212       ax_gcc_option_test=""
32213
32214 fi
32215
32216     # Dump the test program to file
32217     cat <<EOF > conftest.c
32218 $ax_gcc_option_test
32219 EOF
32220
32221     # Dump back the file to the log, useful for debugging purposes
32222     { ac_try='cat conftest.c 1>&5'
32223   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32224   (eval $ac_try) 2>&5
32225   ac_status=$?
32226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32227   test $ac_status = 0; }; }
32228
32229     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
32230   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32231   (eval $ac_try) 2>&5
32232   ac_status=$?
32233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32234   test $ac_status = 0; }; } ; then :
32235
32236                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32237 $as_echo "yes" >&6; }
32238
32239     ax_gcc_version_option=yes
32240
32241
32242 else
32243
32244                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32245 $as_echo "no" >&6; }
32246
32247     ax_gcc_version_option=no
32248
32249
32250 fi
32251
32252 else
32253
32254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32255 $as_echo "no gcc available" >&6; }
32256
32257 fi
32258
32259   if test "x$GXX" = "xyes"; then :
32260
32261     if test "x$ax_gxx_version_option" != "no"; then :
32262
32263       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32264 $as_echo_n "checking gxx version... " >&6; }
32265 if ${ax_cv_gxx_version+:} false; then :
32266   $as_echo_n "(cached) " >&6
32267 else
32268
32269         ax_cv_gxx_version="`$CXX -dumpversion`"
32270         if test "x$ax_cv_gxx_version" = "x"; then :
32271
32272           ax_cv_gxx_version=""
32273
32274 fi
32275
32276 fi
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32278 $as_echo "$ax_cv_gxx_version" >&6; }
32279       GXX_VERSION=$ax_cv_gxx_version
32280
32281 fi
32282
32283 fi
32284
32285
32286               if test -n "$ax_cv_gxx_version"; then
32287                                                                                                                                                                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32288 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32289                   case "$ax_cv_gxx_version" in
32290                     1.* | 2.* | 3.* )
32291                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32292 $as_echo "no, it's broken" >&6; }
32293                         wx_cv_cc___thread=no
32294                         ;;
32295                     *)
32296                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32297 $as_echo "yes, it works" >&6; }
32298                         ;;
32299                   esac
32300               fi
32301           fi
32302
32303           if test "$wx_cv_cc___thread" = "yes"; then
32304             $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32305
32306           fi
32307         fi
32308     fi
32309
32310 else
32311     if test "$wxUSE_THREADS" = "yes" ; then
32312       case "${host}" in
32313         x86_64-*-mingw32* )
32314         ;;
32315         *-*-mingw32* )
32316                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32317 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32318 if ${wx_cv_cflags_mthread+:} false; then :
32319   $as_echo_n "(cached) " >&6
32320 else
32321
32322                     CFLAGS_OLD="$CFLAGS"
32323                     CFLAGS="-mthreads $CFLAGS"
32324                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32325 /* end confdefs.h.  */
32326
32327 int
32328 main ()
32329 {
32330
32331   ;
32332   return 0;
32333 }
32334 _ACEOF
32335 if ac_fn_c_try_compile "$LINENO"; then :
32336   wx_cv_cflags_mthread=yes
32337 else
32338   wx_cv_cflags_mthread=no
32339
32340 fi
32341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32342
32343
32344 fi
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32346 $as_echo "$wx_cv_cflags_mthread" >&6; }
32347
32348             if test "$wx_cv_cflags_mthread" = "yes"; then
32349                                 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32350                 LDFLAGS="$LDFLAGS -mthreads"
32351             else
32352                                 CFLAGS="$CFLAGS_OLD"
32353             fi
32354         ;;
32355         *-pc-os2*emx )
32356             WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32357             LDFLAGS="$LDFLAGS -Zmt"
32358         ;;
32359       esac
32360     fi
32361 fi
32362
32363 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32364 if test "x$ac_cv_func_localtime_r" = xyes; then :
32365    $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32366
32367 fi
32368
32369 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32370 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32371    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32372
32373 fi
32374
32375
32376
32377
32378     ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32385 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32386
32387     if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32388   $as_echo_n "(cached) " >&6
32389 else
32390
32391
32392 ################################################################
32393
32394 ac_cv_func_which_gethostbyname_r=unknown
32395
32396 #
32397 # ONE ARGUMENT (sanity check)
32398 #
32399
32400 # This should fail, as there is no variant of gethostbyname_r() that takes
32401 # a single argument. If it actually compiles, then we can assume that
32402 # netdb.h is not declaring the function, and the compiler is thereby
32403 # assuming an implicit prototype. In which case, we're out of luck.
32404 #
32405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h.  */
32407 #include <netdb.h>
32408 int
32409 main ()
32410 {
32411
32412             char *name = "www.gnu.org";
32413             (void)gethostbyname_r(name) /* ; */
32414
32415
32416   ;
32417   return 0;
32418 }
32419 _ACEOF
32420 if ac_fn_c_try_compile "$LINENO"; then :
32421   ac_cv_func_which_gethostbyname_r=no
32422
32423 fi
32424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425
32426 #
32427 # SIX ARGUMENTS
32428 # (e.g. Linux)
32429 #
32430
32431 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32432
32433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32434 /* end confdefs.h.  */
32435 #include <netdb.h>
32436 int
32437 main ()
32438 {
32439
32440             char *name = "www.gnu.org";
32441             struct hostent ret, *retp;
32442             char buf[1024];
32443             int buflen = 1024;
32444             int my_h_errno;
32445             (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32446
32447
32448   ;
32449   return 0;
32450 }
32451 _ACEOF
32452 if ac_fn_c_try_compile "$LINENO"; then :
32453   ac_cv_func_which_gethostbyname_r=six
32454
32455 fi
32456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32457
32458 fi
32459
32460 #
32461 # FIVE ARGUMENTS
32462 # (e.g. Solaris)
32463 #
32464
32465 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32466
32467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h.  */
32469 #include <netdb.h>
32470 int
32471 main ()
32472 {
32473
32474             char *name = "www.gnu.org";
32475             struct hostent ret;
32476             char buf[1024];
32477             int buflen = 1024;
32478             int my_h_errno;
32479             (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32480
32481
32482   ;
32483   return 0;
32484 }
32485 _ACEOF
32486 if ac_fn_c_try_compile "$LINENO"; then :
32487   ac_cv_func_which_gethostbyname_r=five
32488
32489 fi
32490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32491
32492 fi
32493
32494 #
32495 # THREE ARGUMENTS
32496 # (e.g. AIX, HP-UX, Tru64)
32497 #
32498
32499 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32500
32501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32502 /* end confdefs.h.  */
32503 #include <netdb.h>
32504 int
32505 main ()
32506 {
32507
32508             char *name = "www.gnu.org";
32509             struct hostent ret;
32510             struct hostent_data data;
32511             (void)gethostbyname_r(name, &ret, &data) /* ; */
32512
32513
32514   ;
32515   return 0;
32516 }
32517 _ACEOF
32518 if ac_fn_c_try_compile "$LINENO"; then :
32519   ac_cv_func_which_gethostbyname_r=three
32520
32521 fi
32522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32523
32524 fi
32525
32526 ################################################################
32527
32528
32529 fi
32530
32531 case "$ac_cv_func_which_gethostbyname_r" in
32532     three)
32533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32534 $as_echo "three" >&6; }
32535     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32536
32537     ;;
32538
32539     five)
32540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32541 $as_echo "five" >&6; }
32542     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32543
32544     ;;
32545
32546     six)
32547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32548 $as_echo "six" >&6; }
32549     $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32550
32551     ;;
32552
32553     no)
32554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32555 $as_echo "cannot find function declaration in netdb.h" >&6; }
32556     ;;
32557
32558     unknown)
32559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32560 $as_echo "can't tell" >&6; }
32561     ;;
32562
32563     *)
32564     as_fn_error $? "internal error" "$LINENO" 5
32565     ;;
32566 esac
32567
32568 ac_ext=c
32569 ac_cpp='$CPP $CPPFLAGS'
32570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32573
32574
32575
32576       if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32577               "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32578           ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32579 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32580    $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32581
32582 fi
32583
32584       fi
32585
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32587 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32588 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32589   $as_echo_n "(cached) " >&6
32590 else
32591
32592                 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597
32598
32599         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32600 /* end confdefs.h.  */
32601 #include <netdb.h>
32602 int
32603 main ()
32604 {
32605
32606                 char *name;
32607                 char *proto;
32608                 struct servent *se, *res;
32609                 char buffer[2048];
32610                 int buflen = 2048;
32611                 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32612
32613   ;
32614   return 0;
32615 }
32616 _ACEOF
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618   ac_cv_func_which_getservbyname_r=six
32619 else
32620
32621                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32622 /* end confdefs.h.  */
32623 #include <netdb.h>
32624 int
32625 main ()
32626 {
32627
32628                         char *name;
32629                         char *proto;
32630                         struct servent *se;
32631                         char buffer[2048];
32632                         int buflen = 2048;
32633                         (void) getservbyname_r(name, proto, se, buffer, buflen)
32634
32635   ;
32636   return 0;
32637 }
32638 _ACEOF
32639 if ac_fn_cxx_try_compile "$LINENO"; then :
32640   ac_cv_func_which_getservbyname_r=five
32641 else
32642
32643                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32644 /* end confdefs.h.  */
32645 #include <netdb.h>
32646 int
32647 main ()
32648 {
32649
32650                                 char *name;
32651                                 char *proto;
32652                                 struct servent *se;
32653                                 struct servent_data data;
32654                                 (void) getservbyname_r(name, proto, se, &data);
32655
32656   ;
32657   return 0;
32658 }
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661   ac_cv_func_which_getservbyname_r=four
32662 else
32663   ac_cv_func_which_getservbyname_r=no
32664
32665 fi
32666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667
32668
32669 fi
32670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32671
32672
32673 fi
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675         ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680
32681
32682
32683 fi
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32685 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32686
32687 if test $ac_cv_func_which_getservbyname_r = six; then
32688   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32689
32690 elif test $ac_cv_func_which_getservbyname_r = five; then
32691   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32692
32693 elif test $ac_cv_func_which_getservbyname_r = four; then
32694   $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32695
32696 fi
32697
32698
32699       if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32700               "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32701           for ac_func in getservbyname
32702 do :
32703   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32704 if test "x$ac_cv_func_getservbyname" = xyes; then :
32705   cat >>confdefs.h <<_ACEOF
32706 #define HAVE_GETSERVBYNAME 1
32707 _ACEOF
32708   $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32709
32710 fi
32711 done
32712
32713       fi
32714
32715 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32716
32717
32718 if test "$wxUSE_THREADS" = "yes"; then
32719   $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32720
32721
32722   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32723 else
32724       if test "$wx_cv_func_strtok_r" = "yes"; then
32725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32726 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32727     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32728         WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32730 $as_echo "yes" >&6; }
32731     else
32732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32733 $as_echo "no" >&6; }
32734     fi
32735   fi
32736 fi
32737
32738 if test "$WXGTK3" = 1 ; then
32739     cat >>confdefs.h <<_ACEOF
32740 #define __WXGTK3__ 1
32741 _ACEOF
32742
32743     WXGTK2=1
32744 fi
32745 if test "$WXGTK2" = 1 ; then
32746   cat >>confdefs.h <<_ACEOF
32747 #define __WXGTK20__ $WXGTK2
32748 _ACEOF
32749
32750 fi
32751
32752 if test "$WXGTK127" = 1 ; then
32753   cat >>confdefs.h <<_ACEOF
32754 #define __WXGTK127__ $WXGTK127
32755 _ACEOF
32756
32757 fi
32758
32759 if test "$WXGPE" = 1 ; then
32760   cat >>confdefs.h <<_ACEOF
32761 #define __WXGPE__ $WXGPE
32762 _ACEOF
32763
32764 fi
32765
32766 DEBUG_CFLAGS=
32767 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32768                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32769 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32770 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32771     DEBUG_CFLAGS="-g"
32772 fi
32773
32774 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32775     wxUSE_DEBUG_INFO=yes
32776     if test "$GCC" = yes; then
32777         DEBUG_CFLAGS="-ggdb"
32778     fi
32779 fi
32780
32781 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32782     WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32783
32784     if test "$wxUSE_GTK" = 1 ; then
32785         if test "$WXGTK2" = 1 ; then
32786             CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32787         else
32788             CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32789         fi
32790     fi
32791 fi
32792
32793 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32794     $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32795
32796     $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32797
32798     $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32799
32800     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32801 fi
32802
32803 if test "$wxUSE_DMALLOC" = "yes" ; then
32804     DMALLOC_LIBS="-ldmallocthcxx"
32805 fi
32806
32807 PROFILE_FLAGS=
32808 if test "$wxUSE_PROFILE" = "yes" ; then
32809     PROFILE_FLAGS=" -pg"
32810 fi
32811
32812 if test "$GCC" = "yes" ; then
32813     if test "$wxUSE_NO_RTTI" = "yes" ; then
32814                                 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32815     fi
32816     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32817         WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32818     fi
32819     if test "$wxUSE_PERMISSIVE" = "yes" ; then
32820         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32821     fi
32822
32823                                                 case "${host}" in
32824       powerpc*-*-aix* )
32825         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32826         ;;
32827       *-hppa* )
32828         WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32829         ;;
32830     esac
32831 fi
32832
32833 OPTIMISE_CFLAGS=
32834 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32835                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32836 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32837 else
32838     if test "$wxUSE_OPTIMISE" = "no" ; then
32839         if test "$GCC" = yes ; then
32840                                     OPTIMISE_CFLAGS="-O0"
32841         fi
32842     else
32843         if test "$GCC" = yes ; then
32844             case "${host}" in
32845                 *-pc-os2_emx | *-pc-os2-emx )
32846                                                             OPTIMISE_CFLAGS="-O2"
32847                 ;;
32848                 *)
32849                                                                                 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32850                 ;;
32851             esac
32852         else
32853             OPTIMISE_CFLAGS="-O"
32854         fi
32855     fi
32856 fi
32857
32858
32859 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32860     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32861
32862
32863     WXWIN_COMPATIBILITY_2_8="yes"
32864 fi
32865
32866 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32867     $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32868
32869 fi
32870
32871
32872 if test "$wxUSE_GUI" = "yes"; then
32873     $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32874
32875
32876                                             fi
32877
32878
32879 if test "$wxUSE_UNIX" = "yes"; then
32880   $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32881
32882 fi
32883
32884
32885 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32886
32887     HAVE_DL_FUNCS=0
32888     HAVE_SHL_FUNCS=0
32889     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32890         if test "$USE_DOS" = 1; then
32891             HAVE_DL_FUNCS=0
32892         else
32893                                                 for ac_func in dlopen
32894 do :
32895   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32896 if test "x$ac_cv_func_dlopen" = xyes; then :
32897   cat >>confdefs.h <<_ACEOF
32898 #define HAVE_DLOPEN 1
32899 _ACEOF
32900
32901                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32902
32903                 HAVE_DL_FUNCS=1
32904
32905 else
32906
32907                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32908 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32909 if ${ac_cv_lib_dl_dlopen+:} false; then :
32910   $as_echo_n "(cached) " >&6
32911 else
32912   ac_check_lib_save_LIBS=$LIBS
32913 LIBS="-ldl  $LIBS"
32914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32915 /* end confdefs.h.  */
32916
32917 /* Override any GCC internal prototype to avoid an error.
32918    Use char because int might match the return type of a GCC
32919    builtin and then its argument prototype would still apply.  */
32920 #ifdef __cplusplus
32921 extern "C"
32922 #endif
32923 char dlopen ();
32924 int
32925 main ()
32926 {
32927 return dlopen ();
32928   ;
32929   return 0;
32930 }
32931 _ACEOF
32932 if ac_fn_c_try_link "$LINENO"; then :
32933   ac_cv_lib_dl_dlopen=yes
32934 else
32935   ac_cv_lib_dl_dlopen=no
32936 fi
32937 rm -f core conftest.err conftest.$ac_objext \
32938     conftest$ac_exeext conftest.$ac_ext
32939 LIBS=$ac_check_lib_save_LIBS
32940 fi
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32943 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32944
32945                                 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32946
32947                                 HAVE_DL_FUNCS=1
32948                                 DL_LINK=" -ldl$DL_LINK"
32949
32950 else
32951
32952                                 for ac_func in shl_load
32953 do :
32954   ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32955 if test "x$ac_cv_func_shl_load" = xyes; then :
32956   cat >>confdefs.h <<_ACEOF
32957 #define HAVE_SHL_LOAD 1
32958 _ACEOF
32959
32960                                                 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32961
32962                                                 HAVE_SHL_FUNCS=1
32963
32964 else
32965
32966                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32967 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32968 if ${ac_cv_lib_shl_load_dld+:} false; then :
32969   $as_echo_n "(cached) " >&6
32970 else
32971   ac_check_lib_save_LIBS=$LIBS
32972 LIBS="-lshl_load  $LIBS"
32973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32974 /* end confdefs.h.  */
32975
32976 /* Override any GCC internal prototype to avoid an error.
32977    Use char because int might match the return type of a GCC
32978    builtin and then its argument prototype would still apply.  */
32979 #ifdef __cplusplus
32980 extern "C"
32981 #endif
32982 char dld ();
32983 int
32984 main ()
32985 {
32986 return dld ();
32987   ;
32988   return 0;
32989 }
32990 _ACEOF
32991 if ac_fn_c_try_link "$LINENO"; then :
32992   ac_cv_lib_shl_load_dld=yes
32993 else
32994   ac_cv_lib_shl_load_dld=no
32995 fi
32996 rm -f core conftest.err conftest.$ac_objext \
32997     conftest$ac_exeext conftest.$ac_ext
32998 LIBS=$ac_check_lib_save_LIBS
32999 fi
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33001 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33002 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33003
33004                                                                 HAVE_SHL_FUNCS=1
33005                                                                 DL_LINK=" -ldld$DL_LINK"
33006
33007 fi
33008
33009
33010 fi
33011 done
33012
33013
33014 fi
33015
33016
33017 fi
33018 done
33019
33020
33021                         if test "$HAVE_DL_FUNCS" = 1; then
33022                 for ac_func in dlerror
33023 do :
33024   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33025 if test "x$ac_cv_func_dlerror" = xyes; then :
33026   cat >>confdefs.h <<_ACEOF
33027 #define HAVE_DLERROR 1
33028 _ACEOF
33029  $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33030
33031 else
33032
33033                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33034 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33035 if ${ac_cv_lib_dl_dlerror+:} false; then :
33036   $as_echo_n "(cached) " >&6
33037 else
33038   ac_check_lib_save_LIBS=$LIBS
33039 LIBS="-ldl  $LIBS"
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h.  */
33042
33043 /* Override any GCC internal prototype to avoid an error.
33044    Use char because int might match the return type of a GCC
33045    builtin and then its argument prototype would still apply.  */
33046 #ifdef __cplusplus
33047 extern "C"
33048 #endif
33049 char dlerror ();
33050 int
33051 main ()
33052 {
33053 return dlerror ();
33054   ;
33055   return 0;
33056 }
33057 _ACEOF
33058 if ac_fn_c_try_link "$LINENO"; then :
33059   ac_cv_lib_dl_dlerror=yes
33060 else
33061   ac_cv_lib_dl_dlerror=no
33062 fi
33063 rm -f core conftest.err conftest.$ac_objext \
33064     conftest$ac_exeext conftest.$ac_ext
33065 LIBS=$ac_check_lib_save_LIBS
33066 fi
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33068 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33069 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33070   $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33071
33072 fi
33073
33074
33075
33076 fi
33077 done
33078
33079             fi
33080         fi
33081
33082                 if test "$USE_DARWIN" = 1; then
33083                         HAVE_DL_FUNCS=1
33084         fi
33085
33086         if test "$HAVE_DL_FUNCS" = 0; then
33087             if test "$HAVE_SHL_FUNCS" = 0; then
33088               if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33089                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33090 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33091                   wxUSE_DYNAMIC_LOADER=no
33092                   wxUSE_DYNLIB_CLASS=no
33093               else
33094                   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33095 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33096               fi
33097             fi
33098         fi
33099     fi
33100 fi
33101
33102 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33103     $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33104
33105 fi
33106 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33107     $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33108
33109 fi
33110
33111
33112
33113 if test "$wxUSE_PLUGINS" = "yes" ; then
33114     if test "$wxUSE_SHARED" = "no" ; then
33115         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33116 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33117         wxUSE_PLUGINS=no
33118     fi
33119     if test "$wxUSE_MONOLITHIC" = "yes" ; then
33120         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33121 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33122         wxUSE_PLUGINS=no
33123     fi
33124     if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33125         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33126 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33127         wxUSE_PLUGINS=no
33128     fi
33129     if test "$wxUSE_PLUGINS" = "yes" ; then
33130         $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33131
33132     fi
33133 fi
33134
33135
33136 if test "$wxUSE_FSWATCHER" = "yes"; then
33137                 if test "$wxUSE_MSW" != "1"; then
33138         if test "$wxUSE_UNIX" = "yes"; then
33139             for ac_header in sys/inotify.h
33140 do :
33141   ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33142 "
33143 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33144   cat >>confdefs.h <<_ACEOF
33145 #define HAVE_SYS_INOTIFY_H 1
33146 _ACEOF
33147
33148 fi
33149
33150 done
33151
33152             if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33153                 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33154
33155             else
33156                 for ac_header in sys/event.h
33157 do :
33158   ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33159 "
33160 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33161   cat >>confdefs.h <<_ACEOF
33162 #define HAVE_SYS_EVENT_H 1
33163 _ACEOF
33164
33165 fi
33166
33167 done
33168
33169                 if test "$ac_cv_header_sys_event_h" = "yes"; then
33170                     $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33171
33172                 else
33173                     wxUSE_FSWATCHER=no
33174                 fi
33175             fi
33176         else
33177             wxUSE_FSWATCHER=no
33178         fi
33179     else
33180         if test "$wxUSE_THREADS" != "yes"; then
33181             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33182 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33183             wxUSE_FSWATCHER=no
33184         fi
33185     fi
33186
33187     if test "$wxUSE_FSWATCHER" = "yes"; then
33188         $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33189
33190         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33191     else
33192         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33193 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33194     fi
33195 fi
33196
33197
33198 if test "$wxUSE_STL" = "yes"; then
33199   $as_echo "#define wxUSE_STL 1" >>confdefs.h
33200
33201 fi
33202
33203 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33204   $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33205
33206 fi
33207
33208 if test "$wxUSE_ANY" = "yes"; then
33209     $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33210
33211 fi
33212
33213 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33214   $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33215
33216 fi
33217
33218 if test "$wxUSE_TIMER" = "yes"; then
33219   $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33220
33221 fi
33222
33223 if test "$USE_UNIX" = 1 ; then
33224                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33225 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33226 if ${ac_cv_header_sys_soundcard+:} false; then :
33227   $as_echo_n "(cached) " >&6
33228 else
33229
33230         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h.  */
33232
33233                 #include <sys/ioctl.h>
33234                 #include <sys/soundcard.h>
33235
33236 int
33237 main ()
33238 {
33239
33240                 ioctl(0, SNDCTL_DSP_SPEED, 0);
33241
33242   ;
33243   return 0;
33244 }
33245 _ACEOF
33246 if ac_fn_c_try_link "$LINENO"; then :
33247   ac_cv_header_sys_soundcard=yes
33248 else
33249
33250                 saveLibs="$LIBS"
33251                 LIBS="$saveLibs -lossaudio"
33252                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h.  */
33254
33255                         #include <sys/ioctl.h>
33256                         #include <sys/soundcard.h>
33257
33258 int
33259 main ()
33260 {
33261
33262                         ioctl(0, SNDCTL_DSP_SPEED, 0);
33263
33264   ;
33265   return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_c_try_link "$LINENO"; then :
33269   ac_cv_header_sys_soundcard=yes
33270 else
33271
33272                         LIBS="$saveLibs"
33273                         ac_cv_header_sys_soundcard=no
33274
33275
33276 fi
33277 rm -f core conftest.err conftest.$ac_objext \
33278     conftest$ac_exeext conftest.$ac_ext
33279
33280
33281 fi
33282 rm -f core conftest.err conftest.$ac_objext \
33283     conftest$ac_exeext conftest.$ac_ext
33284
33285 fi
33286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33287 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33288
33289     if test "$ac_cv_header_sys_soundcard" = "yes"; then
33290         $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33291
33292     fi
33293 fi
33294
33295 WITH_PLUGIN_SDL=0
33296 if test "$wxUSE_SOUND" = "yes"; then
33297   if test "$USE_UNIX" = 1 ; then
33298     if test "$wxUSE_LIBSDL" != "no"; then
33299
33300 # Check whether --with-sdl-prefix was given.
33301 if test "${with_sdl_prefix+set}" = set; then :
33302   withval=$with_sdl_prefix; sdl_prefix="$withval"
33303 else
33304   sdl_prefix=""
33305 fi
33306
33307
33308 # Check whether --with-sdl-exec-prefix was given.
33309 if test "${with_sdl_exec_prefix+set}" = set; then :
33310   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33311 else
33312   sdl_exec_prefix=""
33313 fi
33314
33315 # Check whether --enable-sdltest was given.
33316 if test "${enable_sdltest+set}" = set; then :
33317   enableval=$enable_sdltest;
33318 else
33319   enable_sdltest=yes
33320 fi
33321
33322
33323   if test x$sdl_exec_prefix != x ; then
33324     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33325     if test x${SDL_CONFIG+set} != xset ; then
33326       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33327     fi
33328   fi
33329   if test x$sdl_prefix != x ; then
33330     sdl_args="$sdl_args --prefix=$sdl_prefix"
33331     if test x${SDL_CONFIG+set} != xset ; then
33332       SDL_CONFIG=$sdl_prefix/bin/sdl-config
33333     fi
33334   fi
33335
33336   if test "x$prefix" != xNONE; then
33337     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33338   fi
33339   # Extract the first word of "sdl-config", so it can be a program name with args.
33340 set dummy sdl-config; ac_word=$2
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33342 $as_echo_n "checking for $ac_word... " >&6; }
33343 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33344   $as_echo_n "(cached) " >&6
33345 else
33346   case $SDL_CONFIG in
33347   [\\/]* | ?:[\\/]*)
33348   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33349   ;;
33350   *)
33351   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33352 for as_dir in $PATH
33353 do
33354   IFS=$as_save_IFS
33355   test -z "$as_dir" && as_dir=.
33356     for ac_exec_ext in '' $ac_executable_extensions; do
33357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33358     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33360     break 2
33361   fi
33362 done
33363   done
33364 IFS=$as_save_IFS
33365
33366   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33367   ;;
33368 esac
33369 fi
33370 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33371 if test -n "$SDL_CONFIG"; then
33372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33373 $as_echo "$SDL_CONFIG" >&6; }
33374 else
33375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33376 $as_echo "no" >&6; }
33377 fi
33378
33379
33380   min_sdl_version=1.2.0
33381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33382 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33383   no_sdl=""
33384   if test "$SDL_CONFIG" = "no" ; then
33385     no_sdl=yes
33386   else
33387     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33388     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33389
33390     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33391            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33392     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33393            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33394     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33395            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33396     if test "x$enable_sdltest" = "xyes" ; then
33397       ac_save_CFLAGS="$CFLAGS"
33398       ac_save_CXXFLAGS="$CXXFLAGS"
33399       ac_save_LIBS="$LIBS"
33400       CFLAGS="$CFLAGS $SDL_CFLAGS"
33401       CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33402       LIBS="$LIBS $SDL_LIBS"
33403       rm -f conf.sdltest
33404       if test "$cross_compiling" = yes; then :
33405   echo $ac_n "cross compiling; assumed OK... $ac_c"
33406 else
33407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h.  */
33409
33410 #include <stdio.h>
33411 #include <stdlib.h>
33412 #include <string.h>
33413 #include "SDL.h"
33414
33415 char*
33416 my_strdup (char *str)
33417 {
33418   char *new_str;
33419
33420   if (str)
33421     {
33422       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33423       strcpy (new_str, str);
33424     }
33425   else
33426     new_str = NULL;
33427
33428   return new_str;
33429 }
33430
33431 int main (int argc, char *argv[])
33432 {
33433   int major, minor, micro;
33434   char *tmp_version;
33435
33436   /* This hangs on some systems (?)
33437   system ("touch conf.sdltest");
33438   */
33439   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33440
33441   /* HP/UX 9 (%@#!) writes to sscanf strings */
33442   tmp_version = my_strdup("$min_sdl_version");
33443   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33444      printf("%s, bad version string\n", "$min_sdl_version");
33445      exit(1);
33446    }
33447
33448    if (($sdl_major_version > major) ||
33449       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33450       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33451     {
33452       return 0;
33453     }
33454   else
33455     {
33456       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33457       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33458       printf("*** best to upgrade to the required version.\n");
33459       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33460       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33461       printf("*** config.cache before re-running configure\n");
33462       return 1;
33463     }
33464 }
33465
33466
33467 _ACEOF
33468 if ac_fn_c_try_run "$LINENO"; then :
33469
33470 else
33471   no_sdl=yes
33472 fi
33473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33474   conftest.$ac_objext conftest.beam conftest.$ac_ext
33475 fi
33476
33477        CFLAGS="$ac_save_CFLAGS"
33478        CXXFLAGS="$ac_save_CXXFLAGS"
33479        LIBS="$ac_save_LIBS"
33480      fi
33481   fi
33482   if test "x$no_sdl" = x ; then
33483      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33484 $as_echo "yes" >&6; }
33485
33486                     EXTRALIBS_SDL="$SDL_LIBS"
33487                     CFLAGS="$SDL_CFLAGS $CFLAGS"
33488                     CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33489                     $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33490
33491
33492   else
33493      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33494 $as_echo "no" >&6; }
33495      if test "$SDL_CONFIG" = "no" ; then
33496        echo "*** The sdl-config script installed by SDL could not be found"
33497        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33498        echo "*** your path, or set the SDL_CONFIG environment variable to the"
33499        echo "*** full path to sdl-config."
33500      else
33501        if test -f conf.sdltest ; then
33502         :
33503        else
33504           echo "*** Could not run SDL test program, checking why..."
33505           CFLAGS="$CFLAGS $SDL_CFLAGS"
33506           CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33507           LIBS="$LIBS $SDL_LIBS"
33508           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h.  */
33510
33511 #include <stdio.h>
33512 #include "SDL.h"
33513
33514 int main(int argc, char *argv[])
33515 { return 0; }
33516 #undef  main
33517 #define main K_and_R_C_main
33518
33519 int
33520 main ()
33521 {
33522  return 0;
33523   ;
33524   return 0;
33525 }
33526 _ACEOF
33527 if ac_fn_c_try_link "$LINENO"; then :
33528    echo "*** The test program compiled, but did not run. This usually means"
33529           echo "*** that the run-time linker is not finding SDL or finding the wrong"
33530           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33531           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33532           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
33533           echo "*** is required on your system"
33534           echo "***"
33535           echo "*** If you have an old version installed, it is best to remove it, although"
33536           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33537 else
33538    echo "*** The test program failed to compile or link. See the file config.log for the"
33539           echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33540           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33541           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33542 fi
33543 rm -f core conftest.err conftest.$ac_objext \
33544     conftest$ac_exeext conftest.$ac_ext
33545           CFLAGS="$ac_save_CFLAGS"
33546           CXXFLAGS="$ac_save_CXXFLAGS"
33547           LIBS="$ac_save_LIBS"
33548        fi
33549      fi
33550      SDL_CFLAGS=""
33551      SDL_LIBS=""
33552      wxUSE_LIBSDL="no"
33553   fi
33554
33555
33556   rm -f conf.sdltest
33557
33558       if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33559         WITH_PLUGIN_SDL=1
33560       fi
33561     fi
33562   fi
33563 fi
33564
33565 if test "$wxUSE_SOUND" = "yes"; then
33566   $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33567
33568   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33569 fi
33570
33571 if test "$WXGTK2" = 1; then
33572
33573
33574 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33575         if test -n "$ac_tool_prefix"; then
33576   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33577 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33579 $as_echo_n "checking for $ac_word... " >&6; }
33580 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33581   $as_echo_n "(cached) " >&6
33582 else
33583   case $PKG_CONFIG in
33584   [\\/]* | ?:[\\/]*)
33585   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33586   ;;
33587   *)
33588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33589 for as_dir in $PATH
33590 do
33591   IFS=$as_save_IFS
33592   test -z "$as_dir" && as_dir=.
33593     for ac_exec_ext in '' $ac_executable_extensions; do
33594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33595     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33597     break 2
33598   fi
33599 done
33600   done
33601 IFS=$as_save_IFS
33602
33603   ;;
33604 esac
33605 fi
33606 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33607 if test -n "$PKG_CONFIG"; then
33608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33609 $as_echo "$PKG_CONFIG" >&6; }
33610 else
33611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33612 $as_echo "no" >&6; }
33613 fi
33614
33615
33616 fi
33617 if test -z "$ac_cv_path_PKG_CONFIG"; then
33618   ac_pt_PKG_CONFIG=$PKG_CONFIG
33619   # Extract the first word of "pkg-config", so it can be a program name with args.
33620 set dummy pkg-config; ac_word=$2
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33622 $as_echo_n "checking for $ac_word... " >&6; }
33623 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33624   $as_echo_n "(cached) " >&6
33625 else
33626   case $ac_pt_PKG_CONFIG in
33627   [\\/]* | ?:[\\/]*)
33628   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33629   ;;
33630   *)
33631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33632 for as_dir in $PATH
33633 do
33634   IFS=$as_save_IFS
33635   test -z "$as_dir" && as_dir=.
33636     for ac_exec_ext in '' $ac_executable_extensions; do
33637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33638     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33640     break 2
33641   fi
33642 done
33643   done
33644 IFS=$as_save_IFS
33645
33646   ;;
33647 esac
33648 fi
33649 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33650 if test -n "$ac_pt_PKG_CONFIG"; then
33651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33652 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33653 else
33654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33655 $as_echo "no" >&6; }
33656 fi
33657
33658   if test "x$ac_pt_PKG_CONFIG" = x; then
33659     PKG_CONFIG=""
33660   else
33661     case $cross_compiling:$ac_tool_warned in
33662 yes:)
33663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33665 ac_tool_warned=yes ;;
33666 esac
33667     PKG_CONFIG=$ac_pt_PKG_CONFIG
33668   fi
33669 else
33670   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33671 fi
33672
33673 fi
33674 if test -n "$PKG_CONFIG"; then
33675         _pkg_min_version=0.9.0
33676         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33677 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33678         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33679                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33680 $as_echo "yes" >&6; }
33681         else
33682                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33683 $as_echo "no" >&6; }
33684                 PKG_CONFIG=""
33685         fi
33686
33687 fi
33688
33689     if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33690
33691         if test "$wxUSE_GTKPRINT" = "yes" ; then
33692             if test "$WXGTK3" = 1; then
33693                 gtk_unix_print="gtk+-unix-print-3.0"
33694             else
33695                 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33696             fi
33697
33698 pkg_failed=no
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33700 $as_echo_n "checking for GTKPRINT... " >&6; }
33701
33702 if test -n "$PKG_CONFIG"; then
33703     if test -n "$GTKPRINT_CFLAGS"; then
33704         pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33705     else
33706         if test -n "$PKG_CONFIG" && \
33707     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33708   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33709   ac_status=$?
33710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33711   test $ac_status = 0; }; then
33712   pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33713 else
33714   pkg_failed=yes
33715 fi
33716     fi
33717 else
33718         pkg_failed=untried
33719 fi
33720 if test -n "$PKG_CONFIG"; then
33721     if test -n "$GTKPRINT_LIBS"; then
33722         pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33723     else
33724         if test -n "$PKG_CONFIG" && \
33725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33726   ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33727   ac_status=$?
33728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33729   test $ac_status = 0; }; then
33730   pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33731 else
33732   pkg_failed=yes
33733 fi
33734     fi
33735 else
33736         pkg_failed=untried
33737 fi
33738
33739
33740
33741 if test $pkg_failed = yes; then
33742
33743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33744         _pkg_short_errors_supported=yes
33745 else
33746         _pkg_short_errors_supported=no
33747 fi
33748         if test $_pkg_short_errors_supported = yes; then
33749                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33750         else
33751                 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33752         fi
33753         # Put the nasty error message in config.log where it belongs
33754         echo "$GTKPRINT_PKG_ERRORS" >&5
33755
33756
33757                         { $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
33758 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33759                         wxUSE_GTKPRINT="no"
33760
33761
33762 elif test $pkg_failed = untried; then
33763
33764                         { $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
33765 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33766                         wxUSE_GTKPRINT="no"
33767
33768
33769 else
33770         GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33771         GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33773 $as_echo "yes" >&6; }
33774
33775                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33776                         CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33777                         CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33778                         $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33779
33780
33781 fi
33782         fi
33783
33784         if test "$WXGTK3" = 1; then
33785             wxUSE_LIBGNOMEPRINT=no
33786         fi
33787
33788         if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33789
33790
33791 pkg_failed=no
33792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33793 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33794
33795 if test -n "$PKG_CONFIG"; then
33796     if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33797         pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33798     else
33799         if test -n "$PKG_CONFIG" && \
33800     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33801   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33802   ac_status=$?
33803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33804   test $ac_status = 0; }; then
33805   pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33806 else
33807   pkg_failed=yes
33808 fi
33809     fi
33810 else
33811         pkg_failed=untried
33812 fi
33813 if test -n "$PKG_CONFIG"; then
33814     if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33815         pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33816     else
33817         if test -n "$PKG_CONFIG" && \
33818     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33819   ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33820   ac_status=$?
33821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33822   test $ac_status = 0; }; then
33823   pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33824 else
33825   pkg_failed=yes
33826 fi
33827     fi
33828 else
33829         pkg_failed=untried
33830 fi
33831
33832
33833
33834 if test $pkg_failed = yes; then
33835
33836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33837         _pkg_short_errors_supported=yes
33838 else
33839         _pkg_short_errors_supported=no
33840 fi
33841         if test $_pkg_short_errors_supported = yes; then
33842                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33843         else
33844                 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33845         fi
33846         # Put the nasty error message in config.log where it belongs
33847         echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33848
33849
33850                         if test "$wxUSE_GTKPRINT" = yes; then
33851                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33852 $as_echo "no" >&6; }
33853                         else
33854                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33855 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33856                         fi
33857                         wxUSE_LIBGNOMEPRINT="no"
33858
33859
33860 elif test $pkg_failed = untried; then
33861
33862                         if test "$wxUSE_GTKPRINT" = yes; then
33863                             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33864 $as_echo "no" >&6; }
33865                         else
33866                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33867 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33868                         fi
33869                         wxUSE_LIBGNOMEPRINT="no"
33870
33871
33872 else
33873         LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33874         LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33876 $as_echo "yes" >&6; }
33877
33878                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33879                         CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33880                         CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33881                         $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33882
33883
33884 fi
33885         fi
33886     fi
33887
33888     if test "$wxUSE_MIMETYPE" = "yes" ; then
33889         if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33890
33891
33892 pkg_failed=no
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33894 $as_echo_n "checking for GNOMEVFS... " >&6; }
33895
33896 if test -n "$PKG_CONFIG"; then
33897     if test -n "$GNOMEVFS_CFLAGS"; then
33898         pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33899     else
33900         if test -n "$PKG_CONFIG" && \
33901     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33902   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33903   ac_status=$?
33904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33905   test $ac_status = 0; }; then
33906   pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33907 else
33908   pkg_failed=yes
33909 fi
33910     fi
33911 else
33912         pkg_failed=untried
33913 fi
33914 if test -n "$PKG_CONFIG"; then
33915     if test -n "$GNOMEVFS_LIBS"; then
33916         pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33917     else
33918         if test -n "$PKG_CONFIG" && \
33919     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33920   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33921   ac_status=$?
33922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33923   test $ac_status = 0; }; then
33924   pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33925 else
33926   pkg_failed=yes
33927 fi
33928     fi
33929 else
33930         pkg_failed=untried
33931 fi
33932
33933
33934
33935 if test $pkg_failed = yes; then
33936
33937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33938         _pkg_short_errors_supported=yes
33939 else
33940         _pkg_short_errors_supported=no
33941 fi
33942         if test $_pkg_short_errors_supported = yes; then
33943                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33944         else
33945                 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33946         fi
33947         # Put the nasty error message in config.log where it belongs
33948         echo "$GNOMEVFS_PKG_ERRORS" >&5
33949
33950
33951                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33952 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33953                         wxUSE_LIBGNOMEVFS="no"
33954
33955
33956 elif test $pkg_failed = untried; then
33957
33958                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33959 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33960                         wxUSE_LIBGNOMEVFS="no"
33961
33962
33963 else
33964         GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33965         GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33966         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33967 $as_echo "yes" >&6; }
33968
33969                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
33970                         CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33971                         CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33972                         $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33973
33974
33975 fi
33976         fi
33977     fi
33978
33979     if test "$wxUSE_LIBHILDON" = "yes" ; then
33980
33981 pkg_failed=no
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33983 $as_echo_n "checking for HILDON... " >&6; }
33984
33985 if test -n "$PKG_CONFIG"; then
33986     if test -n "$HILDON_CFLAGS"; then
33987         pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33988     else
33989         if test -n "$PKG_CONFIG" && \
33990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33991   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33992   ac_status=$?
33993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33994   test $ac_status = 0; }; then
33995   pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33996 else
33997   pkg_failed=yes
33998 fi
33999     fi
34000 else
34001         pkg_failed=untried
34002 fi
34003 if test -n "$PKG_CONFIG"; then
34004     if test -n "$HILDON_LIBS"; then
34005         pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34006     else
34007         if test -n "$PKG_CONFIG" && \
34008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34009   ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34010   ac_status=$?
34011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34012   test $ac_status = 0; }; then
34013   pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34014 else
34015   pkg_failed=yes
34016 fi
34017     fi
34018 else
34019         pkg_failed=untried
34020 fi
34021
34022
34023
34024 if test $pkg_failed = yes; then
34025
34026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34027         _pkg_short_errors_supported=yes
34028 else
34029         _pkg_short_errors_supported=no
34030 fi
34031         if test $_pkg_short_errors_supported = yes; then
34032                 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34033         else
34034                 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34035         fi
34036         # Put the nasty error message in config.log where it belongs
34037         echo "$HILDON_PKG_ERRORS" >&5
34038
34039
34040                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34041 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34042                         wxUSE_LIBHILDON="no"
34043                         ac_hildon_lgpl=0
34044
34045
34046 elif test $pkg_failed = untried; then
34047
34048                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34049 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34050                         wxUSE_LIBHILDON="no"
34051                         ac_hildon_lgpl=0
34052
34053
34054 else
34055         HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34056         HILDON_LIBS=$pkg_cv_HILDON_LIBS
34057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34058 $as_echo "yes" >&6; }
34059
34060                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34061                 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34062                 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34063                 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34064
34065                 ac_hildon_lgpl=1
34066
34067 fi
34068
34069         if test "$ac_hildon_lgpl" = 0 ; then
34070
34071 pkg_failed=no
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34073 $as_echo_n "checking for HILDON2... " >&6; }
34074
34075 if test -n "$PKG_CONFIG"; then
34076     if test -n "$HILDON2_CFLAGS"; then
34077         pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34078     else
34079         if test -n "$PKG_CONFIG" && \
34080     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34081   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34082   ac_status=$?
34083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34084   test $ac_status = 0; }; then
34085   pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34086 else
34087   pkg_failed=yes
34088 fi
34089     fi
34090 else
34091         pkg_failed=untried
34092 fi
34093 if test -n "$PKG_CONFIG"; then
34094     if test -n "$HILDON2_LIBS"; then
34095         pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34096     else
34097         if test -n "$PKG_CONFIG" && \
34098     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34099   ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34100   ac_status=$?
34101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34102   test $ac_status = 0; }; then
34103   pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34104 else
34105   pkg_failed=yes
34106 fi
34107     fi
34108 else
34109         pkg_failed=untried
34110 fi
34111
34112
34113
34114 if test $pkg_failed = yes; then
34115
34116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34117         _pkg_short_errors_supported=yes
34118 else
34119         _pkg_short_errors_supported=no
34120 fi
34121         if test $_pkg_short_errors_supported = yes; then
34122                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34123         else
34124                 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34125         fi
34126         # Put the nasty error message in config.log where it belongs
34127         echo "$HILDON2_PKG_ERRORS" >&5
34128
34129
34130                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34131 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34132                             wxUSE_LIBHILDON2="no"
34133
34134
34135 elif test $pkg_failed = untried; then
34136
34137                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34138 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34139                             wxUSE_LIBHILDON2="no"
34140
34141
34142 else
34143         HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34144         HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34146 $as_echo "yes" >&6; }
34147
34148                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34149                     CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34150                     CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34151                     $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34152
34153
34154 fi
34155         fi
34156     fi
34157 fi
34158
34159 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34160   $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34161
34162 fi
34163
34164 if test "$wxUSE_STOPWATCH" = "yes"; then
34165   $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34166
34167 fi
34168
34169 if test "$wxUSE_DATETIME" = "yes"; then
34170   $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34171
34172 fi
34173
34174 if test "$wxUSE_FILE" = "yes"; then
34175   $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34176
34177 fi
34178
34179 if test "$wxUSE_FFILE" = "yes"; then
34180   $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34181
34182 fi
34183
34184 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34185   if test "$wxUSE_STREAMS" != yes; then
34186     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34187 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34188     wxUSE_ARCHIVE_STREAMS=no
34189   else
34190     $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34191
34192   fi
34193 fi
34194
34195 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34196   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34197     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34198 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34199   elif test "$wxUSE_ZLIB" = "no"; then
34200     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34201 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34202   else
34203     $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34204
34205   fi
34206 fi
34207
34208 if test "$wxUSE_TARSTREAM" = "yes"; then
34209   if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34211 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34212   else
34213     $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34214
34215   fi
34216 fi
34217
34218 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34219   $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34220
34221 fi
34222
34223 if test "$wxUSE_FILESYSTEM" = "yes"; then
34224   if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34225     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34226 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34227     wxUSE_FILESYSTEM=no
34228   else
34229     $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34230
34231   fi
34232 fi
34233
34234 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34235   if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34236     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34237 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34238   else
34239     $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34240
34241   fi
34242 fi
34243
34244 if test "$wxUSE_FS_ZIP" = "yes"; then
34245   if test "$wxUSE_FS_ARCHIVE" != yes; then
34246     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34247 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34248   else
34249     $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34250
34251   fi
34252 fi
34253
34254 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34255   if test "$USE_UNIX" != 1; then
34256     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34257 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34258     wxUSE_ON_FATAL_EXCEPTION=no
34259   else
34260     $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34261
34262   fi
34263 fi
34264
34265 if test "$wxUSE_STACKWALKER" = "yes"; then
34266     $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34267
34268 fi
34269
34270 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34271     if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34272         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34273 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34274         wxUSE_DEBUGREPORT=no
34275     else
34276         $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34277
34278         if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34279             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34280         fi
34281     fi
34282 fi
34283
34284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34285   $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34286
34287 fi
34288
34289 if test "$wxUSE_BUSYINFO" = "yes"; then
34290   $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34291
34292 fi
34293
34294 if test "$wxUSE_HOTKEY" = "yes"; then
34295   if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34296     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34297 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34298     wxUSE_HOTKEY=no
34299   fi
34300 elif test "$wxUSE_HOTKEY" = "auto"; then
34301   if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34302     wxUSE_HOTKEY=yes
34303   fi
34304 fi
34305 if test "$wxUSE_HOTKEY" = "yes"; then
34306   $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34307
34308 fi
34309
34310 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34311   $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34312
34313 fi
34314
34315 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34316   $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34317
34318 fi
34319
34320 if test "$wxUSE_STD_STRING" = "yes"; then
34321   $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34322
34323 fi
34324
34325 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34326   $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34327
34328 fi
34329
34330 if test "$wxUSE_STDPATHS" = "yes"; then
34331   $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34332
34333 fi
34334
34335 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34336     $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34337
34338 fi
34339
34340 if test "$wxUSE_TEXTFILE" = "yes"; then
34341   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34342     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34343 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34344   else
34345     $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34346
34347   fi
34348 fi
34349
34350 if test "$wxUSE_CONFIG" = "yes" ; then
34351   if test "$wxUSE_TEXTFILE" != "yes"; then
34352     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34353 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34354   else
34355     $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34356
34357     $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34358
34359     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34360   fi
34361 fi
34362
34363 if test "$wxUSE_INTL" = "yes" ; then
34364   if test "$wxUSE_FILE" != "yes"; then
34365     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34366 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34367   else
34368     $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34369
34370     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34371     GUIDIST="$GUIDIST INTL_DIST"
34372   fi
34373 fi
34374
34375 if test "$wxUSE_XLOCALE" = "yes" ; then
34376     $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34377
34378     ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34379                     #include <locale.h>
34380 "
34381 if test "x$ac_cv_type_locale_t" = xyes; then :
34382
34383 cat >>confdefs.h <<_ACEOF
34384 #define HAVE_LOCALE_T 1
34385 _ACEOF
34386
34387
34388 fi
34389
34390 fi
34391
34392 if test "$wxUSE_LOG" = "yes"; then
34393   $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34394
34395
34396     if test "$wxUSE_LOGGUI" = "yes"; then
34397       $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34398
34399     fi
34400
34401     if test "$wxUSE_LOGWINDOW" = "yes"; then
34402       $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34403
34404     fi
34405
34406     if test "$wxUSE_LOGDIALOG" = "yes"; then
34407       $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34408
34409     fi
34410
34411         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34412 fi
34413
34414 if test "$wxUSE_LONGLONG" = "yes"; then
34415   $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34416
34417 fi
34418
34419 if test "$wxUSE_GEOMETRY" = "yes"; then
34420   $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34421
34422 fi
34423
34424 if test "$wxUSE_BASE64" = "yes"; then
34425   $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34426
34427 fi
34428
34429 if test "$wxUSE_STREAMS" = "yes" ; then
34430   $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34431
34432 fi
34433
34434 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34435   $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34436
34437 fi
34438
34439 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34440   $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34441
34442 fi
34443
34444
34445 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34446     $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34447
34448
34449     if test "$wxUSE_UNIX" = "yes"; then
34450         if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34451             $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34452
34453         fi
34454
34455         if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34456             for ac_header in sys/epoll.h
34457 do :
34458   ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34459 "
34460 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34461   cat >>confdefs.h <<_ACEOF
34462 #define HAVE_SYS_EPOLL_H 1
34463 _ACEOF
34464
34465 fi
34466
34467 done
34468
34469             if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34470                 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34471
34472             else
34473                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34474 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34475             fi
34476         fi
34477     fi
34478 fi
34479
34480
34481 for ac_func in gettimeofday ftime
34482 do :
34483   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34486   cat >>confdefs.h <<_ACEOF
34487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34488 _ACEOF
34489  break
34490 fi
34491 done
34492
34493
34494 if test "$ac_cv_func_gettimeofday" = "yes"; then
34495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34496 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34497 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34498   $as_echo_n "(cached) " >&6
34499 else
34500
34501                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34502 /* end confdefs.h.  */
34503
34504                 #include <sys/time.h>
34505                 #include <unistd.h>
34506
34507 int
34508 main ()
34509 {
34510
34511                 struct timeval tv;
34512                 gettimeofday(&tv, NULL);
34513
34514   ;
34515   return 0;
34516 }
34517 _ACEOF
34518 if ac_fn_c_try_compile "$LINENO"; then :
34519   wx_cv_func_gettimeofday_has_2_args=yes
34520 else
34521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34522 /* end confdefs.h.  */
34523
34524                     #include <sys/time.h>
34525                     #include <unistd.h>
34526
34527 int
34528 main ()
34529 {
34530
34531                     struct timeval tv;
34532                     gettimeofday(&tv);
34533
34534   ;
34535   return 0;
34536 }
34537 _ACEOF
34538 if ac_fn_c_try_compile "$LINENO"; then :
34539   wx_cv_func_gettimeofday_has_2_args=no
34540 else
34541
34542                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34543 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34544                     wx_cv_func_gettimeofday_has_2_args=unknown
34545
34546
34547 fi
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549
34550 fi
34551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34552
34553 fi
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34555 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34556
34557     if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34558         $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34559
34560     fi
34561 fi
34562
34563 if test "$wxUSE_DATETIME" = "yes"; then
34564             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34565 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34566 if ${wx_cv_var_timezone+:} false; then :
34567   $as_echo_n "(cached) " >&6
34568 else
34569
34570                         ac_ext=cpp
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575
34576                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34577 /* end confdefs.h.  */
34578
34579                                 #include <time.h>
34580
34581 int
34582 main ()
34583 {
34584
34585                                 int tz;
34586                                 tz = timezone;
34587
34588   ;
34589   return 0;
34590 }
34591 _ACEOF
34592 if ac_fn_cxx_try_compile "$LINENO"; then :
34593
34594                                 wx_cv_var_timezone=timezone
34595
34596 else
34597
34598                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h.  */
34600
34601                                         #include <time.h>
34602
34603 int
34604 main ()
34605 {
34606
34607                                         int tz;
34608                                         tz = _timezone;
34609
34610   ;
34611   return 0;
34612 }
34613 _ACEOF
34614 if ac_fn_cxx_try_compile "$LINENO"; then :
34615
34616                                         wx_cv_var_timezone=_timezone
34617
34618 else
34619
34620                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34621 /* end confdefs.h.  */
34622
34623                                                 #include <time.h>
34624
34625 int
34626 main ()
34627 {
34628
34629                                                 int tz;
34630                                                 tz = __timezone;
34631
34632   ;
34633   return 0;
34634 }
34635 _ACEOF
34636 if ac_fn_cxx_try_compile "$LINENO"; then :
34637
34638                                                 wx_cv_var_timezone=__timezone
34639
34640 else
34641
34642                                                 if test "$USE_DOS" = 0 ; then
34643                                                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34644 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34645                                                 fi
34646
34647
34648 fi
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650
34651
34652 fi
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654
34655
34656 fi
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658                         ac_ext=c
34659 ac_cpp='$CPP $CPPFLAGS'
34660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34663
34664
34665
34666 fi
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34668 $as_echo "$wx_cv_var_timezone" >&6; }
34669
34670         if test "x$wx_cv_var_timezone" != x ; then
34671         cat >>confdefs.h <<_ACEOF
34672 #define WX_TIMEZONE $wx_cv_var_timezone
34673 _ACEOF
34674
34675     fi
34676
34677         for ac_func in localtime
34678 do :
34679   ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34680 if test "x$ac_cv_func_localtime" = xyes; then :
34681   cat >>confdefs.h <<_ACEOF
34682 #define HAVE_LOCALTIME 1
34683 _ACEOF
34684
34685 fi
34686 done
34687
34688
34689     if test "$ac_cv_func_localtime" = "yes"; then
34690         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34691 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34692 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
34693   $as_echo_n "(cached) " >&6
34694 else
34695
34696             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h.  */
34698
34699                     #include <time.h>
34700
34701 int
34702 main ()
34703 {
34704
34705                     struct tm tm;
34706                     tm.tm_gmtoff++;
34707
34708   ;
34709   return 0;
34710 }
34711 _ACEOF
34712 if ac_fn_c_try_compile "$LINENO"; then :
34713
34714                     wx_cv_struct_tm_has_gmtoff=yes
34715
34716 else
34717   wx_cv_struct_tm_has_gmtoff=no
34718
34719 fi
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721
34722 fi
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34724 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34725     fi
34726
34727     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34728         $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34729
34730     fi
34731
34732     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34733 fi
34734
34735
34736 if test "$wxUSE_SOCKETS" = "yes"; then
34737         if test "$TOOLKIT" != "MSW"; then
34738                 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34739 if test "x$ac_cv_func_socket" = xyes; then :
34740
34741 else
34742
34743                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34744 $as_echo_n "checking for socket in -lsocket... " >&6; }
34745 if ${ac_cv_lib_socket_socket+:} false; then :
34746   $as_echo_n "(cached) " >&6
34747 else
34748   ac_check_lib_save_LIBS=$LIBS
34749 LIBS="-lsocket  $LIBS"
34750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34751 /* end confdefs.h.  */
34752
34753 /* Override any GCC internal prototype to avoid an error.
34754    Use char because int might match the return type of a GCC
34755    builtin and then its argument prototype would still apply.  */
34756 #ifdef __cplusplus
34757 extern "C"
34758 #endif
34759 char socket ();
34760 int
34761 main ()
34762 {
34763 return socket ();
34764   ;
34765   return 0;
34766 }
34767 _ACEOF
34768 if ac_fn_c_try_link "$LINENO"; then :
34769   ac_cv_lib_socket_socket=yes
34770 else
34771   ac_cv_lib_socket_socket=no
34772 fi
34773 rm -f core conftest.err conftest.$ac_objext \
34774     conftest$ac_exeext conftest.$ac_ext
34775 LIBS=$ac_check_lib_save_LIBS
34776 fi
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34778 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34779 if test "x$ac_cv_lib_socket_socket" = xyes; then :
34780   if test "$INET_LINK" != " -lsocket"; then
34781                         INET_LINK="$INET_LINK -lsocket"
34782                     fi
34783 else
34784
34785                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34786 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34787                         wxUSE_SOCKETS=no
34788
34789
34790 fi
34791
34792
34793
34794 fi
34795
34796     fi
34797 fi
34798
34799 if test "$wxUSE_SOCKETS" = "yes" ; then
34800                 if test "$TOOLKIT" != "MSW"; then
34801                                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34802 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34803 if ${wx_cv_type_getsockname3+:} false; then :
34804   $as_echo_n "(cached) " >&6
34805 else
34806
34807                 ac_ext=cpp
34808 ac_cpp='$CXXCPP $CPPFLAGS'
34809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34812
34813                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h.  */
34815
34816                         #include <sys/types.h>
34817                         #include <sys/socket.h>
34818
34819 int
34820 main ()
34821 {
34822
34823                         socklen_t len;
34824                         getsockname(0, 0, &len);
34825
34826   ;
34827   return 0;
34828 }
34829 _ACEOF
34830 if ac_fn_cxx_try_compile "$LINENO"; then :
34831   wx_cv_type_getsockname3=socklen_t
34832 else
34833
34834                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
34835                         if test "$GCC" = yes ; then
34836                             CFLAGS="-Werror $CFLAGS"
34837                         fi
34838
34839                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34840 /* end confdefs.h.  */
34841
34842                                 #include <sys/types.h>
34843                                 #include <sys/socket.h>
34844
34845 int
34846 main ()
34847 {
34848
34849                                 size_t len;
34850                                 getsockname(0, 0, &len);
34851
34852   ;
34853   return 0;
34854 }
34855 _ACEOF
34856 if ac_fn_cxx_try_compile "$LINENO"; then :
34857   wx_cv_type_getsockname3=size_t
34858 else
34859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34860 /* end confdefs.h.  */
34861
34862                                     #include <sys/types.h>
34863                                     #include <sys/socket.h>
34864
34865 int
34866 main ()
34867 {
34868
34869                                     int len;
34870                                     getsockname(0, 0, &len);
34871
34872   ;
34873   return 0;
34874 }
34875 _ACEOF
34876 if ac_fn_cxx_try_compile "$LINENO"; then :
34877   wx_cv_type_getsockname3=int
34878 else
34879   wx_cv_type_getsockname3=unknown
34880
34881 fi
34882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883
34884 fi
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886
34887                         CFLAGS="$CFLAGS_OLD"
34888
34889
34890 fi
34891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34892                 ac_ext=c
34893 ac_cpp='$CPP $CPPFLAGS'
34894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34897
34898
34899 fi
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34901 $as_echo "$wx_cv_type_getsockname3" >&6; }
34902
34903         if test "$wx_cv_type_getsockname3" = "unknown"; then
34904             wxUSE_SOCKETS=no
34905             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34906 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34907         else
34908             cat >>confdefs.h <<_ACEOF
34909 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34910 _ACEOF
34911
34912         fi
34913                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34914 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34915 if ${wx_cv_type_getsockopt5+:} false; then :
34916   $as_echo_n "(cached) " >&6
34917 else
34918
34919                                                                                                 ac_ext=cpp
34920 ac_cpp='$CXXCPP $CPPFLAGS'
34921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34924
34925                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34926 /* end confdefs.h.  */
34927
34928                         #include <sys/types.h>
34929                         #include <sys/socket.h>
34930
34931 int
34932 main ()
34933 {
34934
34935                         socklen_t len;
34936                         getsockopt(0, 0, 0, 0, &len);
34937
34938   ;
34939   return 0;
34940 }
34941 _ACEOF
34942 if ac_fn_cxx_try_compile "$LINENO"; then :
34943   wx_cv_type_getsockopt5=socklen_t
34944 else
34945
34946                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h.  */
34948
34949                                 #include <sys/types.h>
34950                                 #include <sys/socket.h>
34951
34952 int
34953 main ()
34954 {
34955
34956                                 size_t len;
34957                                 getsockopt(0, 0, 0, 0, &len);
34958
34959   ;
34960   return 0;
34961 }
34962 _ACEOF
34963 if ac_fn_cxx_try_compile "$LINENO"; then :
34964   wx_cv_type_getsockopt5=size_t
34965 else
34966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h.  */
34968
34969                                     #include <sys/types.h>
34970                                     #include <sys/socket.h>
34971
34972 int
34973 main ()
34974 {
34975
34976                                     int len;
34977                                     getsockopt(0, 0, 0, 0, &len);
34978
34979   ;
34980   return 0;
34981 }
34982 _ACEOF
34983 if ac_fn_cxx_try_compile "$LINENO"; then :
34984   wx_cv_type_getsockopt5=int
34985 else
34986   wx_cv_type_getsockopt5=unknown
34987
34988 fi
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990
34991 fi
34992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34993
34994
34995 fi
34996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997                 ac_ext=c
34998 ac_cpp='$CPP $CPPFLAGS'
34999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35002
35003
35004 fi
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35006 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35007
35008         if test "$wx_cv_type_getsockopt5" = "unknown"; then
35009             wxUSE_SOCKETS=no
35010             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35011 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35012         else
35013             cat >>confdefs.h <<_ACEOF
35014 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35015 _ACEOF
35016
35017         fi
35018     fi
35019 fi
35020
35021 if test "$wxUSE_SOCKETS" = "yes" ; then
35022     if test "$wxUSE_IPV6" = "yes"; then
35023         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35024 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35025 if ${wx_cv_type_sockaddr_in6+:} false; then :
35026   $as_echo_n "(cached) " >&6
35027 else
35028
35029                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h.  */
35031
35032                         #include <sys/types.h>
35033                         #include <sys/socket.h>
35034                         #include <netinet/in.h>
35035
35036 int
35037 main ()
35038 {
35039
35040                         struct sockaddr_in6 sa6;
35041
35042   ;
35043   return 0;
35044 }
35045 _ACEOF
35046 if ac_fn_c_try_compile "$LINENO"; then :
35047   wx_cv_type_sockaddr_in6=yes
35048 else
35049   wx_cv_type_sockaddr_in6=no
35050
35051 fi
35052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35053
35054
35055 fi
35056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35057 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35058
35059         if test "$wx_cv_type_sockaddr_in6"="yes"; then
35060             $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35061
35062         else
35063             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35064 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35065         fi
35066     fi
35067
35068     $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35069
35070     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35071 fi
35072
35073 if test "$wxUSE_PROTOCOL" = "yes"; then
35074     if test "$wxUSE_SOCKETS" != "yes"; then
35075         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35076 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35077         wxUSE_PROTOCOL=no
35078     fi
35079 fi
35080
35081 if test "$wxUSE_PROTOCOL" = "yes"; then
35082     $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35083
35084
35085     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35086         $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35087
35088     fi
35089     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35090         $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35091
35092     fi
35093     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35094         $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35095
35096     fi
35097 else
35098     if test "$wxUSE_FS_INET" = "yes"; then
35099         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35100 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35101         wxUSE_FS_INET="no"
35102     fi
35103 fi
35104
35105 if test "$wxUSE_URL" = "yes"; then
35106     if test "$wxUSE_PROTOCOL" != "yes"; then
35107         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35108 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35109         wxUSE_URL=no
35110     fi
35111     if test "$wxUSE_URL" = "yes"; then
35112         $as_echo "#define wxUSE_URL 1" >>confdefs.h
35113
35114     fi
35115 fi
35116
35117 if test "$wxUSE_VARIANT" = "yes"; then
35118     $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35119
35120 fi
35121
35122 if test "$wxUSE_FS_INET" = "yes"; then
35123   $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35124
35125 fi
35126
35127
35128 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35129     wxUSE_JOYSTICK=no
35130
35131         if test "$TOOLKIT" = "MSW"; then
35132         wxUSE_JOYSTICK=yes
35133
35134         elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35135         if test "$USE_DARWIN" = 1; then
35136                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35137 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35138             ac_ext=cpp
35139 ac_cpp='$CXXCPP $CPPFLAGS'
35140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35143
35144             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35145 /* end confdefs.h.  */
35146  #include <IOKit/hid/IOHIDLib.h>
35147 int
35148 main ()
35149 {
35150  IOHIDQueueInterface *qi = NULL;
35151                               IOHIDCallbackFunction cb = NULL;
35152                               qi->setEventCallout(NULL, cb, NULL, NULL);
35153   ;
35154   return 0;
35155 }
35156 _ACEOF
35157 if ac_fn_cxx_try_compile "$LINENO"; then :
35158    wxUSE_JOYSTICK=yes
35159
35160 fi
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162             ac_ext=c
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167
35168             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35169 $as_echo "$wxUSE_JOYSTICK" >&6; }
35170         fi
35171
35172         else
35173                                                         for ac_header in linux/joystick.h
35174 do :
35175   ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35176 "
35177 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35178   cat >>confdefs.h <<_ACEOF
35179 #define HAVE_LINUX_JOYSTICK_H 1
35180 _ACEOF
35181  wxUSE_JOYSTICK=yes
35182 fi
35183
35184 done
35185
35186     fi
35187
35188     if test "$wxUSE_JOYSTICK" = "yes"; then
35189         $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35190
35191         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35192     else
35193         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35194 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35195     fi
35196 fi
35197
35198
35199
35200 if test "$wxUSE_FONTENUM" = "yes" ; then
35201   $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35202
35203 fi
35204
35205 if test "$wxUSE_FONTMAP" = "yes" ; then
35206   $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35207
35208 fi
35209
35210 if test "$wxUSE_UNICODE" = "yes" ; then
35211   $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35212
35213
35214   if test "$USE_WIN32" != 1; then
35215       wxUSE_UNICODE_MSLU=no
35216   fi
35217
35218   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35219         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35220 $as_echo_n "checking for main in -lunicows... " >&6; }
35221 if ${ac_cv_lib_unicows_main+:} false; then :
35222   $as_echo_n "(cached) " >&6
35223 else
35224   ac_check_lib_save_LIBS=$LIBS
35225 LIBS="-lunicows  $LIBS"
35226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h.  */
35228
35229
35230 int
35231 main ()
35232 {
35233 return main ();
35234   ;
35235   return 0;
35236 }
35237 _ACEOF
35238 if ac_fn_c_try_link "$LINENO"; then :
35239   ac_cv_lib_unicows_main=yes
35240 else
35241   ac_cv_lib_unicows_main=no
35242 fi
35243 rm -f core conftest.err conftest.$ac_objext \
35244     conftest$ac_exeext conftest.$ac_ext
35245 LIBS=$ac_check_lib_save_LIBS
35246 fi
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35248 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35249 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35250
35251                 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35252
35253
35254 else
35255
35256                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35257                              Applications will only run on Windows NT/2000/XP!" >&5
35258 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35259                              Applications will only run on Windows NT/2000/XP!" >&2;}
35260                 wxUSE_UNICODE_MSLU=no
35261
35262 fi
35263
35264     fi
35265 fi
35266
35267 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35268     $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35269
35270
35271     if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35272         $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35273
35274     fi
35275 fi
35276
35277
35278 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35279     $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35280
35281     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35282 fi
35283
35284 if test "$wxUSE_MDI" = "yes"; then
35285     $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35286
35287
35288     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35289         $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35290
35291         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35292     fi
35293 fi
35294
35295 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35296     $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35297
35298     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35299 fi
35300
35301 if test "$wxUSE_HELP" = "yes"; then
35302     $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35303
35304     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35305
35306     if test "$wxUSE_MSW" = 1; then
35307       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35308         $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35309
35310       fi
35311     fi
35312
35313     if test "$wxUSE_WXHTML_HELP" = "yes"; then
35314       if test "$wxUSE_HTML" = "yes"; then
35315         $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35316
35317       else
35318         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35319 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35320         wxUSE_WXHTML_HELP=no
35321       fi
35322     fi
35323 fi
35324
35325 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35326     $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35327
35328     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35329 fi
35330
35331 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35332   $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35333
35334 fi
35335
35336 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35337
35338
35339 if test "$wxUSE_SVG" = "yes"; then
35340     $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35341
35342 fi
35343
35344
35345 if test "$wxUSE_METAFILE" = "yes"; then
35346     if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35347         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35348 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35349         wxUSE_METAFILE=no
35350     fi
35351 elif test "$wxUSE_METAFILE" = "auto"; then
35352     if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35353         wxUSE_METAFILE=yes
35354     fi
35355 fi
35356
35357 if test "$wxUSE_METAFILE" = "yes"; then
35358     $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35359
35360     if test "$wxUSE_MSW" = 1; then
35361                 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35362
35363     fi
35364 fi
35365
35366
35367 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
35368                           -o "$wxUSE_CLIPBOARD"     = "yes" \
35369                           -o "$wxUSE_OLE"     = "yes" \
35370                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35371     ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35372 "
35373 if test "x$ac_cv_header_ole2_h" = xyes; then :
35374
35375 fi
35376
35377
35378
35379     if test "$ac_cv_header_ole2_h" = "yes" ; then
35380         if test "$GCC" = yes ; then
35381             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35382 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35383             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h.  */
35385 #include <windows.h>
35386                             #include <ole2.h>
35387 int
35388 main ()
35389 {
35390
35391   ;
35392   return 0;
35393 }
35394 _ACEOF
35395 if ac_fn_c_try_compile "$LINENO"; then :
35396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35397 $as_echo "no" >&6; }
35398 else
35399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35400 $as_echo "yes" >&6; }
35401                             WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35402 fi
35403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35404             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35405             if test "$wxUSE_OLE" = "yes" ; then
35406                 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35407
35408                 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35409
35410                 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35411
35412                 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35413             fi
35414         fi
35415
35416                 if test "$wxUSE_DATAOBJ" = "yes" ; then
35417             $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35418
35419         fi
35420     else
35421         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35422 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35423
35424         wxUSE_CLIPBOARD=no
35425         wxUSE_DRAG_AND_DROP=no
35426         wxUSE_DATAOBJ=no
35427         wxUSE_OLE=no
35428     fi
35429 fi
35430
35431 if test "$wxUSE_IPC" = "yes"; then
35432     if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35433         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35434 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35435         wxUSE_IPC=no
35436     fi
35437
35438     if test "$wxUSE_IPC" = "yes"; then
35439         $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35440
35441         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35442     fi
35443 fi
35444
35445 if test "$wxUSE_DATAOBJ" = "yes"; then
35446     $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35447
35448 else
35449     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35450 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35451     wxUSE_CLIPBOARD=no
35452     wxUSE_DRAG_AND_DROP=no
35453 fi
35454
35455 if test "$wxUSE_CLIPBOARD" = "yes"; then
35456     if test "$wxUSE_DFB" = 1; then
35457         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35458 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35459         wxUSE_CLIPBOARD=no
35460     fi
35461
35462     if test "$wxUSE_CLIPBOARD" = "yes"; then
35463         $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35464
35465     fi
35466 fi
35467
35468 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35469     if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35470         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35471 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35472         wxUSE_DRAG_AND_DROP=no
35473     fi
35474
35475     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35476         $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35477
35478     fi
35479
35480 fi
35481
35482 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35483     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35484 fi
35485
35486 if test "$wxUSE_CLIPBOARD" = "yes"; then
35487     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35488 fi
35489
35490 if test "$wxUSE_SPLINES" = "yes" ; then
35491   $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35492
35493 fi
35494
35495 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35496   $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35497
35498 fi
35499
35500 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35501     $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35502
35503     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35504 fi
35505
35506 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35507     $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35508
35509 fi
35510
35511
35512 USES_CONTROLS=0
35513 if test "$wxUSE_CONTROLS" = "yes"; then
35514   USES_CONTROLS=1
35515 fi
35516
35517 if test "$wxUSE_MARKUP" = "yes"; then
35518   $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35519
35520 fi
35521
35522 if test "$wxUSE_ACCEL" = "yes"; then
35523   $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35524
35525   USES_CONTROLS=1
35526 fi
35527
35528 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35529   $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35530
35531   USES_CONTROLS=1
35532   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35533 fi
35534
35535 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35536   $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35537
35538 fi
35539
35540 if test "$wxUSE_BUTTON" = "yes"; then
35541   $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35542
35543   USES_CONTROLS=1
35544 fi
35545
35546 if test "$wxUSE_BMPBUTTON" = "yes"; then
35547   $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35548
35549   USES_CONTROLS=1
35550 fi
35551
35552 if test "$wxUSE_CALCTRL" = "yes"; then
35553   $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35554
35555   USES_CONTROLS=1
35556   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35557 fi
35558
35559 if test "$wxUSE_CARET" = "yes"; then
35560   $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35561
35562   USES_CONTROLS=1
35563   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35564 fi
35565
35566 if test "$wxUSE_COLLPANE" = "yes"; then
35567     $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35568
35569     USES_CONTROLS=1
35570     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35571 fi
35572
35573 if test "$wxUSE_COMBOBOX" = "yes"; then
35574   $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35575
35576   USES_CONTROLS=1
35577 fi
35578
35579 if test "$wxUSE_COMBOCTRL" = "yes"; then
35580   $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35581
35582   USES_CONTROLS=1
35583 fi
35584
35585 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35586   $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35587
35588   USES_CONTROLS=1
35589 fi
35590
35591 if test "$wxUSE_CHOICE" = "yes"; then
35592   $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35593
35594   USES_CONTROLS=1
35595 fi
35596
35597 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35598     $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35599
35600     USES_CONTROLS=1
35601 fi
35602
35603 if test "$wxUSE_CHECKBOX" = "yes"; then
35604   $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35605
35606   USES_CONTROLS=1
35607 fi
35608
35609 if test "$wxUSE_CHECKLST" = "yes"; then
35610   $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35611
35612   USES_CONTROLS=1
35613 fi
35614
35615 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35616   $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35617
35618   USES_CONTROLS=1
35619 fi
35620
35621 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35622   $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35623
35624   USES_CONTROLS=1
35625 fi
35626
35627 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35628   $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35629
35630   USES_CONTROLS=1
35631 fi
35632
35633 if test "$wxUSE_FILECTRL" = "yes"; then
35634   $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35635
35636   USES_CONTROLS=1
35637 fi
35638
35639 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35640   $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35641
35642   USES_CONTROLS=1
35643 fi
35644
35645 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35646   $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35647
35648   USES_CONTROLS=1
35649 fi
35650
35651 if test "$wxUSE_DISPLAY" = "yes"; then
35652     if test "$wxUSE_DFB" = 1; then
35653         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35654 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35655         wxUSE_DISPLAY=no
35656     else
35657         $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35658
35659         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35660     fi
35661 fi
35662
35663 if test "$wxUSE_DETECT_SM" = "yes"; then
35664     $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35665
35666 fi
35667
35668 if test "$wxUSE_GAUGE" = "yes"; then
35669   $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35670
35671   USES_CONTROLS=1
35672 fi
35673
35674 if test "$wxUSE_GRID" = "yes"; then
35675   $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35676
35677   USES_CONTROLS=1
35678   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35679 fi
35680
35681 if test "$wxUSE_HEADERCTRL" = "yes"; then
35682   $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35683
35684   USES_CONTROLS=1
35685 fi
35686
35687 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35688   $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35689
35690   USES_CONTROLS=1
35691 fi
35692
35693 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35694   $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35695
35696   USES_CONTROLS=1
35697 fi
35698
35699 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35700   $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35701
35702   USES_CONTROLS=1
35703   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35704 fi
35705
35706 if test "$wxUSE_IMAGLIST" = "yes"; then
35707     $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35708
35709 fi
35710
35711 if test "$wxUSE_INFOBAR" = "yes"; then
35712     $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35713
35714 fi
35715
35716 if test "$wxUSE_LISTBOOK" = "yes"; then
35717     $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35718
35719     USES_CONTROLS=1
35720 fi
35721
35722 if test "$wxUSE_LISTBOX" = "yes"; then
35723     $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35724
35725     USES_CONTROLS=1
35726 fi
35727
35728 if test "$wxUSE_LISTCTRL" = "yes"; then
35729     if test "$wxUSE_IMAGLIST" = "yes"; then
35730         $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35731
35732         USES_CONTROLS=1
35733         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35734     else
35735         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35736 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35737     fi
35738 fi
35739
35740 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35741     $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35742
35743     USES_CONTROLS=1
35744 fi
35745
35746 if test "$wxUSE_NOTEBOOK" = "yes"; then
35747     $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35748
35749     USES_CONTROLS=1
35750     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35751 fi
35752
35753 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35754     $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35755
35756 fi
35757
35758 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35759   $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35760
35761   USES_CONTROLS=1
35762   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35763 fi
35764
35765 if test "$wxUSE_RADIOBOX" = "yes"; then
35766     $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35767
35768     USES_CONTROLS=1
35769 fi
35770
35771 if test "$wxUSE_RADIOBTN" = "yes"; then
35772     $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35773
35774     USES_CONTROLS=1
35775 fi
35776
35777 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35778     $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35779
35780 fi
35781
35782 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35783     $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35784
35785 fi
35786
35787 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35788     $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35789
35790 fi
35791
35792 if test "$wxUSE_SASH" = "yes"; then
35793     $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35794
35795     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35796 fi
35797
35798 if test "$wxUSE_SCROLLBAR" = "yes"; then
35799     $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35800
35801     USES_CONTROLS=1
35802     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35803 fi
35804
35805 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35806     $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35807
35808     USES_CONTROLS=1
35809 fi
35810
35811 if test "$wxUSE_SLIDER" = "yes"; then
35812     $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35813
35814     USES_CONTROLS=1
35815 fi
35816
35817 if test "$wxUSE_SPINBTN" = "yes"; then
35818     $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35819
35820     USES_CONTROLS=1
35821 fi
35822
35823 if test "$wxUSE_SPINCTRL" = "yes"; then
35824     $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35825
35826     USES_CONTROLS=1
35827 fi
35828
35829 if test "$wxUSE_SPLITTER" = "yes"; then
35830     $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35831
35832     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35833 fi
35834
35835 if test "$wxUSE_STATBMP" = "yes"; then
35836     $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35837
35838     USES_CONTROLS=1
35839 fi
35840
35841 if test "$wxUSE_STATBOX" = "yes"; then
35842     $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35843
35844     USES_CONTROLS=1
35845 fi
35846
35847 if test "$wxUSE_STATTEXT" = "yes"; then
35848     $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35849
35850     USES_CONTROLS=1
35851 fi
35852
35853 if test "$wxUSE_STATLINE" = "yes"; then
35854     $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35855
35856     USES_CONTROLS=1
35857 fi
35858
35859 if test "$wxUSE_STATUSBAR" = "yes"; then
35860         $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35861
35862     $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35863
35864     USES_CONTROLS=1
35865
35866     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35867 fi
35868
35869 if test "$wxUSE_TEXTCTRL" = "yes"; then
35870     $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35871
35872     USES_CONTROLS=1
35873     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35874
35875             $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35876
35877     $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35878
35879 fi
35880
35881 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35882   $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35883
35884   USES_CONTROLS=1
35885 fi
35886
35887 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35888     if test "$wxUSE_OLD_COCOA" = 1 ; then
35889         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35890 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35891         wxUSE_TOGGLEBTN=no
35892     fi
35893
35894     if test "$wxUSE_TOGGLEBTN" = "yes"; then
35895         $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35896
35897         USES_CONTROLS=1
35898     fi
35899 fi
35900
35901 if test "$wxUSE_TOOLBAR" = "yes"; then
35902     $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35903
35904     USES_CONTROLS=1
35905
35906     if test "$wxUSE_UNIVERSAL" = "yes"; then
35907         wxUSE_TOOLBAR_NATIVE="no"
35908     else
35909         wxUSE_TOOLBAR_NATIVE="yes"
35910         $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35911
35912     fi
35913
35914     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35915 fi
35916
35917 if test "$wxUSE_TOOLTIPS" = "yes"; then
35918     if test "$wxUSE_MOTIF" = 1; then
35919         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35920 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35921     else
35922         if test "$wxUSE_UNIVERSAL" = "yes"; then
35923             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35924 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35925         else
35926             $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35927
35928         fi
35929     fi
35930 fi
35931
35932 if test "$wxUSE_TREEBOOK" = "yes"; then
35933     $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35934
35935     USES_CONTROLS=1
35936 fi
35937
35938 if test "$wxUSE_TOOLBOOK" = "yes"; then
35939     $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35940
35941     USES_CONTROLS=1
35942 fi
35943
35944 if test "$wxUSE_TREECTRL" = "yes"; then
35945     if test "$wxUSE_IMAGLIST" = "yes"; then
35946         $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35947
35948         USES_CONTROLS=1
35949         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35950     else
35951         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35952 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35953     fi
35954 fi
35955
35956 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35957     $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35958
35959     USES_CONTROLS=1
35960     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35961 fi
35962
35963 if test "$wxUSE_POPUPWIN" = "yes"; then
35964     if test "$wxUSE_OLD_COCOA" = 1 ; then
35965         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35966 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35967     else
35968         if test "$wxUSE_PM" = 1; then
35969             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35970 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35971         else
35972             $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35973
35974             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35975
35976             USES_CONTROLS=1
35977         fi
35978     fi
35979 fi
35980
35981 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35982     if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35983         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35984 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35985     else
35986         $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35987
35988         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35989     fi
35990 fi
35991
35992 if test "$wxUSE_TIPWINDOW" = "yes"; then
35993     if test "$wxUSE_PM" = 1; then
35994         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35995 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35996     else
35997         $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35998
35999     fi
36000 fi
36001
36002 if test "$USES_CONTROLS" = 1; then
36003     $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36004
36005 fi
36006
36007
36008 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36009     $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36010
36011     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36012 fi
36013
36014 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36015     $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36016
36017 fi
36018
36019 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36020             if test "$wxUSE_GTK" != 1; then
36021                 if test "$wxUSE_LIBPNG" != no -a \
36022                 "$wxUSE_IMAGE" = yes -a \
36023                 "$wxUSE_STREAMS" = yes; then
36024             wxUSE_ARTPROVIDER_TANGO="yes"
36025         fi
36026     fi
36027 fi
36028
36029 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36030     $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36031
36032 fi
36033
36034 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36035     $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36036
36037     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36038 fi
36039
36040 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36041     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36042         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36043 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36044     else
36045         $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36046
36047         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36048     fi
36049 fi
36050
36051 USE_HTML=0
36052 if test "$wxUSE_HTML" = "yes"; then
36053     $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36054
36055     USE_HTML=1
36056     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36057 fi
36058 if test "$wxUSE_WEBKIT" = "yes"; then
36059     if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36060         old_CPPFLAGS="$CPPFLAGS"
36061         CPPFLAGS="-x objective-c++ $CPPFLAGS"
36062         ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36063                            #include <Carbon/Carbon.h>
36064                            #include <WebKit/WebKit.h>
36065
36066 "
36067 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36068
36069                            $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36070
36071                            WEBKIT_LINK="-framework WebKit"
36072
36073 else
36074
36075                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36076 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36077                            wxUSE_WEBKIT=no
36078
36079 fi
36080
36081
36082         CPPFLAGS="$old_CPPFLAGS"
36083     elif test "$wxUSE_OLD_COCOA" = 1; then
36084         $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36085
36086     else
36087         wxUSE_WEBKIT=no
36088     fi
36089     if test "$wxUSE_WEBKIT" = "yes"; then
36090         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36091     fi
36092 fi
36093
36094 USE_XRC=0
36095 if test "$wxUSE_XRC" = "yes"; then
36096     if test "$wxUSE_XML" != "yes"; then
36097         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36098 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36099         wxUSE_XRC=no
36100     else
36101         $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36102
36103         USE_XRC=1
36104         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36105     fi
36106 fi
36107
36108 USE_AUI=0
36109 if test "$wxUSE_AUI" = "yes"; then
36110    $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36111
36112    USE_AUI=1
36113    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36114 fi
36115
36116 USE_PROPGRID=0
36117 if test "$wxUSE_PROPGRID" = "yes"; then
36118    $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36119
36120    USE_PROPGRID=1
36121    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36122 fi
36123
36124 USE_RIBBON=0
36125 if test "$wxUSE_RIBBON" = "yes"; then
36126    $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36127
36128    USE_RIBBON=1
36129    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36130 fi
36131
36132 USE_STC=0
36133 if test "$wxUSE_STC" = "yes"; then
36134    $as_echo "#define wxUSE_STC 1" >>confdefs.h
36135
36136    USE_STC=1
36137    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36138
36139       # Extract the first word of "python", so it can be a program name with args.
36140 set dummy python; ac_word=$2
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36142 $as_echo_n "checking for $ac_word... " >&6; }
36143 if ${ac_cv_path_PYTHON+:} false; then :
36144   $as_echo_n "(cached) " >&6
36145 else
36146   case $PYTHON in
36147   [\\/]* | ?:[\\/]*)
36148   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36149   ;;
36150   *)
36151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36152 for as_dir in $PATH
36153 do
36154   IFS=$as_save_IFS
36155   test -z "$as_dir" && as_dir=.
36156     for ac_exec_ext in '' $ac_executable_extensions; do
36157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36158     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36160     break 2
36161   fi
36162 done
36163   done
36164 IFS=$as_save_IFS
36165
36166   ;;
36167 esac
36168 fi
36169 PYTHON=$ac_cv_path_PYTHON
36170 if test -n "$PYTHON"; then
36171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36172 $as_echo "$PYTHON" >&6; }
36173 else
36174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36175 $as_echo "no" >&6; }
36176 fi
36177
36178
36179    if test "x$PYTHON" = "x"; then
36180      COND_PYTHON="#"
36181    fi
36182
36183 fi
36184
36185 if test "$wxUSE_MENUS" = "yes"; then
36186     $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36187
36188     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36189 fi
36190
36191 if test "$wxUSE_MIMETYPE" = "yes"; then
36192     $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36193
36194 fi
36195
36196 if test "$wxUSE_MINIFRAME" = "yes"; then
36197     $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36198
36199 fi
36200
36201 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36202     $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36203
36204 fi
36205
36206 if test "$wxUSE_TASKBARICON" = "yes"; then
36207     $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36208
36209                 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36210
36211     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36212 fi
36213
36214
36215 if test "$wxUSE_VALIDATORS" = "yes"; then
36216     $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36217
36218     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36219 fi
36220
36221 if test "$wxUSE_PALETTE" = "yes" ; then
36222     if test "$wxUSE_DFB" = 1; then
36223         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36224 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36225         wxUSE_PALETTE=no
36226     else
36227         $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36228
36229     fi
36230 fi
36231
36232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36233     LIBS=" -lunicows $LIBS"
36234 fi
36235
36236 USE_RICHTEXT=0
36237 if test "$wxUSE_RICHTEXT" = "yes"; then
36238     $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36239
36240     USE_RICHTEXT=1
36241     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36242 fi
36243
36244 if test "$wxUSE_WEBVIEW" = "yes"; then
36245     USE_WEBVIEW_WEBKIT=0
36246     if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36247         if test "$wxUSE_GTK" = 1; then
36248             webkitgtk=webkit-1.0
36249             if test "$WXGTK3" = 1; then
36250                 webkitgtk=webkitgtk-3.0
36251             fi
36252
36253 pkg_failed=no
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36255 $as_echo_n "checking for WEBKIT... " >&6; }
36256
36257 if test -n "$PKG_CONFIG"; then
36258     if test -n "$WEBKIT_CFLAGS"; then
36259         pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36260     else
36261         if test -n "$PKG_CONFIG" && \
36262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36263   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36264   ac_status=$?
36265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36266   test $ac_status = 0; }; then
36267   pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36268 else
36269   pkg_failed=yes
36270 fi
36271     fi
36272 else
36273         pkg_failed=untried
36274 fi
36275 if test -n "$PKG_CONFIG"; then
36276     if test -n "$WEBKIT_LIBS"; then
36277         pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36278     else
36279         if test -n "$PKG_CONFIG" && \
36280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36281   ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36282   ac_status=$?
36283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36284   test $ac_status = 0; }; then
36285   pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36286 else
36287   pkg_failed=yes
36288 fi
36289     fi
36290 else
36291         pkg_failed=untried
36292 fi
36293
36294
36295
36296 if test $pkg_failed = yes; then
36297
36298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36299         _pkg_short_errors_supported=yes
36300 else
36301         _pkg_short_errors_supported=no
36302 fi
36303         if test $_pkg_short_errors_supported = yes; then
36304                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36305         else
36306                 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36307         fi
36308         # Put the nasty error message in config.log where it belongs
36309         echo "$WEBKIT_PKG_ERRORS" >&5
36310
36311
36312                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36313 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36314
36315 elif test $pkg_failed = untried; then
36316
36317                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36318 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36319
36320 else
36321         WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36322         WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36323         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36324 $as_echo "yes" >&6; }
36325
36326                                 USE_WEBVIEW_WEBKIT=1
36327                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36328                                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36329
36330 fi
36331         elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36332                                     old_CPPFLAGS="$CPPFLAGS"
36333             CPPFLAGS="-x objective-c++ $CPPFLAGS"
36334             ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36335                                 #include <Carbon/Carbon.h>
36336                                 #include <WebKit/WebKit.h>
36337
36338 "
36339 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36340
36341                                 USE_WEBVIEW_WEBKIT=1
36342                                 WEBKIT_LINK="-framework WebKit"
36343
36344 else
36345
36346                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36347 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36348
36349 fi
36350
36351
36352             CPPFLAGS="$old_CPPFLAGS"
36353         fi
36354     fi
36355
36356     wxUSE_WEBVIEW="no"
36357     if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36358         if test "$USE_WEBVIEW_WEBKIT" = 1; then
36359             wxUSE_WEBVIEW="yes"
36360             $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36361
36362         else
36363             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36364 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36365         fi
36366     elif test "$wxUSE_MSW" = 1; then
36367         if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36368                                     wxUSE_WEBVIEW="yes"
36369             $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36370
36371         fi
36372     fi
36373 fi
36374
36375 if test "$wxUSE_WEBVIEW" = "yes"; then
36376     USE_WEBVIEW=1
36377     $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36378
36379     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36380 else
36381     USE_WEBVIEW=0
36382 fi
36383
36384
36385 if test "$wxUSE_IMAGE" = "yes" ; then
36386     $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36387
36388
36389     if test "$wxUSE_GIF" = "yes" ; then
36390       $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36391
36392     fi
36393
36394     if test "$wxUSE_PCX" = "yes" ; then
36395       $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36396
36397     fi
36398
36399     if test "$wxUSE_TGA" = "yes" ; then
36400       $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36401
36402     fi
36403
36404     if test "$wxUSE_IFF" = "yes" ; then
36405       $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36406
36407     fi
36408
36409     if test "$wxUSE_PNM" = "yes" ; then
36410       $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36411
36412     fi
36413
36414     if test "$wxUSE_XPM" = "yes" ; then
36415       $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36416
36417     fi
36418
36419     if test "$wxUSE_ICO_CUR" = "yes" ; then
36420       $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36421
36422     fi
36423 fi
36424
36425
36426 if test "$wxUSE_ABOUTDLG" = "yes"; then
36427     $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36428
36429 fi
36430
36431 if test "$wxUSE_CHOICEDLG" = "yes"; then
36432     $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36433
36434 fi
36435
36436 if test "$wxUSE_COLOURDLG" = "yes"; then
36437     $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36438
36439 fi
36440
36441 if test "$wxUSE_FILEDLG" = "yes"; then
36442     $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36443
36444 fi
36445
36446 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36447     $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36448
36449 fi
36450
36451 if test "$wxUSE_FONTDLG" = "yes"; then
36452     $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36453
36454 fi
36455
36456 if test "$wxUSE_DIRDLG" = "yes"; then
36457     if test "$wxUSE_TREECTRL" != "yes"; then
36458         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36459 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36460     else
36461         $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36462
36463     fi
36464 fi
36465
36466 if test "$wxUSE_MSGDLG" = "yes"; then
36467     $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36468
36469 fi
36470
36471 if test "$wxUSE_NUMBERDLG" = "yes"; then
36472     $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36473
36474 fi
36475
36476 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36477     $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36478
36479 fi
36480
36481 if test "$wxUSE_SPLASH" = "yes"; then
36482     $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36483
36484     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36485 fi
36486
36487 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36488     $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36489
36490 fi
36491
36492 if test "$wxUSE_TEXTDLG" = "yes"; then
36493     $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36494
36495 fi
36496
36497 if test "$wxUSE_WIZARDDLG" = "yes"; then
36498     $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36499
36500     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36501 fi
36502
36503
36504 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36505     if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36506         $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36507
36508     fi
36509 fi
36510
36511
36512 if test "$wxUSE_MSW" = 1 ; then
36513
36514     if test "$wxUSE_DC_CACHEING" = "yes"; then
36515         $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36516
36517     fi
36518
36519     if test "$wxUSE_DIB" = "yes"; then
36520         $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36521
36522     fi
36523
36524     if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36525         $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36526
36527     fi
36528
36529     if test "$wxUSE_UXTHEME" = "yes"; then
36530         $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36531
36532     fi
36533
36534 fi
36535
36536 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36537     $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36538
36539 fi
36540
36541 if test "$USE_WIN32" = 1 ; then
36542     if test "$wxUSE_INICONF" = "yes"; then
36543         $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36544
36545     fi
36546
36547     if test "$wxUSE_REGKEY" = "yes"; then
36548         $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36549
36550     fi
36551 fi
36552
36553
36554 if test "$wxUSE_MAC" = 1; then
36555     wxUSE_GRAPHICS_CONTEXT="yes"
36556 fi
36557
36558 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36559     wx_has_graphics=0
36560     if test "$wxUSE_MSW" = 1; then
36561         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36562 $as_echo_n "checking if GDI+ is available... " >&6; }
36563 if ${wx_cv_lib_gdiplus+:} false; then :
36564   $as_echo_n "(cached) " >&6
36565 else
36566
36567                                                 ac_ext=cpp
36568 ac_cpp='$CXXCPP $CPPFLAGS'
36569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36572
36573                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36574 /* end confdefs.h.  */
36575 #include <windows.h>
36576                      #include <gdiplus.h>
36577 int
36578 main ()
36579 {
36580
36581                         using namespace Gdiplus;
36582
36583   ;
36584   return 0;
36585 }
36586 _ACEOF
36587 if ac_fn_cxx_try_compile "$LINENO"; then :
36588   wx_cv_lib_gdiplus=yes
36589 else
36590   wx_cv_lib_gdiplus=no
36591
36592 fi
36593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594                 ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36599
36600
36601
36602 fi
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36604 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36605         if test "$wx_cv_lib_gdiplus" = "yes"; then
36606             wx_has_graphics=1
36607         fi
36608     elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36609
36610 pkg_failed=no
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36612 $as_echo_n "checking for CAIRO... " >&6; }
36613
36614 if test -n "$PKG_CONFIG"; then
36615     if test -n "$CAIRO_CFLAGS"; then
36616         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36617     else
36618         if test -n "$PKG_CONFIG" && \
36619     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36620   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36621   ac_status=$?
36622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36623   test $ac_status = 0; }; then
36624   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36625 else
36626   pkg_failed=yes
36627 fi
36628     fi
36629 else
36630         pkg_failed=untried
36631 fi
36632 if test -n "$PKG_CONFIG"; then
36633     if test -n "$CAIRO_LIBS"; then
36634         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36635     else
36636         if test -n "$PKG_CONFIG" && \
36637     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36638   ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36639   ac_status=$?
36640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36641   test $ac_status = 0; }; then
36642   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36643 else
36644   pkg_failed=yes
36645 fi
36646     fi
36647 else
36648         pkg_failed=untried
36649 fi
36650
36651
36652
36653 if test $pkg_failed = yes; then
36654
36655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36656         _pkg_short_errors_supported=yes
36657 else
36658         _pkg_short_errors_supported=no
36659 fi
36660         if test $_pkg_short_errors_supported = yes; then
36661                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36662         else
36663                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36664         fi
36665         # Put the nasty error message in config.log where it belongs
36666         echo "$CAIRO_PKG_ERRORS" >&5
36667
36668         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36669 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36670
36671 elif test $pkg_failed = untried; then
36672         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36673 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36674
36675 else
36676         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36677         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36679 $as_echo "yes" >&6; }
36680         wx_has_graphics=1
36681 fi
36682         if test "$wx_has_graphics" = 1; then
36683                                                 save_LIBS="$LIBS"
36684             LIBS="$LIBS $CAIRO_LIBS"
36685             for ac_func in cairo_push_group
36686 do :
36687   ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36688 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
36689   cat >>confdefs.h <<_ACEOF
36690 #define HAVE_CAIRO_PUSH_GROUP 1
36691 _ACEOF
36692
36693 fi
36694 done
36695
36696             LIBS="$save_LIBS"
36697             if test "$ac_cv_func_cairo_push_group" = "no"; then
36698                 wx_has_graphics=0
36699                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36700 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36701             else
36702                 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36703
36704
36705                                                 if test "$wxUSE_GTK" != 1; then
36706                     CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36707                     GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36708                 fi
36709             fi
36710         fi
36711     else
36712                 wx_has_graphics=1
36713     fi
36714
36715     if test "$wx_has_graphics" = 1; then
36716         $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36717
36718     else
36719         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36720 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36721     fi
36722 fi
36723
36724
36725 USE_MEDIA=0
36726
36727 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36728     USE_MEDIA=1
36729
36730                 if test "$wxUSE_GTK" = 1; then
36731         wxUSE_GSTREAMER="no"
36732
36733                                                                 GST_VERSION_MAJOR=0
36734         GST_VERSION_MINOR=10
36735         GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36736
36737         if test "$wxUSE_GSTREAMER8" = "no"; then
36738
36739 pkg_failed=no
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36741 $as_echo_n "checking for GST... " >&6; }
36742
36743 if test -n "$PKG_CONFIG"; then
36744     if test -n "$GST_CFLAGS"; then
36745         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36746     else
36747         if test -n "$PKG_CONFIG" && \
36748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36749   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36750   ac_status=$?
36751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36752   test $ac_status = 0; }; then
36753   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36754 else
36755   pkg_failed=yes
36756 fi
36757     fi
36758 else
36759         pkg_failed=untried
36760 fi
36761 if test -n "$PKG_CONFIG"; then
36762     if test -n "$GST_LIBS"; then
36763         pkg_cv_GST_LIBS="$GST_LIBS"
36764     else
36765         if test -n "$PKG_CONFIG" && \
36766     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36767   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36768   ac_status=$?
36769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36770   test $ac_status = 0; }; then
36771   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36772 else
36773   pkg_failed=yes
36774 fi
36775     fi
36776 else
36777         pkg_failed=untried
36778 fi
36779
36780
36781
36782 if test $pkg_failed = yes; then
36783
36784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36785         _pkg_short_errors_supported=yes
36786 else
36787         _pkg_short_errors_supported=no
36788 fi
36789         if test $_pkg_short_errors_supported = yes; then
36790                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36791         else
36792                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36793         fi
36794         # Put the nasty error message in config.log where it belongs
36795         echo "$GST_PKG_ERRORS" >&5
36796
36797
36798                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36799 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36800                     GST_VERSION_MINOR=8
36801
36802
36803 elif test $pkg_failed = untried; then
36804
36805                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36806 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36807                     GST_VERSION_MINOR=8
36808
36809
36810 else
36811         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36812         GST_LIBS=$pkg_cv_GST_LIBS
36813         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36814 $as_echo "yes" >&6; }
36815
36816                     wxUSE_GSTREAMER="yes"
36817                     GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36818
36819 fi
36820         else
36821                         GST_VERSION_MINOR=8
36822         fi
36823
36824         if test $GST_VERSION_MINOR = "8"; then
36825             GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36826
36827 pkg_failed=no
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36829 $as_echo_n "checking for GST... " >&6; }
36830
36831 if test -n "$PKG_CONFIG"; then
36832     if test -n "$GST_CFLAGS"; then
36833         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36834     else
36835         if test -n "$PKG_CONFIG" && \
36836     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36837   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36838   ac_status=$?
36839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36840   test $ac_status = 0; }; then
36841   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36842 else
36843   pkg_failed=yes
36844 fi
36845     fi
36846 else
36847         pkg_failed=untried
36848 fi
36849 if test -n "$PKG_CONFIG"; then
36850     if test -n "$GST_LIBS"; then
36851         pkg_cv_GST_LIBS="$GST_LIBS"
36852     else
36853         if test -n "$PKG_CONFIG" && \
36854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36855   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36856   ac_status=$?
36857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36858   test $ac_status = 0; }; then
36859   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36860 else
36861   pkg_failed=yes
36862 fi
36863     fi
36864 else
36865         pkg_failed=untried
36866 fi
36867
36868
36869
36870 if test $pkg_failed = yes; then
36871
36872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36873         _pkg_short_errors_supported=yes
36874 else
36875         _pkg_short_errors_supported=no
36876 fi
36877         if test $_pkg_short_errors_supported = yes; then
36878                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36879         else
36880                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36881         fi
36882         # Put the nasty error message in config.log where it belongs
36883         echo "$GST_PKG_ERRORS" >&5
36884
36885
36886                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36887 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36888
36889 elif test $pkg_failed = untried; then
36890
36891                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36892 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36893
36894 else
36895         GST_CFLAGS=$pkg_cv_GST_CFLAGS
36896         GST_LIBS=$pkg_cv_GST_LIBS
36897         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36898 $as_echo "yes" >&6; }
36899         wxUSE_GSTREAMER="yes"
36900 fi
36901         fi
36902
36903
36904         if test "$wxUSE_GSTREAMER" = "yes"; then
36905             CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36906             EXTRALIBS_MEDIA="$GST_LIBS"
36907
36908             $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36909
36910         else
36911             USE_MEDIA=0
36912         fi
36913     fi
36914
36915     if test $USE_MEDIA = 1; then
36916         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36917         $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36918
36919     else
36920         if test "$wxUSE_MEDIACTRL" = "yes"; then
36921             as_fn_error $? "GStreamer not available" "$LINENO" 5
36922         else
36923                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36924 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36925         fi
36926     fi
36927 fi
36928
36929
36930 if test "$cross_compiling" != "no"; then
36931         OSINFO="\"$host\""
36932 else
36933         OSINFO=`uname -s -r -m`
36934     OSINFO="\"$OSINFO\""
36935 fi
36936
36937 cat >>confdefs.h <<_ACEOF
36938 #define WXWIN_OS_DESCRIPTION $OSINFO
36939 _ACEOF
36940
36941
36942
36943 if test "x$prefix" != "xNONE"; then
36944     wxPREFIX=$prefix
36945 else
36946     wxPREFIX=$ac_default_prefix
36947 fi
36948
36949 cat >>confdefs.h <<_ACEOF
36950 #define wxINSTALL_PREFIX "$wxPREFIX"
36951 _ACEOF
36952
36953
36954
36955
36956 STD_BASE_LIBS="base"
36957 STD_GUI_LIBS=""
36958 BUILT_WX_LIBS="base"
36959 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36960
36961 if test "$wxUSE_SOCKETS" = "yes" ; then
36962     STD_BASE_LIBS="net $STD_BASE_LIBS"
36963     BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36964 fi
36965 if test "$wxUSE_XML" = "yes" ; then
36966     STD_BASE_LIBS="xml $STD_BASE_LIBS"
36967     BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36968 fi
36969
36970 if test "$wxUSE_GUI" = "yes"; then
36971     STD_GUI_LIBS="adv core"
36972     BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36973
36974     if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36975         STD_GUI_LIBS="qa $STD_GUI_LIBS"
36976         BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36977     fi
36978     if test "$wxUSE_HTML" = "yes" ; then
36979         STD_GUI_LIBS="html $STD_GUI_LIBS"
36980         BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36981     fi
36982     if test "$wxUSE_MEDIACTRL" = "yes" ; then
36983         BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36984     fi
36985     if test "$wxUSE_OPENGL" = "yes" ; then
36986         BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36987     fi
36988     if test "$wxUSE_AUI" = "yes" ; then
36989         BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36990     fi
36991     if test "$wxUSE_PROPGRID" = "yes" ; then
36992         BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36993     fi
36994     if test "$wxUSE_RIBBON" = "yes" ; then
36995         BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36996     fi
36997     if test "$wxUSE_RICHTEXT" = "yes" ; then
36998         BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
36999     fi
37000     if test "$wxUSE_STC" = "yes" ; then
37001         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37002     fi
37003     if test "$wxUSE_WEBVIEW" = "yes" ; then
37004         STD_GUI_LIBS="webview $STD_GUI_LIBS"
37005         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37006     fi
37007     if test "$wxUSE_XRC" = "yes" ; then
37008         STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37009         BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37010     fi
37011 fi
37012
37013
37014
37015
37016
37017
37018
37019 EXTRA_FRAMEWORKS=
37020 if test "$wxUSE_MAC" = 1 ; then
37021     if test "$USE_DARWIN" = 1; then
37022         if test "$wxUSE_OSX_IPHONE" = 1; then
37023             EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37024         else
37025             EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37026
37027
37028             if test "$cross_compiling" != "no"; then
37029                                                                                                 wx_cv_target_x86_64=no
37030             else
37031                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37032 $as_echo_n "checking if we target only x86_64... " >&6; }
37033 if ${wx_cv_target_x86_64+:} false; then :
37034   $as_echo_n "(cached) " >&6
37035 else
37036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37037 /* end confdefs.h.  */
37038 int main() { return 0; }
37039 _ACEOF
37040 if ac_fn_c_try_link "$LINENO"; then :
37041   if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37042                             wx_cv_target_x86_64=no
37043                         else
37044                             wx_cv_target_x86_64=yes
37045                         fi
37046
37047 fi
37048 rm -f core conftest.err conftest.$ac_objext \
37049     conftest$ac_exeext conftest.$ac_ext
37050
37051 fi
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37053 $as_echo "$wx_cv_target_x86_64" >&6; }
37054             fi
37055
37056             if test "$wx_cv_target_x86_64" != "yes"; then
37057                 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37058             fi
37059         fi
37060     fi
37061 fi
37062 if test "$wxUSE_OLD_COCOA" = 1 ; then
37063     EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37064     if test "$wxUSE_MEDIACTRL" = "yes"; then
37065         EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37066     fi
37067 fi
37068 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37069     EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37070 fi
37071
37072 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37073 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37074
37075 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37076
37077 if test "$wxUSE_GUI" = "yes"; then
37078
37079
37080         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37081                      erase event exec font image minimal render \
37082                      shaped svg taborder vscroll widgets wrapsizer"
37083
37084     if test "$wxUSE_MONOLITHIC" != "yes"; then
37085         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37086     fi
37087     if test "$TOOLKIT" = "MSW"; then
37088         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37089         if test "$wxUSE_UNIVERSAL" != "yes"; then
37090             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37091         fi
37092     fi
37093     if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37094         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37095     fi
37096 else
37097     SAMPLES_SUBDIRS="console"
37098     if test "$wxUSE_SOCKETS" = "yes" ; then
37099         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37100     fi
37101     if test "$wxUSE_IPC" = "yes" ; then
37102         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37103     fi
37104 fi
37105
37106
37107 if test "x$INTELCC" = "xyes" ; then
37108                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37109 elif test "$GCC" = yes ; then
37110     CWARNINGS="-Wall -Wundef"
37111 fi
37112
37113 if test "x$INTELCXX" = "xyes" ; then
37114                                                                 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37115 elif test "$GXX" = yes ; then
37116     CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37118 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37119 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37120   $as_echo_n "(cached) " >&6
37121 else
37122   ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37123
37124  ac_ext=cpp
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129
37130  ac_save_CXXFLAGS="$CXXFLAGS"
37131 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual"     "-pedantic % -Woverloaded-virtual %% no, obsolete"     #
37132 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37133    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37134 /* end confdefs.h.  */
37135
37136 int
37137 main ()
37138 {
37139 return 0;
37140   ;
37141   return 0;
37142 }
37143 _ACEOF
37144 if ac_fn_cxx_try_compile "$LINENO"; then :
37145   ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37146 fi
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37148 done
37149  CXXFLAGS="$ac_save_CXXFLAGS"
37150  ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37155
37156
37157 fi
37158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37159 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37160 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37161      .ok|.ok,*)  ;;
37162    .|.no|.no,*)  ;;
37163    *)
37164    if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37165    then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37166   (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37167   ac_status=$?
37168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37169   test $ac_status = 0; }
37170    else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37171   (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37172   ac_status=$?
37173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37174   test $ac_status = 0; }
37175                       CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37176    fi
37177  ;;
37178 esac
37179
37180
37181                     if test "$wxUSE_MAC" = 1 ; then
37182         CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37183     fi
37184 fi
37185
37186
37187 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37188 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37189
37190
37191 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37192  -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37193  -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37194  $CPPFLAGS `
37195
37196 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37197 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37198 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37199 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37200 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37201
37202 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37203
37204
37205 if test "x$MWCC" = "xyes"; then
37206
37207             CC="$CC -cwd source -I-"
37208     CXX="$CXX -cwd source -I-"
37209 fi
37210
37211
37212 LIBS=`echo $LIBS`
37213 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37214 EXTRALIBS_XML="$EXPAT_LINK"
37215 EXTRALIBS_HTML="$MSPACK_LINK"
37216 EXTRALIBS_MEDIA="$GST_LIBS"
37217 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37218 if test "$wxUSE_GUI" = "yes"; then
37219     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37220 fi
37221 if test "$wxUSE_OPENGL" = "yes"; then
37222     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37223 fi
37224
37225 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37226
37227 WXCONFIG_LIBS="$LIBS"
37228
37229 if test "$wxUSE_REGEX" = "builtin" ; then
37230     wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37231 fi
37232 if test "$wxUSE_EXPAT" = "builtin" ; then
37233     wxconfig_3rdparty="expat $wxconfig_3rdparty"
37234 fi
37235 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37236     wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37237 fi
37238 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37239     wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37240 fi
37241 if test "$wxUSE_LIBPNG" = "builtin" ; then
37242     wxconfig_3rdparty="png $wxconfig_3rdparty"
37243 fi
37244 if test "$wxUSE_ZLIB" = "builtin" ; then
37245     wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37246 fi
37247
37248 for i in $wxconfig_3rdparty ; do
37249     WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37250 done
37251
37252
37253 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37254     WXUNIV=1
37255
37256     case "$wxUNIV_THEMES" in
37257         ''|all)
37258             $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37259
37260             ;;
37261
37262         *)
37263             for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37264                 cat >>confdefs.h <<_ACEOF
37265 #define wxUSE_THEME_$t 1
37266 _ACEOF
37267
37268             done
37269     esac
37270 else
37271     WXUNIV=0
37272 fi
37273
37274
37275
37276
37277
37278
37279
37280
37281 if test $wxUSE_MONOLITHIC = "yes" ; then
37282     MONOLITHIC=1
37283 else
37284     MONOLITHIC=0
37285 fi
37286
37287 if test $wxUSE_PLUGINS = "yes" ; then
37288     USE_PLUGINS=1
37289 else
37290     USE_PLUGINS=0
37291 fi
37292
37293 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37294     USE_QA=1
37295 else
37296     USE_QA=0
37297 fi
37298
37299 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37300     OFFICIAL_BUILD=1
37301 else
37302     OFFICIAL_BUILD=0
37303 fi
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338 case "$TOOLKIT" in
37339     GTK)
37340         TOOLKIT_DESC="GTK+"
37341         if test "$WXGTK2" = 1; then
37342             if test "$WXGTK3" = 1; then
37343                 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37344             else
37345                 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37346             fi
37347             if test "$wxUSE_GTKPRINT" = "yes" ; then
37348                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37349             fi
37350             if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37351                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37352             fi
37353             if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37354                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37355             fi
37356             if test "$wxUSE_LIBHILDON" = "yes"; then
37357                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37358             fi
37359             if test "$wxUSE_LIBHILDON2" = "yes"; then
37360                 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37361             fi
37362
37363             if test "$TOOLKIT_EXTRA" != ""; then
37364                 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37365             fi
37366         fi
37367         ;;
37368
37369     ?*)
37370         TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37371         ;;
37372
37373     *)
37374         TOOLKIT_DESC="base only"
37375         ;;
37376 esac
37377
37378 if test "$wxUSE_WINE" = "yes"; then
37379     BAKEFILE_FORCE_PLATFORM=win32
37380 fi
37381
37382 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37383 then
37384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37385 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37386 if ${wx_cv_gcc_pch_bug+:} false; then :
37387   $as_echo_n "(cached) " >&6
37388 else
37389
37390             echo '#include <stdio.h>
37391                   const wchar_t test_var[] = L"awidetest";' > conftest.h
37392
37393             echo '#include "conftest.h"
37394                   int main()
37395                   {
37396                      printf("%ls", test_var);
37397                      return 0;
37398                   }' > conftest.cpp
37399
37400             wx_cv_gcc_pch_bug="pch not supported"
37401
37402             if $CXX conftest.h >/dev/null 2>&1
37403             then
37404                 wx_cv_gcc_pch_bug=
37405
37406                 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37407                 then
37408                     if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37409                         grep awidetest >/dev/null
37410                     then
37411                         wx_cv_gcc_pch_bug=no
37412                     else
37413                         wx_cv_gcc_pch_bug=yes
37414                     fi
37415                 fi
37416             fi
37417
37418             rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37419
37420 fi
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37422 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37423
37424     if test "$wx_cv_gcc_pch_bug" = yes; then
37425                         bk_use_pch=no
37426     fi
37427 fi
37428
37429 # Find a good install program.  We prefer a C program (faster),
37430 # so one script is as good as another.  But avoid the broken or
37431 # incompatible versions:
37432 # SysV /etc/install, /usr/sbin/install
37433 # SunOS /usr/etc/install
37434 # IRIX /sbin/install
37435 # AIX /bin/install
37436 # AmigaOS /C/install, which installs bootblocks on floppy discs
37437 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37440 # OS/2's system install, which has a completely different semantic
37441 # ./install, which can be erroneously created by make from ./install.sh.
37442 # Reject install programs that cannot install multiple files.
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37444 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37445 if test -z "$INSTALL"; then
37446 if ${ac_cv_path_install+:} false; then :
37447   $as_echo_n "(cached) " >&6
37448 else
37449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37450 for as_dir in $PATH
37451 do
37452   IFS=$as_save_IFS
37453   test -z "$as_dir" && as_dir=.
37454     # Account for people who put trailing slashes in PATH elements.
37455 case $as_dir/ in #((
37456   ./ | .// | /[cC]/* | \
37457   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37458   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37459   /usr/ucb/* ) ;;
37460   *)
37461     # OSF1 and SCO ODT 3.0 have their own names for install.
37462     # Don't use installbsd from OSF since it installs stuff as root
37463     # by default.
37464     for ac_prog in ginstall scoinst install; do
37465       for ac_exec_ext in '' $ac_executable_extensions; do
37466         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37467           if test $ac_prog = install &&
37468             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37469             # AIX install.  It has an incompatible calling convention.
37470             :
37471           elif test $ac_prog = install &&
37472             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37473             # program-specific install script used by HP pwplus--don't use.
37474             :
37475           else
37476             rm -rf conftest.one conftest.two conftest.dir
37477             echo one > conftest.one
37478             echo two > conftest.two
37479             mkdir conftest.dir
37480             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37481               test -s conftest.one && test -s conftest.two &&
37482               test -s conftest.dir/conftest.one &&
37483               test -s conftest.dir/conftest.two
37484             then
37485               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37486               break 3
37487             fi
37488           fi
37489         fi
37490       done
37491     done
37492     ;;
37493 esac
37494
37495   done
37496 IFS=$as_save_IFS
37497
37498 rm -rf conftest.one conftest.two conftest.dir
37499
37500 fi
37501   if test "${ac_cv_path_install+set}" = set; then
37502     INSTALL=$ac_cv_path_install
37503   else
37504     # As a last resort, use the slow shell script.  Don't cache a
37505     # value for INSTALL within a source directory, because that will
37506     # break other packages using the cache if that directory is
37507     # removed, or if the value is a relative name.
37508     INSTALL=$ac_install_sh
37509   fi
37510 fi
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37512 $as_echo "$INSTALL" >&6; }
37513
37514 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37515 # It thinks the first close brace ends the variable substitution.
37516 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37517
37518 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37519
37520 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37521
37522
37523
37524
37525
37526
37527
37528     if test "x$BAKEFILE_HOST" = "x"; then
37529                if test "x${host}" = "x" ; then
37530                        as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37531                fi
37532
37533         BAKEFILE_HOST="${host}"
37534     fi
37535
37536     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37537
37538     if test -n "$ac_tool_prefix"; then
37539   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37540 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37542 $as_echo_n "checking for $ac_word... " >&6; }
37543 if ${ac_cv_prog_RANLIB+:} false; then :
37544   $as_echo_n "(cached) " >&6
37545 else
37546   if test -n "$RANLIB"; then
37547   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37548 else
37549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37550 for as_dir in $PATH
37551 do
37552   IFS=$as_save_IFS
37553   test -z "$as_dir" && as_dir=.
37554     for ac_exec_ext in '' $ac_executable_extensions; do
37555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37556     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37558     break 2
37559   fi
37560 done
37561   done
37562 IFS=$as_save_IFS
37563
37564 fi
37565 fi
37566 RANLIB=$ac_cv_prog_RANLIB
37567 if test -n "$RANLIB"; then
37568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37569 $as_echo "$RANLIB" >&6; }
37570 else
37571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37572 $as_echo "no" >&6; }
37573 fi
37574
37575
37576 fi
37577 if test -z "$ac_cv_prog_RANLIB"; then
37578   ac_ct_RANLIB=$RANLIB
37579   # Extract the first word of "ranlib", so it can be a program name with args.
37580 set dummy ranlib; ac_word=$2
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37582 $as_echo_n "checking for $ac_word... " >&6; }
37583 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37584   $as_echo_n "(cached) " >&6
37585 else
37586   if test -n "$ac_ct_RANLIB"; then
37587   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37588 else
37589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37590 for as_dir in $PATH
37591 do
37592   IFS=$as_save_IFS
37593   test -z "$as_dir" && as_dir=.
37594     for ac_exec_ext in '' $ac_executable_extensions; do
37595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37596     ac_cv_prog_ac_ct_RANLIB="ranlib"
37597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37598     break 2
37599   fi
37600 done
37601   done
37602 IFS=$as_save_IFS
37603
37604 fi
37605 fi
37606 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37607 if test -n "$ac_ct_RANLIB"; then
37608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37609 $as_echo "$ac_ct_RANLIB" >&6; }
37610 else
37611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37612 $as_echo "no" >&6; }
37613 fi
37614
37615   if test "x$ac_ct_RANLIB" = x; then
37616     RANLIB=":"
37617   else
37618     case $cross_compiling:$ac_tool_warned in
37619 yes:)
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37622 ac_tool_warned=yes ;;
37623 esac
37624     RANLIB=$ac_ct_RANLIB
37625   fi
37626 else
37627   RANLIB="$ac_cv_prog_RANLIB"
37628 fi
37629
37630
37631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37632 $as_echo_n "checking whether ln -s works... " >&6; }
37633 LN_S=$as_ln_s
37634 if test "$LN_S" = "ln -s"; then
37635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37636 $as_echo "yes" >&6; }
37637 else
37638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37639 $as_echo "no, using $LN_S" >&6; }
37640 fi
37641
37642
37643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37644 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37645 set x ${MAKE-make}
37646 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37647 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37648   $as_echo_n "(cached) " >&6
37649 else
37650   cat >conftest.make <<\_ACEOF
37651 SHELL = /bin/sh
37652 all:
37653         @echo '@@@%%%=$(MAKE)=@@@%%%'
37654 _ACEOF
37655 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37656 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37657   *@@@%%%=?*=@@@%%%*)
37658     eval ac_cv_prog_make_${ac_make}_set=yes;;
37659   *)
37660     eval ac_cv_prog_make_${ac_make}_set=no;;
37661 esac
37662 rm -f conftest.make
37663 fi
37664 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37666 $as_echo "yes" >&6; }
37667   SET_MAKE=
37668 else
37669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37670 $as_echo "no" >&6; }
37671   SET_MAKE="MAKE=${MAKE-make}"
37672 fi
37673
37674
37675
37676     if test "x$SUNCXX" = "xyes"; then
37677                                 AR=$CXX
37678         AROPTIONS="-xar -o"
37679
37680     elif test "x$SGICC" = "xyes"; then
37681                 AR=$CXX
37682         AROPTIONS="-ar -o"
37683
37684     else
37685         if test -n "$ac_tool_prefix"; then
37686   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37687 set dummy ${ac_tool_prefix}ar; ac_word=$2
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37689 $as_echo_n "checking for $ac_word... " >&6; }
37690 if ${ac_cv_prog_AR+:} false; then :
37691   $as_echo_n "(cached) " >&6
37692 else
37693   if test -n "$AR"; then
37694   ac_cv_prog_AR="$AR" # Let the user override the test.
37695 else
37696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37697 for as_dir in $PATH
37698 do
37699   IFS=$as_save_IFS
37700   test -z "$as_dir" && as_dir=.
37701     for ac_exec_ext in '' $ac_executable_extensions; do
37702   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37703     ac_cv_prog_AR="${ac_tool_prefix}ar"
37704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37705     break 2
37706   fi
37707 done
37708   done
37709 IFS=$as_save_IFS
37710
37711 fi
37712 fi
37713 AR=$ac_cv_prog_AR
37714 if test -n "$AR"; then
37715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37716 $as_echo "$AR" >&6; }
37717 else
37718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37719 $as_echo "no" >&6; }
37720 fi
37721
37722
37723 fi
37724 if test -z "$ac_cv_prog_AR"; then
37725   ac_ct_AR=$AR
37726   # Extract the first word of "ar", so it can be a program name with args.
37727 set dummy ar; ac_word=$2
37728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37729 $as_echo_n "checking for $ac_word... " >&6; }
37730 if ${ac_cv_prog_ac_ct_AR+:} false; then :
37731   $as_echo_n "(cached) " >&6
37732 else
37733   if test -n "$ac_ct_AR"; then
37734   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37735 else
37736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37737 for as_dir in $PATH
37738 do
37739   IFS=$as_save_IFS
37740   test -z "$as_dir" && as_dir=.
37741     for ac_exec_ext in '' $ac_executable_extensions; do
37742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37743     ac_cv_prog_ac_ct_AR="ar"
37744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37745     break 2
37746   fi
37747 done
37748   done
37749 IFS=$as_save_IFS
37750
37751 fi
37752 fi
37753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37754 if test -n "$ac_ct_AR"; then
37755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37756 $as_echo "$ac_ct_AR" >&6; }
37757 else
37758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37759 $as_echo "no" >&6; }
37760 fi
37761
37762   if test "x$ac_ct_AR" = x; then
37763     AR="ar"
37764   else
37765     case $cross_compiling:$ac_tool_warned in
37766 yes:)
37767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37769 ac_tool_warned=yes ;;
37770 esac
37771     AR=$ac_ct_AR
37772   fi
37773 else
37774   AR="$ac_cv_prog_AR"
37775 fi
37776
37777         AROPTIONS=rcu
37778     fi
37779
37780
37781     if test -n "$ac_tool_prefix"; then
37782   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37783 set dummy ${ac_tool_prefix}strip; ac_word=$2
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37785 $as_echo_n "checking for $ac_word... " >&6; }
37786 if ${ac_cv_prog_STRIP+:} false; then :
37787   $as_echo_n "(cached) " >&6
37788 else
37789   if test -n "$STRIP"; then
37790   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37791 else
37792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37793 for as_dir in $PATH
37794 do
37795   IFS=$as_save_IFS
37796   test -z "$as_dir" && as_dir=.
37797     for ac_exec_ext in '' $ac_executable_extensions; do
37798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37799     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37801     break 2
37802   fi
37803 done
37804   done
37805 IFS=$as_save_IFS
37806
37807 fi
37808 fi
37809 STRIP=$ac_cv_prog_STRIP
37810 if test -n "$STRIP"; then
37811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37812 $as_echo "$STRIP" >&6; }
37813 else
37814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37815 $as_echo "no" >&6; }
37816 fi
37817
37818
37819 fi
37820 if test -z "$ac_cv_prog_STRIP"; then
37821   ac_ct_STRIP=$STRIP
37822   # Extract the first word of "strip", so it can be a program name with args.
37823 set dummy strip; ac_word=$2
37824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37825 $as_echo_n "checking for $ac_word... " >&6; }
37826 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
37827   $as_echo_n "(cached) " >&6
37828 else
37829   if test -n "$ac_ct_STRIP"; then
37830   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37831 else
37832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37833 for as_dir in $PATH
37834 do
37835   IFS=$as_save_IFS
37836   test -z "$as_dir" && as_dir=.
37837     for ac_exec_ext in '' $ac_executable_extensions; do
37838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37839     ac_cv_prog_ac_ct_STRIP="strip"
37840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37841     break 2
37842   fi
37843 done
37844   done
37845 IFS=$as_save_IFS
37846
37847 fi
37848 fi
37849 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37850 if test -n "$ac_ct_STRIP"; then
37851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37852 $as_echo "$ac_ct_STRIP" >&6; }
37853 else
37854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37855 $as_echo "no" >&6; }
37856 fi
37857
37858   if test "x$ac_ct_STRIP" = x; then
37859     STRIP=":"
37860   else
37861     case $cross_compiling:$ac_tool_warned in
37862 yes:)
37863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37865 ac_tool_warned=yes ;;
37866 esac
37867     STRIP=$ac_ct_STRIP
37868   fi
37869 else
37870   STRIP="$ac_cv_prog_STRIP"
37871 fi
37872
37873     if test -n "$ac_tool_prefix"; then
37874   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37875 set dummy ${ac_tool_prefix}nm; ac_word=$2
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37877 $as_echo_n "checking for $ac_word... " >&6; }
37878 if ${ac_cv_prog_NM+:} false; then :
37879   $as_echo_n "(cached) " >&6
37880 else
37881   if test -n "$NM"; then
37882   ac_cv_prog_NM="$NM" # Let the user override the test.
37883 else
37884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37885 for as_dir in $PATH
37886 do
37887   IFS=$as_save_IFS
37888   test -z "$as_dir" && as_dir=.
37889     for ac_exec_ext in '' $ac_executable_extensions; do
37890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37891     ac_cv_prog_NM="${ac_tool_prefix}nm"
37892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37893     break 2
37894   fi
37895 done
37896   done
37897 IFS=$as_save_IFS
37898
37899 fi
37900 fi
37901 NM=$ac_cv_prog_NM
37902 if test -n "$NM"; then
37903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37904 $as_echo "$NM" >&6; }
37905 else
37906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37907 $as_echo "no" >&6; }
37908 fi
37909
37910
37911 fi
37912 if test -z "$ac_cv_prog_NM"; then
37913   ac_ct_NM=$NM
37914   # Extract the first word of "nm", so it can be a program name with args.
37915 set dummy nm; ac_word=$2
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37917 $as_echo_n "checking for $ac_word... " >&6; }
37918 if ${ac_cv_prog_ac_ct_NM+:} false; then :
37919   $as_echo_n "(cached) " >&6
37920 else
37921   if test -n "$ac_ct_NM"; then
37922   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37923 else
37924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37925 for as_dir in $PATH
37926 do
37927   IFS=$as_save_IFS
37928   test -z "$as_dir" && as_dir=.
37929     for ac_exec_ext in '' $ac_executable_extensions; do
37930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37931     ac_cv_prog_ac_ct_NM="nm"
37932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37933     break 2
37934   fi
37935 done
37936   done
37937 IFS=$as_save_IFS
37938
37939 fi
37940 fi
37941 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37942 if test -n "$ac_ct_NM"; then
37943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37944 $as_echo "$ac_ct_NM" >&6; }
37945 else
37946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37947 $as_echo "no" >&6; }
37948 fi
37949
37950   if test "x$ac_ct_NM" = x; then
37951     NM=":"
37952   else
37953     case $cross_compiling:$ac_tool_warned in
37954 yes:)
37955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37957 ac_tool_warned=yes ;;
37958 esac
37959     NM=$ac_ct_NM
37960   fi
37961 else
37962   NM="$ac_cv_prog_NM"
37963 fi
37964
37965
37966         INSTALL_DIR="mkdir -p"
37967
37968
37969     LDFLAGS_GUI=
37970     case ${BAKEFILE_HOST} in
37971         *-*-cygwin* | *-*-mingw32* )
37972         LDFLAGS_GUI="-mwindows"
37973     esac
37974
37975
37976     fi
37977
37978         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37979 $as_echo_n "checking if make is GNU make... " >&6; }
37980 if ${bakefile_cv_prog_makeisgnu+:} false; then :
37981   $as_echo_n "(cached) " >&6
37982 else
37983
37984         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37985                 egrep -s GNU > /dev/null); then
37986             bakefile_cv_prog_makeisgnu="yes"
37987         else
37988             bakefile_cv_prog_makeisgnu="no"
37989         fi
37990
37991 fi
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37993 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37994
37995     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37996         IF_GNU_MAKE=""
37997     else
37998         IF_GNU_MAKE="#"
37999     fi
38000
38001
38002
38003     PLATFORM_UNIX=0
38004     PLATFORM_WIN32=0
38005     PLATFORM_MSDOS=0
38006     PLATFORM_MAC=0
38007     PLATFORM_MACOS=0
38008     PLATFORM_MACOSX=0
38009     PLATFORM_OS2=0
38010     PLATFORM_BEOS=0
38011
38012     if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38013         case "${BAKEFILE_HOST}" in
38014             *-*-mingw32* )
38015                 PLATFORM_WIN32=1
38016             ;;
38017             *-pc-msdosdjgpp )
38018                 PLATFORM_MSDOS=1
38019             ;;
38020             *-pc-os2_emx | *-pc-os2-emx )
38021                 PLATFORM_OS2=1
38022             ;;
38023             *-*-darwin* )
38024                 PLATFORM_MAC=1
38025                 PLATFORM_MACOSX=1
38026             ;;
38027             *-*-beos* )
38028                 PLATFORM_BEOS=1
38029             ;;
38030             powerpc-apple-macos* )
38031                 PLATFORM_MAC=1
38032                 PLATFORM_MACOS=1
38033             ;;
38034             * )
38035                 PLATFORM_UNIX=1
38036             ;;
38037         esac
38038     else
38039         case "$BAKEFILE_FORCE_PLATFORM" in
38040             win32 )
38041                 PLATFORM_WIN32=1
38042             ;;
38043             msdos )
38044                 PLATFORM_MSDOS=1
38045             ;;
38046             os2 )
38047                 PLATFORM_OS2=1
38048             ;;
38049             darwin )
38050                 PLATFORM_MAC=1
38051                 PLATFORM_MACOSX=1
38052             ;;
38053             unix )
38054                 PLATFORM_UNIX=1
38055             ;;
38056             beos )
38057                 PLATFORM_BEOS=1
38058             ;;
38059             * )
38060                 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38061             ;;
38062         esac
38063     fi
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075     # Check whether --enable-omf was given.
38076 if test "${enable_omf+set}" = set; then :
38077   enableval=$enable_omf; bk_os2_use_omf="$enableval"
38078 fi
38079
38080
38081     case "${BAKEFILE_HOST}" in
38082       *-*-darwin* )
38083                         if test "x$GCC" = "xyes"; then
38084             CFLAGS="$CFLAGS -fno-common"
38085             CXXFLAGS="$CXXFLAGS -fno-common"
38086         fi
38087         if test "x$XLCC" = "xyes"; then
38088             CFLAGS="$CFLAGS -qnocommon"
38089             CXXFLAGS="$CXXFLAGS -qnocommon"
38090         fi
38091         ;;
38092
38093       *-pc-os2_emx | *-pc-os2-emx )
38094         if test "x$bk_os2_use_omf" = "xyes" ; then
38095             AR=emxomfar
38096             RANLIB=:
38097             LDFLAGS="-Zomf $LDFLAGS"
38098             CFLAGS="-Zomf $CFLAGS"
38099             CXXFLAGS="-Zomf $CXXFLAGS"
38100             OS2_LIBEXT="lib"
38101         else
38102             OS2_LIBEXT="a"
38103         fi
38104         ;;
38105
38106       i*86-*-beos* )
38107         LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38108         ;;
38109     esac
38110
38111
38112     SO_SUFFIX="so"
38113     SO_SUFFIX_MODULE="so"
38114     EXEEXT=""
38115     LIBPREFIX="lib"
38116     LIBEXT=".a"
38117     DLLPREFIX="lib"
38118     DLLPREFIX_MODULE=""
38119     DLLIMP_SUFFIX=""
38120     dlldir="$libdir"
38121
38122     case "${BAKEFILE_HOST}" in
38123                         ia64-hp-hpux* )
38124         ;;
38125         *-hp-hpux* )
38126             SO_SUFFIX="sl"
38127             SO_SUFFIX_MODULE="sl"
38128         ;;
38129         *-*-aix* )
38130                                                                         SO_SUFFIX="a"
38131             SO_SUFFIX_MODULE="a"
38132         ;;
38133         *-*-cygwin* )
38134             SO_SUFFIX="dll"
38135             SO_SUFFIX_MODULE="dll"
38136             DLLIMP_SUFFIX="dll.a"
38137             EXEEXT=".exe"
38138             DLLPREFIX="cyg"
38139             dlldir="$bindir"
38140         ;;
38141         *-*-mingw32* )
38142             SO_SUFFIX="dll"
38143             SO_SUFFIX_MODULE="dll"
38144             DLLIMP_SUFFIX="dll.a"
38145             EXEEXT=".exe"
38146             DLLPREFIX=""
38147             dlldir="$bindir"
38148         ;;
38149         *-pc-msdosdjgpp )
38150             EXEEXT=".exe"
38151             DLLPREFIX=""
38152             dlldir="$bindir"
38153         ;;
38154         *-pc-os2_emx | *-pc-os2-emx )
38155             SO_SUFFIX="dll"
38156             SO_SUFFIX_MODULE="dll"
38157             DLLIMP_SUFFIX=$OS2_LIBEXT
38158             EXEEXT=".exe"
38159             DLLPREFIX=""
38160             LIBPREFIX=""
38161             LIBEXT=".$OS2_LIBEXT"
38162             dlldir="$bindir"
38163         ;;
38164         *-*-darwin* )
38165             SO_SUFFIX="dylib"
38166             SO_SUFFIX_MODULE="bundle"
38167         ;;
38168     esac
38169
38170     if test "x$DLLIMP_SUFFIX" = "x" ; then
38171         DLLIMP_SUFFIX="$SO_SUFFIX"
38172     fi
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185         PIC_FLAG=""
38186     if test "x$GCC" = "xyes"; then
38187                 PIC_FLAG="-fPIC"
38188     fi
38189
38190         SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38191     SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38192     WINDOWS_IMPLIB=0
38193
38194     case "${BAKEFILE_HOST}" in
38195       *-hp-hpux* )
38196                 if test "x$GCC" != "xyes"; then
38197                         LDFLAGS="$LDFLAGS -L/usr/lib"
38198
38199             SHARED_LD_CC="${CC} -b -o"
38200             SHARED_LD_CXX="${CXX} -b -o"
38201             PIC_FLAG="+Z"
38202         fi
38203       ;;
38204
38205       *-*-linux* )
38206                         if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38207             PIC_FLAG="-KPIC"
38208         elif test "x$SUNCXX" = "xyes"; then
38209             SHARED_LD_CC="${CC} -G -o"
38210             SHARED_LD_CXX="${CXX} -G -o"
38211             PIC_FLAG="-KPIC"
38212         fi
38213       ;;
38214
38215       *-*-solaris2* )
38216         if test "x$SUNCXX" = xyes ; then
38217             SHARED_LD_CC="${CC} -G -o"
38218             SHARED_LD_CXX="${CXX} -G -o"
38219             PIC_FLAG="-KPIC"
38220         fi
38221       ;;
38222
38223       *-*-darwin* )
38224
38225 D='$'
38226 cat <<EOF >shared-ld-sh
38227 #!/bin/sh
38228 #-----------------------------------------------------------------------------
38229 #-- Name:        distrib/mac/shared-ld-sh
38230 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
38231 #-- Author:      Gilles Depeyrot
38232 #-- Copyright:   (c) 2002 Gilles Depeyrot
38233 #-- Licence:     any use permitted
38234 #-----------------------------------------------------------------------------
38235
38236 verbose=0
38237 args=""
38238 objects=""
38239 linking_flag="-dynamiclib"
38240 ldargs="-r -keep_private_externs -nostdlib"
38241
38242 if test "x${D}CXX" = "x"; then
38243     CXX="c++"
38244 fi
38245
38246 while test ${D}# -gt 0; do
38247     case ${D}1 in
38248
38249        -v)
38250         verbose=1
38251         ;;
38252
38253        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38254         # collect these options and values
38255         args="${D}{args} ${D}1 ${D}2"
38256         shift
38257         ;;
38258
38259        -arch|-isysroot)
38260         # collect these options and values
38261         ldargs="${D}{ldargs} ${D}1 ${D}2"
38262         shift
38263         ;;
38264
38265        -s|-Wl,*)
38266         # collect these load args
38267         ldargs="${D}{ldargs} ${D}1"
38268         ;;
38269
38270        -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38271         # collect these options
38272         args="${D}{args} ${D}1"
38273         ;;
38274
38275        -dynamiclib|-bundle)
38276         linking_flag="${D}1"
38277         ;;
38278
38279        -*)
38280         echo "shared-ld: unhandled option '${D}1'"
38281         exit 1
38282         ;;
38283
38284         *.o | *.a | *.dylib)
38285         # collect object files
38286         objects="${D}{objects} ${D}1"
38287         ;;
38288
38289         *)
38290         echo "shared-ld: unhandled argument '${D}1'"
38291         exit 1
38292         ;;
38293
38294     esac
38295     shift
38296 done
38297
38298 status=0
38299
38300 #
38301 # Link one module containing all the others
38302 #
38303 if test ${D}{verbose} = 1; then
38304     echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38305 fi
38306 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38307 status=${D}?
38308
38309 #
38310 # Link the shared library from the single module created, but only if the
38311 # previous command didn't fail:
38312 #
38313 if test ${D}{status} = 0; then
38314     if test ${D}{verbose} = 1; then
38315         echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38316     fi
38317     ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38318     status=${D}?
38319 fi
38320
38321 #
38322 # Remove intermediate module
38323 #
38324 rm -f master.${D}${D}.o
38325
38326 exit ${D}status
38327 EOF
38328
38329         chmod +x shared-ld-sh
38330
38331         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38332         SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38333
38334
38335                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38336 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38337 if ${bakefile_cv_gcc31+:} false; then :
38338   $as_echo_n "(cached) " >&6
38339 else
38340
38341            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38342 /* end confdefs.h.  */
38343
38344 int
38345 main ()
38346 {
38347
38348                    #if (__GNUC__ < 3) || \
38349                        ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38350                        This is old gcc
38351                    #endif
38352
38353   ;
38354   return 0;
38355 }
38356 _ACEOF
38357 if ac_fn_c_try_compile "$LINENO"; then :
38358
38359                    bakefile_cv_gcc31=yes
38360
38361 else
38362
38363                    bakefile_cv_gcc31=no
38364
38365
38366 fi
38367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38368
38369 fi
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38371 $as_echo "$bakefile_cv_gcc31" >&6; }
38372         if test "$bakefile_cv_gcc31" = "no"; then
38373                         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38374             SHARED_LD_CXX="$SHARED_LD_CC"
38375         else
38376                         SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38377             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38378         fi
38379
38380         if test "x$GCC" == "xyes"; then
38381             PIC_FLAG="-dynamic -fPIC"
38382         fi
38383         if test "x$XLCC" = "xyes"; then
38384             PIC_FLAG="-dynamic -DPIC"
38385         fi
38386       ;;
38387
38388       *-*-aix* )
38389         if test "x$GCC" = "xyes"; then
38390                                                             PIC_FLAG=""
38391
38392                                                                                     case "${BAKEFILE_HOST}" in
38393                 *-*-aix5* )
38394                     LD_EXPFULL="-Wl,-bexpfull"
38395                     ;;
38396             esac
38397
38398             SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38399             SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38400         else
38401                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38402 set dummy makeC++SharedLib; ac_word=$2
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38404 $as_echo_n "checking for $ac_word... " >&6; }
38405 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38406   $as_echo_n "(cached) " >&6
38407 else
38408   if test -n "$AIX_CXX_LD"; then
38409   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38410 else
38411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38412 for as_dir in $PATH
38413 do
38414   IFS=$as_save_IFS
38415   test -z "$as_dir" && as_dir=.
38416     for ac_exec_ext in '' $ac_executable_extensions; do
38417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38418     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38420     break 2
38421   fi
38422 done
38423   done
38424 IFS=$as_save_IFS
38425
38426   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38427 fi
38428 fi
38429 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38430 if test -n "$AIX_CXX_LD"; then
38431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38432 $as_echo "$AIX_CXX_LD" >&6; }
38433 else
38434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38435 $as_echo "no" >&6; }
38436 fi
38437
38438
38439             SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38440             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38441         fi
38442       ;;
38443
38444       *-*-beos* )
38445                         SHARED_LD_CC="${LD} -nostart -o"
38446         SHARED_LD_CXX="${LD} -nostart -o"
38447       ;;
38448
38449       *-*-irix* )
38450                 if test "x$GCC" != "xyes"; then
38451             PIC_FLAG="-KPIC"
38452         fi
38453       ;;
38454
38455       *-*-cygwin* | *-*-mingw32* )
38456         PIC_FLAG=""
38457         SHARED_LD_CC="\$(CC) -shared -o"
38458         SHARED_LD_CXX="\$(CXX) -shared -o"
38459         WINDOWS_IMPLIB=1
38460       ;;
38461
38462       *-pc-os2_emx | *-pc-os2-emx )
38463         SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38464         SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38465         PIC_FLAG=""
38466
38467 D='$'
38468 cat <<EOF >dllar.sh
38469 #!/bin/sh
38470 #
38471 # dllar - a tool to build both a .dll and an .a file
38472 # from a set of object (.o) files for EMX/OS2.
38473 #
38474 #  Written by Andrew Zabolotny, bit@freya.etu.ru
38475 #  Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38476 #
38477 #  This script will accept a set of files on the command line.
38478 #  All the public symbols from the .o files will be exported into
38479 #  a .DEF file, then linker will be run (through gcc) against them to
38480 #  build a shared library consisting of all given .o files. All libraries
38481 #  (.a) will be first decompressed into component .o files then act as
38482 #  described above. You can optionally give a description (-d "description")
38483 #  which will be put into .DLL. To see the list of accepted options (as well
38484 #  as command-line format) simply run this program without options. The .DLL
38485 #  is built to be imported by name (there is no guarantee that new versions
38486 #  of the library you build will have same ordinals for same symbols).
38487 #
38488 #  dllar is free software; you can redistribute it and/or modify
38489 #  it under the terms of the GNU General Public License as published by
38490 #  the Free Software Foundation; either version 2, or (at your option)
38491 #  any later version.
38492 #
38493 #  dllar is distributed in the hope that it will be useful,
38494 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
38495 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38496 #  GNU General Public License for more details.
38497 #
38498 #  You should have received a copy of the GNU General Public License
38499 #  along with dllar; see the file COPYING.  If not, write to the Free
38500 #  Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38501 #  02111-1307, USA.
38502
38503 # To successfuly run this program you will need:
38504 #  - Current drive should have LFN support (HPFS, ext2, network, etc)
38505 #    (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38506 #  - gcc
38507 #    (used to build the .dll)
38508 #  - emxexp
38509 #    (used to create .def file from .o files)
38510 #  - emximp
38511 #    (used to create .a file from .def file)
38512 #  - GNU text utilites (cat, sort, uniq)
38513 #    used to process emxexp output
38514 #  - GNU file utilities (mv, rm)
38515 #  - GNU sed
38516 #  - lxlite (optional, see flag below)
38517 #    (used for general .dll cleanup)
38518 #
38519
38520 flag_USE_LXLITE=1;
38521
38522 #
38523 # helper functions
38524 # basnam, variant of basename, which does _not_ remove the path, _iff_
38525 #                              second argument (suffix to remove) is given
38526 basnam(){
38527     case ${D}# in
38528     1)
38529         echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38530         ;;
38531     2)
38532         echo ${D}1 | sed 's/'${D}2'${D}//'
38533         ;;
38534     *)
38535         echo "error in basnam ${D}*"
38536         exit 8
38537         ;;
38538     esac
38539 }
38540
38541 # Cleanup temporary files and output
38542 CleanUp() {
38543     cd ${D}curDir
38544     for i in ${D}inputFiles ; do
38545         case ${D}i in
38546         *!)
38547             rm -rf \`basnam ${D}i !\`
38548             ;;
38549         *)
38550             ;;
38551         esac
38552     done
38553
38554     # Kill result in case of failure as there is just to many stupid make/nmake
38555     # things out there which doesn't do this.
38556     if [ ${D}# -eq 0 ]; then
38557         rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38558     fi
38559 }
38560
38561 # Print usage and exit script with rc=1.
38562 PrintHelp() {
38563  echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38564  echo '       [-name-mangler-script script.sh]'
38565  echo '       [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38566  echo '       [-ord[inals]] -ex[clude] "symbol(s)"'
38567  echo '       [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38568  echo '       [*.o] [*.a]'
38569  echo '*> "output_file" should have no extension.'
38570  echo '   If it has the .o, .a or .dll extension, it is automatically removed.'
38571  echo '   The import library name is derived from this and is set to "name".a,'
38572  echo '   unless overridden by -import'
38573  echo '*> "importlib_name" should have no extension.'
38574  echo '   If it has the .o, or .a extension, it is automatically removed.'
38575  echo '   This name is used as the import library name and may be longer and'
38576  echo '   more descriptive than the DLL name which has to follow the old '
38577  echo '   8.3 convention of FAT.'
38578  echo '*> "script.sh may be given to override the output_file name by a'
38579  echo '   different name. It is mainly useful if the regular make process'
38580  echo '   of some package does not take into account OS/2 restriction of'
38581  echo '   DLL name lengths. It takes the importlib name as input and is'
38582  echo '   supposed to procude a shorter name as output. The script should'
38583  echo '   expect to get importlib_name without extension and should produce'
38584  echo '   a (max.) 8 letter name without extension.'
38585  echo '*> "cc" is used to use another GCC executable.   (default: gcc.exe)'
38586  echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38587  echo '   These flags will be put at the start of GCC command line.'
38588  echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38589  echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38590  echo '   multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38591  echo '   If the last character of a symbol is "*", all symbols beginning'
38592  echo '   with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38593  echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38594  echo '   TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38595  echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38596  echo '   C runtime DLLs.'
38597  echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38598  echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38599  echo '   unchanged to GCC at the end of command line.'
38600  echo '*> If you create a DLL from a library and you do not specify -o,'
38601  echo '   the basename for DLL and import library will be set to library name,'
38602  echo '   the initial library will be renamed to 'name'_s.a (_s for static)'
38603  echo '   i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38604  echo '   library will be renamed into gcc_s.a.'
38605  echo '--------'
38606  echo 'Example:'
38607  echo '   dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38608  echo '    -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38609  CleanUp
38610  exit 1
38611 }
38612
38613 # Execute a command.
38614 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38615 # @Uses    Whatever CleanUp() uses.
38616 doCommand() {
38617     echo "${D}*"
38618     eval ${D}*
38619     rcCmd=${D}?
38620
38621     if [ ${D}rcCmd -ne 0 ]; then
38622         echo "command failed, exit code="${D}rcCmd
38623         CleanUp
38624         exit ${D}rcCmd
38625     fi
38626 }
38627
38628 # main routine
38629 # setup globals
38630 cmdLine=${D}*
38631 outFile=""
38632 outimpFile=""
38633 inputFiles=""
38634 renameScript=""
38635 description=""
38636 CC=gcc.exe
38637 CFLAGS="-s -Zcrtdll"
38638 EXTRA_CFLAGS=""
38639 EXPORT_BY_ORDINALS=0
38640 exclude_symbols=""
38641 library_flags=""
38642 curDir=\`pwd\`
38643 curDirS=curDir
38644 case ${D}curDirS in
38645 */)
38646   ;;
38647 *)
38648   curDirS=${D}{curDirS}"/"
38649   ;;
38650 esac
38651 # Parse commandline
38652 libsToLink=0
38653 omfLinking=0
38654 while [ ${D}1 ]; do
38655     case ${D}1 in
38656     -ord*)
38657         EXPORT_BY_ORDINALS=1;
38658         ;;
38659     -o*)
38660         shift
38661         outFile=${D}1
38662         ;;
38663     -i*)
38664         shift
38665         outimpFile=${D}1
38666         ;;
38667     -name-mangler-script)
38668         shift
38669         renameScript=${D}1
38670         ;;
38671     -d*)
38672         shift
38673         description=${D}1
38674         ;;
38675     -f*)
38676         shift
38677         CFLAGS=${D}1
38678         ;;
38679     -c*)
38680         shift
38681         CC=${D}1
38682         ;;
38683     -h*)
38684         PrintHelp
38685         ;;
38686     -ex*)
38687         shift
38688         exclude_symbols=${D}{exclude_symbols}${D}1" "
38689         ;;
38690     -libf*)
38691         shift
38692         library_flags=${D}{library_flags}${D}1" "
38693         ;;
38694     -nocrt*)
38695         CFLAGS="-s"
38696         ;;
38697     -nolxl*)
38698         flag_USE_LXLITE=0
38699         ;;
38700     -* | /*)
38701         case ${D}1 in
38702         -L* | -l*)
38703             libsToLink=1
38704             ;;
38705         -Zomf)
38706             omfLinking=1
38707             ;;
38708         *)
38709             ;;
38710         esac
38711         EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38712         ;;
38713     *.dll)
38714         EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38715         if [ ${D}omfLinking -eq 1 ]; then
38716             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38717         else
38718             EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38719         fi
38720         ;;
38721     *)
38722         found=0;
38723         if [ ${D}libsToLink -ne 0 ]; then
38724             EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38725         else
38726             for file in ${D}1 ; do
38727                 if [ -f ${D}file ]; then
38728                     inputFiles="${D}{inputFiles} ${D}file"
38729                     found=1
38730                 fi
38731             done
38732             if [ ${D}found -eq 0 ]; then
38733                 echo "ERROR: No file(s) found: "${D}1
38734                 exit 8
38735             fi
38736         fi
38737       ;;
38738     esac
38739     shift
38740 done # iterate cmdline words
38741
38742 #
38743 if [ -z "${D}inputFiles" ]; then
38744     echo "dllar: no input files"
38745     PrintHelp
38746 fi
38747
38748 # Now extract all .o files from .a files
38749 newInputFiles=""
38750 for file in ${D}inputFiles ; do
38751     case ${D}file in
38752     *.a | *.lib)
38753         case ${D}file in
38754         *.a)
38755             suffix=".a"
38756             AR="ar"
38757             ;;
38758         *.lib)
38759             suffix=".lib"
38760             AR="emxomfar"
38761             EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38762             ;;
38763         *)
38764             ;;
38765         esac
38766         dirname=\`basnam ${D}file ${D}suffix\`"_%"
38767         mkdir ${D}dirname
38768         if [ ${D}? -ne 0 ]; then
38769             echo "Failed to create subdirectory ./${D}dirname"
38770             CleanUp
38771             exit 8;
38772         fi
38773         # Append '!' to indicate archive
38774         newInputFiles="${D}newInputFiles ${D}{dirname}!"
38775         doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38776         cd ${D}curDir
38777         found=0;
38778         for subfile in ${D}dirname/*.o* ; do
38779             if [ -f ${D}subfile ]; then
38780                 found=1
38781                 if [ -s ${D}subfile ]; then
38782                     # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38783                     newInputFiles="${D}newInputFiles ${D}subfile"
38784                 fi
38785             fi
38786         done
38787         if [ ${D}found -eq 0 ]; then
38788             echo "WARNING: there are no files in archive \\'${D}file\\'"
38789         fi
38790         ;;
38791     *)
38792         newInputFiles="${D}{newInputFiles} ${D}file"
38793         ;;
38794     esac
38795 done
38796 inputFiles="${D}newInputFiles"
38797
38798 # Output filename(s).
38799 do_backup=0;
38800 if [ -z ${D}outFile ]; then
38801     do_backup=1;
38802     set outFile ${D}inputFiles; outFile=${D}2
38803 fi
38804
38805 # If it is an archive, remove the '!' and the '_%' suffixes
38806 case ${D}outFile in
38807 *_%!)
38808     outFile=\`basnam ${D}outFile _%!\`
38809     ;;
38810 *)
38811     ;;
38812 esac
38813 case ${D}outFile in
38814 *.dll)
38815     outFile=\`basnam ${D}outFile .dll\`
38816     ;;
38817 *.DLL)
38818     outFile=\`basnam ${D}outFile .DLL\`
38819     ;;
38820 *.o)
38821     outFile=\`basnam ${D}outFile .o\`
38822     ;;
38823 *.obj)
38824     outFile=\`basnam ${D}outFile .obj\`
38825     ;;
38826 *.a)
38827     outFile=\`basnam ${D}outFile .a\`
38828     ;;
38829 *.lib)
38830     outFile=\`basnam ${D}outFile .lib\`
38831     ;;
38832 *)
38833     ;;
38834 esac
38835 case ${D}outimpFile in
38836 *.a)
38837     outimpFile=\`basnam ${D}outimpFile .a\`
38838     ;;
38839 *.lib)
38840     outimpFile=\`basnam ${D}outimpFile .lib\`
38841     ;;
38842 *)
38843     ;;
38844 esac
38845 if [ -z ${D}outimpFile ]; then
38846     outimpFile=${D}outFile
38847 fi
38848 defFile="${D}{outFile}.def"
38849 arcFile="${D}{outimpFile}.a"
38850 arcFile2="${D}{outimpFile}.lib"
38851
38852 #create ${D}dllFile as something matching 8.3 restrictions,
38853 if [ -z ${D}renameScript ] ; then
38854     dllFile="${D}outFile"
38855 else
38856     dllFile=\`${D}renameScript ${D}outimpFile\`
38857 fi
38858
38859 if [ ${D}do_backup -ne 0 ] ; then
38860     if [ -f ${D}arcFile ] ; then
38861         doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38862     fi
38863     if [ -f ${D}arcFile2 ] ; then
38864         doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38865     fi
38866 fi
38867
38868 # Extract public symbols from all the object files.
38869 tmpdefFile=${D}{defFile}_%
38870 rm -f ${D}tmpdefFile
38871 for file in ${D}inputFiles ; do
38872     case ${D}file in
38873     *!)
38874         ;;
38875     *)
38876         doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38877         ;;
38878     esac
38879 done
38880
38881 # Create the def file.
38882 rm -f ${D}defFile
38883 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38884 dllFile="${D}{dllFile}.dll"
38885 if [ ! -z ${D}description ]; then
38886     echo "DESCRIPTION  \\"${D}{description}\\"" >> ${D}defFile
38887 fi
38888 echo "EXPORTS" >> ${D}defFile
38889
38890 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38891 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38892
38893 # Checks if the export is ok or not.
38894 for word in ${D}exclude_symbols; do
38895     grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38896     mv ${D}{tmpdefFile}% ${D}tmpdefFile
38897 done
38898
38899
38900 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38901     sed "=" < ${D}tmpdefFile | \\
38902     sed '
38903       N
38904       : loop
38905       s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38906       t loop
38907     ' > ${D}{tmpdefFile}%
38908     grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38909 else
38910     rm -f ${D}{tmpdefFile}%
38911 fi
38912 cat ${D}tmpdefFile >> ${D}defFile
38913 rm -f ${D}tmpdefFile
38914
38915 # Do linking, create implib, and apply lxlite.
38916 gccCmdl="";
38917 for file in ${D}inputFiles ; do
38918     case ${D}file in
38919     *!)
38920         ;;
38921     *)
38922         gccCmdl="${D}gccCmdl ${D}file"
38923         ;;
38924     esac
38925 done
38926 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38927 touch "${D}{outFile}.dll"
38928
38929 doCommand "emximp -o ${D}arcFile ${D}defFile"
38930 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38931     add_flags="";
38932     if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38933         add_flags="-ynd"
38934     fi
38935     doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38936 fi
38937 doCommand "emxomf -s -l ${D}arcFile"
38938
38939 # Successful exit.
38940 CleanUp 1
38941 exit 0
38942 EOF
38943
38944         chmod +x dllar.sh
38945       ;;
38946
38947       powerpc-apple-macos* | \
38948       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38949       *-*-mirbsd* | \
38950       *-*-sunos4* | \
38951       *-*-osf* | \
38952       *-*-dgux5* | \
38953       *-*-sysv5* | \
38954       *-pc-msdosdjgpp )
38955               ;;
38956
38957       *)
38958         as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38959     esac
38960
38961     if test "x$PIC_FLAG" != "x" ; then
38962         PIC_FLAG="$PIC_FLAG -DPIC"
38963     fi
38964
38965     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38966         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38967     fi
38968     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38969         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38970     fi
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980     USE_SOVERSION=0
38981     USE_SOVERLINUX=0
38982     USE_SOVERSOLARIS=0
38983     USE_SOVERCYGWIN=0
38984     USE_SOTWOSYMLINKS=0
38985     USE_MACVERSION=0
38986     SONAME_FLAG=
38987
38988     case "${BAKEFILE_HOST}" in
38989       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38990       *-*-k*bsd*-gnu | *-*-mirbsd* )
38991         if test "x$SUNCXX" = "xyes"; then
38992             SONAME_FLAG="-h "
38993         else
38994             SONAME_FLAG="-Wl,-soname,"
38995         fi
38996         USE_SOVERSION=1
38997         USE_SOVERLINUX=1
38998         USE_SOTWOSYMLINKS=1
38999       ;;
39000
39001       *-*-solaris2* )
39002         SONAME_FLAG="-h "
39003         USE_SOVERSION=1
39004         USE_SOVERSOLARIS=1
39005       ;;
39006
39007       *-*-darwin* )
39008         USE_MACVERSION=1
39009         USE_SOVERSION=1
39010         USE_SOTWOSYMLINKS=1
39011       ;;
39012
39013       *-*-cygwin* )
39014         USE_SOVERSION=1
39015         USE_SOVERCYGWIN=1
39016       ;;
39017     esac
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028     # Check whether --enable-dependency-tracking was given.
39029 if test "${enable_dependency_tracking+set}" = set; then :
39030   enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39031 fi
39032
39033
39034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39035 $as_echo_n "checking for dependency tracking method... " >&6; }
39036
39037     BK_DEPS=""
39038     if test "x$bk_use_trackdeps" = "xno" ; then
39039         DEPS_TRACKING=0
39040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39041 $as_echo "disabled" >&6; }
39042     else
39043         DEPS_TRACKING=1
39044
39045         if test "x$GCC" = "xyes"; then
39046             DEPSMODE=gcc
39047             DEPSFLAG="-MMD"
39048             { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39049 $as_echo "gcc" >&6; }
39050         elif test "x$MWCC" = "xyes"; then
39051             DEPSMODE=mwcc
39052             DEPSFLAG="-MM"
39053             { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39054 $as_echo "mwcc" >&6; }
39055         elif test "x$SUNCC" = "xyes"; then
39056             DEPSMODE=unixcc
39057             DEPSFLAG="-xM1"
39058             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39059 $as_echo "Sun cc" >&6; }
39060         elif test "x$SGICC" = "xyes"; then
39061             DEPSMODE=unixcc
39062             DEPSFLAG="-M"
39063             { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39064 $as_echo "SGI cc" >&6; }
39065         elif test "x$HPCC" = "xyes"; then
39066             DEPSMODE=unixcc
39067             DEPSFLAG="+make"
39068             { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39069 $as_echo "HP cc" >&6; }
39070         elif test "x$COMPAQCC" = "xyes"; then
39071             DEPSMODE=gcc
39072             DEPSFLAG="-MD"
39073             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39074 $as_echo "Compaq cc" >&6; }
39075         else
39076             DEPS_TRACKING=0
39077             { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39078 $as_echo "none" >&6; }
39079         fi
39080
39081         if test $DEPS_TRACKING = 1 ; then
39082
39083 D='$'
39084 cat <<EOF >bk-deps
39085 #!/bin/sh
39086
39087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39088 # script. It is used to track C/C++ files dependencies in portable way.
39089 #
39090 # Permission is given to use this file in any way.
39091
39092 DEPSMODE=${DEPSMODE}
39093 DEPSFLAG="${DEPSFLAG}"
39094 DEPSDIRBASE=.deps
39095
39096 if test ${D}DEPSMODE = gcc ; then
39097     ${D}* ${D}{DEPSFLAG}
39098     status=${D}?
39099
39100     # determine location of created files:
39101     while test ${D}# -gt 0; do
39102         case "${D}1" in
39103             -o )
39104                 shift
39105                 objfile=${D}1
39106             ;;
39107             -* )
39108             ;;
39109             * )
39110                 srcfile=${D}1
39111             ;;
39112         esac
39113         shift
39114     done
39115     objfilebase=\`basename ${D}objfile\`
39116     builddir=\`dirname ${D}objfile\`
39117     depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39118     depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39119     depsdir=${D}builddir/${D}DEPSDIRBASE
39120     mkdir -p ${D}depsdir
39121
39122     # if the compiler failed, we're done:
39123     if test ${D}{status} != 0 ; then
39124         rm -f ${D}depfile
39125         exit ${D}{status}
39126     fi
39127
39128     # move created file to the location we want it in:
39129     if test -f ${D}depfile ; then
39130         sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39131         rm -f ${D}depfile
39132     else
39133         # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39134         depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39135         if test ! -f ${D}depfile ; then
39136             # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39137             depfile="${D}objfile.d"
39138         fi
39139         if test -f ${D}depfile ; then
39140             sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39141             rm -f ${D}depfile
39142         fi
39143     fi
39144     exit 0
39145
39146 elif test ${D}DEPSMODE = mwcc ; then
39147     ${D}* || exit ${D}?
39148     # Run mwcc again with -MM and redirect into the dep file we want
39149     # NOTE: We can't use shift here because we need ${D}* to be valid
39150     prevarg=
39151     for arg in ${D}* ; do
39152         if test "${D}prevarg" = "-o"; then
39153             objfile=${D}arg
39154         else
39155             case "${D}arg" in
39156                 -* )
39157                 ;;
39158                 * )
39159                     srcfile=${D}arg
39160                 ;;
39161             esac
39162         fi
39163         prevarg="${D}arg"
39164     done
39165
39166     objfilebase=\`basename ${D}objfile\`
39167     builddir=\`dirname ${D}objfile\`
39168     depsdir=${D}builddir/${D}DEPSDIRBASE
39169     mkdir -p ${D}depsdir
39170
39171     ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39172     exit 0
39173
39174 elif test ${D}DEPSMODE = unixcc; then
39175     ${D}* || exit ${D}?
39176     # Run compiler again with deps flag and redirect into the dep file.
39177     # It doesn't work if the '-o FILE' option is used, but without it the
39178     # dependency file will contain the wrong name for the object. So it is
39179     # removed from the command line, and the dep file is fixed with sed.
39180     cmd=""
39181     while test ${D}# -gt 0; do
39182         case "${D}1" in
39183             -o )
39184                 shift
39185                 objfile=${D}1
39186             ;;
39187             * )
39188                 eval arg${D}#=\\${D}1
39189                 cmd="${D}cmd \\${D}arg${D}#"
39190             ;;
39191         esac
39192         shift
39193     done
39194
39195     objfilebase=\`basename ${D}objfile\`
39196     builddir=\`dirname ${D}objfile\`
39197     depsdir=${D}builddir/${D}DEPSDIRBASE
39198     mkdir -p ${D}depsdir
39199
39200     eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39201     exit 0
39202
39203 else
39204     ${D}*
39205     exit ${D}?
39206 fi
39207 EOF
39208
39209             chmod +x bk-deps
39210                                     BK_DEPS="`pwd`/bk-deps"
39211         fi
39212     fi
39213
39214
39215
39216
39217
39218     case ${BAKEFILE_HOST} in
39219         *-*-cygwin* | *-*-mingw32* )
39220                         if test -n "$ac_tool_prefix"; then
39221   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39222 set dummy ${ac_tool_prefix}windres; ac_word=$2
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39224 $as_echo_n "checking for $ac_word... " >&6; }
39225 if ${ac_cv_prog_WINDRES+:} false; then :
39226   $as_echo_n "(cached) " >&6
39227 else
39228   if test -n "$WINDRES"; then
39229   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39230 else
39231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39232 for as_dir in $PATH
39233 do
39234   IFS=$as_save_IFS
39235   test -z "$as_dir" && as_dir=.
39236     for ac_exec_ext in '' $ac_executable_extensions; do
39237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39238     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39240     break 2
39241   fi
39242 done
39243   done
39244 IFS=$as_save_IFS
39245
39246 fi
39247 fi
39248 WINDRES=$ac_cv_prog_WINDRES
39249 if test -n "$WINDRES"; then
39250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39251 $as_echo "$WINDRES" >&6; }
39252 else
39253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39254 $as_echo "no" >&6; }
39255 fi
39256
39257
39258 fi
39259 if test -z "$ac_cv_prog_WINDRES"; then
39260   ac_ct_WINDRES=$WINDRES
39261   # Extract the first word of "windres", so it can be a program name with args.
39262 set dummy windres; ac_word=$2
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39264 $as_echo_n "checking for $ac_word... " >&6; }
39265 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39266   $as_echo_n "(cached) " >&6
39267 else
39268   if test -n "$ac_ct_WINDRES"; then
39269   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39270 else
39271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39272 for as_dir in $PATH
39273 do
39274   IFS=$as_save_IFS
39275   test -z "$as_dir" && as_dir=.
39276     for ac_exec_ext in '' $ac_executable_extensions; do
39277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39278     ac_cv_prog_ac_ct_WINDRES="windres"
39279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39280     break 2
39281   fi
39282 done
39283   done
39284 IFS=$as_save_IFS
39285
39286 fi
39287 fi
39288 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39289 if test -n "$ac_ct_WINDRES"; then
39290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39291 $as_echo "$ac_ct_WINDRES" >&6; }
39292 else
39293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39294 $as_echo "no" >&6; }
39295 fi
39296
39297   if test "x$ac_ct_WINDRES" = x; then
39298     WINDRES=""
39299   else
39300     case $cross_compiling:$ac_tool_warned in
39301 yes:)
39302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39304 ac_tool_warned=yes ;;
39305 esac
39306     WINDRES=$ac_ct_WINDRES
39307   fi
39308 else
39309   WINDRES="$ac_cv_prog_WINDRES"
39310 fi
39311
39312          ;;
39313
39314       *-*-darwin* | powerpc-apple-macos* )
39315             # Extract the first word of "Rez", so it can be a program name with args.
39316 set dummy Rez; ac_word=$2
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39318 $as_echo_n "checking for $ac_word... " >&6; }
39319 if ${ac_cv_prog_REZ+:} false; then :
39320   $as_echo_n "(cached) " >&6
39321 else
39322   if test -n "$REZ"; then
39323   ac_cv_prog_REZ="$REZ" # Let the user override the test.
39324 else
39325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39326 for as_dir in $PATH
39327 do
39328   IFS=$as_save_IFS
39329   test -z "$as_dir" && as_dir=.
39330     for ac_exec_ext in '' $ac_executable_extensions; do
39331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39332     ac_cv_prog_REZ="Rez"
39333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39334     break 2
39335   fi
39336 done
39337   done
39338 IFS=$as_save_IFS
39339
39340   test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39341 fi
39342 fi
39343 REZ=$ac_cv_prog_REZ
39344 if test -n "$REZ"; then
39345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39346 $as_echo "$REZ" >&6; }
39347 else
39348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39349 $as_echo "no" >&6; }
39350 fi
39351
39352
39353             # Extract the first word of "SetFile", so it can be a program name with args.
39354 set dummy SetFile; ac_word=$2
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39356 $as_echo_n "checking for $ac_word... " >&6; }
39357 if ${ac_cv_prog_SETFILE+:} false; then :
39358   $as_echo_n "(cached) " >&6
39359 else
39360   if test -n "$SETFILE"; then
39361   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39362 else
39363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39364 for as_dir in $PATH
39365 do
39366   IFS=$as_save_IFS
39367   test -z "$as_dir" && as_dir=.
39368     for ac_exec_ext in '' $ac_executable_extensions; do
39369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39370     ac_cv_prog_SETFILE="SetFile"
39371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39372     break 2
39373   fi
39374 done
39375   done
39376 IFS=$as_save_IFS
39377
39378   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39379 fi
39380 fi
39381 SETFILE=$ac_cv_prog_SETFILE
39382 if test -n "$SETFILE"; then
39383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39384 $as_echo "$SETFILE" >&6; }
39385 else
39386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39387 $as_echo "no" >&6; }
39388 fi
39389
39390
39391         ;;
39392     esac
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402     BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39403
39404
39405 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39406
39407
39408
39409     # Check whether --enable-precomp-headers was given.
39410 if test "${enable_precomp_headers+set}" = set; then :
39411   enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39412 fi
39413
39414
39415     GCC_PCH=0
39416     ICC_PCH=0
39417     USE_PCH=0
39418     BK_MAKE_PCH=""
39419
39420     case ${BAKEFILE_HOST} in
39421         *-*-cygwin* )
39422                                                 bk_use_pch="no"
39423             ;;
39424     esac
39425
39426     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39427         if test "x$GCC" = "xyes"; then
39428                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39429 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39430             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39431 /* end confdefs.h.  */
39432
39433 int
39434 main ()
39435 {
39436
39437                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39438                         There is no PCH support
39439                     #endif
39440                     #if (__GNUC__ < 3)
39441                         There is no PCH support
39442                     #endif
39443                     #if (__GNUC__ == 3) && \
39444                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39445                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39446                        ( defined(__INTEL_COMPILER) )
39447                         There is no PCH support
39448                     #endif
39449
39450   ;
39451   return 0;
39452 }
39453 _ACEOF
39454 if ac_fn_c_try_compile "$LINENO"; then :
39455
39456                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39457 $as_echo "yes" >&6; }
39458                     GCC_PCH=1
39459
39460 else
39461
39462                     if test "$INTELCXX8" = "yes"; then
39463                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39464 $as_echo "yes" >&6; }
39465                         ICC_PCH=1
39466                         if test "$INTELCXX10" = "yes"; then
39467                             ICC_PCH_CREATE_SWITCH="-pch-create"
39468                             ICC_PCH_USE_SWITCH="-pch-use"
39469                         else
39470                             ICC_PCH_CREATE_SWITCH="-create-pch"
39471                             ICC_PCH_USE_SWITCH="-use-pch"
39472                         fi
39473                     else
39474                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39475 $as_echo "no" >&6; }
39476                     fi
39477
39478 fi
39479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39480             if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39481                 USE_PCH=1
39482
39483 D='$'
39484 cat <<EOF >bk-make-pch
39485 #!/bin/sh
39486
39487 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39488 # script. It is used to generated precompiled headers.
39489 #
39490 # Permission is given to use this file in any way.
39491
39492 outfile="${D}{1}"
39493 header="${D}{2}"
39494 shift
39495 shift
39496
39497 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39498
39499 compiler=""
39500 headerfile=""
39501
39502 while test ${D}{#} -gt 0; do
39503     add_to_cmdline=1
39504     case "${D}{1}" in
39505         -I* )
39506             incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39507             if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39508                 headerfile="${D}{incdir}/${D}{header}"
39509             fi
39510         ;;
39511         -use-pch|-use_pch|-pch-use )
39512             shift
39513             add_to_cmdline=0
39514         ;;
39515     esac
39516     if test ${D}add_to_cmdline = 1 ; then
39517         compiler="${D}{compiler} ${D}{1}"
39518     fi
39519     shift
39520 done
39521
39522 if test "x${D}{headerfile}" = "x" ; then
39523     echo "error: can't find header ${D}{header} in include paths" >&2
39524 else
39525     if test -f ${D}{outfile} ; then
39526         rm -f ${D}{outfile}
39527     else
39528         mkdir -p \`dirname ${D}{outfile}\`
39529     fi
39530     depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39531     mkdir -p ${D}{builddir}/.deps
39532     if test "x${GCC_PCH}" = "x1" ; then
39533         # can do this because gcc is >= 3.4:
39534         ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39535     elif test "x${ICC_PCH}" = "x1" ; then
39536         filename=pch_gen-${D}${D}
39537         file=${D}{filename}.c
39538         dfile=${D}{filename}.d
39539         cat > ${D}file <<EOT
39540 #include "${D}header"
39541 EOT
39542         # using -MF icc complains about differing command lines in creation/use
39543         ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39544           sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39545           rm -f ${D}file ${D}dfile ${D}{filename}.o
39546     fi
39547     exit ${D}{?}
39548 fi
39549 EOF
39550
39551                 chmod +x bk-make-pch
39552                                                                 BK_MAKE_PCH="`pwd`/bk-make-pch"
39553             fi
39554         fi
39555     fi
39556
39557
39558
39559
39560
39561
39562
39563     COND_BUILD_DEBUG="#"
39564     if test "x$BUILD" = "xdebug" ; then
39565         COND_BUILD_DEBUG=""
39566     fi
39567
39568     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39569     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39570         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39571     fi
39572
39573     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39574     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39575         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39576     fi
39577
39578     COND_BUILD_DEBUG_UNICODE_0="#"
39579     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39580         COND_BUILD_DEBUG_UNICODE_0=""
39581     fi
39582
39583     COND_BUILD_DEBUG_UNICODE_1="#"
39584     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39585         COND_BUILD_DEBUG_UNICODE_1=""
39586     fi
39587
39588     COND_BUILD_RELEASE="#"
39589     if test "x$BUILD" = "xrelease" ; then
39590         COND_BUILD_RELEASE=""
39591     fi
39592
39593     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39594     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39595         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39596     fi
39597
39598     COND_BUILD_RELEASE_UNICODE_0="#"
39599     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39600         COND_BUILD_RELEASE_UNICODE_0=""
39601     fi
39602
39603     COND_BUILD_RELEASE_UNICODE_1="#"
39604     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39605         COND_BUILD_RELEASE_UNICODE_1=""
39606     fi
39607
39608     COND_BUILD_debug="#"
39609     if test "x$BUILD" = "xdebug" ; then
39610         COND_BUILD_debug=""
39611     fi
39612
39613     COND_BUILD_debug_DEBUG_FLAG_default="#"
39614     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39615         COND_BUILD_debug_DEBUG_FLAG_default=""
39616     fi
39617
39618     COND_BUILD_debug_DEBUG_INFO_default="#"
39619     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39620         COND_BUILD_debug_DEBUG_INFO_default=""
39621     fi
39622
39623     COND_BUILD_debug_UNICODE_0="#"
39624     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39625         COND_BUILD_debug_UNICODE_0=""
39626     fi
39627
39628     COND_BUILD_debug_UNICODE_1="#"
39629     if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39630         COND_BUILD_debug_UNICODE_1=""
39631     fi
39632
39633     COND_BUILD_release="#"
39634     if test "x$BUILD" = "xrelease" ; then
39635         COND_BUILD_release=""
39636     fi
39637
39638     COND_BUILD_release_DEBUG_INFO_default="#"
39639     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39640         COND_BUILD_release_DEBUG_INFO_default=""
39641     fi
39642
39643     COND_BUILD_release_UNICODE_0="#"
39644     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39645         COND_BUILD_release_UNICODE_0=""
39646     fi
39647
39648     COND_BUILD_release_UNICODE_1="#"
39649     if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39650         COND_BUILD_release_UNICODE_1=""
39651     fi
39652
39653     COND_DEBUG_FLAG_0="#"
39654     if test "x$DEBUG_FLAG" = "x0" ; then
39655         COND_DEBUG_FLAG_0=""
39656     fi
39657
39658     COND_DEBUG_FLAG_1="#"
39659     if test "x$DEBUG_FLAG" = "x1" ; then
39660         COND_DEBUG_FLAG_1=""
39661     fi
39662
39663     COND_DEBUG_INFO_0="#"
39664     if test "x$DEBUG_INFO" = "x0" ; then
39665         COND_DEBUG_INFO_0=""
39666     fi
39667
39668     COND_DEBUG_INFO_1="#"
39669     if test "x$DEBUG_INFO" = "x1" ; then
39670         COND_DEBUG_INFO_1=""
39671     fi
39672
39673     COND_DEPS_TRACKING_0="#"
39674     if test "x$DEPS_TRACKING" = "x0" ; then
39675         COND_DEPS_TRACKING_0=""
39676     fi
39677
39678     COND_DEPS_TRACKING_1="#"
39679     if test "x$DEPS_TRACKING" = "x1" ; then
39680         COND_DEPS_TRACKING_1=""
39681     fi
39682
39683     COND_GCC_PCH_1="#"
39684     if test "x$GCC_PCH" = "x1" ; then
39685         COND_GCC_PCH_1=""
39686     fi
39687
39688     COND_ICC_PCH_1="#"
39689     if test "x$ICC_PCH" = "x1" ; then
39690         COND_ICC_PCH_1=""
39691     fi
39692
39693     COND_MONOLITHIC_0="#"
39694     if test "x$MONOLITHIC" = "x0" ; then
39695         COND_MONOLITHIC_0=""
39696     fi
39697
39698     COND_MONOLITHIC_0_SHARED_0="#"
39699     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39700         COND_MONOLITHIC_0_SHARED_0=""
39701     fi
39702
39703     COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39704     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39705         COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39706     fi
39707
39708     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39709     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39710         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39711     fi
39712
39713     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39714     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39715         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39716     fi
39717
39718     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39719     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39720         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39721     fi
39722
39723     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39724     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39725         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39726     fi
39727
39728     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39729     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39730         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39731     fi
39732
39733     COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39734     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39735         COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39736     fi
39737
39738     COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39739     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39740         COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39741     fi
39742
39743     COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39744     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39745         COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39746     fi
39747
39748     COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39749     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39750         COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39751     fi
39752
39753     COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39754     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39755         COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39756     fi
39757
39758     COND_MONOLITHIC_0_SHARED_1="#"
39759     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39760         COND_MONOLITHIC_0_SHARED_1=""
39761     fi
39762
39763     COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39764     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39765         COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39766     fi
39767
39768     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39769     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39770         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39771     fi
39772
39773     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39774     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39775         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39776     fi
39777
39778     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39779     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39780         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39781     fi
39782
39783     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39784     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39785         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39786     fi
39787
39788     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39789     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39790         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39791     fi
39792
39793     COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39794     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39795         COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39796     fi
39797
39798     COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39799     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39800         COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39801     fi
39802
39803     COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39804     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39805         COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39806     fi
39807
39808     COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39809     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39810         COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39811     fi
39812
39813     COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39814     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39815         COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39816     fi
39817
39818     COND_MONOLITHIC_0_USE_AUI_1="#"
39819     if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39820         COND_MONOLITHIC_0_USE_AUI_1=""
39821     fi
39822
39823     COND_MONOLITHIC_0_USE_GUI_1="#"
39824     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39825         COND_MONOLITHIC_0_USE_GUI_1=""
39826     fi
39827
39828     COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39829     if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39830         COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39831     fi
39832
39833     COND_MONOLITHIC_0_USE_HTML_1="#"
39834     if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39835         COND_MONOLITHIC_0_USE_HTML_1=""
39836     fi
39837
39838     COND_MONOLITHIC_0_USE_MEDIA_1="#"
39839     if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39840         COND_MONOLITHIC_0_USE_MEDIA_1=""
39841     fi
39842
39843     COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39844     if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39845         COND_MONOLITHIC_0_USE_PROPGRID_1=""
39846     fi
39847
39848     COND_MONOLITHIC_0_USE_QA_1="#"
39849     if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39850         COND_MONOLITHIC_0_USE_QA_1=""
39851     fi
39852
39853     COND_MONOLITHIC_0_USE_RIBBON_1="#"
39854     if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39855         COND_MONOLITHIC_0_USE_RIBBON_1=""
39856     fi
39857
39858     COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39859     if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39860         COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39861     fi
39862
39863     COND_MONOLITHIC_0_USE_STC_1="#"
39864     if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39865         COND_MONOLITHIC_0_USE_STC_1=""
39866     fi
39867
39868     COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39869     if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39870         COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39871     fi
39872
39873     COND_MONOLITHIC_0_USE_XRC_1="#"
39874     if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39875         COND_MONOLITHIC_0_USE_XRC_1=""
39876     fi
39877
39878     COND_MONOLITHIC_1="#"
39879     if test "x$MONOLITHIC" = "x1" ; then
39880         COND_MONOLITHIC_1=""
39881     fi
39882
39883     COND_MONOLITHIC_1_SHARED_0="#"
39884     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39885         COND_MONOLITHIC_1_SHARED_0=""
39886     fi
39887
39888     COND_MONOLITHIC_1_SHARED_1="#"
39889     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39890         COND_MONOLITHIC_1_SHARED_1=""
39891     fi
39892
39893     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39894     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39895         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39896     fi
39897
39898     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39899     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39900         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39901     fi
39902
39903     COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39904     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39905         COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39906     fi
39907
39908     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39909     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39910         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39911     fi
39912
39913     COND_PLATFORM_MACOSX_1="#"
39914     if test "x$PLATFORM_MACOSX" = "x1" ; then
39915         COND_PLATFORM_MACOSX_1=""
39916     fi
39917
39918     COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39919     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39920         COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39921     fi
39922
39923     COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39924     if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39925         COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39926     fi
39927
39928     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39929     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39930         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39931     fi
39932
39933     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39934     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39935         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39936     fi
39937
39938     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
39939     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
39940         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
39941     fi
39942
39943     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
39944     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
39945         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
39946     fi
39947
39948     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39949     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39950         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39951     fi
39952
39953     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39954     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39955         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39956     fi
39957
39958     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39959     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39960         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39961     fi
39962
39963     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39964     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39965         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39966     fi
39967
39968     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39969     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39970         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39971     fi
39972
39973     COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39974     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39975         COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39976     fi
39977
39978     COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39979     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39980         COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39981     fi
39982
39983     COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39984     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39985         COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39986     fi
39987
39988     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39989     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39990         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39991     fi
39992
39993     COND_PLATFORM_MACOS_1="#"
39994     if test "x$PLATFORM_MACOS" = "x1" ; then
39995         COND_PLATFORM_MACOS_1=""
39996     fi
39997
39998     COND_PLATFORM_MAC_0="#"
39999     if test "x$PLATFORM_MAC" = "x0" ; then
40000         COND_PLATFORM_MAC_0=""
40001     fi
40002
40003     COND_PLATFORM_MAC_1="#"
40004     if test "x$PLATFORM_MAC" = "x1" ; then
40005         COND_PLATFORM_MAC_1=""
40006     fi
40007
40008     COND_PLATFORM_MSDOS_0="#"
40009     if test "x$PLATFORM_MSDOS" = "x0" ; then
40010         COND_PLATFORM_MSDOS_0=""
40011     fi
40012
40013     COND_PLATFORM_MSDOS_1="#"
40014     if test "x$PLATFORM_MSDOS" = "x1" ; then
40015         COND_PLATFORM_MSDOS_1=""
40016     fi
40017
40018     COND_PLATFORM_OS2_1="#"
40019     if test "x$PLATFORM_OS2" = "x1" ; then
40020         COND_PLATFORM_OS2_1=""
40021     fi
40022
40023     COND_PLATFORM_UNIX_0="#"
40024     if test "x$PLATFORM_UNIX" = "x0" ; then
40025         COND_PLATFORM_UNIX_0=""
40026     fi
40027
40028     COND_PLATFORM_UNIX_1="#"
40029     if test "x$PLATFORM_UNIX" = "x1" ; then
40030         COND_PLATFORM_UNIX_1=""
40031     fi
40032
40033     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40034     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40035         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40036     fi
40037
40038     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40039     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40040         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40041     fi
40042
40043     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40044     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40045         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40046     fi
40047
40048     COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40049     if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40050         COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40051     fi
40052
40053     COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40054     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40055         COND_PLATFORM_UNIX_1_USE_GUI_1=""
40056     fi
40057
40058     COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40059     if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40060         COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40061     fi
40062
40063     COND_PLATFORM_WIN32_0="#"
40064     if test "x$PLATFORM_WIN32" = "x0" ; then
40065         COND_PLATFORM_WIN32_0=""
40066     fi
40067
40068     COND_PLATFORM_WIN32_1="#"
40069     if test "x$PLATFORM_WIN32" = "x1" ; then
40070         COND_PLATFORM_WIN32_1=""
40071     fi
40072
40073     COND_PLATFORM_WIN32_1_SHARED_0="#"
40074     if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40075         COND_PLATFORM_WIN32_1_SHARED_0=""
40076     fi
40077
40078     COND_SHARED_0="#"
40079     if test "x$SHARED" = "x0" ; then
40080         COND_SHARED_0=""
40081     fi
40082
40083     COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40084     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40085         COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40086     fi
40087
40088     COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40089     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40090         COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40091     fi
40092
40093     COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40094     if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40095         COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40096     fi
40097
40098     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40099     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40100         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40101     fi
40102
40103     COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40104     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40105         COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40106     fi
40107
40108     COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40109     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40110         COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40111     fi
40112
40113     COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40114     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40115         COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40116     fi
40117
40118     COND_SHARED_0_USE_STC_1="#"
40119     if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40120         COND_SHARED_0_USE_STC_1=""
40121     fi
40122
40123     COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40124     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40125         COND_SHARED_0_wxUSE_EXPAT_builtin=""
40126     fi
40127
40128     COND_SHARED_0_wxUSE_REGEX_builtin="#"
40129     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40130         COND_SHARED_0_wxUSE_REGEX_builtin=""
40131     fi
40132
40133     COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40134     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40135         COND_SHARED_0_wxUSE_ZLIB_builtin=""
40136     fi
40137
40138     COND_SHARED_1="#"
40139     if test "x$SHARED" = "x1" ; then
40140         COND_SHARED_1=""
40141     fi
40142
40143     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40144     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40145         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40146     fi
40147
40148     COND_TOOLKIT_="#"
40149     if test "x$TOOLKIT" = "x" ; then
40150         COND_TOOLKIT_=""
40151     fi
40152
40153     COND_TOOLKIT_COCOA="#"
40154     if test "x$TOOLKIT" = "xCOCOA" ; then
40155         COND_TOOLKIT_COCOA=""
40156     fi
40157
40158     COND_TOOLKIT_COCOA_USE_GUI_1="#"
40159     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40160         COND_TOOLKIT_COCOA_USE_GUI_1=""
40161     fi
40162
40163     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40164     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40165         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40166     fi
40167
40168     COND_TOOLKIT_DFB="#"
40169     if test "x$TOOLKIT" = "xDFB" ; then
40170         COND_TOOLKIT_DFB=""
40171     fi
40172
40173     COND_TOOLKIT_DFB_USE_GUI_1="#"
40174     if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40175         COND_TOOLKIT_DFB_USE_GUI_1=""
40176     fi
40177
40178     COND_TOOLKIT_GTK="#"
40179     if test "x$TOOLKIT" = "xGTK" ; then
40180         COND_TOOLKIT_GTK=""
40181     fi
40182
40183     COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40184     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40185         COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40186     fi
40187
40188     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40189     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40190         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40191     fi
40192
40193     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40194     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40195         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40196     fi
40197
40198     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40199     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40200         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40201     fi
40202
40203     COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40204     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40205         COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40206     fi
40207
40208     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40209     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40210         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40211     fi
40212
40213     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40214     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40215         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40216     fi
40217
40218     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40219     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40220         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40221     fi
40222
40223     COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40224     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40225         COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40226     fi
40227
40228     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40229     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40230         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40231     fi
40232
40233     COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40234     if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40235         COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40236     fi
40237
40238     COND_TOOLKIT_GTK_USE_GUI_1="#"
40239     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40240         COND_TOOLKIT_GTK_USE_GUI_1=""
40241     fi
40242
40243     COND_TOOLKIT_MAC="#"
40244     if test "x$TOOLKIT" = "xMAC" ; then
40245         COND_TOOLKIT_MAC=""
40246     fi
40247
40248     COND_TOOLKIT_MOTIF="#"
40249     if test "x$TOOLKIT" = "xMOTIF" ; then
40250         COND_TOOLKIT_MOTIF=""
40251     fi
40252
40253     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40254     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40255         COND_TOOLKIT_MOTIF_USE_GUI_1=""
40256     fi
40257
40258     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40259     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40260         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40261     fi
40262
40263     COND_TOOLKIT_MSW="#"
40264     if test "x$TOOLKIT" = "xMSW" ; then
40265         COND_TOOLKIT_MSW=""
40266     fi
40267
40268     COND_TOOLKIT_MSW_USE_GUI_1="#"
40269     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40270         COND_TOOLKIT_MSW_USE_GUI_1=""
40271     fi
40272
40273     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40274     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40275         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40276     fi
40277
40278     COND_TOOLKIT_MSW_WXUNIV_0="#"
40279     if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40280         COND_TOOLKIT_MSW_WXUNIV_0=""
40281     fi
40282
40283     COND_TOOLKIT_OSX_CARBON="#"
40284     if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40285         COND_TOOLKIT_OSX_CARBON=""
40286     fi
40287
40288     COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40289     if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40290         COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40291     fi
40292
40293     COND_TOOLKIT_OSX_COCOA="#"
40294     if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40295         COND_TOOLKIT_OSX_COCOA=""
40296     fi
40297
40298     COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40299     if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40300         COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40301     fi
40302
40303     COND_TOOLKIT_OSX_IPHONE="#"
40304     if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40305         COND_TOOLKIT_OSX_IPHONE=""
40306     fi
40307
40308     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40309     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40310         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40311     fi
40312
40313     COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40314     if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40315         COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40316     fi
40317
40318     COND_TOOLKIT_PM="#"
40319     if test "x$TOOLKIT" = "xPM" ; then
40320         COND_TOOLKIT_PM=""
40321     fi
40322
40323     COND_TOOLKIT_PM_USE_GUI_1="#"
40324     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40325         COND_TOOLKIT_PM_USE_GUI_1=""
40326     fi
40327
40328     COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40329     if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40330         COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40331     fi
40332
40333     COND_TOOLKIT_WINCE="#"
40334     if test "x$TOOLKIT" = "xWINCE" ; then
40335         COND_TOOLKIT_WINCE=""
40336     fi
40337
40338     COND_TOOLKIT_WINCE_USE_GUI_1="#"
40339     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40340         COND_TOOLKIT_WINCE_USE_GUI_1=""
40341     fi
40342
40343     COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40344     if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40345         COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40346     fi
40347
40348     COND_TOOLKIT_WINCE_WXUNIV_0="#"
40349     if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40350         COND_TOOLKIT_WINCE_WXUNIV_0=""
40351     fi
40352
40353     COND_TOOLKIT_X11="#"
40354     if test "x$TOOLKIT" = "xX11" ; then
40355         COND_TOOLKIT_X11=""
40356     fi
40357
40358     COND_TOOLKIT_X11_USE_GUI_1="#"
40359     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40360         COND_TOOLKIT_X11_USE_GUI_1=""
40361     fi
40362
40363     COND_UNICODE_1="#"
40364     if test "x$UNICODE" = "x1" ; then
40365         COND_UNICODE_1=""
40366     fi
40367
40368     COND_USE_CAIRO_1="#"
40369     if test "x$USE_CAIRO" = "x1" ; then
40370         COND_USE_CAIRO_1=""
40371     fi
40372
40373     COND_USE_EXCEPTIONS_0="#"
40374     if test "x$USE_EXCEPTIONS" = "x0" ; then
40375         COND_USE_EXCEPTIONS_0=""
40376     fi
40377
40378     COND_USE_EXCEPTIONS_1="#"
40379     if test "x$USE_EXCEPTIONS" = "x1" ; then
40380         COND_USE_EXCEPTIONS_1=""
40381     fi
40382
40383     COND_USE_GUI_0="#"
40384     if test "x$USE_GUI" = "x0" ; then
40385         COND_USE_GUI_0=""
40386     fi
40387
40388     COND_USE_GUI_1="#"
40389     if test "x$USE_GUI" = "x1" ; then
40390         COND_USE_GUI_1=""
40391     fi
40392
40393     COND_USE_GUI_1_USE_OPENGL_1="#"
40394     if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40395         COND_USE_GUI_1_USE_OPENGL_1=""
40396     fi
40397
40398     COND_USE_GUI_1_WXUNIV_0="#"
40399     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40400         COND_USE_GUI_1_WXUNIV_0=""
40401     fi
40402
40403     COND_USE_GUI_1_WXUNIV_1="#"
40404     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40405         COND_USE_GUI_1_WXUNIV_1=""
40406     fi
40407
40408     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40409     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40410         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40411     fi
40412
40413     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40414     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40415         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40416     fi
40417
40418     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40419     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40420         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40421     fi
40422
40423     COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40424     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40425         COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40426     fi
40427
40428     COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40429     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40430         COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40431     fi
40432
40433     COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40434     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40435         COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40436     fi
40437
40438     COND_USE_OPENGL_1="#"
40439     if test "x$USE_OPENGL" = "x1" ; then
40440         COND_USE_OPENGL_1=""
40441     fi
40442
40443     COND_USE_PCH_1="#"
40444     if test "x$USE_PCH" = "x1" ; then
40445         COND_USE_PCH_1=""
40446     fi
40447
40448     COND_USE_PLUGINS_0="#"
40449     if test "x$USE_PLUGINS" = "x0" ; then
40450         COND_USE_PLUGINS_0=""
40451     fi
40452
40453     COND_USE_RTTI_0="#"
40454     if test "x$USE_RTTI" = "x0" ; then
40455         COND_USE_RTTI_0=""
40456     fi
40457
40458     COND_USE_RTTI_1="#"
40459     if test "x$USE_RTTI" = "x1" ; then
40460         COND_USE_RTTI_1=""
40461     fi
40462
40463     COND_USE_SOTWOSYMLINKS_1="#"
40464     if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40465         COND_USE_SOTWOSYMLINKS_1=""
40466     fi
40467
40468     COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40469     if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40470         COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40471     fi
40472
40473     COND_USE_SOVERLINUX_1="#"
40474     if test "x$USE_SOVERLINUX" = "x1" ; then
40475         COND_USE_SOVERLINUX_1=""
40476     fi
40477
40478     COND_USE_SOVERSION_0="#"
40479     if test "x$USE_SOVERSION" = "x0" ; then
40480         COND_USE_SOVERSION_0=""
40481     fi
40482
40483     COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40484     if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40485         COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40486     fi
40487
40488     COND_USE_SOVERSOLARIS_1="#"
40489     if test "x$USE_SOVERSOLARIS" = "x1" ; then
40490         COND_USE_SOVERSOLARIS_1=""
40491     fi
40492
40493     COND_USE_STC_1="#"
40494     if test "x$USE_STC" = "x1" ; then
40495         COND_USE_STC_1=""
40496     fi
40497
40498     COND_USE_THREADS_0="#"
40499     if test "x$USE_THREADS" = "x0" ; then
40500         COND_USE_THREADS_0=""
40501     fi
40502
40503     COND_USE_THREADS_1="#"
40504     if test "x$USE_THREADS" = "x1" ; then
40505         COND_USE_THREADS_1=""
40506     fi
40507
40508     COND_USE_XRC_1="#"
40509     if test "x$USE_XRC" = "x1" ; then
40510         COND_USE_XRC_1=""
40511     fi
40512
40513     COND_WINDOWS_IMPLIB_1="#"
40514     if test "x$WINDOWS_IMPLIB" = "x1" ; then
40515         COND_WINDOWS_IMPLIB_1=""
40516     fi
40517
40518     COND_WITH_PLUGIN_SDL_1="#"
40519     if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40520         COND_WITH_PLUGIN_SDL_1=""
40521     fi
40522
40523     COND_WXUNIV_0="#"
40524     if test "x$WXUNIV" = "x0" ; then
40525         COND_WXUNIV_0=""
40526     fi
40527
40528     COND_WXUNIV_1="#"
40529     if test "x$WXUNIV" = "x1" ; then
40530         COND_WXUNIV_1=""
40531     fi
40532
40533     COND_WXUSE_EXPAT_BUILTIN="#"
40534     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40535         COND_WXUSE_EXPAT_BUILTIN=""
40536     fi
40537
40538     COND_WXUSE_LIBJPEG_BUILTIN="#"
40539     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40540         COND_WXUSE_LIBJPEG_BUILTIN=""
40541     fi
40542
40543     COND_WXUSE_LIBPNG_BUILTIN="#"
40544     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40545         COND_WXUSE_LIBPNG_BUILTIN=""
40546     fi
40547
40548     COND_WXUSE_LIBTIFF_BUILTIN="#"
40549     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40550         COND_WXUSE_LIBTIFF_BUILTIN=""
40551     fi
40552
40553     COND_WXUSE_REGEX_BUILTIN="#"
40554     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40555         COND_WXUSE_REGEX_BUILTIN=""
40556     fi
40557
40558     COND_WXUSE_ZLIB_BUILTIN="#"
40559     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40560         COND_WXUSE_ZLIB_BUILTIN=""
40561     fi
40562
40563     COND_wxUSE_EXPAT_builtin="#"
40564     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40565         COND_wxUSE_EXPAT_builtin=""
40566     fi
40567
40568     COND_wxUSE_LIBJPEG_builtin="#"
40569     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40570         COND_wxUSE_LIBJPEG_builtin=""
40571     fi
40572
40573     COND_wxUSE_LIBPNG_builtin="#"
40574     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40575         COND_wxUSE_LIBPNG_builtin=""
40576     fi
40577
40578     COND_wxUSE_LIBTIFF_builtin="#"
40579     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40580         COND_wxUSE_LIBTIFF_builtin=""
40581     fi
40582
40583     COND_wxUSE_REGEX_builtin="#"
40584     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40585         COND_wxUSE_REGEX_builtin=""
40586     fi
40587
40588     COND_wxUSE_ZLIB_builtin="#"
40589     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40590         COND_wxUSE_ZLIB_builtin=""
40591     fi
40592
40593
40594
40595     if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40596         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
40597     fi
40598
40599     if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40600         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
40601     fi
40602
40603
40604 case ${INSTALL} in
40605   /* ) # Absolute
40606      ;;
40607   ?:* ) # Drive letter, considered as absolute.
40608      ;;
40609   *)
40610      INSTALL=`pwd`/${INSTALL} ;;
40611 esac
40612
40613 if test "$wxUSE_GUI" = "yes"; then
40614
40615 if test "$wxUSE_MSW" = 1 ; then
40616     if test "x$WINDRES" = "x"; then
40617         as_fn_error $? "Required windres program not found" "$LINENO" 5
40618     fi
40619
40620     RESCOMP="$WINDRES"
40621 fi
40622
40623 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40624             WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40625     WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40626
40627         LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40628
40629     # Extract the first word of "DeRez", so it can be a program name with args.
40630 set dummy DeRez; ac_word=$2
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40632 $as_echo_n "checking for $ac_word... " >&6; }
40633 if ${ac_cv_prog_DEREZ+:} false; then :
40634   $as_echo_n "(cached) " >&6
40635 else
40636   if test -n "$DEREZ"; then
40637   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40638 else
40639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40640 for as_dir in $PATH
40641 do
40642   IFS=$as_save_IFS
40643   test -z "$as_dir" && as_dir=.
40644     for ac_exec_ext in '' $ac_executable_extensions; do
40645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40646     ac_cv_prog_DEREZ="DeRez"
40647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40648     break 2
40649   fi
40650 done
40651   done
40652 IFS=$as_save_IFS
40653
40654   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40655 fi
40656 fi
40657 DEREZ=$ac_cv_prog_DEREZ
40658 if test -n "$DEREZ"; then
40659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40660 $as_echo "$DEREZ" >&6; }
40661 else
40662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40663 $as_echo "no" >&6; }
40664 fi
40665
40666
40667
40668     MACSETFILE="\$(SETFILE)"
40669
40670             if test "$wxUSE_OSX_CARBON" = 1; then
40671         POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40672         RESCOMP="$REZ"
40673         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40674     else
40675         POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40676         RESCOMP="cat /dev/null \| $REZ"
40677         WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40678     fi
40679
40680 else
40681         MACSETFILE="@true"
40682
40683     if test "$wxUSE_PM" = 1; then
40684         RESCOMP="emxbind"
40685         WXCONFIG_RESFLAGS="-ep"
40686
40687                 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40688     else
40689         POSTLINK_COMMAND="@true"
40690     fi
40691 fi
40692
40693 fi
40694
40695
40696 if test $GCC_PCH = 1
40697 then
40698     if test "$wx_cv_gcc_pch_bug" = yes; then
40699         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40700 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40701         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40702 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40703         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40704 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40705     fi
40706
40707     # Our WX_PRECOMP flag does not make sense for any language except C++ because
40708     # the headers that benefit from precompilation are mostly C++ headers.
40709     CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40710     # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40711     #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40712 fi
40713
40714
40715 if test "$wxUSE_MAC" = 1 ; then
40716     if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40717         if test "x$disable_macosx_deps" = "xyes"; then
40718             sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40719                 mv temp bk-deps
40720             chmod +x bk-deps
40721         fi
40722     fi
40723 fi
40724
40725 if test "$wxUSE_SHARED" = "yes"; then
40726                 case "${host}" in
40727       *-pc-os2_emx | *-pc-os2-emx )
40728         SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40729         SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40730         cp -p ${srcdir}/src/os2/dllnames.sh .
40731         cp -p ${srcdir}/src/os2/dllar.sh .
40732       ;;
40733     esac
40734 fi
40735 if test "$wxUSE_OMF" = "yes"; then
40736     case "${host}" in
40737       *-pc-os2_emx | *-pc-os2-emx )
40738         LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40739         LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40740         WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40741       ;;
40742     esac
40743 fi
40744
40745 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40746
40747
40748 case "${host}" in
40749     *-*-solaris2* )
40750                         if test "$GCC" = yes; then
40751             CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40752             LIBS=`echo $LIBS | sed 's/-mt//g'`
40753             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40754         fi
40755         ;;
40756
40757     *-*-linux* )
40758                         if test "x$SUNCXX" = xyes; then
40759             CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40760             LIBS=`echo $LIBS | sed 's/-pthread//g'`
40761             EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40762         fi
40763         ;;
40764 esac
40765
40766 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40767 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40768 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40769 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40770
40771 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40834 set x ${MAKE-make}
40835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
40837   $as_echo_n "(cached) " >&6
40838 else
40839   cat >conftest.make <<\_ACEOF
40840 SHELL = /bin/sh
40841 all:
40842         @echo '@@@%%%=$(MAKE)=@@@%%%'
40843 _ACEOF
40844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40846   *@@@%%%=?*=@@@%%%*)
40847     eval ac_cv_prog_make_${ac_make}_set=yes;;
40848   *)
40849     eval ac_cv_prog_make_${ac_make}_set=no;;
40850 esac
40851 rm -f conftest.make
40852 fi
40853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40855 $as_echo "yes" >&6; }
40856   SET_MAKE=
40857 else
40858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40859 $as_echo "no" >&6; }
40860   SET_MAKE="MAKE=${MAKE-make}"
40861 fi
40862
40863
40864
40865 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40866
40867
40868 if test "$USE_WIN32" = 1; then
40869     ac_config_commands="$ac_config_commands rcdefs.h"
40870
40871 fi
40872
40873 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40874
40875
40876 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40877
40878
40879 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40880
40881
40882 if test "$wx_cv_version_script" = "yes"; then
40883     ac_config_files="$ac_config_files version-script"
40884
40885 fi
40886 ac_config_files="$ac_config_files Makefile"
40887
40888
40889 ac_config_commands="$ac_config_commands wx-config"
40890
40891
40892
40893 if test "$wxWITH_SUBDIRS" != "no"; then
40894 if test "$wxUSE_GUI" = "yes"; then
40895     SUBDIRS="samples demos utils"
40896 else
40897             SUBDIRS="samples utils"
40898 fi
40899
40900
40901
40902 # Check whether --with-cppunit-prefix was given.
40903 if test "${with_cppunit_prefix+set}" = set; then :
40904   withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40905 else
40906   cppunit_config_prefix=""
40907 fi
40908
40909
40910 # Check whether --with-cppunit-exec-prefix was given.
40911 if test "${with_cppunit_exec_prefix+set}" = set; then :
40912   withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40913 else
40914   cppunit_config_exec_prefix=""
40915 fi
40916
40917
40918   if test x$cppunit_config_exec_prefix != x ; then
40919      cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40920      if test x${CPPUNIT_CONFIG+set} != xset ; then
40921         CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40922      fi
40923   fi
40924   if test x$cppunit_config_prefix != x ; then
40925      cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40926      if test x${CPPUNIT_CONFIG+set} != xset ; then
40927         CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40928      fi
40929   fi
40930
40931   # Extract the first word of "cppunit-config", so it can be a program name with args.
40932 set dummy cppunit-config; ac_word=$2
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40934 $as_echo_n "checking for $ac_word... " >&6; }
40935 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
40936   $as_echo_n "(cached) " >&6
40937 else
40938   case $CPPUNIT_CONFIG in
40939   [\\/]* | ?:[\\/]*)
40940   ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40941   ;;
40942   *)
40943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40944 for as_dir in $PATH
40945 do
40946   IFS=$as_save_IFS
40947   test -z "$as_dir" && as_dir=.
40948     for ac_exec_ext in '' $ac_executable_extensions; do
40949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40950     ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40952     break 2
40953   fi
40954 done
40955   done
40956 IFS=$as_save_IFS
40957
40958   test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40959   ;;
40960 esac
40961 fi
40962 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40963 if test -n "$CPPUNIT_CONFIG"; then
40964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40965 $as_echo "$CPPUNIT_CONFIG" >&6; }
40966 else
40967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40968 $as_echo "no" >&6; }
40969 fi
40970
40971
40972   cppunit_version_min=1.8.0
40973
40974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40975 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40976   no_cppunit=""
40977   if test "$CPPUNIT_CONFIG" = "no" ; then
40978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40979 $as_echo "no" >&6; }
40980     no_cppunit=yes
40981   else
40982     CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40983     CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40984     cppunit_version=`$CPPUNIT_CONFIG --version`
40985
40986     cppunit_major_version=`echo $cppunit_version | \
40987            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40988     cppunit_minor_version=`echo $cppunit_version | \
40989            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40990     cppunit_micro_version=`echo $cppunit_version | \
40991            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40992
40993     cppunit_major_min=`echo $cppunit_version_min | \
40994            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40995     cppunit_minor_min=`echo $cppunit_version_min | \
40996            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40997     cppunit_micro_min=`echo $cppunit_version_min | \
40998            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40999
41000     cppunit_version_proper=`expr \
41001         $cppunit_major_version \> $cppunit_major_min \| \
41002         $cppunit_major_version \= $cppunit_major_min \& \
41003         $cppunit_minor_version \> $cppunit_minor_min \| \
41004         $cppunit_major_version \= $cppunit_major_min \& \
41005         $cppunit_minor_version \= $cppunit_minor_min \& \
41006         $cppunit_micro_version \>= $cppunit_micro_min `
41007
41008     if test "$cppunit_version_proper" = "1" ; then
41009       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41010 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41011     else
41012       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41013 $as_echo "no" >&6; }
41014       no_cppunit=yes
41015     fi
41016   fi
41017
41018   if test "x$no_cppunit" = x ; then
41019      SUBDIRS="$SUBDIRS tests"
41020   else
41021      CPPUNIT_CFLAGS=""
41022      CPPUNIT_LIBS=""
41023      :
41024   fi
41025
41026
41027
41028
41029
41030 for subdir in $SUBDIRS; do
41031     if test -d ${srcdir}/${subdir} ; then
41032         if test "$wxUSE_GUI" = "yes"; then
41033             if test ${subdir} = "samples"; then
41034                                                 makefiles="samples/Makefile.in $makefiles"
41035                 for sample in $SAMPLES_SUBDIRS; do
41036                     if test -d $srcdir/samples/$sample; then
41037                         makefiles="samples/$sample/Makefile.in $makefiles"
41038                     fi
41039                 done
41040             else
41041                                                                 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41042                 eval "disabled=\$$disabled_var"
41043                 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41044                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41045             fi
41046         else
41047                                     if test ${subdir} = "samples"; then
41048                                                 makefiles="samples/Makefile.in $makefiles"
41049                 for sample in `echo $SAMPLES_SUBDIRS`; do
41050                     if test -d $srcdir/samples/$sample; then
41051                         makefiles="samples/$sample/Makefile.in $makefiles"
41052                     fi
41053                 done
41054             elif test ${subdir} = "utils"; then
41055                 makefiles=""
41056                 for util in ifacecheck ; do
41057                     if test -d $srcdir/utils/$util ; then
41058                         makefiles="utils/$util/src/Makefile.in \
41059                                    $makefiles"
41060                     fi
41061                 done
41062             else
41063                                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41064             fi
41065         fi
41066
41067         for mkin in $makefiles ; do
41068             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41069             ac_config_files="$ac_config_files $mk"
41070
41071         done
41072     fi
41073 done
41074 fi
41075 cat >confcache <<\_ACEOF
41076 # This file is a shell script that caches the results of configure
41077 # tests run on this system so they can be shared between configure
41078 # scripts and configure runs, see configure's option --config-cache.
41079 # It is not useful on other systems.  If it contains results you don't
41080 # want to keep, you may remove or edit it.
41081 #
41082 # config.status only pays attention to the cache file if you give it
41083 # the --recheck option to rerun configure.
41084 #
41085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41087 # following values.
41088
41089 _ACEOF
41090
41091 # The following way of writing the cache mishandles newlines in values,
41092 # but we know of no workaround that is simple, portable, and efficient.
41093 # So, we kill variables containing newlines.
41094 # Ultrix sh set writes to stderr and can't be redirected directly,
41095 # and sets the high bit in the cache file unless we assign to the vars.
41096 (
41097   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41098     eval ac_val=\$$ac_var
41099     case $ac_val in #(
41100     *${as_nl}*)
41101       case $ac_var in #(
41102       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41103 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41104       esac
41105       case $ac_var in #(
41106       _ | IFS | as_nl) ;; #(
41107       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41108       *) { eval $ac_var=; unset $ac_var;} ;;
41109       esac ;;
41110     esac
41111   done
41112
41113   (set) 2>&1 |
41114     case $as_nl`(ac_space=' '; set) 2>&1` in #(
41115     *${as_nl}ac_space=\ *)
41116       # `set' does not quote correctly, so add quotes: double-quote
41117       # substitution turns \\\\ into \\, and sed turns \\ into \.
41118       sed -n \
41119         "s/'/'\\\\''/g;
41120           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41121       ;; #(
41122     *)
41123       # `set' quotes correctly as required by POSIX, so do not add quotes.
41124       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41125       ;;
41126     esac |
41127     sort
41128 ) |
41129   sed '
41130      /^ac_cv_env_/b end
41131      t clear
41132      :clear
41133      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41134      t end
41135      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41136      :end' >>confcache
41137 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41138   if test -w "$cache_file"; then
41139     if test "x$cache_file" != "x/dev/null"; then
41140       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41141 $as_echo "$as_me: updating cache $cache_file" >&6;}
41142       if test ! -f "$cache_file" || test -h "$cache_file"; then
41143         cat confcache >"$cache_file"
41144       else
41145         case $cache_file in #(
41146         */* | ?:*)
41147           mv -f confcache "$cache_file"$$ &&
41148           mv -f "$cache_file"$$ "$cache_file" ;; #(
41149         *)
41150           mv -f confcache "$cache_file" ;;
41151         esac
41152       fi
41153     fi
41154   else
41155     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41157   fi
41158 fi
41159 rm -f confcache
41160
41161 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41162 # Let make expand exec_prefix.
41163 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41164
41165 DEFS=-DHAVE_CONFIG_H
41166
41167 ac_libobjs=
41168 ac_ltlibobjs=
41169 U=
41170 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41171   # 1. Remove the extension, and $U if already installed.
41172   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41173   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41174   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
41175   #    will be set to the directory where LIBOBJS objects are built.
41176   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41177   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41178 done
41179 LIBOBJS=$ac_libobjs
41180
41181 LTLIBOBJS=$ac_ltlibobjs
41182
41183
41184
41185 : "${CONFIG_STATUS=./config.status}"
41186 ac_write_fail=0
41187 ac_clean_files_save=$ac_clean_files
41188 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41190 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41191 as_write_fail=0
41192 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41193 #! $SHELL
41194 # Generated by $as_me.
41195 # Run this file to recreate the current configuration.
41196 # Compiler output produced by configure, useful for debugging
41197 # configure, is in config.log if it exists.
41198
41199 debug=false
41200 ac_cs_recheck=false
41201 ac_cs_silent=false
41202
41203 SHELL=\${CONFIG_SHELL-$SHELL}
41204 export SHELL
41205 _ASEOF
41206 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41207 ## -------------------- ##
41208 ## M4sh Initialization. ##
41209 ## -------------------- ##
41210
41211 # Be more Bourne compatible
41212 DUALCASE=1; export DUALCASE # for MKS sh
41213 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41214   emulate sh
41215   NULLCMD=:
41216   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41217   # is contrary to our usage.  Disable this feature.
41218   alias -g '${1+"$@"}'='"$@"'
41219   setopt NO_GLOB_SUBST
41220 else
41221   case `(set -o) 2>/dev/null` in #(
41222   *posix*) :
41223     set -o posix ;; #(
41224   *) :
41225      ;;
41226 esac
41227 fi
41228
41229
41230 as_nl='
41231 '
41232 export as_nl
41233 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41234 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41237 # Prefer a ksh shell builtin over an external printf program on Solaris,
41238 # but without wasting forks for bash or zsh.
41239 if test -z "$BASH_VERSION$ZSH_VERSION" \
41240     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41241   as_echo='print -r --'
41242   as_echo_n='print -rn --'
41243 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41244   as_echo='printf %s\n'
41245   as_echo_n='printf %s'
41246 else
41247   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41248     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41249     as_echo_n='/usr/ucb/echo -n'
41250   else
41251     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41252     as_echo_n_body='eval
41253       arg=$1;
41254       case $arg in #(
41255       *"$as_nl"*)
41256         expr "X$arg" : "X\\(.*\\)$as_nl";
41257         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41258       esac;
41259       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41260     '
41261     export as_echo_n_body
41262     as_echo_n='sh -c $as_echo_n_body as_echo'
41263   fi
41264   export as_echo_body
41265   as_echo='sh -c $as_echo_body as_echo'
41266 fi
41267
41268 # The user is always right.
41269 if test "${PATH_SEPARATOR+set}" != set; then
41270   PATH_SEPARATOR=:
41271   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41272     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41273       PATH_SEPARATOR=';'
41274   }
41275 fi
41276
41277
41278 # IFS
41279 # We need space, tab and new line, in precisely that order.  Quoting is
41280 # there to prevent editors from complaining about space-tab.
41281 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41282 # splitting by setting IFS to empty value.)
41283 IFS=" ""        $as_nl"
41284
41285 # Find who we are.  Look in the path if we contain no directory separator.
41286 as_myself=
41287 case $0 in #((
41288   *[\\/]* ) as_myself=$0 ;;
41289   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41290 for as_dir in $PATH
41291 do
41292   IFS=$as_save_IFS
41293   test -z "$as_dir" && as_dir=.
41294     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41295   done
41296 IFS=$as_save_IFS
41297
41298      ;;
41299 esac
41300 # We did not find ourselves, most probably we were run as `sh COMMAND'
41301 # in which case we are not to be found in the path.
41302 if test "x$as_myself" = x; then
41303   as_myself=$0
41304 fi
41305 if test ! -f "$as_myself"; then
41306   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41307   exit 1
41308 fi
41309
41310 # Unset variables that we do not need and which cause bugs (e.g. in
41311 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
41312 # suppresses any "Segmentation fault" message there.  '((' could
41313 # trigger a bug in pdksh 5.2.14.
41314 for as_var in BASH_ENV ENV MAIL MAILPATH
41315 do eval test x\${$as_var+set} = xset \
41316   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41317 done
41318 PS1='$ '
41319 PS2='> '
41320 PS4='+ '
41321
41322 # NLS nuisances.
41323 LC_ALL=C
41324 export LC_ALL
41325 LANGUAGE=C
41326 export LANGUAGE
41327
41328 # CDPATH.
41329 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41330
41331
41332 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41333 # ----------------------------------------
41334 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41335 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41336 # script with STATUS, using 1 if that was 0.
41337 as_fn_error ()
41338 {
41339   as_status=$1; test $as_status -eq 0 && as_status=1
41340   if test "$4"; then
41341     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41342     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41343   fi
41344   $as_echo "$as_me: error: $2" >&2
41345   as_fn_exit $as_status
41346 } # as_fn_error
41347
41348
41349 # as_fn_set_status STATUS
41350 # -----------------------
41351 # Set $? to STATUS, without forking.
41352 as_fn_set_status ()
41353 {
41354   return $1
41355 } # as_fn_set_status
41356
41357 # as_fn_exit STATUS
41358 # -----------------
41359 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41360 as_fn_exit ()
41361 {
41362   set +e
41363   as_fn_set_status $1
41364   exit $1
41365 } # as_fn_exit
41366
41367 # as_fn_unset VAR
41368 # ---------------
41369 # Portably unset VAR.
41370 as_fn_unset ()
41371 {
41372   { eval $1=; unset $1;}
41373 }
41374 as_unset=as_fn_unset
41375 # as_fn_append VAR VALUE
41376 # ----------------------
41377 # Append the text in VALUE to the end of the definition contained in VAR. Take
41378 # advantage of any shell optimizations that allow amortized linear growth over
41379 # repeated appends, instead of the typical quadratic growth present in naive
41380 # implementations.
41381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41382   eval 'as_fn_append ()
41383   {
41384     eval $1+=\$2
41385   }'
41386 else
41387   as_fn_append ()
41388   {
41389     eval $1=\$$1\$2
41390   }
41391 fi # as_fn_append
41392
41393 # as_fn_arith ARG...
41394 # ------------------
41395 # Perform arithmetic evaluation on the ARGs, and store the result in the
41396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41397 # must be portable across $(()) and expr.
41398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41399   eval 'as_fn_arith ()
41400   {
41401     as_val=$(( $* ))
41402   }'
41403 else
41404   as_fn_arith ()
41405   {
41406     as_val=`expr "$@" || test $? -eq 1`
41407   }
41408 fi # as_fn_arith
41409
41410
41411 if expr a : '\(a\)' >/dev/null 2>&1 &&
41412    test "X`expr 00001 : '.*\(...\)'`" = X001; then
41413   as_expr=expr
41414 else
41415   as_expr=false
41416 fi
41417
41418 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41419   as_basename=basename
41420 else
41421   as_basename=false
41422 fi
41423
41424 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41425   as_dirname=dirname
41426 else
41427   as_dirname=false
41428 fi
41429
41430 as_me=`$as_basename -- "$0" ||
41431 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41432          X"$0" : 'X\(//\)$' \| \
41433          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41434 $as_echo X/"$0" |
41435     sed '/^.*\/\([^/][^/]*\)\/*$/{
41436             s//\1/
41437             q
41438           }
41439           /^X\/\(\/\/\)$/{
41440             s//\1/
41441             q
41442           }
41443           /^X\/\(\/\).*/{
41444             s//\1/
41445             q
41446           }
41447           s/.*/./; q'`
41448
41449 # Avoid depending upon Character Ranges.
41450 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41453 as_cr_digits='0123456789'
41454 as_cr_alnum=$as_cr_Letters$as_cr_digits
41455
41456 ECHO_C= ECHO_N= ECHO_T=
41457 case `echo -n x` in #(((((
41458 -n*)
41459   case `echo 'xy\c'` in
41460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
41461   xy)  ECHO_C='\c';;
41462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
41463        ECHO_T=' ';;
41464   esac;;
41465 *)
41466   ECHO_N='-n';;
41467 esac
41468
41469 rm -f conf$$ conf$$.exe conf$$.file
41470 if test -d conf$$.dir; then
41471   rm -f conf$$.dir/conf$$.file
41472 else
41473   rm -f conf$$.dir
41474   mkdir conf$$.dir 2>/dev/null
41475 fi
41476 if (echo >conf$$.file) 2>/dev/null; then
41477   if ln -s conf$$.file conf$$ 2>/dev/null; then
41478     as_ln_s='ln -s'
41479     # ... but there are two gotchas:
41480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41482     # In both cases, we have to default to `cp -pR'.
41483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41484       as_ln_s='cp -pR'
41485   elif ln conf$$.file conf$$ 2>/dev/null; then
41486     as_ln_s=ln
41487   else
41488     as_ln_s='cp -pR'
41489   fi
41490 else
41491   as_ln_s='cp -pR'
41492 fi
41493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41494 rmdir conf$$.dir 2>/dev/null
41495
41496
41497 # as_fn_mkdir_p
41498 # -------------
41499 # Create "$as_dir" as a directory, including parents if necessary.
41500 as_fn_mkdir_p ()
41501 {
41502
41503   case $as_dir in #(
41504   -*) as_dir=./$as_dir;;
41505   esac
41506   test -d "$as_dir" || eval $as_mkdir_p || {
41507     as_dirs=
41508     while :; do
41509       case $as_dir in #(
41510       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41511       *) as_qdir=$as_dir;;
41512       esac
41513       as_dirs="'$as_qdir' $as_dirs"
41514       as_dir=`$as_dirname -- "$as_dir" ||
41515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41516          X"$as_dir" : 'X\(//\)[^/]' \| \
41517          X"$as_dir" : 'X\(//\)$' \| \
41518          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41519 $as_echo X"$as_dir" |
41520     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41521             s//\1/
41522             q
41523           }
41524           /^X\(\/\/\)[^/].*/{
41525             s//\1/
41526             q
41527           }
41528           /^X\(\/\/\)$/{
41529             s//\1/
41530             q
41531           }
41532           /^X\(\/\).*/{
41533             s//\1/
41534             q
41535           }
41536           s/.*/./; q'`
41537       test -d "$as_dir" && break
41538     done
41539     test -z "$as_dirs" || eval "mkdir $as_dirs"
41540   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41541
41542
41543 } # as_fn_mkdir_p
41544 if mkdir -p . 2>/dev/null; then
41545   as_mkdir_p='mkdir -p "$as_dir"'
41546 else
41547   test -d ./-p && rmdir ./-p
41548   as_mkdir_p=false
41549 fi
41550
41551
41552 # as_fn_executable_p FILE
41553 # -----------------------
41554 # Test if FILE is an executable regular file.
41555 as_fn_executable_p ()
41556 {
41557   test -f "$1" && test -x "$1"
41558 } # as_fn_executable_p
41559 as_test_x='test -x'
41560 as_executable_p=as_fn_executable_p
41561
41562 # Sed expression to map a string onto a valid CPP name.
41563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41564
41565 # Sed expression to map a string onto a valid variable name.
41566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41567
41568
41569 exec 6>&1
41570 ## ----------------------------------- ##
41571 ## Main body of $CONFIG_STATUS script. ##
41572 ## ----------------------------------- ##
41573 _ASEOF
41574 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41575
41576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41577 # Save the log message, to keep $0 and so on meaningful, and to
41578 # report actual input values of CONFIG_FILES etc. instead of their
41579 # values after options handling.
41580 ac_log="
41581 This file was extended by wxWidgets $as_me 2.9.5, which was
41582 generated by GNU Autoconf 2.69.  Invocation command line was
41583
41584   CONFIG_FILES    = $CONFIG_FILES
41585   CONFIG_HEADERS  = $CONFIG_HEADERS
41586   CONFIG_LINKS    = $CONFIG_LINKS
41587   CONFIG_COMMANDS = $CONFIG_COMMANDS
41588   $ $0 $@
41589
41590 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41591 "
41592
41593 _ACEOF
41594
41595 case $ac_config_files in *"
41596 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41597 esac
41598
41599 case $ac_config_headers in *"
41600 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41601 esac
41602
41603
41604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41605 # Files that config.status was made for.
41606 config_files="$ac_config_files"
41607 config_headers="$ac_config_headers"
41608 config_commands="$ac_config_commands"
41609
41610 _ACEOF
41611
41612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41613 ac_cs_usage="\
41614 \`$as_me' instantiates files and other configuration actions
41615 from templates according to the current configuration.  Unless the files
41616 and actions are specified as TAGs, all are instantiated by default.
41617
41618 Usage: $0 [OPTION]... [TAG]...
41619
41620   -h, --help       print this help, then exit
41621   -V, --version    print version number and configuration settings, then exit
41622       --config     print configuration, then exit
41623   -q, --quiet, --silent
41624                    do not print progress messages
41625   -d, --debug      don't remove temporary files
41626       --recheck    update $as_me by reconfiguring in the same conditions
41627       --file=FILE[:TEMPLATE]
41628                    instantiate the configuration file FILE
41629       --header=FILE[:TEMPLATE]
41630                    instantiate the configuration header FILE
41631
41632 Configuration files:
41633 $config_files
41634
41635 Configuration headers:
41636 $config_headers
41637
41638 Configuration commands:
41639 $config_commands
41640
41641 Report bugs to <wx-dev@lists.wxwidgets.org>."
41642
41643 _ACEOF
41644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41645 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41646 ac_cs_version="\\
41647 wxWidgets config.status 2.9.5
41648 configured by $0, generated by GNU Autoconf 2.69,
41649   with options \\"\$ac_cs_config\\"
41650
41651 Copyright (C) 2012 Free Software Foundation, Inc.
41652 This config.status script is free software; the Free Software Foundation
41653 gives unlimited permission to copy, distribute and modify it."
41654
41655 ac_pwd='$ac_pwd'
41656 srcdir='$srcdir'
41657 INSTALL='$INSTALL'
41658 test -n "\$AWK" || AWK=awk
41659 _ACEOF
41660
41661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41662 # The default lists apply if the user does not specify any file.
41663 ac_need_defaults=:
41664 while test $# != 0
41665 do
41666   case $1 in
41667   --*=?*)
41668     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41669     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41670     ac_shift=:
41671     ;;
41672   --*=)
41673     ac_option=`expr "X$1" : 'X\([^=]*\)='`
41674     ac_optarg=
41675     ac_shift=:
41676     ;;
41677   *)
41678     ac_option=$1
41679     ac_optarg=$2
41680     ac_shift=shift
41681     ;;
41682   esac
41683
41684   case $ac_option in
41685   # Handling of the options.
41686   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41687     ac_cs_recheck=: ;;
41688   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41689     $as_echo "$ac_cs_version"; exit ;;
41690   --config | --confi | --conf | --con | --co | --c )
41691     $as_echo "$ac_cs_config"; exit ;;
41692   --debug | --debu | --deb | --de | --d | -d )
41693     debug=: ;;
41694   --file | --fil | --fi | --f )
41695     $ac_shift
41696     case $ac_optarg in
41697     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41698     '') as_fn_error $? "missing file argument" ;;
41699     esac
41700     as_fn_append CONFIG_FILES " '$ac_optarg'"
41701     ac_need_defaults=false;;
41702   --header | --heade | --head | --hea )
41703     $ac_shift
41704     case $ac_optarg in
41705     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41706     esac
41707     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41708     ac_need_defaults=false;;
41709   --he | --h)
41710     # Conflict between --help and --header
41711     as_fn_error $? "ambiguous option: \`$1'
41712 Try \`$0 --help' for more information.";;
41713   --help | --hel | -h )
41714     $as_echo "$ac_cs_usage"; exit ;;
41715   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41716   | -silent | --silent | --silen | --sile | --sil | --si | --s)
41717     ac_cs_silent=: ;;
41718
41719   # This is an error.
41720   -*) as_fn_error $? "unrecognized option: \`$1'
41721 Try \`$0 --help' for more information." ;;
41722
41723   *) as_fn_append ac_config_targets " $1"
41724      ac_need_defaults=false ;;
41725
41726   esac
41727   shift
41728 done
41729
41730 ac_configure_extra_args=
41731
41732 if $ac_cs_silent; then
41733   exec 6>/dev/null
41734   ac_configure_extra_args="$ac_configure_extra_args --silent"
41735 fi
41736
41737 _ACEOF
41738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41739 if \$ac_cs_recheck; then
41740   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41741   shift
41742   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41743   CONFIG_SHELL='$SHELL'
41744   export CONFIG_SHELL
41745   exec "\$@"
41746 fi
41747
41748 _ACEOF
41749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41750 exec 5>>config.log
41751 {
41752   echo
41753   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41754 ## Running $as_me. ##
41755 _ASBOX
41756   $as_echo "$ac_log"
41757 } >&5
41758
41759 _ACEOF
41760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41761 #
41762 # INIT-COMMANDS
41763 #
41764
41765             CPP="$CPP"
41766             infile="$srcdir/include/wx/msw/genrcdefs.h"
41767             outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41768
41769
41770  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41771  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41772  TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41773                      LN_S="${LN_S}"
41774
41775
41776 _ACEOF
41777
41778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41779
41780 # Handling of arguments.
41781 for ac_config_target in $ac_config_targets
41782 do
41783   case $ac_config_target in
41784     "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41785     "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41786     "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41787     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41788     "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41789     "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41790     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41791     "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41792     "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41793
41794   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41795   esac
41796 done
41797
41798
41799 # If the user did not use the arguments to specify the items to instantiate,
41800 # then the envvar interface is used.  Set only those that are not.
41801 # We use the long form for the default assignment because of an extremely
41802 # bizarre bug on SunOS 4.1.3.
41803 if $ac_need_defaults; then
41804   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41805   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41806   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41807 fi
41808
41809 # Have a temporary directory for convenience.  Make it in the build tree
41810 # simply because there is no reason against having it here, and in addition,
41811 # creating and moving files from /tmp can sometimes cause problems.
41812 # Hook for its removal unless debugging.
41813 # Note that there is a small window in which the directory will not be cleaned:
41814 # after its creation but before its name has been assigned to `$tmp'.
41815 $debug ||
41816 {
41817   tmp= ac_tmp=
41818   trap 'exit_status=$?
41819   : "${ac_tmp:=$tmp}"
41820   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41821 ' 0
41822   trap 'as_fn_exit 1' 1 2 13 15
41823 }
41824 # Create a (secure) tmp directory for tmp files.
41825
41826 {
41827   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41828   test -d "$tmp"
41829 }  ||
41830 {
41831   tmp=./conf$$-$RANDOM
41832   (umask 077 && mkdir "$tmp")
41833 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41834 ac_tmp=$tmp
41835
41836 # Set up the scripts for CONFIG_FILES section.
41837 # No need to generate them if there are no CONFIG_FILES.
41838 # This happens for instance with `./config.status config.h'.
41839 if test -n "$CONFIG_FILES"; then
41840
41841
41842 ac_cr=`echo X | tr X '\015'`
41843 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41844 # But we know of no other shell where ac_cr would be empty at this
41845 # point, so we can use a bashism as a fallback.
41846 if test "x$ac_cr" = x; then
41847   eval ac_cr=\$\'\\r\'
41848 fi
41849 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41850 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41851   ac_cs_awk_cr='\\r'
41852 else
41853   ac_cs_awk_cr=$ac_cr
41854 fi
41855
41856 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41857 _ACEOF
41858
41859
41860 {
41861   echo "cat >conf$$subs.awk <<_ACEOF" &&
41862   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41863   echo "_ACEOF"
41864 } >conf$$subs.sh ||
41865   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41866 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41867 ac_delim='%!_!# '
41868 for ac_last_try in false false false false false :; do
41869   . ./conf$$subs.sh ||
41870     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41871
41872   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41873   if test $ac_delim_n = $ac_delim_num; then
41874     break
41875   elif $ac_last_try; then
41876     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41877   else
41878     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41879   fi
41880 done
41881 rm -f conf$$subs.sh
41882
41883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41884 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
41885 _ACEOF
41886 sed -n '
41887 h
41888 s/^/S["/; s/!.*/"]=/
41889 p
41890 g
41891 s/^[^!]*!//
41892 :repl
41893 t repl
41894 s/'"$ac_delim"'$//
41895 t delim
41896 :nl
41897 h
41898 s/\(.\{148\}\)..*/\1/
41899 t more1
41900 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41901 p
41902 n
41903 b repl
41904 :more1
41905 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41906 p
41907 g
41908 s/.\{148\}//
41909 t nl
41910 :delim
41911 h
41912 s/\(.\{148\}\)..*/\1/
41913 t more2
41914 s/["\\]/\\&/g; s/^/"/; s/$/"/
41915 p
41916 b
41917 :more2
41918 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41919 p
41920 g
41921 s/.\{148\}//
41922 t delim
41923 ' <conf$$subs.awk | sed '
41924 /^[^""]/{
41925   N
41926   s/\n//
41927 }
41928 ' >>$CONFIG_STATUS || ac_write_fail=1
41929 rm -f conf$$subs.awk
41930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41931 _ACAWK
41932 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
41933   for (key in S) S_is_set[key] = 1
41934   FS = "\a"
41935
41936 }
41937 {
41938   line = $ 0
41939   nfields = split(line, field, "@")
41940   substed = 0
41941   len = length(field[1])
41942   for (i = 2; i < nfields; i++) {
41943     key = field[i]
41944     keylen = length(key)
41945     if (S_is_set[key]) {
41946       value = S[key]
41947       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41948       len += length(value) + length(field[++i])
41949       substed = 1
41950     } else
41951       len += 1 + keylen
41952   }
41953
41954   print line
41955 }
41956
41957 _ACAWK
41958 _ACEOF
41959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41960 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41961   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41962 else
41963   cat
41964 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
41965   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41966 _ACEOF
41967
41968 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41969 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41970 # trailing colons and then remove the whole line if VPATH becomes empty
41971 # (actually we leave an empty line to preserve line numbers).
41972 if test "x$srcdir" = x.; then
41973   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
41974 h
41975 s///
41976 s/^/:/
41977 s/[      ]*$/:/
41978 s/:\$(srcdir):/:/g
41979 s/:\${srcdir}:/:/g
41980 s/:@srcdir@:/:/g
41981 s/^:*//
41982 s/:*$//
41983 x
41984 s/\(=[   ]*\).*/\1/
41985 G
41986 s/\n//
41987 s/^[^=]*=[       ]*$//
41988 }'
41989 fi
41990
41991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41992 fi # test -n "$CONFIG_FILES"
41993
41994 # Set up the scripts for CONFIG_HEADERS section.
41995 # No need to generate them if there are no CONFIG_HEADERS.
41996 # This happens for instance with `./config.status Makefile'.
41997 if test -n "$CONFIG_HEADERS"; then
41998 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
41999 BEGIN {
42000 _ACEOF
42001
42002 # Transform confdefs.h into an awk script `defines.awk', embedded as
42003 # here-document in config.status, that substitutes the proper values into
42004 # config.h.in to produce config.h.
42005
42006 # Create a delimiter string that does not exist in confdefs.h, to ease
42007 # handling of long lines.
42008 ac_delim='%!_!# '
42009 for ac_last_try in false false :; do
42010   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42011   if test -z "$ac_tt"; then
42012     break
42013   elif $ac_last_try; then
42014     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42015   else
42016     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42017   fi
42018 done
42019
42020 # For the awk script, D is an array of macro values keyed by name,
42021 # likewise P contains macro parameters if any.  Preserve backslash
42022 # newline sequences.
42023
42024 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42025 sed -n '
42026 s/.\{148\}/&'"$ac_delim"'/g
42027 t rset
42028 :rset
42029 s/^[     ]*#[    ]*define[       ][      ]*/ /
42030 t def
42031 d
42032 :def
42033 s/\\$//
42034 t bsnl
42035 s/["\\]/\\&/g
42036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42037 D["\1"]=" \3"/p
42038 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
42039 d
42040 :bsnl
42041 s/["\\]/\\&/g
42042 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
42043 D["\1"]=" \3\\\\\\n"\\/p
42044 t cont
42045 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42046 t cont
42047 d
42048 :cont
42049 n
42050 s/.\{148\}/&'"$ac_delim"'/g
42051 t clear
42052 :clear
42053 s/\\$//
42054 t bsnlc
42055 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42056 d
42057 :bsnlc
42058 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42059 b cont
42060 ' <confdefs.h | sed '
42061 s/'"$ac_delim"'/"\\\
42062 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42063
42064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42065   for (key in D) D_is_set[key] = 1
42066   FS = "\a"
42067 }
42068 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42069   line = \$ 0
42070   split(line, arg, " ")
42071   if (arg[1] == "#") {
42072     defundef = arg[2]
42073     mac1 = arg[3]
42074   } else {
42075     defundef = substr(arg[1], 2)
42076     mac1 = arg[2]
42077   }
42078   split(mac1, mac2, "(") #)
42079   macro = mac2[1]
42080   prefix = substr(line, 1, index(line, defundef) - 1)
42081   if (D_is_set[macro]) {
42082     # Preserve the white space surrounding the "#".
42083     print prefix "define", macro P[macro] D[macro]
42084     next
42085   } else {
42086     # Replace #undef with comments.  This is necessary, for example,
42087     # in the case of _POSIX_SOURCE, which is predefined and required
42088     # on some systems where configure will not decide to define it.
42089     if (defundef == "undef") {
42090       print "/*", prefix defundef, macro, "*/"
42091       next
42092     }
42093   }
42094 }
42095 { print }
42096 _ACAWK
42097 _ACEOF
42098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42099   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42100 fi # test -n "$CONFIG_HEADERS"
42101
42102
42103 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
42104 shift
42105 for ac_tag
42106 do
42107   case $ac_tag in
42108   :[FHLC]) ac_mode=$ac_tag; continue;;
42109   esac
42110   case $ac_mode$ac_tag in
42111   :[FHL]*:*);;
42112   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42113   :[FH]-) ac_tag=-:-;;
42114   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42115   esac
42116   ac_save_IFS=$IFS
42117   IFS=:
42118   set x $ac_tag
42119   IFS=$ac_save_IFS
42120   shift
42121   ac_file=$1
42122   shift
42123
42124   case $ac_mode in
42125   :L) ac_source=$1;;
42126   :[FH])
42127     ac_file_inputs=
42128     for ac_f
42129     do
42130       case $ac_f in
42131       -) ac_f="$ac_tmp/stdin";;
42132       *) # Look for the file first in the build tree, then in the source tree
42133          # (if the path is not absolute).  The absolute path cannot be DOS-style,
42134          # because $ac_f cannot contain `:'.
42135          test -f "$ac_f" ||
42136            case $ac_f in
42137            [\\/$]*) false;;
42138            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42139            esac ||
42140            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42141       esac
42142       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42143       as_fn_append ac_file_inputs " '$ac_f'"
42144     done
42145
42146     # Let's still pretend it is `configure' which instantiates (i.e., don't
42147     # use $as_me), people would be surprised to read:
42148     #    /* config.h.  Generated by config.status.  */
42149     configure_input='Generated from '`
42150           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42151         `' by configure.'
42152     if test x"$ac_file" != x-; then
42153       configure_input="$ac_file.  $configure_input"
42154       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42155 $as_echo "$as_me: creating $ac_file" >&6;}
42156     fi
42157     # Neutralize special characters interpreted by sed in replacement strings.
42158     case $configure_input in #(
42159     *\&* | *\|* | *\\* )
42160        ac_sed_conf_input=`$as_echo "$configure_input" |
42161        sed 's/[\\\\&|]/\\\\&/g'`;; #(
42162     *) ac_sed_conf_input=$configure_input;;
42163     esac
42164
42165     case $ac_tag in
42166     *:-:* | *:-) cat >"$ac_tmp/stdin" \
42167       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42168     esac
42169     ;;
42170   esac
42171
42172   ac_dir=`$as_dirname -- "$ac_file" ||
42173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42174          X"$ac_file" : 'X\(//\)[^/]' \| \
42175          X"$ac_file" : 'X\(//\)$' \| \
42176          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42177 $as_echo X"$ac_file" |
42178     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42179             s//\1/
42180             q
42181           }
42182           /^X\(\/\/\)[^/].*/{
42183             s//\1/
42184             q
42185           }
42186           /^X\(\/\/\)$/{
42187             s//\1/
42188             q
42189           }
42190           /^X\(\/\).*/{
42191             s//\1/
42192             q
42193           }
42194           s/.*/./; q'`
42195   as_dir="$ac_dir"; as_fn_mkdir_p
42196   ac_builddir=.
42197
42198 case "$ac_dir" in
42199 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42200 *)
42201   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42202   # A ".." for each directory in $ac_dir_suffix.
42203   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42204   case $ac_top_builddir_sub in
42205   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42206   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42207   esac ;;
42208 esac
42209 ac_abs_top_builddir=$ac_pwd
42210 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42211 # for backward compatibility:
42212 ac_top_builddir=$ac_top_build_prefix
42213
42214 case $srcdir in
42215   .)  # We are building in place.
42216     ac_srcdir=.
42217     ac_top_srcdir=$ac_top_builddir_sub
42218     ac_abs_top_srcdir=$ac_pwd ;;
42219   [\\/]* | ?:[\\/]* )  # Absolute name.
42220     ac_srcdir=$srcdir$ac_dir_suffix;
42221     ac_top_srcdir=$srcdir
42222     ac_abs_top_srcdir=$srcdir ;;
42223   *) # Relative name.
42224     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42225     ac_top_srcdir=$ac_top_build_prefix$srcdir
42226     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42227 esac
42228 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42229
42230
42231   case $ac_mode in
42232   :F)
42233   #
42234   # CONFIG_FILE
42235   #
42236
42237   case $INSTALL in
42238   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42239   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42240   esac
42241 _ACEOF
42242
42243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42244 # If the template does not know about datarootdir, expand it.
42245 # FIXME: This hack should be removed a few years after 2.60.
42246 ac_datarootdir_hack=; ac_datarootdir_seen=
42247 ac_sed_dataroot='
42248 /datarootdir/ {
42249   p
42250   q
42251 }
42252 /@datadir@/p
42253 /@docdir@/p
42254 /@infodir@/p
42255 /@localedir@/p
42256 /@mandir@/p'
42257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42258 *datarootdir*) ac_datarootdir_seen=yes;;
42259 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42260   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42262 _ACEOF
42263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42264   ac_datarootdir_hack='
42265   s&@datadir@&$datadir&g
42266   s&@docdir@&$docdir&g
42267   s&@infodir@&$infodir&g
42268   s&@localedir@&$localedir&g
42269   s&@mandir@&$mandir&g
42270   s&\\\${datarootdir}&$datarootdir&g' ;;
42271 esac
42272 _ACEOF
42273
42274 # Neutralize VPATH when `$srcdir' = `.'.
42275 # Shell code in configure.ac might set extrasub.
42276 # FIXME: do we really want to maintain this feature?
42277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42278 ac_sed_extra="$ac_vpsub
42279 $extrasub
42280 _ACEOF
42281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42282 :t
42283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42284 s|@configure_input@|$ac_sed_conf_input|;t t
42285 s&@top_builddir@&$ac_top_builddir_sub&;t t
42286 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42287 s&@srcdir@&$ac_srcdir&;t t
42288 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42289 s&@top_srcdir@&$ac_top_srcdir&;t t
42290 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42291 s&@builddir@&$ac_builddir&;t t
42292 s&@abs_builddir@&$ac_abs_builddir&;t t
42293 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42294 s&@INSTALL@&$ac_INSTALL&;t t
42295 $ac_datarootdir_hack
42296 "
42297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42298   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42299
42300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42301   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42302   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
42303       "$ac_tmp/out"`; test -z "$ac_out"; } &&
42304   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42305 which seems to be undefined.  Please make sure it is defined" >&5
42306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42307 which seems to be undefined.  Please make sure it is defined" >&2;}
42308
42309   rm -f "$ac_tmp/stdin"
42310   case $ac_file in
42311   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42312   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42313   esac \
42314   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42315  ;;
42316   :H)
42317   #
42318   # CONFIG_HEADER
42319   #
42320   if test x"$ac_file" != x-; then
42321     {
42322       $as_echo "/* $configure_input  */" \
42323       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42324     } >"$ac_tmp/config.h" \
42325       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42326     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42327       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42329     else
42330       rm -f "$ac_file"
42331       mv "$ac_tmp/config.h" "$ac_file" \
42332         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42333     fi
42334   else
42335     $as_echo "/* $configure_input  */" \
42336       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42337       || as_fn_error $? "could not create -" "$LINENO" 5
42338   fi
42339  ;;
42340
42341   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42342 $as_echo "$as_me: executing $ac_file commands" >&6;}
42343  ;;
42344   esac
42345
42346
42347   case $ac_file$ac_mode in
42348     "rcdefs.h":C)
42349             mkdir -p $outdir &&
42350             $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42351          ;;
42352     "lib/wx/config/${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME}  ;;
42353     "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F)  chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}  ;;
42354     "utils/ifacecheck/rungccxml.sh":F)  chmod +x utils/ifacecheck/rungccxml.sh  ;;
42355     "wx-config":C)  rm -f wx-config
42356                      ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42357                     ;;
42358
42359   esac
42360 done # for ac_tag
42361
42362
42363 as_fn_exit 0
42364 _ACEOF
42365 ac_clean_files=$ac_clean_files_save
42366
42367 test $ac_write_fail = 0 ||
42368   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42369
42370
42371 # configure is writing to config.log, and then calls config.status.
42372 # config.status does its own redirection, appending to config.log.
42373 # Unfortunately, on DOS this fails, as config.log is still kept open
42374 # by configure, so config.status won't be able to write to it; its
42375 # output is simply discarded.  So we exec the FD to /dev/null,
42376 # effectively closing config.log, so it can be properly (re)opened and
42377 # appended to by config.status.  When coming back to configure, we
42378 # need to make the FD available again.
42379 if test "$no_create" != yes; then
42380   ac_cs_success=:
42381   ac_config_status_args=
42382   test "$silent" = yes &&
42383     ac_config_status_args="$ac_config_status_args --quiet"
42384   exec 5>/dev/null
42385   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42386   exec 5>>config.log
42387   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42388   # would make configure fail if this is the last instruction.
42389   $ac_cs_success || as_fn_exit 1
42390 fi
42391
42392 #
42393 # CONFIG_SUBDIRS section.
42394 #
42395 if test "$no_recursion" != yes; then
42396
42397   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42398   # so they do not pile up.
42399   ac_sub_configure_args=
42400   ac_prev=
42401   eval "set x $ac_configure_args"
42402   shift
42403   for ac_arg
42404   do
42405     if test -n "$ac_prev"; then
42406       ac_prev=
42407       continue
42408     fi
42409     case $ac_arg in
42410     -cache-file | --cache-file | --cache-fil | --cache-fi \
42411     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42412       ac_prev=cache_file ;;
42413     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42414     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42415     | --c=*)
42416       ;;
42417     --config-cache | -C)
42418       ;;
42419     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42420       ac_prev=srcdir ;;
42421     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42422       ;;
42423     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42424       ac_prev=prefix ;;
42425     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42426       ;;
42427     --disable-option-checking)
42428       ;;
42429     *)
42430       case $ac_arg in
42431       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42432       esac
42433       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42434     esac
42435   done
42436
42437   # Always prepend --prefix to ensure using the same prefix
42438   # in subdir configurations.
42439   ac_arg="--prefix=$prefix"
42440   case $ac_arg in
42441   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42442   esac
42443   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42444
42445   # Pass --silent
42446   if test "$silent" = yes; then
42447     ac_sub_configure_args="--silent $ac_sub_configure_args"
42448   fi
42449
42450   # Always prepend --disable-option-checking to silence warnings, since
42451   # different subdirs can have different --enable and --with options.
42452   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42453
42454   ac_popdir=`pwd`
42455   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42456
42457     # Do not complain, so a configure script can configure whichever
42458     # parts of a large source tree are present.
42459     test -d "$srcdir/$ac_dir" || continue
42460
42461     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42462     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42463     $as_echo "$ac_msg" >&6
42464     as_dir="$ac_dir"; as_fn_mkdir_p
42465     ac_builddir=.
42466
42467 case "$ac_dir" in
42468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42469 *)
42470   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42471   # A ".." for each directory in $ac_dir_suffix.
42472   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42473   case $ac_top_builddir_sub in
42474   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42475   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42476   esac ;;
42477 esac
42478 ac_abs_top_builddir=$ac_pwd
42479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42480 # for backward compatibility:
42481 ac_top_builddir=$ac_top_build_prefix
42482
42483 case $srcdir in
42484   .)  # We are building in place.
42485     ac_srcdir=.
42486     ac_top_srcdir=$ac_top_builddir_sub
42487     ac_abs_top_srcdir=$ac_pwd ;;
42488   [\\/]* | ?:[\\/]* )  # Absolute name.
42489     ac_srcdir=$srcdir$ac_dir_suffix;
42490     ac_top_srcdir=$srcdir
42491     ac_abs_top_srcdir=$srcdir ;;
42492   *) # Relative name.
42493     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42494     ac_top_srcdir=$ac_top_build_prefix$srcdir
42495     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42496 esac
42497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42498
42499
42500     cd "$ac_dir"
42501
42502     # Check for guested configure; otherwise get Cygnus style configure.
42503     if test -f "$ac_srcdir/configure.gnu"; then
42504       ac_sub_configure=$ac_srcdir/configure.gnu
42505     elif test -f "$ac_srcdir/configure"; then
42506       ac_sub_configure=$ac_srcdir/configure
42507     elif test -f "$ac_srcdir/configure.in"; then
42508       # This should be Cygnus configure.
42509       ac_sub_configure=$ac_aux_dir/configure
42510     else
42511       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42512 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42513       ac_sub_configure=
42514     fi
42515
42516     # The recursion is here.
42517     if test -n "$ac_sub_configure"; then
42518       # Make the cache file name correct relative to the subdirectory.
42519       case $cache_file in
42520       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42521       *) # Relative name.
42522         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42523       esac
42524
42525       { $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
42526 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42527       # The eval makes quoting arguments work.
42528       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42529            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42530         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42531     fi
42532
42533     cd "$ac_popdir"
42534   done
42535 fi
42536 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42537   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42538 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42539 fi
42540
42541
42542 echo
42543 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42544 echo ""
42545 echo "  Which GUI toolkit should wxWidgets use?                 ${TOOLKIT_DESC}"
42546 echo "  Should wxWidgets be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
42547 echo "  Should wxWidgets be linked as a shared library?         ${wxUSE_SHARED:-no}"
42548 echo $ECHO_N "  Should wxWidgets support Unicode?                       ${wxUSE_UNICODE:-no}$ECHO_C"
42549 if test "$wxUSE_UNICODE" = "yes"; then
42550     if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42551         echo " (using UTF-8)"
42552     else
42553         echo " (using wchar_t)"
42554     fi
42555 else
42556     echo
42557 fi
42558
42559 echo "  What level of wxWidgets compatibility should be enabled?"
42560 echo "                                       wxWidgets 2.6      ${WXWIN_COMPATIBILITY_2_6:-no}"
42561 echo "                                       wxWidgets 2.8      ${WXWIN_COMPATIBILITY_2_8:-yes}"
42562
42563 echo "  Which libraries should wxWidgets use?"
42564 echo "                                       STL                ${wxUSE_STL}"
42565 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
42566 echo "                                       png                ${wxUSE_LIBPNG-none}"
42567 echo "                                       regex              ${wxUSE_REGEX}"
42568 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
42569 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42570 echo "                                       xpm                ${wxUSE_LIBXPM-none}"
42571 fi
42572 echo "                                       zlib               ${wxUSE_ZLIB}"
42573 echo "                                       expat              ${wxUSE_EXPAT}"
42574 echo "                                       libmspack          ${wxUSE_LIBMSPACK}"
42575 echo "                                       sdl                ${wxUSE_LIBSDL}"
42576
42577 echo ""
42578